From 663d1fb15b06572e677f9aa7bb59136d903f6e76 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Thu, 7 Oct 2021 10:17:47 +0200 Subject: msm8996-common: Move oem unlock prop set to libinit * Since eleven the property wouldn't get its new context anymore, so work around that Change-Id: If2f987dd28e1423f53460c65aaa6c03568d94eba --- rootdir/bin/init.qcom.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'rootdir/bin/init.qcom.sh') diff --git a/rootdir/bin/init.qcom.sh b/rootdir/bin/init.qcom.sh index 93439bb..12615aa 100755 --- a/rootdir/bin/init.qcom.sh +++ b/rootdir/bin/init.qcom.sh @@ -65,9 +65,3 @@ if [ ! -f /vendor/firmware_mnt/verinfo/ver_info.txt -o "$prev_version_info" != " fi chmod g-w /data/vendor/modem_config setprop ro.vendor.ril.mbn_copy_completed 1 - -if [[ -z $(grep "androidboot.lock=unlocked" /proc/cmdline) ]]; then - setprop ro.oem_unlock_supported 1 -else - setprop ro.oem_unlock_supported 0 -fi -- cgit v1.2.3