MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Error activating root mode on Lollipop device

Open AnotherJavaUser opened this issue 1 year ago • 3 comments

I installed the application on a Samsung J1 Ace (SM-J111M, j1acevelte) that is rooted with SuperSU. When activating root mode in the explorer and reloading, I get the following error:

Screenshot_2024-03-17-11-46-01

I obviously granted root permissions in SuperSU. And in normal mode it works fine. The exact version is Android 5.1.1. I know it's pretty old, but you might want to correct it.

AnotherJavaUser avatar Mar 17 '24 15:03 AnotherJavaUser

Any stacktrace in logcat? The error means that the root process was launched but crashed.

zhanghai avatar Mar 17 '24 18:03 zhanghai

Any stacktrace in logcat? The error means that the root process was launched but crashed.

I guess this is what you are looking for. I don't have much experience with this, let me know if you need more information.

W/System.err( 4724): me.zhanghai.android.files.provider.remote.RemoteFileSystemException: android.os.DeadObjectException

W/System.err( 4724): 	at y1.f.p(SourceFile:24)

W/System.err( 4724): 	at me.zhanghai.android.files.provider.remote.N.s(SourceFile:38)

W/System.err( 4724): 	at androidx.lifecycle.k0.h(SourceFile:37)

W/System.err( 4724): 	at C2.n0.g(SourceFile:44)

W/System.err( 4724): 	at me.zhanghai.android.files.provider.root.v.y(SourceFile:20)

W/System.err( 4724): 	at me.zhanghai.android.files.provider.root.v.s(SourceFile:18)

W/System.err( 4724): 	at p2.b.H(SourceFile:12)

W/System.err( 4724): 	at B2.p.call(SourceFile:99)

W/System.err( 4724): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)

W/System.err( 4724): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

W/System.err( 4724): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

W/System.err( 4724): 	at java.lang.Thread.run(Thread.java:818)

W/System.err( 4724): Caused by: android.os.DeadObjectException

W/System.err( 4724): 	at android.os.BinderProxy.transactNative(Native Method)

W/System.err( 4724): 	at android.os.BinderProxy.transact(Binder.java:496)

W/System.err( 4724): 	at me.zhanghai.android.files.provider.remote.j.g(SourceFile:1)

W/System.err( 4724): 	at me.zhanghai.android.files.provider.remote.E.f(SourceFile:59)

W/System.err( 4724): 	at y1.f.p(SourceFile:11)

W/System.err( 4724): 	... 11 more

Complete log: logcat.txt

AnotherJavaUser avatar Mar 17 '24 23:03 AnotherJavaUser

From logcat.txt:

W/IPC     ( 4892): Failed to create package context as user: 0
W/IPC     ( 4892): java.lang.NoSuchMethodException: of [int]
W/IPC     ( 4892): 	at java.lang.Class.getDeclaredMethod(Class.java:638)
W/IPC     ( 4892): 	at com.topjohnwu.superuser.internal.RootServerMain.<init>(SourceFile:0)
W/IPC     ( 4892): 	at com.topjohnwu.superuser.internal.RootServerMain.main(SourceFile)
W/IPC     ( 4892): 	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
W/IPC     ( 4892): 	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:255)

It's a libsu compatiblity issue so I've opened https://github.com/topjohnwu/libsu/issues/180 for you and please track it there.

zhanghai avatar Mar 18 '24 02:03 zhanghai