sm7250-common: rootdir: cleanup unused oneplus stuffs
* im sorry custom kernels Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
@@ -239,18 +239,6 @@ if [ -d /config/usb_gadget/g1/functions/uvc.0 ]; then
|
||||
ln -s streaming/header/h streaming/class/ss/
|
||||
fi
|
||||
|
||||
#ifdef VENDOR_EDIT
|
||||
#Enable diag and adb for FTM
|
||||
boot_mode=`getprop ro.boot.ftm_mode`
|
||||
echo "boot_mode: $boot_mode" > /dev/kmsg
|
||||
case "$boot_mode" in
|
||||
"ftm_at" | "ftm_rf" | "ftm_wlan" | "ftm_mos")
|
||||
setprop sys.usb.config diag,adb
|
||||
setprop persist.sys.usb.config diag,adb
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user