Hovatek Forum MOBILE Android [Tutorial] How to use SP Flash tool to backup Mediatek firmware
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Tutorial] How to use SP Flash tool to backup Mediatek firmware

[Tutorial] How to use SP Flash tool to backup Mediatek firmware

Pages (9): Previous 1 2 3 4 5 69 Next
mjamal
mjamal
mjamal
Junior Member
18
08-12-2016, 10:53 AM
#31



FIRST, I tried multiple times to get my phone (Tecno W3) to communicate with "MTK Droid Tools 2.5.3 and 2.5.2" and I got this {
--- ERROR  :  --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
--- Unknown ROM structure, backup NOT possible!
} I tried the solution from Hovatek provided Errors meaning and solution for "MTK Droid Tools" and it didn't work.

SECOND, I've two scatter files one I downloaded from Hovatek with TWRP Recovery and the other I got from downloaded backup (Miracle Box II: used in backing up) the both of them are similar except in the part of "flashinfo" the starting address and partition size are different. my problem is with the readback of my phone's (Tecno W3) Preloader [The actual size of the preloader is 0x40000 in hex which is 4 MBytes after calculationg it] SP Flash Tool read my Preloader as 4 MByte it's OK but when loading the scatter file an error appears warning me that the preloader is {
Please check the load image file is correct or not?
}
I've another preloader from backup I downloaded from internet (Miracle Box II was used) which is much smaller in size with 117 KBytes only when I replace this one with the SP Flash one's it works and loads it's location fine.

Finally, Thank you all for your efforts...
hovatek
hovatek
hovatek
Administrator
49,570
08-12-2016, 10:00 PM
#32
(08-12-2016, 10:53 AM)mjamal FIRST, I tried multiple times to get my phone (Tecno W3) to communicate with "MTK Droid Tools 2.5.3 and 2.5.2" and I got this {
--- ERROR  :  --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
--- Unknown ROM structure, backup NOT possible!
} I tried the solution from Hovatek provided Errors meaning and solution for "MTK Droid Tools" and it didn't work.

SECOND, I've two scatter files one I downloaded from Hovatek with TWRP Recovery and the other I got from downloaded backup (Miracle Box II: used in backing up) the both of them are similar except in the part of "flashinfo" the starting address and partition size are different. my problem is with the readback of my phone's (Tecno W3) Preloader [The actual size of the preloader is 0x40000 in hex which is 4 MBytes after calculationg it] SP Flash Tool read my Preloader as 4 MByte it's OK but when loading the scatter file an error appears warning me that the preloader is {
Please check the load image file is correct or not?
}
I've another preloader from backup I downloaded from internet (Miracle Box II was used) which is much smaller in size with 117 KBytes only when I replace this one with the SP Flash one's it works and loads it's location fine.

Finally, Thank you all for your efforts...

create a new thread for this

see https://www.hovatek.com/forum/thread-514.html for how to create a thread

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gervinho243
gervinho243
gervinho243
Enthusiastic Member
14
30-12-2016, 02:10 AM
#33
Can't do the backup.
The phone still charging when I connect the USB Cord.
I tried to hold the volume down button when connecting the USB Cord, phone gets into recovery mode.
What to do ???

Thanks !
hovatek
hovatek
hovatek
Administrator
49,570
30-12-2016, 10:29 AM
#34
(30-12-2016, 02:10 AM)gervinho243 Can't do the backup.
The phone still charging when I connect the USB Cord.
I tried to hold the volume down button when connecting the USB Cord, phone gets into recovery mode.
What to do ???

Thanks !

Ensure to install VCOM drivers as the guide instructs

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
leventel
leventel
leventel
Enthusiastic Member
6
29-01-2017, 03:04 PM
#35



I have an Alcatel Pixi3 10" tablet with MT8127
I tried to backup the device, but with MTK Droid 2.5.3 I could not create the scatter file, the button is inactive:
https://img42.com/EltI6

