This is my stock boot.img(Honor V10 Emui8.0 with oreo8.0)
This is my modified boot.img(I replace init with which i get from @mankindtw 's mate 10 's root boot.img)
But i don't know how to patch init by my own, i found many threads about patching sepolicy with a rooted phone, but found none about how to patch init.
For newest huawei emui8.0, it has different partitions, there's no more boot.img, they are ramdisk.img kernel.img vendor.img...
There's no sepolicy in the ramdisk.img, they placed sepolicy in vender.img /etc/selinix/precompiled_sepolicy.
I unpack the ramdisk.img and vendor.img with bootimg.exe https://github.com/cofface/android_bootimg
And i've described what i did here https://forum.xda-developers.com/app...ui8-0-t3732319
After all , do we have a way to patch init manually just like patching sepolicy using supolicy on a rooted phone?
|Thread Tools||Search this Thread|