diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-05-15 17:27:36 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-05-15 21:03:03 +0200 |
commit | 8ab725708be1487d08637a854f524c31652d66ff (patch) | |
tree | be9ea70c7cc7aec430d5ebd17fe7d30d2ba435ba /rootdir/etc | |
parent | c271bea7e44ee98a72d0322193e420e337e47a66 (diff) |
msm8996-common: Correct BT mac address with non zui blobs
Change-Id: Ibc6eed2018314e79f3f18749cedd9852c82a8a66
Diffstat (limited to 'rootdir/etc')
-rw-r--r-- | rootdir/etc/init.qcom.rc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 66b14d4..b197f87 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -587,9 +587,22 @@ service wlan-sh /vendor/bin/init.wlan.sh disabled oneshot +service bt-sh /vendor/bin/init.bt.sh + class late_start + user bluetooth + group bluetooth + disabled + oneshot + on property:sys.boot_completed=1 start wcg_mac_tool start wlan-sh + start bt-sh + +on property:ro.vendor.bt.bdaddr_path=/data/vendor/bluetooth/bdaddr + # Correct perms for bdaddr + chmod 0644 /data/vendor/bluetooth/bdaddr + chown bluetooth bluetooth /data/vendor/bluetooth/bdaddr on property:init.svc.vendor.hwcomposer-2-1=stopped stop vendor.ppd |