aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2016-02-23 13:39:04 -0800
committerAndreas Blaesius <skate4life@gmx.de>2016-04-18 12:33:12 -0700
commitbcbffd18cda8b95daa2b37c5d0a3c9ae2d98581b (patch)
tree554b11af2ee75c5bb2c117410e86dc53c313e9b8 /rootdir
parent491824c82435b9e22aa95da3e8a554956e3d74b6 (diff)
downloaddevice_samsung_espressowifi-bcbffd18cda8b95daa2b37c5d0a3c9ae2d98581b.zip
device_samsung_espressowifi-bcbffd18cda8b95daa2b37c5d0a3c9ae2d98581b.tar.gz
device_samsung_espressowifi-bcbffd18cda8b95daa2b37c5d0a3c9ae2d98581b.tar.bz2
espresso: set espresso and espressowifi variants to portrait mode
PS1: initial setup, hwrotation on init for espresso and espressowifi variants PS2-5: proper Selinux rules for Android 5.1 and newer, move ramdisk to system/bin PS6: also set accelerometer and geomagnetic position via sysfs and update Selinux rules Change-Id: I43c662fe98f460e3380aeaa230b1d139d95bd262
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.tab2.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index fb87c16..aaa10c7 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -365,6 +365,12 @@ service dock_kbd_attach /system/bin/dock_kbd_attach /dev/ttyO3
user root
oneshot
+# Set 7 inch devices as portrait device
+service variant_setup /system/bin/init.espresso.variant.sh
+ class main
+ user root
+ oneshot
+
# LPM
on property:ro.bootmode=charger
mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system wait ro