MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
4.29k stars 253 forks source link

App won't open in One UI even after getting root permission. #1312

Open anurag565 opened 1 month ago

anurag565 commented 1 month ago

Please check before submitting an issue

Describe the bug

I dont know if its on my device or all, but it happens every time even if i flash new stock ROM from beginning. App just wont open even if i gave it magisk permission. Stuck on front page.

To Reproduce

No response

Expected behavior

No response

Screenshots

Screenshot_20240320_235108_App Manager

Logs

No response

Device info

Additional context

No response

MuntashirAkon commented 1 month ago

You need to provide some logs from the debug releases which you can find in the Actions page. Be sure to use AppManager-v3.1.x branch.

anurag565 commented 1 month ago

You need to provide some logs from the debug releases which you can find in the Actions page. Be sure to use AppManager-v3.1.x branch.

How to? Please tell the steps. I really want the app to get fixed asap.

HanabishiRecca commented 1 month ago

Are you sure this is not #1311?

anurag565 commented 1 month ago

Are you sure this is not #1311?

Yes its different issue. I will provide log soon.... my exams are going on right now.

Kovinda commented 1 month ago

FATAL EXCEPTION: main Process: io.github.muntashirakon.AppManager, PID: 16019 java.lang.IllegalStateException: External directory unavailable. at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:161) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.createBindTask(RootServiceManager.java:285) at io.github.muntashirakon.AppManager.ipc.RootService.bindOrTask(RootService.java:146) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:110) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:125) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper.lambda$startDaemon$0$io-github-muntashirakon-AppManager-ipc-ServiceConnectionWrapper(ServiceConnectionWrapper.java:117) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper$$ExternalSyntheticLambda0.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.io.FileNotFoundException: No available shared storage found. at io.github.muntashirakon.AppManager.utils.FileUtils.getExternalCachePath(FileUtils.java:210) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:159) ... 14 more

anurag565 commented 1 month ago

FATAL EXCEPTION: main Process: io.github.muntashirakon.AppManager, PID: 16019 java.lang.IllegalStateException: External directory unavailable. at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:161) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.createBindTask(RootServiceManager.java:285) at io.github.muntashirakon.AppManager.ipc.RootService.bindOrTask(RootService.java:146) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:110) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:125) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper.lambda$startDaemon$0$io-github-muntashirakon-AppManager-ipc-ServiceConnectionWrapper(ServiceConnectionWrapper.java:117) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper$$ExternalSyntheticLambda0.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.io.FileNotFoundException: No available shared storage found. at io.github.muntashirakon.AppManager.utils.FileUtils.getExternalCachePath(FileUtils.java:210) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:159) ... 14 more

Did u found the log?

Kovinda commented 1 month ago

FATAL EXCEPTION: main Process: io.github.muntashirakon.AppManager, PID: 16019 java.lang.IllegalStateException: External directory unavailable. at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:161) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.createBindTask(RootServiceManager.java:285) at io.github.muntashirakon.AppManager.ipc.RootService.bindOrTask(RootService.java:146) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:110) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:125) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper.lambda$startDaemon$0$io-github-muntashirakon-AppManager-ipc-ServiceConnectionWrapper(ServiceConnectionWrapper.java:117) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper$$ExternalSyntheticLambda0.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.io.FileNotFoundException: No available shared storage found. at io.github.muntashirakon.AppManager.utils.FileUtils.getExternalCachePath(FileUtils.java:210) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:159) ... 14 more

Did u found the log?

Yes, The same bug. But it is not from the debug version of the app

Device info Device: A52s 5G OS Version:14 App Manager Version:3.1.5 Mode: Root

Kovinda commented 1 month ago

time: 1712259669910 msg: java.io.FileNotFoundException: No available shared storage found. stacktrace: java.lang.IllegalStateException: External directory unavailable. at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:161) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.createBindTask(RootServiceManager.java:285) at io.github.muntashirakon.AppManager.ipc.RootService.bindOrTask(RootService.java:146) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:110) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:125) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper.lambda$startDaemon$0$io-github-muntashirakon-AppManager-ipc-ServiceConnectionWrapper(ServiceConnectionWrapper.java:117) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper$$ExternalSyntheticLambda0.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.io.FileNotFoundException: No available shared storage found. at io.github.muntashirakon.AppManager.utils.FileUtils.getExternalCachePath(FileUtils.java:210) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:159) ... 14 more

This is the log from the debug version 3.1.5-2656-DEBUG (428)

anurag565 commented 1 month ago

FATAL EXCEPTION: main Process: io.github.muntashirakon.AppManager, PID: 16019 java.lang.IllegalStateException: External directory unavailable. at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:161) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.createBindTask(RootServiceManager.java:285) at io.github.muntashirakon.AppManager.ipc.RootService.bindOrTask(RootService.java:146) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:110) at io.github.muntashirakon.AppManager.ipc.RootService.bind(RootService.java:125) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper.lambda$startDaemon$0$io-github-muntashirakon-AppManager-ipc-ServiceConnectionWrapper(ServiceConnectionWrapper.java:117) at io.github.muntashirakon.AppManager.ipc.ServiceConnectionWrapper$$ExternalSyntheticLambda0.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.io.FileNotFoundException: No available shared storage found. at io.github.muntashirakon.AppManager.utils.FileUtils.getExternalCachePath(FileUtils.java:210) at io.github.muntashirakon.AppManager.ipc.RootServiceManager.startRootProcess(RootServiceManager.java:159) ... 14 more

Did u found the log?

Yes, The same bug. But it is not from the debug version of the app

Device info Device: A52s 5G OS Version:14 App Manager Version:3.1.5 Mode: Root

Thanks...hope devs solve this

MuntashirAkon commented 1 month ago

java.lang.IllegalStateException: External directory unavailable.

This issue is a duplicate of #948, unlikely the one that @anurag565 is facing.

Kovinda commented 1 month ago

java.lang.IllegalStateException: External directory unavailable.

This issue is a duplicate of #948, unlikely the one that @anurag565 is facing.

Creating the folder and giving permissions fixed everything