• Shaka Huang's avatar
    Support loading split sepolicy on non skip_initramfs devices · 3dc22db2
    Shaka Huang authored
    For certain device (e.g ZenFone 4 ZE554KL) there’s no sepolicy under rootfs and no a/b partition (implies no vendor partition) Magisk will failed to patch SELinux policy database and the system won’t boot up.
    
    In order to cope with this configuration the status of loading policy db needs to be checked, once it failed we have to mount the system partition and do patch_sepolicy() again.
    Signed-off-by: 's avatarShaka Huang <shakalaca@gmail.com>
    3dc22db2
Name
Last commit
Last update
..
jni Loading commit data...
src/main Loading commit data...
.gitignore Loading commit data...
build.gradle Loading commit data...