Every app freezing, possibly due to "StrictMode policy violation: android.os.strictmode.NetworkViolation"
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Describe the bug
I'm using LineageOS for MicroG. Since the lineage-21.0-20240508-microG-instantnoodle update, I've been having problems with every possible app - including SystemUI - freezing for multiple seconds and triggering the "[app] not responding" dialog box (which also never goes away, forcing me to kill the app, but that's a separate bug). I can't say for certain that it's MicroG's fault; I also have Magisk installed. When I updated to lineage-21.0-20240608, it got slightly better, but still bad.
adb logcat shows stack traces for NetworkViolation caused by org.microg.gms.auth.AuthManagerServiceImpl.onTransact - so that's why I suspect it may be caused by MicroG.
To Reproduce
It happens randomly; everything can work fine for hours, even days - then start freezing constantly for several hours. I suspected it had to do with bad network quality; it seems correlated, but not completely.
Expected behavior
Apps shouldn't freeze.
Screenshots
System
Android Version: 14
Custom ROM: LineageOS for MicroG 21, 20240608
Additional context
Output from adb logcat showing the NetworkViolation:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached adb.log and the NetworkViolation stack traces for org.microg.gms.auth.AuthManagerServiceImpl.onTransact. Reproduce the intermittent freezes on Android 14 with LineageOS for MicroG while collecting adb logcat output. Done means the cause is identified and the reported app freezes and ANR dialogs no longer occur.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100