Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android How to unlock Mediatek bootloader using mtkclient

How to unlock Mediatek bootloader using mtkclient

How to unlock Mediatek bootloader using mtkclient

Pages (6): Previous 1 2 3 4 5 6 Next
NinjaAdmin
NinjaAdmin
NinjaAdmin
Junior Member
16
24-08-2023, 02:05 AM
#41



Not sure why my original post has not shown itself, but I figured out the solution to bootloop.

_Stock Rom Needed_

In BRom Mode:
-I entered this Command to Wipe User Data:

py -3 mtk e metadata,userdata

But it wasn't enough. I was still in a Bootloop.
-I ran this Command to Dump the Whole Payload in a Backup Folder:

python mtk rl --skip userdata <full path to the Back-Up Folder>

Then I ran this command to Flash the Stock Firmware

python mtk wl <full path to Stock Firmware Folder>

NOTE: I removed/deleted nvram.img from the Stock Firmware Folder to preserve my original IMEI number.

I'm free from Bootloop/After a factory reset.

Realized that: python mtk w boot_a,boot_b boot_a.img,boot_b.img (Works too, without the need for a factory reset for each failure).

Then I repeated the Hovatek - Revvl 6 5G - Root Guide a second time Here:

https://www.hovatek.com/blog/my-experien...revvl-6-5g

But added this command to my third attempt, to remove vbmeta block. Just in case:

fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

But each time I flash the magiskpatchedboot.img, it throws me into a bootloop or the logo loading screen freezes, and I have to re-flash the boot_a/b.img's to the original state.

Then I got the idea to attempt sideloading superuser.zip from adb. But now I get a signature failure on installation. I think in one of my many flashings I used a blank nvram.img cause my IMEI disappeared. Do you know a command to re-write the IMEI on nvram.img? Or another possible solution?

Thanks.
hookmaster35
hookmaster35
hookmaster35
Newbie
2
16-06-2024, 04:32 AM
#42
Hello, I have this error "struct.error: unpack requires a buffer of 12 bytes"
hovatek
hovatek
hovatek
Administrator
50,852
17-06-2024, 12:03 PM
#43
(16-06-2024, 04:32 AM)hookmaster35 Hello, I have this error "struct.error: unpack requires a buffer of 12 bytes"

Create a thread by clicking Ask Question at the top

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
offline
offline
offline
Newbie
2
11-11-2024, 12:21 PM
#44
is anyone help me Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.


...........
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
justshez
justshez
justshez
Senior Member
2,505
13-11-2024, 06:47 AM
#45

Mediatek Course Mediatek Course


(11-11-2024, 12:21 PM)offline is anyone help me Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.


...........
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.

Try using another USB cable or USB Port
BenDaHankey
BenDaHankey
BenDaHankey
Newbie
1
15-02-2025, 01:23 PM
#46
i tried to run python setup.py install but i got [Errno 2] No such file or directory what do i do
maxpayne
maxpayne
maxpayne
Intern
4,774
15-02-2025, 07:29 PM
#47
(15-02-2025, 01:23 PM)BenDaHankey i tried to run python setup.py install but i got [Errno 2] No such file or directory what do i do

Ensure you are in the mtkclient folder while in the terminal or command prompt. You can ignore this step if you're on Windows
This post was last modified: 15-02-2025, 07:30 PM by maxpayne.

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
BACHARFOREVER
BACHARFOREVER
BACHARFOREVER
Newbie
2
03-03-2025, 09:37 AM
#48
IS ANY RISK TO LOSE DATA WHEN APPLY THIS METHOD
AND THE REASON FOR THIS METHOD ???
mritp
mritp
mritp
Experienced Member
80
20-02-2026, 10:06 PM
#49
Is ITEL P55 5G supports this trick?
xerxes
xerxes
xerxes
Senior Member
10,418
20-02-2026, 10:38 PM
#50
(20-02-2026, 10:06 PM)mritp Is ITEL P55 5G supports this trick?

No bro
Pages (6): Previous 1 2 3 4 5 6 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
WhTlYt