Selinux编译调试

2021-06-21  本文已影响0人  andforce

快速编译sepolicy并验证

mmma system/sepolicy
adb push out/target/product/xxx/system/etc/selinux /system/etc/selinux
adb push out/target/product/xxx/vendor/etc/selinux /vendor/etc/selinux

本地编译并刷全包

android-make
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
上一篇下一篇

猜你喜欢

热点阅读