MuntashirAkon / MuntashirAkon/AppManager
App list refresh never end in root mode (APatch)
- Dominant language
- Java
- Stars
- 9k
- Forks
- 518
- PR merge metrics
- No merged PRs in 30d
Description
### Please check before submitting an issue
- [x] I know what my device, OS and App Manager versions are
- [x] I know how to take logs
- [ ] I know how to reproduce the issue which may not be specific to my device
### Describe the bug
When AM is running in rooted mode, refresh app list will never finish. By never I mean the refreshing hang at least 3 minutes and doesn't resume after a force close.
This problem doesn't happen in non-root mode or adb mode.
### To Reproduce
Method 1
1. Install AM
2. Grant su permission
3. Start AM in root mode, app list can't be loaded.
Method 2
1. Install AM
2. Start AM in non-root mode
3. Wait for app list been refreshed, quit AM.
4. Install or uninstall some app.
5. Grant su permission
6. Start AM in root mode, the change won't be reflected.
### Expected behavior
The app list should appear in few seconds
### Screenshots
_No response_
### Logs
[file_3856162672697352031.zip](https://github.com/user-attachments/files/21105888/file_3856162672697352031.zip)
Log is collected with release version AM against debug version AM. I'm not sure is this a viable method.
### Device info
- Device: Google Pixel 3
- OS Version: stock Android 11
- App Manager Version: confirmed on 4.0.4 (444) and latest debug version, but also experienced on earlier version.
- Mode: Root (confirmed on both APatch and Magisk)
### Additional context
I feel this issue has some relation with I/O speed. This issue always appear on device that had been used for a while (which significantly slow down), but never on device just wiped.
Contributor guide
Assessment
This issue has not been assessed yet.