diff options
author | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-13 13:33:35 +0000 |
---|---|---|
committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-13 13:53:41 +0000 |
commit | 97d745827107618f18f7635de00a1376e3fa7cc0 (patch) | |
tree | 96ce2e68611e4cb67ae673daf0a51af088481a23 /recovery | |
parent | b85434c16ffe031270e6c8c62bd26fc46ddce37f (diff) | |
download | device_samsung_espressowifi-97d745827107618f18f7635de00a1376e3fa7cc0.zip device_samsung_espressowifi-97d745827107618f18f7635de00a1376e3fa7cc0.tar.gz device_samsung_espressowifi-97d745827107618f18f7635de00a1376e3fa7cc0.tar.bz2 |
p31xx: rotate touchscreen to landscape mode for recovery
Change-Id: I8948cc5aa9e4a02d5613d5d89644dbaa00a801c0
Diffstat (limited to 'recovery')
-rw-r--r-- | recovery/root/init.recovery.espresso.rc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recovery/root/init.recovery.espresso.rc b/recovery/root/init.recovery.espresso.rc new file mode 100644 index 0000000..ca137be --- /dev/null +++ b/recovery/root/init.recovery.espresso.rc @@ -0,0 +1,11 @@ +on init + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 04e8 + write /sys/class/android_usb/android0/idProduct 6860 + write /sys/class/android_usb/android0/functions adb + write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer} + write /sys/class/android_usb/android0/iProduct ${ro.product.model} + write /sys/class/android_usb/android0/iSerial ${ro.serialno} + + # Set touchscreen to landscape mode for recovery + write /sys/devices/virtual/sec/tsp/pivot 0 |