summaryrefslogtreecommitdiffstats
path: root/recovery/root/init.recovery.espresso.rc
blob: ca137bea863d7948910f7f5516e6ebe45f589a13 (plain)
1
2
3
4
5
6
7
8
9
10
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