Kernel Flash Guide

Kernel Flash Guide

nurfaizfy

You need twrp.img if you want to keep twrp on your phone.


If TWRP has not been installed

1. Reboot to bootloader

2. Open fastboot in cmd/terminal

3. Type fastboot flash boot_ab twrp.img

4. Reboot to recovery

5. Flash the kernel

6. Flash twrp.img to Recovery Ramdisk

7. Wipe cache if necessary

8. Reboot to system

Done


If TWRP has been installed, just follow the step below

1. Reboot to recovery

2. Flash the kernel

3. Flash twrp.img to Recovery Ramdisk

4. Wipe cache if necessary

5. Reboot to system

Done


If you want to uninstall it or want to use the stock kernel, follow the step:

1. Reboot to recovery

2. Flash boot.img

3. Flash twrp.img to Recovery Ramdisk if you want to keep twrp

4. Reboot to system

Done


NOTE:

For MIUI TN user, don't flash TWRP.img after flash the kernel, your phone won't boot or you can flash stock boot.img to Recovery Ramdisk. If you facing dm verity corrupted, please don't use disbale dm verity, and try this method:

1. Reboot to bootloader

2. Type fastboot oem cdms fix

3. Reboot to system

Done. Your phone should'nt corrupted again

Report Page