summaryrefslogtreecommitdiffstats
path: root/recovery
diff options
context:
space:
mode:
Diffstat (limited to 'recovery')
-rw-r--r--recovery/init.recovery.gta04.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recovery/init.recovery.gta04.rc b/recovery/init.recovery.gta04.rc
index 9ba71e5..a65a5f3 100644
--- a/recovery/init.recovery.gta04.rc
+++ b/recovery/init.recovery.gta04.rc
@@ -1,4 +1,10 @@
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/functions ffs
+
mount ext4 /dev/block/mmcblk0p3 /cache wait
on post-fs