High cpu-usage by system_server (AAS)

What happens if you disable AAS?

If AAS is disabled then no more system_server at high CPU load. Discharging is around -200mA then.

I now checked with my old phone (the one with dust in the camera) that is still under .18. The same thing happens, high cpu_load on the same program. I have uninstalled all Android apps and restarted AAS, I still see the same problem. I will try investigating more…

1 Like

Oh, if you still have the dust-infested phone to perform more extreme tests that could be really helpful! Knowing that removing all Android apps does not fix this is already precious info (that I would never dare to do, I need those apps and cannot afford to uninstall → reinstall → set up again everything)!

Don’t remove all….just the ones from Jolla Store, then AAS itself, restart the phone, install AAS again and most likely yor’re good to go.

I did it that way and mended my battery drain by system_serv and still have all the Android apps I installed before.

1 Like

Yeah, I uninstalled everything even microG. Still high load, ~100% on one core. I will reset the phone and see if this is still present. EDIT: maybe I should have tried @tobset 's method before :person_facepalming:

Thanks for the tip, I missed this post of yours!

Which apps did you remove? I guess:

  • App Support itself
  • AppSupport microG
  • Aurora Store?
  • F-Droid?
  • AppSupport Bluetooth?
  • Anything else?

It was weird, I tried the method on my new phone.

I could not really uninstall AppSupport :smiley: I mean, it was shown as uninstalled on the Jolla store but I could still see and run my Android apps (even after restarting the phone). A bit similar issue described in that post (JP26 - MicroG installed at first startup cannot be uninstalled). Anyways, I continued @tobset 's instructions, and now system_server does not have high CPU load anymore. Very strange, will continue checking the process loads for some time :slight_smile:

according to

under section 1.1) you should remove all Android apps installed by the Jolla Store.

In my case it was Android Bluetooth bridge (forgot the real name), MicroG, F-Droid and Aurora-Store.

[btw.: the Stores I reinstalled this time without Jolla store…just in case, this mess happens again, so I would be quicker with that procedure.]

Stick to the documentation and it should work.

edit: and of course skip 1.2) …you want to keep all the other Android apps

1 Like

Thanks, I’ll give it a try when I have some spare time (probably not today, sadly).

1 Like

:wink: it took just 5min max :grin:

it took me 3 days to dare doing it, though

2 Likes

I’m kinda scared as well :sweat_smile:

A few additional questions:

  • When you reinstalled microG after this procedure, did you do it from harbour/jolla store or from F-Droid?
  • Do you remember if you had updated microG from F-Droid after installing it from Jolla Store? I did, and I’m now wondering if that may have been the trigger of the CPU load.

Probably DroidGuard which is pulled in by microG…it’s the reason why I dropped the whole Andy layer. That’s why it would be better to sandbox every app within Andy…

I did reinstall microG from Jolla store, since I’m not an expert in configuring it. (before JP26 I never used it)

And I did not updated it from F-droid.

My sytem_serve problem began right after the .18 update.

Thats good to know.

I was to scared of breaking something, so I followed the documentation [“1) Uninstall all Android apps installed from the Jolla Store”] - it was the first time I removed aas …always thought, I had to reinstall and configure every single Android app again.

I also have the system_server problem. Tried the reinstallation of AAS (in the recommended way, see above) but unfortunately sys_serv problem persists.

I tried to uninstall AAS, but failed. I could uninstall Aurora and F-Droid, but I can’t remove microG, for some reason:

  1. If I try to remove it from harbour/Jolla Store, the store app says that the uninstallation was done, but actually it was not: the microG icon in the app grid is still there, I can open it, and it works like nothing has happened.
  2. If I try to remove it from the app grid by “long press and tap the X on the icon”, it says something along the line of “installation failed for an unknown Android™ error” (my system is in Italian, exact wording may be different).
  3. Just in case, I also tried to remove it from F-Droid (that I reinstalled from the official f-droid.org store in the meantime) and from there the uninstall option is not even available: if I go to the “versions” on each of the three microG app pages I see there (microG Companion, microG Services, and microG Services Framework Proxy) I either see “the signature does not correspond, installation impossible” (Companion and Services) or “this app is not compatible with your device” (Proxy)
  4. Finally, I also tried to remove AAS from harbour anyway: once again, for the store the uninstallation was done, but it was not. All of my android apps were still in the app grid, and the “Check that it worked” step from the official guidelines to remove AAS also shows many more than one single line of AAS stuff still on my system. I guess this is because microG is still there.

Something is definitely wrong here. The most serious issue, I think, is that harbour says that something was uninstalled while it actually was not (I would expect to see an error message like the one I get if I try to uninstall microG from the app grid directly).

Does anyone of you know how to remove android apps from the command line? Specifically, how can I try remove microG (all of the three parts of it)? With that removed, I’m hopeful that the regular procedure to remove AAS would then work.

I know that there is the “brutal way” to remove AAS in the guidelines, but I would very much NOT do that because I don’t want to go through the hassle of reinstalling all of my android apps again (especially WhatsApp, where I would have to go through the whole backup-and-restore shenaningans that I’d like to only do once in the lifetime of a device :sweat_smile:).

If solving this will take more than a couple of posts, I’ll open a new thread; for now I’m writing here because I think this issue is somehow related to the CPU load this thread is about.

Hi,

This is exactly what happened to me too (see my previous post). AAS and microG were shown as uninstalled on Jolla but were not actually uninstalled. But, anyways, I have restarted the phone, “reinstalled” microG and AAS via Jolla’s store and then rebooted. After the reboot, everything was working fine and I did not have any large CPU load with system_server.

As I speak, my phone battery is at 82% (at ~16:00) which is impressive as I have disconnected the phone from the charger at 7 o’clock this morning. Yesterday, it was already at 30% around 16:00.

1 Like

Mmm, I don’t think I tried that yet. Rebooted now, we’ll see what happens :crossed_fingers:

EDIT: Didn’t take long. The system_server 100% CPU load is back already, just a couple of minutes after leaving the phone down :smiling_face_with_tear:

Oh sorry to hear that. :frowning:

1 Like

Confirm (20 characters)