Commit d8405f0d authored by topjohnwu's avatar topjohnwu

Make recovery installed on on system_root devices normal

parent 0f34f003
...@@ -374,8 +374,11 @@ int main(int argc, char *argv[]) { ...@@ -374,8 +374,11 @@ int main(int argc, char *argv[]) {
} }
// Do not go further if system_root device is booting as recovery // Do not go further if system_root device is booting as recovery
if (!cmd.skip_initramfs && access("/sbin/recovery", F_OK) == 0) if (!cmd.skip_initramfs && access("/sbin/recovery", F_OK) == 0) {
// Remove Magisk traces
rm_rf("/.backup");
goto exec_init; goto exec_init;
}
/* ************ /* ************
* Early Mount * Early Mount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment