Discussion:
[android-porting] su /system/bin/sh: su: can't execute: permission denied
Akshay Mhaske
2018-07-16 14:44:20 UTC
Permalink
I am building AOSP N source code for x86 based system. for superuser
permision I added koush and cyanogenmod source code from x86 to AOSP.
but I am getting following error :-
su /system/bin/sh: su: can't execute: permission denied.


I am also attaching the log file which I captured after running su command
from terminal.

Can someone please help me.

Thanks,
Akshay
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Satish Patel
2018-07-17 04:10:45 UTC
Permalink
Post by Akshay Mhaske
I am building AOSP N source code for x86 based system. for superuser
permision I added koush and cyanogenmod source code from x86 to AOSP.
but I am getting following error :-
su /system/bin/sh: su: can't execute: permission denied.
​You have to apply patchset to system/core directory as well. I recommend
https://github.com/phhusson/Superuser - as it use sepolicy route to block
and unblock the access. ​
Post by Akshay Mhaske
I am also attaching the log file which I captured after running su command
from terminal.
Can someone please help me.
Thanks,
Akshay
--
--
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Regards,
satish patel
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...