summaryrefslogtreecommitdiffstats
path: root/recovery
diff options
context:
space:
mode:
Diffstat (limited to 'recovery')
-rw-r--r--recovery/root/init.recovery.espresso.rc11
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