Bluetooth cannot be activated on Fairphone4 wth /e/OS 1.20

Hi,

I cannot activate Bluetooth on my Fairphone4 with /e/OS 1.20

It just keeps saying “activating”, but never reaches the “On” state. Also, the Bluetooth App seems to crash after a while…

Device: Fairphone4 (FP4)
/e/OS Version: 1.20-s-20240220382012-stable-FP4

I managed to extract a system log while activating Bluetooth using “adb logcat”, but it is rather lengthy and I could not find a way to attach it to this issue.

I found several of these Exceptions in there, though:

03-10 14:40:33.664 2315 2390 E AndroidRuntime: FATAL EXCEPTION: BluetoothDatabaseManager
03-10 14:40:33.664 2315 2390 E AndroidRuntime: Process: com.android.bluetooth, PID: 2315
03-10 14:40:33.664 2315 2390 E AndroidRuntime: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you’ve changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.room.RoomOpenHelper.checkIdentity(RoomOpenHelper.java:154)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.room.RoomOpenHelper.onOpen(RoomOpenHelper.java:135)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onOpen(FrameworkSQLiteOpenHelper.java:195)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:427)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:316)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableSupportDatabase(FrameworkSQLiteOpenHelper.java:145)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.java:106)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.room.RoomDatabase.inTransaction(RoomDatabase.java:622)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at androidx.room.RoomDatabase.assertNotSuspendingTransaction(RoomDatabase.java:399)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at com.android.bluetooth.btservice.storage.MetadataDao_Impl.load(MetadataDao_Impl.java:301)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at com.android.bluetooth.btservice.storage.MetadataDatabase.load(MetadataDatabase.java:96)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at com.android.bluetooth.btservice.storage.DatabaseManager$DatabaseHandler.handleMessage(DatabaseManager.java:135)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
03-10 14:40:33.664 2315 2390 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)

Could this be the source of the Problem?

Thanks in advance for helping,
please don’t hesitate to ask in case you need any additional Info.

Best Regards,
Bj

Regain your privacy! Adopt /e/OS the unGoogled mobile OS and online servicesphone

No problem on my side…

I guess a simple reboot did not help?

You might try …

Settings > Apps and notifications > See all … apps > 3 dot menu top right > Show system > Bluetooth > Storage & cache > Clear storage | Clear cache

  • Clear cache alone would be the minimum intervention, but may have no effect.
  • Clear storage will remove all Bluetooth pairings and you will be forced to a completely “fresh start” with the app

or … Settings > Reset options > Advanced > Reset options > Reset Wi-Fi, mobile & Bluetooth

  • Fresh start with all.