I ran the program as Administrator, I have a PC with Windows 10
Is the MT8127 chip supported?

Because the software can read the block info, can I create a scatter file manually with a text editor?

Thanks in advance
hovatek
hovatek
hovatek
Administrator
49,570
29-01-2017, 07:58 PM
#36
(29-01-2017, 03:04 PM)leventel I have an Alcatel Pixi3 10" tablet with MT8127
I tried to backup the device, but with MTK Droid 2.5.3 I could not create the scatter file, the button is inactive:
https://img42.com/EltI6

I ran the program as Administrator, I have a PC with Windows 10
Is the MT8127 chip supported?

Because the software can read the block info, can I create a scatter file manually with a text editor?

Thanks in advance

You either modify an MT8127 scatter file using https://www.hovatek.com/forum/thread-12719.html or you backup using Miracle Box @ https://www.hovatek.com/forum/thread-13347.html

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
leventel
leventel
leventel
Enthusiastic Member
6
30-01-2017, 07:42 AM
#37
(29-01-2017, 07:58 PM)hovatek
(29-01-2017, 03:04 PM)leventel I have an Alcatel Pixi3 10" tablet with MT8127
[...]
Is the MT8127 chip supported?

Because the software can read the block info, can I create a scatter file manually with a text editor?
You either modify an MT8127 scatter file using https://www.hovatek.com/forum/thread-12719.html or you backup using Miracle Box @ https://www.hovatek.com/forum/thread-13347.html

Thank you for the quick response.
I tried MiracleBox... at first time it recognized the tablet (I am not sure, but instant after I connected the USB without power button), EMMC storage, etc. but there was a red warning "FlashID not supported"
Unfortunately I did not make any screenshot or log. After the first time, MiracleBox does not detect my device, just wait for the USB port.
I have already powered off the PC, change the COM port and set back, push the power button and hold for 10 sec, switch off and on USB debug and re-auth with SSH key...
So I downloaded the example scatter file for MT8127 and will edit it
leventel
leventel
leventel
Enthusiastic Member
6
01-02-2017, 02:59 PM
#38
I made a full "Read back" in SPFT with my manually created scatter file (without the bmtpool and usrdata partitions).

the output was in MTK Droid:
https://img42.com/2CKiC

should I bother myself because the two ERROR message?

the processed files in the created folder:
https://img42.com/xUVHU

I cannot see preloader_pixi3_10.bin file, is the problem, that the new version of SPFT(5.1648) has a drop-down list for region (I choosed EMMC_USER because almost every partition resides there), but preloader is on EMMC_BOOT_1?
https://gist.github.com/levlas/6dbb82e0a...d1f8dbb712
This post was last modified: 02-02-2017, 05:09 AM by leventel. Edit Reason: add info
hovatek
hovatek
hovatek
Administrator
49,570
02-02-2017, 09:24 AM
#39
(01-02-2017, 02:59 PM)leventel I made a full "Read back" in SPFT with my manually created scatter file (without the bmtpool and usrdata partitions).

the output was in MTK Droid:
https://img42.com/2CKiC

should I bother myself because the two ERROR message?

the processed files in the created folder:
https://img42.com/xUVHU

I cannot see preloader_pixi3_10.bin file, is the problem, that the new version of SPFT(5.1648) has a drop-down list for region (I choosed EMMC_USER because almost every partition resides there), but preloader is on EMMC_BOOT_1?
https://gist.github.com/levlas/6dbb82e0a...d1f8dbb712

The only way to know if they work is to test-flash one or two files.
As for preloader, dump it alone using the values in your scatter file. The guide explains how to dump a single partition

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gervinho243
gervinho243
gervinho243
Enthusiastic Member
14
22-02-2017, 12:44 PM
#40



(27-08-2014, 06:19 PM)hovatek Requirement

