diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7b38d6cd..0ff1bb77 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -310,6 +310,12 @@ on property:bluetooth.dun.status=stopped on property:ro.bluetooth.ftm_enabled=true start ftmd +on property:bluetooth.startbtsnoop=true + start btsnoop + +on property:bluetooth.startbtsnoop=false + stop btsnoop + service qcom-c_core-sh /system/bin/sh /init.qcom.class_core.sh class core user root @@ -403,6 +409,13 @@ service bt-sap /system/bin/sapd 15 disabled oneshot +service btsnoop /system/bin/btsnoop + user bluetooth + group bluetooth net_bt_admin sdcard_rw sdcard_r + class late_start + disabled + oneshot + service ftmd /system/bin/logwrapper /system/bin/ftmdaemon class late_start user root