FreshROMs / Fresh

Primary information center for The Fresh Project.
GNU General Public License v3.0
6 stars 0 forks source link

Bluetooth Pairings #44

Closed TenSeventy7 closed 1 year ago

TenSeventy7 commented 1 year ago

Houston, we have a problem: https://github.com/3arthur6/BluetoothLibraryPatcher/issues/27

I believe we have two options here

  1. Consider making the vaultkeeper service functional on Fresh 5 builds and later. The Bluetooth pairings issue seems to only happen when the service is disabled, so see if we can get this working despite the presence of root and Magisk.

  2. Remove the APEX completely and try to re-integrate Bluetooth to the system.

We couldn't just patch the APEX as there's a signature check on first boot that would lead to the system being unbootable for 'clean flashes'.

TenSeventy7 commented 1 year ago

System has higher precedence over what the APEX provides and can override what's in the APEX. Just ship a patched Bluetooth JNI library alongside the ROM. Fixed.