sm7250-common: Update init scripts from OnePlusNordCE OxygenOS 11.0.4.4

This commit is contained in:
KakatkarAkshay
2021-07-18 20:36:09 +05:30
parent 70e9d3f059
commit 981ad16ac0
19 changed files with 1281 additions and 570 deletions

View File

@@ -104,7 +104,7 @@ if [ "$(getprop persist.vendor.usb.config)" == "" -a "$(getprop ro.build.type)"
"sdm845" | "sdm710")
setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb
;;
"msmnile" | "sm6150" | "trinket" | "lito" | "atoll" | "bengal" | "lahaina")
"msmnile" | "sm6150" | "trinket" | "lito" | "atoll" | "bengal" | "lahaina" | "holi")
setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,qdss,adb
;;
*)
@@ -250,3 +250,10 @@ case "$boot_mode" in
echo "AFTER boot_mode: diag,adb" > /dev/kmsg
esac
#endif
boot_mode=`getprop ro.vendor.factory_mode`
if [ "$boot_mode" == "1" ]; then
echo "boot_mode: factory_mode" > /dev/kmsg
setprop persist.vendor.usb.config diag,adb
echo "AFTER boot_mode: diag,adb" > /dev/kmsg
fi