Androidacy / MagiskModuleManager

Previously known as Fox's Magisk Module Manager (FoxMMM), this app helps users find, install "Magisk Modules" - powerful little zips/apps for your device that plug into the Magisk framework.
https://www.androidacy.com
GNU Lesser General Public License v3.0
909 stars 33 forks source link

The application won't start #28

Closed wthayush closed 1 year ago

wthayush commented 1 year ago

Describe the bug The application doesn't start properly and shows an error message whenever i open it. I first encountered the bug when I updated the app to version 2.0.1

To Reproduce Open the app.

Expected behavior The app opens and works as intended.

Screenshots Screenshot_20230611-100444_Fox's Magisk Module Manager

Device info(please complete the following information):

Additional context The following error message shows up Stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fox2code.mmm/com.fox2code.mmm.MainActivity}: io.realm.exceptions.RealmFileException: Failed to open Realm file at path '/data/user/0/com.fox2code.mmm/realms/ReposList.realm': Realm file decryption failed (Decryption failed: 'unable to decrypt after 0 seconds (retry_count=4 from=i != bytes_read size=4096)') (/data/user/0/com.fox2code.mmm/realms/ReposList.realm) in /tmp/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 107 Kind: ACCESS_ERROR. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:246) at android.app.ActivityThread.main(ActivityThread.java:8506) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1139) Caused by: io.realm.exceptions.RealmFileException: Failed to open Realm file at path '/data/user/0/com.fox2code.mmm/realms/ReposList.realm': Realm file decryption failed (Decryption failed: 'unable to decrypt after 0 seconds (retry_count=4 from=i != bytes_read size=4096)') (/data/user/0/com.fox2code.mmm/realms/ReposList.realm) in /tmp/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 107 Kind: ACCESS_ERROR. at io.realm.internal.OsSharedRealm.nativeGetSharedRealm(Native Method) at io.realm.internal.OsSharedRealm.(SourceFile:11) at io.realm.internal.OsSharedRealm.getInstance(SourceFile:6) at hg.(SourceFile:18) at lf1.(SourceFile:8) at vf1.b(SourceFile:96) at lf1.l0(SourceFile:5) at com.fox2code.mmm.MainActivity.onCreate(SourceFile:77) at android.app.Activity.performCreate(Activity.java:8198) at android.app.Activity.performCreate(Activity.java:8182) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765) ... 11 more

androidacy-user commented 1 year ago

Clean installing version 2.1.1 will fix your issue most likely, but this is a known edge case with old builds that we've already addressed.

tobby88 commented 1 year ago

Uninstalled and reinstalled the app. Problem is still there.

MrHappy commented 1 year ago

I have the same issue. Same version. Running on LOS20. After reinstalling I got this error Stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fox2code.mmm/com.fox2code.mmm.MainActivity}: java.lang.IllegalStateException: This build has expired. Please download a stable build or update to the latest version. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3641) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3778) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2303) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7884) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) Caused by: java.lang.IllegalStateException: This build has expired. Please download a stable build or update to the latest version. at com.fox2code.mmm.MainActivity.onCreate(SourceFile:791) at android.app.Activity.performCreate(Activity.java:8341) at android.app.Activity.performCreate(Activity.java:8320) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3622) ... 12 more

Simon1511 commented 1 year ago

Same issue here. Neither clearing data of the app nor reinstalling helps.

ghostrevenge commented 1 year ago

Hi same problem is happening to me , Stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fox2code.mmm/com.fox2code.mmm.MainActivity}: java.lang.IllegalStateException: This build has expired. Please download a stable build or update to the latest version. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3642) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3779) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2304) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7926) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942) Caused by: java.lang.IllegalStateException: This build has expired. Please download a stable build or update to the latest version. at com.fox2code.mmm.MainActivity.onCreate(SourceFile:791) at android.app.Activity.performCreate(Activity.java:8383) at android.app.Activity.performCreate(Activity.java:8362) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1424) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3623) ... 12 more

ghostrevenge commented 1 year ago

I have reinstalled latest version already

wthayush commented 1 year ago

Clean installing version 2.1.1 will fix your issue most likely, but this is a known edge case with old builds that we've already addressed.

I've tried clean installing, trying old builds etc the problem still persists

androidacy-user commented 1 year ago

30, and an announcement was made on telegram. Locking so this issue doesn't continue to get spammed.