summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2014-12-16 19:06:47 +0100
committerZiyan <jaraidaniel@gmail.com>2015-04-11 20:24:52 +0200
commit933f7c54d837ebb23b0eefdb3e6567844e7c1785 (patch)
treed6314b9df4857a5e49004d29b31011cfe99a3dc1 /rootdir
parentf95bcd758c53c36ee201dbc6b44bf5f15d846898 (diff)
downloaddevice_samsung_tuna-933f7c54d837ebb23b0eefdb3e6567844e7c1785.zip
device_samsung_tuna-933f7c54d837ebb23b0eefdb3e6567844e7c1785.tar.gz
device_samsung_tuna-933f7c54d837ebb23b0eefdb3e6567844e7c1785.tar.bz2
tuna: add support for CMHW
- 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
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index 81e7986..aa850c7 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -128,6 +128,12 @@ on fs
chmod 0660 /sys/bus/usb/devices/usb1/power/control
chown radio radio /sys/bus/usb/devices/usb1/power/control
+ # CMHW permissions
+ # Adaptive backlight
+ chmod 0666 /sys/class/backlight/s6e8aa0/acl_set
+ # Gamma
+ chmod 0666 /sys/devices/platform/omapdss/manager0/gamma
+
on property:persist.sys.tuna.off_mode=*
write /d/pm_debug/enable_off_mode ${persist.sys.tuna.off_mode}