MMRL icon indicating copy to clipboard operation
MMRL copied to clipboard

Unable to find root manager

Open cr24-OS opened this issue 1 year ago • 17 comments

Sadly the magiskdetectionerror still exists after newest update on fresh install.

cr24-OS avatar Dec 01 '23 21:12 cr24-OS

Related to #7

DerGoogler avatar Dec 02 '23 13:12 DerGoogler

Is the magisk binary really normally located under /system/bin/magisk or not as I already mentioned found at /sbin/magisk ? more infos here

cr24-OS avatar Dec 14 '23 22:12 cr24-OS

Try to run which magisk and see what comes.

DerGoogler avatar Dec 15 '23 05:12 DerGoogler

@DerGoogler

Try to run which magisk and see what comes.

android@root:/ $ which magisk
/sbin/magisk

cr24-OS avatar Dec 15 '23 07:12 cr24-OS

I really don't understand how this bug happens, I'm also unable to reproduce.

DerGoogler avatar Dec 15 '23 11:12 DerGoogler

So you want to tell me that the normal magisk binary is not located in /sbin although it's documented like this and my phone is the only one where its found there or what is the issue?

more infos here

cr24-OS avatar Dec 16 '23 06:12 cr24-OS

You are currently the only one that is facing such an issue. I am currently unable to provide any deep bug fixes.

I want to take the last few days of this last month this year with my family and friends, so please don't expect any big updates in 2023.

DerGoogler avatar Dec 16 '23 07:12 DerGoogler

Sorry, don't want to stress you at all. Enjoy Christmastime my friend. Just wanted to help and actually didn't know it is working at the current state for others. I guess I will have a look at my magisk installation for further inveatigation while waiting for Santa haha. 🎁🎄

cr24-OS avatar Dec 16 '23 09:12 cr24-OS

what is the android version of your s8?

diehard88 avatar Feb 16 '24 22:02 diehard88

Android 9

cr24-OS avatar Feb 17 '24 04:02 cr24-OS

@cr24-OS, please check out the latest alpha and report if issue is fixed.

MMRL V2 uses a new way to detect root in mounts

DerGoogler avatar Feb 17 '24 08:02 DerGoogler

@DerGoogler where to find the alpha? Had lots of things to do so no time for further investigation. Just realized I cannot even open mmrl (newest version) atm because it crashes during starts.

FATAL EXCEPTION: main
Process: com.dergoogler.mmrl, PID: 13771
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dergoogler.mmrl/com.dergoogler.mmrl.MainActivity}: android.view.InflateException: Binary XML file line #28: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3114)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7050)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: android.view.InflateException: Binary XML file line #28: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
	at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:775)
	at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:8147)
	at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:8339)
	at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:439)
	at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:370)
	at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:56)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
	at android.view.View.inflate(View.java:26196)
	at n.r$a$a.d(Unknown Source:9)
	at n.r$a$a.a(Unknown Source:0)
	at j0.k.getValue(Unknown Source:20)
	at n.r$a.d(Unknown Source:2)
	at n.r$a.a(Unknown Source:25)
	at n.r.<init>(Unknown Source:25)
	at n.g$b.l(Unknown Source:11)
	at n.g.e(Unknown Source:7)
	at org.apache.cordova.SplashScreenPlugin.setupSplashScreen(Unknown Source:52)
	at org.apache.cordova.SplashScreenPlugin.onMessage(Unknown Source:22)
	at org.apache.cordova.PluginManager.lambda$postMessage$0(Unknown Source:2)
	at org.apache.cordova.PluginManager.a(Unknown Source:0)
	at org.apache.cordova.a.accept(Unknown Source:8)
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
	at java.util.Collections$SynchronizedMap.forEach(Collections.java:2691)
	at org.apache.cordova.PluginManager.postMessage(Unknown Source:32)
	at org.apache.cordova.CordovaActivity.init(Unknown Source:47)
	at com.dergoogler.mmrl.MainActivity.onCreate(Unknown Source:14)
	at android.app.Activity.performCreate(Activity.java:7327)
	at android.app.Activity.performCreate(Activity.java:7318)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7050)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

cr24-OS avatar Feb 17 '24 08:02 cr24-OS

You can find them in the release section of the repo.

DerGoogler avatar Feb 17 '24 08:02 DerGoogler

Sorry still sleeping. But I cannot even open the alpha. Crashes on start.

FATAL EXCEPTION: main
Process: com.dergoogler.mmrl, PID: 28831
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dergoogler.mmrl/com.dergoogler.mmrl.MainActivity}: android.view.InflateException: Binary XML file line #28: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3114)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7050)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: android.view.InflateException: Binary XML file line #28: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
	at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:775)
	at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:8147)
	at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:8339)
	at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:439)
	at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:370)
	at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:56)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
	at android.view.View.inflate(View.java:26196)
	at o.r$a$a.d(Unknown Source:9)
	at o.r$a$a.a(Unknown Source:0)
	at p0.h.getValue(Unknown Source:20)
	at o.r$a.d(Unknown Source:2)
	at o.r$a.a(Unknown Source:25)
	at o.r.<init>(Unknown Source:25)
	at o.g$b.l(Unknown Source:11)
	at o.g.e(Unknown Source:7)
	at org.apache.cordova.SplashScreenPlugin.setupSplashScreen(Unknown Source:52)
	at org.apache.cordova.SplashScreenPlugin.onMessage(Unknown Source:22)
	at org.apache.cordova.PluginManager.lambda$postMessage$0(Unknown Source:2)
	at org.apache.cordova.PluginManager.a(Unknown Source:0)
	at org.apache.cordova.a.accept(Unknown Source:8)
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
	at java.util.Collections$SynchronizedMap.forEach(Collections.java:2691)
	at org.apache.cordova.PluginManager.postMessage(Unknown Source:32)
	at org.apache.cordova.CordovaActivity.init(Unknown Source:47)
	at com.dergoogler.mmrl.MainActivity.onCreate(Unknown Source:22)
	at android.app.Activity.performCreate(Activity.java:7327)
	at android.app.Activity.performCreate(Activity.java:7318)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7050)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

cr24-OS avatar Feb 17 '24 09:02 cr24-OS

@cr24-OS , V2 is released now. Could you check if the splash screen bug and the detection error has been fixed?

DerGoogler avatar Feb 22 '24 20:02 DerGoogler

@cr24-OS , V2 is released now. Could you check if the splash screen bug and the detection error has been fixed?

his case is unusual because of sbin, which was removed by google after Android 10 or 11.

diehard88 avatar Feb 23 '24 17:02 diehard88

@cr24-OS , V2 is released now. Could you check if the splash screen bug and the detection error has been fixed?

his case is unusual because of sbin, which was removed by google after Android 10 or 11.

MMRL does not detect root by paths anymore. View Shell.ts how it's goin' gets detected.

DerGoogler avatar Feb 23 '24 20:02 DerGoogler