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.
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'.
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.
Houston, we have a problem: https://github.com/3arthur6/BluetoothLibraryPatcher/issues/27
I believe we have two options here
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.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'.