SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
639 stars 71 forks source link

Hang after request for root premission. #87

Open fitu996 opened 3 years ago

fitu996 commented 3 years ago

Hang after request for root premission and shows a blank screen.

Oneplus 8 pro with Android 11.

I tried all version of your releases. All versions from v13.6 to latest version is affected by this issue. It seems that v13.4 works as expected.

sunilpaulmathew commented 3 years ago

Thanks for reporting the issue. Most probably, these kinds of issues happened when the app has issues to get root permissions. Usually, a Magisk update (or sometimes a reboot of the phone) solves this issue. Have you made sure in Magisk Manager that root permission is granted?

fitu996 commented 3 years ago

Yes

fitu996 commented 3 years ago

Magisk 21.1 + MagiskManager 8.0.3

No module installed

fitu996 commented 3 years ago

Any more information needed? I can help you solve this issue.

When I choose to decline the root permission request. This app will show that root permission is not granted. So I am sure that Magisk root is working as expected.

sunilpaulmathew commented 3 years ago

p you solve this iss

Probably, a logcat while the issue happens?

fitu996 commented 3 years ago

I noticed that this app do not hang forever, but hang a few minutes, then it show the main activity.

So I tried to turn off some new features since version v13.4 and find out that when I turns off "Check for update automatically", the hang disappears.

dankxylese commented 3 years ago

2020-12-30-11-31-09.txt Had it hang on first install (v15.4 from fdroid) after granting it root. Switched away to find this issue, and then when switching back got the prompt to grant storage permissions. So it could be either the call for normal permissions or the check for root that's hanging it up, purely from the interactions I've had.

Had it hang for less than a minute on Android 10, AOSP based Rom and microG, if that helps.

Edit: had it hang again after a relaunch. Attached log, might be very noisy because of sound cloud and riru hooking on the background.

Hope it helps. Can do other root actions to narrow down the cause if needed.

sunilpaulmathew commented 3 years ago

@dankxylese Thanks for the log. I also faced similar issues occasionally. Most cases, the issue will be fixed after a reboot. So, I assumed that, the issue is related with root management (so, I guess, app has nothing to do with it).