commit | f6e3322fcdeff3f596d4bcafe73a7e41fa97199c | [log] [tgz] |
---|---|---|
author | Aren Clegg <aclegg2011@blissroms.com> | Wed Jul 25 08:52:20 2018 +0530 |
committer | Aren Clegg <aclegg2011@blissroms.com> | Wed Jul 25 08:52:20 2018 +0530 |
tree | e21cb250d1db7128c26f85b4bf66cea2ace91782 | |
parent | facc8174f4aef23364e6f3b9703a631d4dc0f8c8 [diff] |
vndk-detect: if pph-su is used bind to /system/bin/su
diff --git a/vndk-detect b/vndk-detect index 5fbd92f..8bf99f5 100644 --- a/vndk-detect +++ b/vndk-detect
@@ -10,6 +10,11 @@ done mount -o bind /system/bin/adbd /sbin/adbd + +if [ -f "/system/bin/phh-su" ]then; +mount -o bind /system/bin/phh-su /system/bin/su +fi + if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then FOUND_HUAWEI=1 setprop persist.sys.bt_acl_bypass true