NeoApplications / Neo-Store

An F-Droid client with modern UI and an arsenal of extra features.
GNU General Public License v3.0
2.96k stars 91 forks source link

Major stability issues and OS freezes/crashes when updating/installing apps #255

Open nodeunit opened 2 years ago

nodeunit commented 2 years ago

When installing or updating apps, Neo Store slows down massively, making the OS become laggy and unresponsive (I suspect it's tied to downloading). This gets even worse if you minimize the download page and try to navigate elsewhere. If you try to queue another download while the other is still in progress, the whole phone will lock up, requiring a hard reset.

I've tested this on 2 Android 10 devices with different mid tier chips (Snapdragon 730 and Snapdragon 801) and they've shown the same behavior.

nodeunit commented 2 years ago

It's to the point where the phone I attempted to run an update on hard crashed and restarted itself. Still present on 0.9.2.

machiav3lli commented 2 years ago

Firstly I wouldn't say sd801 is a mid-tier, it's far less than that it's an arm7 one.

It's a first of a kind report, not even early alpha builds showed such behaviour, so let's check your setup more carefully... this is specially with the sd801 device important!

gargamel17 commented 2 years ago

Update issue too on Poco F1, LOS 19.1, phone reboots after download. The update works well with original F-Droid app though.

machiav3lli commented 2 years ago

@gargamel17 Can you please provide information on these questions:

  • kernel profile?
  • ram size?
  • free storage?
  • rom used?

No other users in the community group reported such behavior, so it's possible that it's caused by something "special" for your devices… add to these questions: Any battery optimizations (modules)?

gargamel17 commented 2 years ago

ROM is LineageOS for microg 19.1 (Android 12), noroot. Device is beryllium Poco F1 Kernel version : 4.9.316-perf-gb0ef800976e1 RAM size : 6 GB Storage available : 20 GB No module for battery optimization is used.

Edit : went back to version 0.92, install works as expected. So it is version 0.93 that cannot install anything

nodeunit commented 2 years ago

@machiav3lli it's plenty powerful enough to run Lineage 17.1 (now 18.1) and almost any other app store installer (Play Store, F-droid, and Aurora Droid) without hitches or hiccups, so I doubt that's the device's fault. Plus, I also said that I got the same problems on a completely different device with a 730, which is my 4a. Regardless:

sd801 on Lineage 17.1, Linux 3.18.137-g52bcca9b8e2, 4GB memory and 30~ GB storage free, and Pixel 4a on Android 10, Linux 4.14.117, 6GB and 30~ storage free

Ilithy commented 2 years ago

I add my testimony (as a simple user); I use Neo Store on my Pixel 6 pro under the latest stable version of GrapheneOS (Android 12), I have never experienced app or system lag while using Neo Store, or during an update/installation of app.

I don't have any google service installed, nor play store. System not rooted Bootloader locked battery optimization enabled install from Fdroid

machiav3lli commented 2 years ago

@nodeunit @gargamel17 having only you report such system issues, is needless to say an indicator of something "special" on your setups. Maybe there's a resources conflict with other of your special apps or magisk modules? I'm working here in a blind environment, as there has no extensive description of the system. Beside, @gargamel17 has a whole another issue as yours @nodeunit. You didn't answer the modules question, so, any modules?

nodeunit commented 2 years ago

sd801 was unrooted, no modules active when I experienced these hangups. The 4a had these: Screenshot_20220809-204642.pngScreenshot_20220809-204721.png

Both have default Android battery optimization enabled, unrestricted background

howyay commented 1 year ago

Can confirm this with an OnePlus 8. For the record, this was also a problem with Droid-ify at some point for me, but it no longer cause the lag after certain updates - it persists on Neo-Store.

Nothing notable about my setup, and I was able to observe the lag on both stock OS as well as on LOS that I'm using right now. (Both rooted with Magisk)

nodeunit commented 1 year ago

Something interesting that I have noted:

With this in mind, maybe the problem is that Neo Store is prompting to install a package that isn't finished downloading yet, and this is triggering the lag for some reason?

paulverbeke commented 1 year ago

I also experience major freezes and unresponsiveness but only while using the search feature: I type an app name and it freezes completely after the first 2 characters. Same when deleting characters, or clearing the input. Need to wait several seconds. And it becomes worse and worse after several searches during the same use of the app, reaching up to 10 to 20 sec of wait. Do I need to create another issue for this or is it linked ? OnePlus 8T Stock OS (OxygenOS 12.1) Android 12 no root or anything special...pure stock Neo Store 0.9.9

mozhin commented 1 year ago

I also experience major freezes and unresponsiveness but only while using the search feature: I type an app name and it freezes completely after the first 2 characters. Same when deleting characters, or clearing the input. Need to wait several seconds. And it becomes worse and worse after several searches during the same use of the app, reaching up to 10 to 20 sec of wait. Do I need to create another issue for this or is it linked ? OnePlus 8T Stock OS (OxygenOS 12.1) Android 12 no root or anything special...pure stock Neo Store 0.9.9

Same here with asus zenfone 7, stock 11 android. Searching is pain(

3699n commented 1 year ago

I have the same issue on a brand new Pixel 6a with GrapheneOS. Searching is basically not possible due to the interface being incredibly laggy.

paulverbeke commented 1 year ago

The last release 0.9.12 with the fix to improve search performance didn't solve this for me. OnePlus 8T Stock OS (OxygenOS 13.0) Android 13 no root or anything special...pure stock Neo Store 0.9.12

nodeunit commented 1 year ago

I am returning to this issue, with a new phone - Pixel 5a, with a Snapdragon 765 and rooted (Pixel) Android 11, and this issue is still here with a vengeance.

With this chip, at least, the phone doesn't have a full kernel panic and hard reset. The UI still freezes for a full minute though.

The worst of it though, notably, comes with downloading multiple apps - going one at a time is fine, but doing something like pressing "Update All” is nothing but trouble.

Something is seriously wrong with the download function in Neo Store.

machiav3lli commented 1 year ago

@nodeunit you didn't mention the build you're on. Maybe you can test the yesterday published 0.9.13-alpha01 to see if this was improved.

cjseaslug commented 1 year ago

This is happening to me on 0.9.12 on an unrooted Pixel 5 and has for a while -- were there commits in .9.13-a01 that are expected to change this? Sorry to ask before installing.

This happens with auto-update where I notice it most; the phone slows to a crawl and is completely unusable while I'm not actively using neo-store.

alr86 commented 8 months ago

me too The more I use the program, the more heavy it gets until it crash.

OS: Android 9 armv8l Device: HONOR JAT-L41 Kernel: 4.9.117+ Memory: 2800MB

machiav3lli commented 5 months ago

Should be fixed on 1.0.0, please report back