I am experiencing two issues on the same device which may or may not be related:
-
App Compatibility Services crashes reproducibly when opening the WhatsApp entry under Settings → System → Device Attestation.
-
WhatsApp cannot complete the initial registration. After entering the phone number and pressing Connect, the app attempts to connect for approximately 4–5 seconds before silently returning to the phone number screen without any error message.
I collected logcat traces for both issues.
Device
-
Device: Fairphone 3
-
/e/OS version: 4.1.1
-
Android: 15
-
App Compatibility Services: 0.3.15.252432-72
WhatsApp registration issue
Steps to reproduce
-
Install WhatsApp (tested with both App Lounge and the official APK).
-
Open WhatsApp.
-
Enter phone number.
-
Press Connect.
Expected behavior
Registration continues with SMS or phone verification.
Actual behavior
-
WhatsApp displays “Connecting” for approximately 4–5 seconds.
-
It then silently returns to the phone number entry screen.
-
No SMS verification starts.
-
No error message is shown.
Device Attestation crash
Steps to reproduce
-
Open Settings
-
Navigate to System → Device Attestation
-
Tap the WhatsApp entry
Expected behavior
The WhatsApp Device Attestation settings should open.
Actual behavior
Immediately afterwards Android reports:
“App Compatibility Services keeps stopping”
The crash is reproducible every time.
Interestingly, this only happens for WhatsApp. Other entries under Device Attestation open normally.
Additional observations
-
All App Compatibility Services / microG self-checks pass.
-
Network connectivity is working.
-
The problem is identical with:
-
App Lounge version
-
official APK downloaded
-
-
DroidGuard mode:
- Embedded
-
“Block hardware attestation” is enabled (default configuration).
Relevant logcat observations
During the WhatsApp registration:
-
Express Device Integrity is requested.
-
An integrity token is generated successfully.
-
WhatsApp receives a
RegistrationVerificationpush message. -
microG successfully delivers the message to WhatsApp.
There are no obvious TLS, network, SecurityException or Play Integrity failures visible in the log.
The Device Attestation crash consistently produces the following exception:
java.lang.ClassCastException:
androidx.preference.SwitchPreference
cannot be cast to
androidx.preference.SwitchPreferenceCompat
Stack trace:
org.microg.gms.ui.SafetyNetAppFragment.onBindPreferences(
SafetyNetAppFragment.kt:43
)
Android then force-finishes:
com.google.android.gms/org.microg.gms.ui.SettingsActivity
Related community discussions
This appears to be related to several recent community reports regarding WhatsApp activation:
-
Unable to activate WhatsApp on Fairphone 6 with /e/OS 3.6
https://community.e.foundation/t/unable-to-activate-whatsapp-on-fairphone-6-with-3-6/81190In particular, users report:
-
WhatsApp activation failing
-
App Compatibility Services crashing from Device Attestation
-
requests for logcat collection
-
-
3.7.1 WhatsApp doesn’t work
https://community.e.foundation/t/3-7-1-whatsapp-doesnt-work/81444
Although my device is a Fairphone 3 running /e/OS 4.1.1, the observed behavior appears to be very similar.
I’d appreciate any help.