summaryrefslogtreecommitdiffstats
path: root/rootdir
Commit message (Collapse)AuthorAgeFilesLines
* tuna: disable zRAMTrulan Martin2016-06-022-4/+0
| | | | | | | | It does not seem to be working well with CMA, ducati locks up after a while (camera, etc.) It's not really needed anyway thanks to CMA. Change-Id: I5a81850b5c60948b2a13621414d8efa58c1890bd
* Implemented SELinux rules for tuna.Luden2016-04-031-0/+3
| | | | Change-Id: I0c82e620532cf968341cc8c5d268aa0788ebb94f
* Implement SMC initialization.Luden2016-04-032-6/+16
| | | | | | | | | Note that SMC requires "normal world"-assisted storage that is provided by tf_daemon. Normally it's /data/smc directory, but this doesn't work if one wants both /data encryption and hardware backed disk encryption key storage. Therefore /dsg partition is used to store SMC data. Change-Id: I9ef59d7f045c5c36950d73d5254ba751fb7853cc
* init, sepolicy: inherit from omap4 hardware repoZiyan2016-02-101-16/+1
| | | | Change-Id: I3bf6cd86fdcdc948431a018043344620ae141775
* ueventd: tighten some permissionsZiyan2016-01-271-3/+3
| | | | Change-Id: Ic099466f0856fbcb1b7e1717ebdf8fade926c525
* Revert "tuna: add CM performance profiles"Ziyan2016-01-171-16/+0
| | | | | | This reverts commit eda0d22836e67db8e5773280209b9bf46ad61c84. Change-Id: I7474e7278710f1011900e31a8566b31673833600
* Update external storage configurationZiyan2016-01-171-20/+2
| | | | Change-Id: I0512a0f7a089b748c199f1a8933c6323cda86a1e
* init: increase read-ahead value to 256 kbZiyan2016-01-081-0/+3
| | | | | | | | | Apps and database file sizes have increased in recent Android versions, which makes it practical to increase our read-ahead value from 128 kb. General user experience seem to have improved a bit. Change-Id: I35788444a8552a8f376c699ead163e951ed06b30
* init: tune vm for zRAMZiyan2016-01-081-0/+6
| | | | | | | | References: https://source.android.com/devices/tech/config/low-ram.html https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1 Change-Id: I8ec35dad3a65c213d1843d01957b308c3ab84a6e
* Increase zRAM size to 256 mbZiyan2016-01-081-1/+1
| | | | | | | With the lz4-backed zRAM we're using, it seems like we can use larger values without noticeable slowdowns. Change-Id: I6a7921d0741c6b54629b456cc5387407956d98d8
* Use 2 zRAM compression streams (now that our driver can)D. Andrei Măceș2016-01-081-1/+1
| | | | Change-Id: I84f26a40e5b89d100b5a1fd2eab1ba59e5957750
* Add zram information and mount it during bootHashcode2016-01-082-0/+7
| | | | Change-Id: I2a758e866c4518a1cbbd360bd3a06f3d922161f5
* init: disable tf_daemon and smc_pa_wvdrm servicesZiyan2016-01-021-0/+2
| | | | | | | These are not built since Android 4.1 by Google. However, since switching to hardware/ti/omap4, they get built again, just to start and crash. Change-Id: Ia729d01a3e9bf77b5e21d6acea09eb5ffdcff591
* tuna: update SELinux policiesZiyan2015-08-061-1/+0
| | | | Change-Id: I0509465046ae5b22f4ab1e857db0645075d66628
* Add charge-only modeZiyan2015-05-081-0/+12
| | | | Change-Id: I4fbbc086e0f01001cecd764b7a726787bb41a4dc
* Mount /system in charging modeZiyan2015-05-061-0/+3
| | | | | | | This eliminates the inital 60 second blocking in the kernel while trying to load firmwares. It also makes adb avaliable, which can be handy in some situations. Change-Id: I4c8a64aafbcdc07b6cc206dda001af5ed1aad48d
* tuna: add f2fs support for /data and /cacheNoeljunior2015-05-021-0/+2
| | | Change-Id: I503112a3d892b489abb89520292fab9826e2bd8c
* Fix p2p_supplicantZiyan2015-04-111-1/+1
|
* Fix formatting of init.tuna.rcZiyan2015-04-111-127/+127
| | | | | | | Conflicts: rootdir/init.tuna.rc Change-Id: I27575da0e3b0884ba75b0beef59cdb08e2900f03
* tuna: add dumpdccZiyan2015-04-111-4/+1
| | | | | | This replaces fRom, which was a proprietary non-pie executable. Change-Id: I04bed63542f02400059968e012641c14e1a28293
* tuna: fix tracer permissionsZiyan2015-04-111-0/+4
|
* tuna: remove redundant egl.cfg symlinkZiyan2015-04-111-3/+0
|
* tuna: add CM performance profilesZiyan2015-04-111-0/+16
| | | | Change-Id: I2483138a786934f65eb3f17723d8be813942e166
* tuna: add support for CMHWZiyan2015-04-111-0/+6
| | | | | | | | | | | | - Adaptive backlight - Color and gamma calibration - LTO - Vibrator control Also switched to cyanogenmod_tuna_defconfig, since these features require non-stock kernel configs. Change-Id: I5d5b0999c91690eb4c46ce33b6040bc52c0d9cb9
* tuna: disable fRom for nowZiyan2015-04-111-0/+1
| | | | Binary is non-pie.
* tuna: moved fRom to vendor/binZiyan2014-12-131-1/+2
|
* tuna: enable KSMZiyan2014-12-131-0/+5
|
* tuna: drop restorecons from init.tuna.rc fileZiyan2014-12-131-1/+0
| | | | | | Recent changes have obsoleted the need to call restorecon on any of /data files and dirs. This patch drops those restorecons from the file.
* tuna: changes for healthd charger modeZiyan2014-12-131-1/+3
|
* tuna: remove unnecessary init entriesZiyan2014-12-131-4/+0
| | | | From Android 5.0, these are present in the main init.rc file.
* tuna: simplify /factory partition handlingZiyan2014-12-132-18/+2
| | | | | | | | | | | | | | | | | Currently, we do the following sequence on every bootup: 1. mount /factory ro (fstab) 2. remount /factory as rw 3. update selinux labels on the partition 4. remount /factory as ro By mounting /factory in rw mode from the fstab, we can avoid the second step, simplifying the bootup sequence. Also replaced the restorecons with one restorecon_recursive, which does the same task in one line. And lastly, removed some unnecessary chown/chmods - remounting does not overwrite the permissions and the owner.
* Allow telephony access to proc/cmdlinedhacker292014-12-131-0/+3
| | | | | | | | Otherwise on toro you get: D/TelephonyManager( 131): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied) Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771
* PVR: add re-implemented pvrsrvinit and glueKyle Repinski2014-12-131-1/+1
| | | | | | | | | | HUGE thank you to @stargo for figuring this out. Conflicts: device.mk rootdir/init.tuna.rc Change-Id: I88c9c8f63a85b533bfbb459b2042aedda90ac0d8
* tuna: update device tree to use PVR 1.9@2291151Ziyan2014-12-132-5/+17
| | | | | | | Change-Id: Iff82f5be1b25c4806e842319fb5b333d9a8223a0 Conflicts: device.mk
* Set type to auto to support more fstypes than vfat.PlayfulGod2014-12-131-1/+1
| | | | | | Tested with ntfs and worked great. Change-Id: I18d562db32738274d9b472305b8d6ada6f2af60f
* tuna: move root files to rootdirZiyann2014-12-134-0/+414
Change-Id: I6341fd2da5941d6e6861c499aa65656b1fcd2d65