Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zeng-github01 committed Mar 26, 2024
1 parent e090269 commit 0fa8421
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recovery/root/init.recovery.mt6889.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ on init

on fs
install_keyring
mkdir /dev/usb-ffs 0775 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell
write /sys/class/power_supply/usb/otg_switch 1
write /sys/class/oplus_chg/usb/otg_switch 1
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
mkdir /dev/usb-ffs/fastboot 0770 system system
mount functionfs fastboot /dev/usb-ffs/fastboot rmode=0770,fmode=0660,uid=1000,gid=1000

on post-fs

Expand Down

0 comments on commit 0fa8421

Please sign in to comment.