* Phone (Whether rooted or not)
* PC
* Installed MTK & Vcom Drivers ( see https://www.hovatek.com/forum/thread-440.html)
* Download the latest version of SP Flash tool @ https://www.hovatek.com/forum/thread-13970.html
* Download MTK Droid tools @ https://www.hovatek.com/forum/thread-15665.html

Warning: Do NOT interrupt the read-back process else the phone wont power up for several hours


Procedure


# See the video tutorial below or @ http://youtu.be/CrpHIlcc43U




* Launch MTK Droid Tools

[Image: 1.jpg]

* Click Blocks Map

[Image: 2.jpg]

* In Blocks Map, focus on the Scatter and Size columns

[Image: 3.jpg]

* Click Create Scatter file and save the scatter file to a known location on the PC

[Image: 4.jpg]

* Launch SP Flash Tool

[Image: 5.jpg]

* Click Scatter Loading and select the scatter file you created above in the window that pops up

[Image: 6.jpg]

* Click Read Back at the top

[Image: 7.jpg]


Backing up / Dumping just one file / partiton ( e.g only boot.img )

* Click Add

[Image: 8.jpg]

* A new item (N/A) will be created in the white box below, ensure its ticked

[Image: 9.jpg]

* Double-click the newly created item and save it as Boot.img (we'll be copying just boot.img in this example)

[Image: 10.jpg]

* In the dialogue box, tick Hex. To get Start address, go back to the second step above and enter the value under the Scatter column for the file / partition you with to extract .  Since we're copying Boot.img , the value under scatter for Bootimg is 0002980000 that will be 0x2980000 . To get the Length , check under the Size column for the file / partition you wish to extract . for Bootimg as shown above, size is 0000600000  that will be 0x600000 then Click Ok . The trick is to replace all 0s before the first non-zero digit with 0x

[Image: 11.jpg]

* Click Read Back

[Image: 12.jpg]

* Connect the phone to PC while switched off and wait for Read Back to be complete

[Image: 13.jpg]

* When Read Back is complete, you'll get a Green Circle with OK

[Image: 14.jpg]


Backing up / Dumping the entire ROM

* Click Add

[Image: 15.jpg]

* Untick the previously created item and leave only the new one ticked

[Image: 16.jpg]

* Double-click the new item and save it as ROM_1

[Image: 17.jpg]

* In the box, leave Hex ticked. For start address, leave it as it is (0x000.....) . For Length, enter the value under the Scatter column (see second step above) for FAT or Usrdata ( the very last item is recommended) . eg FAT is 0097140000 ( which is 0x97140000 )

[Image: 18.jpg]

* Ensure only the new item is ticked , untick the first / previous item

[Image: 19.jpg]

* Click Read Back then connect the switched off phone to PC

[Image: 20.jpg]

* When Read Back is complete, you'll get a Green circle with OK

[Image: 21.jpg]

* Go back to MTK Droid Tools

[Image: 22.jpg]

* Click To process file ROM_ from Flash Tool

[Image: 23.jpg]

* Select the ROM_1 file you saved in the step above in the window that pops up

[Image: 24.jpg]

* Wait for MTK Droid tools to finish copying

[Image: 25.jpg]

* When prompted to make CWM Recovery automatically, click Yes or No . If you click Yes, you'll need to select the Recovery.img from the window that pops up

[Image: 26.jpg]

* Open the folder where you saved the ROM_1 file to, you should see the backup folder for the phone

[Image: 27.jpg]

* Open the phone's backup folder, you should see all files listed there

[Image: 28.jpg]

* Note: If you get any errors in SP Flash tool then read  http://www.hovatek.com/forum/thread-439.html

Hello Hovatek.
Thanks for your tutorials, it's very useful.

According to the post, I tried to do all this on 2 different MediaTek phones. But, every time I click on Read back and plug the USB cable into the phone, this one begins charging. I tried to put off the battery for several times, but the same happened...

Any suggestion ?
Pages (9): Previous 1 2 3 4 5 69 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram