diff options
Diffstat (limited to 'rootdir/init.gta04.usb.rc')
-rwxr-xr-x | rootdir/init.gta04.usb.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/init.gta04.usb.rc b/rootdir/init.gta04.usb.rc index b6bd413..373cbf6 100755 --- a/rootdir/init.gta04.usb.rc +++ b/rootdir/init.gta04.usb.rc @@ -7,6 +7,13 @@ on boot write /sys/class/android_usb/android0/f_rndis/vendorID 18d1 write /sys/class/android_usb/android0/f_rndis/wceis 1 +on fs + mkdir /dev/usb-ffs 0770 shell shell + mkdir /dev/usb-ffs/adb 0770 shell shell + + mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 + write /sys/class/android_usb/android0/f_ffs/aliases adb + on property:sys.usb.config=adb write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 18d1 |