From 97d745827107618f18f7635de00a1376e3fa7cc0 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sat, 13 Apr 2013 13:33:35 +0000 Subject: p31xx: rotate touchscreen to landscape mode for recovery Change-Id: I8948cc5aa9e4a02d5613d5d89644dbaa00a801c0 --- recovery/root/init.recovery.espresso.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recovery/root/init.recovery.espresso.rc (limited to 'recovery') 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 -- cgit v1.1