|
|
|
|
@ -28,9 +28,6 @@ on property:ro.cold_boot_done=true && property:persist.vendor.init_usb=1
|
|
|
|
|
setprop sys.usb.config none
|
|
|
|
|
setprop persist.vendor.init_usb 0
|
|
|
|
|
|
|
|
|
|
on property:persist.vendor.init_usb=0 && property:persist.sys.usb.config=adb
|
|
|
|
|
write /d/usb/fcc00000.dwc3/mode device
|
|
|
|
|
|
|
|
|
|
on property:persist.vendor.radio.no_modem_board=1
|
|
|
|
|
setprop ro.radio.noril yes
|
|
|
|
|
stop vendor.ril-daemon
|
|
|
|
|
@ -49,6 +46,9 @@ on boot
|
|
|
|
|
# reduce schedul time to improve io performance
|
|
|
|
|
write /sys/kernel/debug/sched_features NO_ENERGY_AWARE
|
|
|
|
|
|
|
|
|
|
chown system system /sys/class/usb_role/fcc00000.usb-role-switch/role
|
|
|
|
|
chmod 0660 /sys/class/usb_role/fcc00000.usb-role-switch/role
|
|
|
|
|
|
|
|
|
|
chmod 0220 /sys/class/gpio/export
|
|
|
|
|
chown root system /sys/class/gpio/export
|
|
|
|
|
chmod 0220 /sys/class/gpio/unexport
|
|
|
|
|
|