[Tutorial] How to use MTK Client to back up Mediatek firmware
[Tutorial] How to use MTK Client to back up Mediatek firmware
Follow the steps below to dump a Mediatek device's firmware using mtkclient
python setup.py install
pip3 install -r requirements.txt
py -3 setup.py install
py -3 -m pip install -r requirements.txt
python mtk.py r boot,vbmeta boot.img,vbmeta.img
py -3 mtk.py r boot,vbmeta boot.img,vbmeta.img
python mtk.py r boot boot.img
py -3 mtk.py r boot boot.img
python mtk.py rl out
py -3 mtk.py rl out
python mtk.py payload
py -3 mtk.py payload
py -3 -m pip install -r requirements.txt
python mtk_gui.py
py -3 mtk_gui.py
Quote:In this video tutorial, I'll be explaining how to back up or dump the firmware of your Mediatek Android device using MTK Client. This procedure doesn't require (an unlocked) bootloader. Locked or unlocked, this procedure is going to work just fine. Now first, you need to download MTK client, you need to have installed your Mediatek USB drivers, you need to install Python and make sure you tick add to path when installing Python and you also need to install USBDK. I'll link to all these in the description.
Now, once you have these in place, you open the MTK client folder then you right-click and then click copy address. Now you launch your command prompt and then you cd to the location of your mtkclient. Now the first thing you do is to install requirements. If you've already done this, you can skip this part. So copy this, make sure you have an internet connection. After that, you run this. So now, I'm going to be backing up. These are the formats I'll be using. Now, to backup, I'm backing up the boot image first. This is the command I'm using. When you're backing up just one partition, you need the partition name and the file you intend to save it as. I'm backing up the boot partition and I want to save the file as boot.img.
This is the command I'll be running. So you paste this here and you tap Enter. Now, you need to power off and boot the device into BROM mode. It might vary with the model and then connect it to the PC. So now you check the... I have a connection so I'm going to backup now. I'll have to re-run the command. I'll have to disconnect. I had an interruption there. OK, the problem is from my command. I have a and b here so what I should backup is boot_a. I'll locate it on the list here. Am I skipping it? Here, boot_a. My partition name is actually boot_a. This is because my device is A/B, I forgot to add that. So this is the actual command I'm supposed to run because my device is A/B but if yours is A only, you just run the regular boot to be your partition name so you go again.
Alright, so that worked. So I have my boot image here. Here you can see the list of partitions which the tool can detect alright, so any partition you want to backup needs to be from this list. So if I want to do vbmeta for example, I'll go vbmeta_a because a is my active slot OK? You can backup all whether A or B whatever you want to backup. I will just stick with A. So let's say I want to backup two partitions for example or multiple ones, the command is simple. This command is what we'll be running. Mine is AB so I'll modify this. boot_a then you leave a space then this will be the output file name which you want OK? So python mtk r the partitions separated by commas.
Don't forget mine is A/B, that's why I have _a. If yours isn't AB, you skip this _ active slot or whatever slot you want to back. and then space file names separated by commas. Don't forget they need to be respective; boot_a before vbmeta_a boot before vbmeta don't forget, don't make that mistake of mixing them up. So I'm good to run this command. I'll scroll back to where I stopped. So, now I want to back up two partitions. I think I can delete this to avoid any issues. Now BROM mode and I connect. I'm using an LG K51 so my brom mode is my Google home key and volume down button. It could vary with devices of course. Alright, so I have my vbmeta and boot backed up. So that's how to backup or dump the firmware of your Mediatek Android device using MTK client
(25-11-2021, 03:30 AM)Damien052 This method works perfectly for me. But what should I do if my phone does not have vbmeta. Does vbmeta = metadata ?
My phone is an Tecno pouvoir 3 (lb7)
(25-11-2021, 03:30 AM)Damien052 This method works perfectly for me. But what should I do if my phone does not have vbmeta. Does vbmeta = metadata ?
My phone is an Tecno pouvoir 3 (lb7)
Main - boot_para
Main - recovery
Main - para
Main - tranfs
Main - tkv
Main - expdb
Main - frp
Main - nvcfg
Main - nvdata
Main - metadata
Main - protect1
Main - protect2
Main - seccfg
Main - persist
Main - sec1
Main - proinfo
Main - md1img
Main - md1dsp
Main - spmfw
Main - mcupmfw
Main - gz1
Main - gz2
Main - nvram
Main - lk
Main - lk2
Main - loader_ext1
Main - loader_ext2
Main - boot
Main - logo
Main - odmdtbo
Main - tee1
Main - tee2
Main - vendor
Main - system
Main - cache
Main - userdata
Main - flashinfo
(02-12-2021, 11:51 PM)wesside89048 i was wanting to ask,you said in this post you were working on k-51,which button would be the google home button??i am sorry to bother,but brom on this k-51 has been eluding me,t.yfor your time
(03-12-2021, 12:09 PM)hovatekPls what is the brom mode for gionee M7L(02-12-2021, 11:51 PM)wesside89048 i was wanting to ask,you said in this post you were working on k-51,which button would be the google home button??i am sorry to bother,but brom on this k-51 has been eluding me,t.yfor your time
There are 3 buttons on the left, from the top to button is Volume increase , Volume decrease, Google Home
(20-03-2022, 06:45 PM)dpol Hi, Hovatek, sir,
This actually worked on Tecno Pova 2 (A/B device). But, I have two questions on this.
1. Please, how can I make the full backup command "python mtk rl out" backup the firmware in .img format instead of .bin and including the scatter file and preloader (in order to make it SP Flash Tool friendly....img, scatter file).
2. Is there a way to exclude Userdata from the backup?
Thank you.