Hello dear Fairphoners,
for quite some time I’m experiencing severe memory and/or performance problems with my 3-year-old Fairphone 3+ running LineageOS 20 that severely impact everyday performance and multi-tasking.
Example: After some up-time, switching between the last two or three open apps often has the effect that apps do not remember their state, e.g. OrganicMaps shows its start-up logo screen and then slowly renders its map and returns to routing. Or Firefox can’t keep the content of two tabs in mind at the same time (switching to other tab reloads it from scratch).
OS Monitor app from F-Droid says that of 3,8 GB RAM, there’s only a two figure amount free, usually around 75 MB, sometimes up to 110 MB, sometimes down to 45 MB.
- LOS 20 latest build (upgraded dirty from 19 a long while ago) running without MicroG/Google Services.
- Yes, I have quite a few apps installed from F-Droid, but nothing too fancy, no bloated commercial apps, no huge games. At least, from my point of view, that is. (Signal, Threema, Telegram, K9mail, OrganicMaps, Firefox/Fennec, NeoStore, NeoLauncher, AuroraStore, NetGuard with a hosts file, DAVx5, some Fossify apps, Nextcloud, DB Navigator, some public transportation apps, to name a few.¹ In sum, an amount of apps and services my FP2 used to be easily capable of handling, IIRC.)
- Restarting the device seems to help, but only for a short period.
- Yes, I’m aware of the „free RAM is wasted RAM“ and „just leave memory management to the system“ take. But to me the system seems to aggressively kill app processes to free some RAM resources.
- Yes, I have to SIM cards installed (one rather old, the other three years old, like the phone).
- Yes, I have a 128 GB microSD card installed (which might not be the ultra super-duper very fastest model around), but I haven’t moved any apps onto it.
- Yes, internal storage still has at least 20% free space, sdcard is roomy, too.
- No, CPU usage is not the bottleneck, around 4-7% when idle. Also, no thermal issues (at least none that correlate.)
- Yes, I have taken it apart a few times, cleaned contacts etc.
- No, I’d rather not wipe and reinstall LineageOS and start fresh. This isn’t Windows 98 and shouldn’t just become unusable just by friggin’ using it over time. Backing up and restoring stuff like e.g. Signal is an every-changing and unreliable P.I.T.A., LineageOS internal backup is hardly useful.
- No, it does not have warranty anymore and sending it to FP support for a few weeks is totally not an option (see previous bullet point).
- Yes, I have Developer Options activated, but just for
adb
/scrcpy
/fdroidcl
’s sake, nothing special activated there, I think. („Limit for background processes“ is set to default).
As of today I installed Magisk and root
ed my device to gain a better insight into app and core memory consumption with OS Monitor, but there’s nothing that jumped into my eye like some memory leaking runaway app or so.
The RAM usage statistics in Developer Options say that ~2.8 GB were used on averagein the last 24 hours) and that Android OS and Android System UI are the largest single consumers with about 1.5 GB of RAM.
Do you have any ideas? Is it normal? (My FP2 felt more responsive, though.)
What other approaches can I try to inspect memory usage (without being an Android developer and ‘adb’ superuser?)
Would it make sense to delete certain cashes via adb
/recovery or so?
Thanks for taking the time to read all this
Regards
¹ Unfortunately, without root
I can’t prevent apps from starting on boot (e.g. via Autostarts app) rather than only on demand, which I’d clearly prefer.