1fe0b229400f67f60254a91eef6f0d648aad9c41
Tech/PocoM4.md
| ... | ... | @@ -73,21 +73,27 @@ Adapted from https://forum.xda-developers.com/t/unlock-bootloader-redmi-note-11s |
| 73 | 73 | |
| 74 | 74 | 3. Patch boot.img |
| 75 | 75 | |
| 76 | -Patch boot.img for root using Magisk. |
|
| 76 | + Patch boot.img for root using Magisk. |
|
| 77 | 77 | |
| 78 | -- Install [Magisk](https://github.com/topjohnwu/Magisk/releases/latest) |
|
| 79 | -- Copy `boot.img` to SD card |
|
| 80 | -- Magisk → install → patch a file (for each boot.img) |
|
| 81 | -- Copy patched boot image from Downloads (called `magisk_patched_*.img`) to SD Card |
|
| 78 | + - Install [Magisk](https://github.com/topjohnwu/Magisk/releases/latest) |
|
| 79 | + - Copy `boot.img` to SD card |
|
| 80 | + - Magisk → install → patch a file (for each boot.img) |
|
| 81 | + - Copy patched boot image from Downloads (called `magisk_patched_*.img`) to SD Card |
|
| 82 | 82 | |
| 83 | 83 | 4. Flash patched boot.img |
| 84 | 84 | |
| 85 | -``` |
|
| 85 | + ``` |
|
| 86 | 86 | adb reboot bootloader |
| 87 | 87 | fastboot flash boot magisk_patched_*.img |
| 88 | 88 | fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img |
| 89 | 89 | ``` |
| 90 | 90 | |
| 91 | +5. Patch inactive slot |
|
| 92 | + |
|
| 93 | + - boot rooted phone |
|
| 94 | + - Magisk Install to Inactive slot |
|
| 95 | + |
|
| 96 | + |
|
| 91 | 97 | # Updating |
| 92 | 98 | https://topjohnwu.github.io/Magisk/ota.html |
| 93 | 99 |