pmaports/device/device-samsung-i8190/init-usb-hook.sh
Callum A. D. Thomson ed35fbc94d Device samsung i8190 (Galaxy SIII mini) (#1428)
Working: Display, Touch, USB networking, FDE
2018-04-21 14:55:39 +00:00

7 lines
442 B
Bash

#!/bin/sh
# Enable usb, pulled from TWRP sources
cat /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/serial_number > /sys/devices/virtual/android_usb/android0/iSerial
cat /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device > /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device
cat /sys/devices/platform/ab8505-i2c.0/ab8500-usb.0/boot_time_device > /sys/devices/platform/ab8505-i2c.0/ab8500-usb.0/boot_time_device