I have created a custom su binary for testing purposes.
I have copied the binary to /system/xbin/mod_su
I have changed the files permissions with chmod 6755 /system/xbin/mod_su,
but still when I run the binary as a non-root user I fail on setgid(0) with 'Operation not permitted1'
Any ideas why this could happen ?
isn't 6755 permmisons enough ?
Did you chown root.root it before chmod?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With