Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android M support plan ? #41

Open
flyuuo9 opened this issue May 26, 2016 · 2 comments
Open

Android M support plan ? #41

flyuuo9 opened this issue May 26, 2016 · 2 comments

Comments

@flyuuo9
Copy link

flyuuo9 commented May 26, 2016

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
Copy link
Owner

phhusson commented Jun 6, 2016

How did you install it?
Android M is already supported, though it could miss some OEM-specific changes.

@flyuuo9
Copy link
Author

flyuuo9 commented Jun 6, 2016

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants