Huawei: set persist props to use platform specific fixes
This commit is contained in:
parent
ec9d31fc7a
commit
7fef1cb78b
@ -13,6 +13,8 @@ mount -o bind /system/bin/adbd /sbin/adbd
|
|||||||
if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then
|
if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then
|
||||||
FOUND_HUAWEI=1
|
FOUND_HUAWEI=1
|
||||||
setprop persist.sys.bt_acl_bypass true
|
setprop persist.sys.bt_acl_bypass true
|
||||||
|
setprop persist.sys.camera.huawei true
|
||||||
|
setprop persist.sys.radio.huawei true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint |grep -qiE '(huawei|honor|hi3660)' || [ -n "$FOUND_HUAWEI" ];then
|
if getprop ro.vendor.build.fingerprint |grep -qiE '(huawei|honor|hi3660)' || [ -n "$FOUND_HUAWEI" ];then
|
||||||
|
Loading…
Reference in New Issue
Block a user