Powerful Extension!
Great work.
But for some reason, I can’t get this working.
Using v2 of the extension. Checking Root Status works perfectly fine, but executing shell commands doesn’t.
I’ve tried this:
Execute-> ls
(No output and no message in logcat logs)
Execute-> su
(Brings up Root Access prompt; granting permission produces no result (AfterExecute method doesn’t get executed, app freezes/slow responds) with the following logcat output:
02-26 15:22:52.148 4114 4114 D su : su invoked.
02-26 15:22:52.148 4114 4114 D su : starting daemon client 10166 10166
02-26 15:22:52.150 4116 4116 D su : remote pid: 4114
02-26 15:22:52.151 4116 4116 D su : remote pts_slave:
02-26 15:22:52.152 4116 4116 D su : waiting for child exit
02-26 15:22:52.152 4118 4118 D su : su invoked.
02-26 15:22:52.153 4118 4118 E su : SU from: u0_a166
02-26 15:22:52.153 4118 4118 D su : Checking whether app [uid:10166, pkgN
ame: com.thunkable.android.*****.Root_test] is allowed to be root
02-26 15:22:52.155 456 476 E AppOps : Creating dialog box
02-26 15:22:52.222 456 3904 I OpenGLRenderer: Initialized EGL, version 1.4
02-26 15:22:52.226 456 3904 I MaliEGL : [Mali]window_type=1, is_framebuffer=0
, errnum = 0
02-26 15:22:52.226 456 3904 I MaliEGL : [Mali]surface->num_buffers=4, surface
->num_frames=3, win_min_undequeued=1
02-26 15:22:52.226 456 3904 I MaliEGL : [Mali]max_allowed_dequeued_buffers=3
02-26 15:22:55.258 4118 4118 D su : Privilege elevation allowed by appops
02-26 15:22:55.258 4118 4118 D su : Allowing via appops.
02-26 15:22:55.258 4118 4118 D su : 10166 /system/bin/app_process32 execu
ting 0 /system/bin/sh using binary /system/bin/sh : sh
02-26 15:22:55.259 4118 4118 D su : Waiting for pid 4124.
02-26 15:22:55.273 714 714 I SuControllerImpl: Got change
^c
Execute-> su ls
(No results)
Logcat Output:
02-26 15:30:24.633 4553 4553 D su : su invoked.
02-26 15:30:24.633 4553 4553 D su : starting daemon client 10166 10166
02-26 15:30:24.635 4555 4555 D su : remote pid: 4553
02-26 15:30:24.635 4555 4555 D su : remote pts_slave:
02-26 15:30:24.636 4555 4555 D su : waiting for child exit
02-26 15:30:24.636 4557 4557 D su : su invoked.
02-26 15:30:24.636 4557 4557 E su : Unknown id: ls
02-26 15:30:24.640 4555 4555 D su : sending code
02-26 15:30:24.640 4555 4555 D su : child exited
02-26 15:30:24.640 4553 4553 D su : client exited 1
Any help would be much appreciated. Android 6.0.1, CM13
Regards.