Android: Turn Bluetooth AND App on at boot?


#1

Hi,

I was wondering if it is possible to start up the Bluetooth and Android App of choice at system boot via init.qcom.post_boot.sh ?

I found info about wifi - need to add @ the bottom of init.qcom.post_boot.sh line: “svc wifi enable”.

Could You advice me with starting the Bluetooth and Android App of choice ?

Thanks !


#2

I have not tested this; however, I did find something on StackOverflow here:


To run commands listed in previous comment, you need to be root:

adb root

Enable:

adb shell service call bluetooth_manager 6

Disable:

adb shell service call bluetooth_manager 8

Not sure how helpful this will be consider how long it has been to reply. Also, I am sure you have already found this and attempted it?