[Android General] 1966zippy:
Full ROM Dump Backup & Read Back Method

This guide will show you how to make a full ROM dump of your ZTE T815 (Mediatek MT6572) device. It can be used to make a full backup at anytime but I

strongly

suggest that you follow this procedure

prior

to making any modifications to your device. That way you will always have a completely stock unmodified image to return to if things go bad or aren't what you expected. Don't say you haven't been warned!

Things you will need:

- ADB Drivers - here or here

- USB VCOM Driver - Installation tutorial and download of driver here (Don't worry that it says MTK6577, it works fine with MTK6572 based devices)

- MTK Droid Tools - here - scroll to the bottom of the list to find latest version

- Smart Phone Flash Tool - Download for all versions can be found here - scroll to the bottom of the list to find latest version

- Notepad++ - here

- A PC and USB Cable

Preparations:

- Install ADB Drivers system wide and follow tutorial to install USB VCOM Driver

- Install Notepad++

- Create a folder somewhere convenient (e.g. desktop) and give it a name related to phone/mods etc.

- Into this folder, install MTK Droid Tools and SP Flash Tool.

Process:

Make Scatter File

Run MTK Droid Tools as administrator. Once the program has started, connect your phone via the USB cable and you will see that your phone information loads up on the left side of the page. Below this you will see a button that says "Block Map". Press it. You will now see a screen displaying Block Info and at the bottom left a button "Create scatter file". Press this button and save the "MT6572_Android_scatter.txt" file to the folder that you made earlier. Don't close MTK Droid Tools, just minimise it at this stage and unplug your phone.

Read Back ROM From Phone

Run SP Flash Tool as administrator. By default it starts on the Download tab. You will see a button labelled "Scatter-loading" at the top right of the screen. Press this button and direct it to the "MT6572_Android_scatter.txt" that you just saved. Once loaded, change to the "readback" tab along the top and then click "Add". A line is added below and you need to click in the blank area under the heading "File". Browse to the location where you want to save your ROM dump (in that same folder again would be appropriate) make sure you retain the file name of "ROM_0" and press "Save".

There is now a dialogue box that pops up, "Readback block start address". The "Type" must remain as Hex. The "Start address" should also remain as it is - 0x0000000000000000. The "Length" address is determined by the address of the partition we wish to finish our ROM dump at. I would suggest that we use the address of the last partition in the phone. To find out this address we need to examine the scatter file. Open the scatter file with Notepad++ (this will keep the formatting in place). Easy way is to right click on the file and select "Edit with Notepad++" from drop down menu. Scroll to the bottom of the page and find the FAT partition information. The "linear_start_addr:" value here is where to end the ROM dump so carefully copy the address and paste into the "Readback block start address" dialogue in the "Length" field. (e.g. the linear start address of my FAT partition is 0x97140000 so this is the figure I enter into "Length").

Note: If you have already been using your phone before doing this backup method, you may wish to create a ROM dump that excludes your personal info. If so, you might choose not include the CACHE and USERDATA partitions in the backup so you would end the ROM dump at the linear start address of the CACHE partition (in my phone this is 0x36340000, for example).

Once the "Length" value is entered, press OK. Turn your phone off at this stage. Once it is fully powered down, click "Read Back" and then connect your powered off phone to the USB cable and all things going well you should see the progress bar at the bottom go blue and start moving. Once completed successfully you will see a green circle with a tick in it. Done! Disconnect your phone.

Process ROM For Use With SPFT

Turn your phone back on and when ready reconnect to MTK Droid Tools. Change to "root, backup, recovery" tab and press on the button labelled "To process file ROM_ from Flash Tool". Browse to your modding folder location and open "ROM_0". The processing will start and you will be prompted to make a CWM recovery automatically. Answer "No" and then "Cancel" when it asks to choose recovery. You will see the process in action and it will end with the message "Task is complete" at the end of the script. The folder containing this processed backup is located in yourmoddingfolder/Mtk_Droid_Tool_v2.5.3/backups. If you examine the contents of this processed ROM backup you will note that the output folder now also contains a scatter.txt file.

Restore process to follow - edit soon:good: