From 9c19cd047ebeb81a054e6a372285988414d4f295 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 3 May 2014 22:16:13 +0200 Subject: init.recovery.gta04.rc: FunctionFS bindings for ADB Signed-off-by: Paul Kocialkowski --- recovery/init.recovery.gta04.rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'recovery') 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 -- cgit v1.1