Android
Do not delete files when trying to bypass Android’s screen lock protection!!! |
Full Format
This wipes user data. |
Use fastboot
with the option fastboot -w
.
This doesn’t remove Magisk root. |
ROOT
-
Get a copy of
boot.img
from the ROM. -
Send to phone:
adb push <directory>/init_boot.img /sdcard/Download/
-
Patch with Magisk:
fastboot flash init_boot <magisk_patched.img file>
-
Reboot.