From f49fb47274abedf3b65b0e93601a14b3db8188d4 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Fri, 7 Oct 2022 20:29:49 +0800 Subject: [PATCH] sm6225-common: Nuke ATFWD It's normally not used at all. Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2 --- proprietary-files.txt | 3 --- rootdir/bin/init.qcom.early_boot.sh | 9 --------- rootdir/etc/init.qcom.rc | 11 ----------- 3 files changed, 23 deletions(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index 3061397..f1ef062 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -506,7 +506,6 @@ system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml system_ext/etc/sysconfig/qti_telephony_system_packages_config.xml system_ext/framework/qcrilhook.jar system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk -vendor/bin/ATFWD-daemon vendor/bin/adpl vendor/bin/hw/qcrild vendor/bin/ks @@ -530,7 +529,6 @@ vendor/etc/init/qcrild.rc vendor/etc/init/vendor.mmi.carrier.rc vendor/etc/init/vendor.qti.rmt_storage.rc vendor/etc/init/vendor.qti.tftp.rc -vendor/etc/seccomp_policy/atfwd@2.0.policy vendor/etc/ssg/ta_config.json vendor/etc/ssg/tz_whitelist.json vendor/lib64/deviceInfoServiceModule.so @@ -569,7 +567,6 @@ vendor/lib64/qcrild_librilutils.so vendor/lib64/qtibus.so vendor/lib64/qtimutex.so vendor/lib64/vendor.qti.hardware.radio.am@1.0.so -vendor/lib64/vendor.qti.hardware.radio.atcmdfwd@1.0.so vendor/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so vendor/lib64/vendor.qti.hardware.radio.lpa@1.0.so vendor/lib64/vendor.qti.hardware.radio.lpa@1.1.so diff --git a/rootdir/bin/init.qcom.early_boot.sh b/rootdir/bin/init.qcom.early_boot.sh index fc90810..76a9415 100755 --- a/rootdir/bin/init.qcom.early_boot.sh +++ b/rootdir/bin/init.qcom.early_boot.sh @@ -449,15 +449,6 @@ case "$target" in ;; esac -baseband=`getprop ro.baseband` -#enable atfwd daemon all targets except sda, apq, qcs -case "$baseband" in - "apq" | "sda" | "qcs" ) - setprop persist.vendor.radio.atfwd.start false;; - *) - setprop persist.vendor.radio.atfwd.start true;; -esac - #set default lcd density #Since lcd density has read only #property, it will not overwrite previous set diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c3755ef..c8a6874 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -445,12 +445,6 @@ on property:sys.boot_completed=1 #Reinit lmkd to reconfigure lmkd properties setprop lmkd.reinit 1 -on property:persist.vendor.radio.atfwd.start=false - stop vendor.atfwd - -on property:vendor.radio.atfwd.start=false - stop vendor.atfwd - # corefile limit on property:persist.debug.trace=1 mkdir /data/core 0777 root root @@ -600,11 +594,6 @@ service qvop-daemon /vendor/bin/qvop-daemon user system group system drmrpc -service vendor.atfwd /vendor/bin/ATFWD-daemon - class late_start - user system - group system radio - service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/global class main capabilities NET_ADMIN NET_RAW