Potential Bluetooth Support in the Android App Support (AAS)

Enable Developer Tools enable SSH remote access and connect to C2 via SSH:

Go to root:


$ devel-su

Stop AAS if running from SFOS settings menu.

Stop bluetooth and bluebinder services:


[root@JollaC2 defaultuser]# systemctl stop bluetooth

[root@JollaC2 defaultuser]# systemctl stop bluebinder

[root@JollaC2 defaultuser]# systemctl status bluetooth

● bluetooth.service - Bluetooth service

Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)

Active: inactive (dead) since Sun 2025-06-01 19:08:39 BST; 27s ago

[root@JollaC2 defaultuser]# systemctl status bluebinder

● bluebinder.service - Simple proxy for using android binder based bluetooth through vhci.

Loaded: loaded (/usr/lib/systemd/system/bluebinder.service; disabled; vendor preset: enabled)

Active: inactive (dead) since Sun 2025-06-01 19:08:56 BST; 19s ago

Restart C2 Android Bluetooth HAL:


[root@JollaC2 defaultuser]# /system/bin/stop vendor.bluetooth-1-1

[root@JollaC2 defaultuser]# /system/bin/start vendor.bluetooth-1-1

Edit the Appsupport lybhybris config file so we can passthrough C2 Bluetooth HAL inside AAS LXC container:


vi /opt/appsupport/etc/appsupport.conf.d/10-hybris.conf

Find Proxies= part of the config:


# Some hybris specific values

...

Proxies=android.hardware.graphics.allocator@4.0::IAllocator,android.hardware.graphics.allocator@3.0::IAllocator,android.hardware.graphics.allocator@2.0::IAllocator/default

Proxies=android.hardware.power@1.3::IPower,android.hardware.power@1.2::IPower,android.hardware.power@1.1::IPower,android.hardware.power@1.0::IPower/default

Proxies=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0

Add new line after last Proxies= and save the file


Proxies=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0

#Add this line below

Proxies=android.hardware.bluetooth@1.1::IBluetoothHci,android.hardware.bluetooth@1.0::IBluetoothHci/default

Start AAS from SFOS settings menu.

Once it is running go back to root shell and enable AAS Android Bluetooth package:

[root@JollaC2 defaultuser]> appsupport-attach pm enable com.android.bluetooth

Package com.android.bluetooth new state: enabled

Under SFOS AAS Settings Tap 5 times on “Android version 13” on the same page to open AAS Android settings.

Under Connected devices-> Pair new device you should see ‘Device name’ as ‘Spreadtrum BT’ and see scan list of BT available devices.

59 Likes