NeoTerm
NeoTerm copied to clipboard
Cannot execute `su` or `sudo` (SuperSU installed)
When executing su
or sudo
, the current session gets stuck and I can only exit that tab. No SuperSU prompt is shown. Both normal session and system shell session have this problem. I am using SuperSU 2.82 SR3 on Android O on Pixel.
I tested on my pixel but I cannot reproduce the problem. Maybe there is something wrong with SuperSU app I suppose?
Try following methods, if persists, please let me know:
- Ctrl + c to terminate su call or force stop NeoTerm
- Back to your launcher and open SuperSU
- Back to NeoTerm and try
su
orsudo
again
It is not working :(
Here are some log from logcat after executing su
:
08-29 14:33:04.180 11421 11421 W cmd : type=1400 audit(0.0:5424): avc: denied { read write } for path="/dev/pts/9" dev="devpts" ino=12 scontext=u:r:system_server:s0 tcontext=u:object_r:untrusted_app_devpts:s0:c512,c768 tclass=chr_file permissive=0
08-29 14:33:04.181 11421 11421 W cmd : Failure calling service activity: Failed transaction (2147483646)
And sending Ctrl+C has no response at all
Oh I know, it's because SELinux compatibility is not so good. Thanks a lot! If you would like to find a "Quick Way" to make it work, just disable SELinux. We will finally fix this but it maybe a long time...
Thanks for your nice work
I have the same problem on Nitrogen OS based on 8.1 too...