Dirty hack thread - Share your favorite hacks and tweaks for SFOS

Before AppSupport Bluetooth was available, I defined a situation in the Situations app to use a bluetooth tracker.

WHEN: Ambiance is set to Urban (the one with the bicycle)

DO: Open “Tile” and run

sudo systemctl stop bluetooth
sudo systemctl stop bluebinder
sudo systemctl start appsupport@defaultuser
sudo appsupport-attach pm enable com.android.bluetooth

DO (in the end):

sudo appsupport-attach pm disable com.android.bluetooth
sudo systemctl stop appsupport@defaultuser
sudo systemctl start bluebinder
sudo systemctl start appsupport@defaultuser
sudo systemctl restart bluetooth

This would allow me to locate my bicycle by tapping on the bicycle ambiance and give Bluetooth back to Sailfish OS by tapping on another one. Original idea: Potential Bluetooth Support in the Android App Support (AAS) - #206 by rdomschk

2 Likes