Bootloader Unlock & Recovery Guide
-
Turn on developer options and enable OEM unlock.
-
Download mtkclient. You might need to disable Windows’ real time protection. Extract the zip and install usbdk inside the extracted folder.
-
Open mtk gui 2.0 and do not close it.
-
Power off your phone. Press vol up and vol down simultaneously and connect it to the PC. DO NOT release the volume buttons until connection succeeds.
-
In mtkclient, go to ‘Flash Tools’ section and click ‘Unlock Bootloader’ button.
-
Go to ‘Erase Partition’ section and erase the following partitions:
md_udcmetadatauserdata
Enabling fastboot
Section titled “Enabling fastboot”Unlike official bootloader unlock method (which is dead), unlocking
with mtkclient doesn’t make fastboot work out of the box. Patched lk
is needed to make fastboot work. lk stands for ‘little kernel’,
which is what MTK uses as the bootloader.
Technically, you can achieve similar result of unlocking by official
method. Just ask for seccfg dump from someone whose bootloader was
unlocked via official method, and flash it to your device with
mtkclient. You don’t even need to unlock first via mtkclient. The
benefit of this (and thus the prior official method) is that you will
not suffer from dm-verity corruption and therefore don’t need patched
LKs. However this hasn’t been tested and you should not do this if
you’re a beginner.
Download the appropriate lk for your device
Section titled “Download the appropriate lk for your device”click this for list of patched lks
Steps for flashing lk
Section titled “Steps for flashing lk”-
Open mtk gui 2.0 and do not close it.
-
Power off your phone. Press vol up and vol down simultaneously and connect it to the PC. DO NOT release the volume buttons until connection succeeds.
-
Go to ‘Write Partition’ section. Set the downloaded lk file for lk partition and flash. Do not touch lk2.
-
Disconnect cable and hold all buttons until fastboot appears. You can now flash recovery you wish to use.
Flashing Recovery
Section titled “Flashing Recovery”For a list of recoveries and their link, check out recoveries section.
Recovery flashing guide
Section titled “Recovery flashing guide”-
Boot to fastboot. Power off phone and hold all three buttons until fastboot appears.
-
Connect your device and verify it via
fastboot devices. -
Now the flashing part:
fastboot flash recovery <drag and drop recovery file>- Reboot into recovery:
fastboot reboot recovery- Now you can flash whatever you want to.