From 0fa84217bf991d9c78694ea9fa94fbe5a9d7818f Mon Sep 17 00:00:00 2001 From: Zengyj Date: Wed, 27 Mar 2024 00:18:25 +0800 Subject: [PATCH] update --- recovery/root/init.recovery.mt6889.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recovery/root/init.recovery.mt6889.rc b/recovery/root/init.recovery.mt6889.rc index 0765e2e..5c822aa 100644 --- a/recovery/root/init.recovery.mt6889.rc +++ b/recovery/root/init.recovery.mt6889.rc @@ -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