diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc index b7a257d..27a3eb3 100644 --- a/rootdir/etc/init.qcom.usb.rc +++ b/rootdir/etc/init.qcom.usb.rc @@ -26,7 +26,7 @@ # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -on property:init.svc.vendor.charger=running +on charger mkdir /config/usb_gadget/g1 0770 mkdir /config/usb_gadget/g1/strings/0x409 0770 diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 10ed52b..9e1d2f1 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -170,7 +170,7 @@ on property:init.svc.vendor.per_mgr=running on property:sys.shutdown.requested=* stop vendor.per_proxy -on property:init.svc.vendor.charger=running +on charger wait /dev/block/platform/soc/1da4000.ufshc/by-name/system mount ext4 /dev/block/platform/soc/1da4000.ufshc/by-name/system / ro barrier=1