Skip to content

Commit 0fa8421

Browse files
committed
update
1 parent e090269 commit 0fa8421

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

recovery/root/init.recovery.mt6889.rc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ on init
55

66
on fs
77
install_keyring
8+
mkdir /dev/usb-ffs 0775 shell shell
9+
mkdir /dev/usb-ffs/adb 0770 shell shell
810
write /sys/class/power_supply/usb/otg_switch 1
911
write /sys/class/oplus_chg/usb/otg_switch 1
12+
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
13+
mkdir /dev/usb-ffs/fastboot 0770 system system
14+
mount functionfs fastboot /dev/usb-ffs/fastboot rmode=0770,fmode=0660,uid=1000,gid=1000
1015

1116
on post-fs
1217

0 commit comments

Comments
 (0)