Android M support plan ?
flyuuo9 opened this issue · 2 comments
flyuuo9 commented
I used this on android M , device is xiaomi 5
dmesg as this:
avc: denied { execute_no_trans } comm="init" scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
phhusson commented
How did you install it?
Android M is already supported, though it could miss some OEM-specific changes.
flyuuo9 commented
@phhusson
I modified system.img put su file as /system/xbin/custom_su(file se context is u:object_r:system_file:s0), and modified boot.img add a service in init.rc as below:
chown root root /system/xbin/custom_su
chmod 0755 /system/xbin/custom_su
service custom_su /system/xbin/custom_su --daemon
class main