mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 18:17:42 +00:00
3dc22db265
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: Shaka Huang <shakalaca@gmail.com>