[How to/MTK65xx] ROOT, Backup & Flash (MTKDroidTools, Spflashtool, CWM) [MTK Only]

marvostica

New member
Sep 28, 2014
1
0
0
Hello thanks a lot for ur tutorial its very helpful but really not successful for cos was not able to get through the mtk droid tool cos my phone was not having root access.
I have tried all app available to root my device but all to no avail from framaroot,kingroot,rootgenius etc non was successful.

Needed to flash in cwm tried sp flash tool could not go further as the scatter file I created with with the droid tool gave me error when I wanted to use it in the so flash tool just don't know what I am not doing right. I use mtk 6592

Sent from my Infinix X506 using xda app-developers app
 

panart

Senior Member
Jan 30, 2009
1,215
674
143
Λευκωσία / Nicosia
Hi @s7yler, i have an KingSing S2 with MTK6582 CPU. It was supposed to be pre-rooted by etotalk (chinese online store) but unfortunately it's not. I tried to root with Framaroot apk but all 3 methods did not work. Also i tried to flash the rom you provided in this thread following the same procedure as in the video you posted but i have run into 2 issues, first the "MT65xx Preloader" driver failed to install and second in SP Flash Tool after selecting the scatter.txt file there is no pink bar loading. Any ideas on how to solve those issues and flash the ROM or how to root the pre-installed rom?

EDIT: after many many retries flashing has started... if i have other issues i will re-edit this post.
EDIT 2: ROM flashed successfully and root works! Thank you for the great tutorial!
 
Last edited:

s7yler

Senior Member
Oct 22, 2009
1,365
970
0
www.youtube.com
Hi @s7yler, i have an KingSing S2 with MTK6582 CPU. It was supposed to be pre-rooted by etotalk (chinese online store) but unfortunately it's not. I tried to root with Framaroot apk but all 3 methods did not work. Also i tried to flash the rom you provided in this thread following the same procedure as in the video you posted but i have run into 2 issues, first the "MT65xx Preloader" driver failed to install and second in SP Flash Tool after selecting the scatter.txt file there is no pink bar loading. Any ideas on how to solve those issues and flash the ROM or how to root the pre-installed rom?

EDIT: after many many retries flashing has started... if i have other issues i will re-edit this post.
EDIT 2: ROM flashed successfully and root works! Thank you for the great tutorial!
After I read your EDIT 2, great to hear that it worked for you :)
 
  • Like
Reactions: panart

archiplanner

Member
Dec 31, 2010
13
0
0
stuck half way

Post #1 is now updated with 2 video tutorials also for ROOTING and BACKUP of Mediatek phones. Hope it can help some!
Hey s7yler,
Thanks for your detailed tutorials. When I connect my Lenovo P780, I get this as my phone info.
Hardware :
Model : - exec '/system/bin/sh' failed: Permission denied (13) nRet(-1) -
Build number : - exec '/system/bin/sh' failed: Permission denied (13) nRet(-1) -
Build date UTC : 19700101-000000
Android v : - exec '/system/bin/sh' failed: Permission denied (13) nRet(-1) -
Baseband v: - exec '/system/bin/sh' failed: Permission denied (13) nRet(-1) -
Kernel v : - exec '/system/bin/sh' failed: Permission denied (13) nRet(-1) -

Phone doesnt goto recovery mode or can be reset to factory settings.
Can you please suggest me how to get the phone back?

Thanks a ton!
 

greenro

Member
Apr 20, 2015
6
6
0
Error 6045

Hello!
Does anybody know what is this BROM ERROR s_security_secure_usb_dl_image_sign_header_not_found (6045)? I am trying to flash a rom with build 1.00.401.4(which is my original build) and I can't, because of this error.
I wanted to flash my original build, because I lost signal/imei and couldn't get it back, but after I restored nvram, everything worked.
 
Last edited:

lucky930

Member
Jun 1, 2013
35
4
0
--->>> Connect to device <<<---
--- The preservation folder on the computer: D:\Downloaded\Compressed\MtkDroidTools_v2.5.3\backups\XONPHONE-5(A5404)_140912_backup_150430-113115\
--- In phone files will remain in the folder: /mnt/media_rw/sdcard1/clockworkmod/backup/150430-113115/
--- scatter is write to the file:
D:\Downloaded\Compressed\MtkDroidTools_v2.5.3\backups\XONPHONE-5(A5404)_140912_backup_150430-113115\MT6582_Android_scatter.txt
--- We keep blocks:
- preloader_and_dsp
- MBR
- EBR1
- nodl_pro_info
- nvram.bin
- userdata_nvram_only.tar - ERROR - : :Zero file, no space left on device!
--- We keep folders contents copying on PC
- /data/nvram
- /system
--- We pack everything kept in archive: D:\Downloaded\Compressed\MtkDroidTools_v2.5.3\backups\XONPHONE-5(A5404)_140912_backup_150430-113115.zip
--- task end with ERROR ---
--- Preparation of files for FlashTool is impossible, file isn't found : D:\Downloaded\Compressed\MtkDroidTools_v2.5.3\backups\XONPHONE-5(A5404)_140912_backup_150430-113115\files.md5
- Boot kernel version =3.4.67
It is created: D:\Downloaded\Compressed\MtkDroidTools_v2.5.3\recovery\XONPHONE-5(A5404)_140912__boot_patched_150430-113827.img
--- test recovery OK !


Not able to install recovery.. :3
 

daitalos

Senior Member
Aug 4, 2014
1,658
750
143
56
the whole world is my home ?
mtk tools supports a few qualcomm

In ZTE Vec 4G (qualcomm no mediatek) supports the root but the backup no(no scatter files) ..not recognizes stock rom because the company refuses to give the code!!this is a big problem for me ..how to proceed without having the stock rom on my hands?(original firmware or thorough backup).. Is there any way, any solution??(do not tell me through recovery because i do not know if supported and what in this device).. Thanks & sorry for english
 

5weet5

Senior Member
Oct 18, 2014
51
4
38
44
Edmonton
Hello thanks for time and effort i have made step 5 frama would noot root so i rebooted device and now its in bootloop shows 2 different splash screens as it should but wont load system tried facreset in stock recovery same thing then tried hold reset for extended time nothing i can get to recovery if timing is right but device is brand new so no avail there gattamit! Device is rCa 7" voyager qcore 8gb 4.4 mt 8127 battery soldered condition. I can take it back within the next 2 weeks but i figured why not try and learn something first
Anyway thx again and you input would be apprec.
 

Randar EST

Senior Member
Jan 10, 2015
86
6
0
Narva
Hi

This is a guide to ROOT, backup and flash your MTK65xx or Other device (Supported devices: http://forum.xda-developers.com/apps/framaroot/framaroot-supported-devices-t2722980 all credits to alephzain) written by s7yler.
More guides & reviews on my Youtubechannel http://www.Youtube.com/s7yler and http://s7yler.blogspot.com
(Tools used are Framaroot, MTKDroidtools/CWM and SpflashTool)

I will try to write this guide in step by step, so everyone can understand it. This is for PC and will work with Windows 7.
-> All is done by your own risk! this is just a guide to help people with the tools and process. <-

How to ROOT the phone first
1. Get the latest Framaroot apk here http://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276
2. Download it and install it on the phone, open the Framaroot app on the phone.
3. Let it be on Install SuperSU, and try the last method, if that dont work, then try one of the 2 others.
4. Then it should say success root, and now reboot the phone.
5. After reboot the phone should be ROOTED, download root checker from the Play store and verify that your rooted.

How to make a simple backup (not completly 1:1) of your stock ROM / MTK phone
1. You have you brand new MTK phone.
2. What I do first is to install all possible drivers. So you go to your PC and install these apps/drivers:
Snappea - http://www.snappea.com/windows
Pdanet drivers - http://pdanet.co/a/ (When it ask what device you have in the install process, just say "Other")
Mediatek Preloader USB VCOM Drivers - (Install file) http://www.mediafire.com/download/cypm22rgs2k83ji/MT6577+USB+VCOM+drivers.rar and here the raw drivers http://www.magicdriver.com/driver4214-ver_1.1123.0.html
For the Preloader VCOM drivers for Windows 8 please read here, and follow this:
http://thebroodle.com/android/install-mediatek-mt65xx-usb-vcom-drivers-windows-8-8-1/
3. On your MTK phone you must in "Developer Options" enable "USB debugging mode".
4. Now download MTK Droid Tools here http://forum.xda-developers.com/showpost.php?p=49597819&postcount=922
5. Start MTK Droid Tools, and connect your phone with the USB cable to the PC. (if Windows install some drivers, then let it install them automatically).
6. Now on the first page of MTK Droid Tools, it should display all infos about the phone when you connect it.
7. If the sqare is Green, then you have root shell and ready, if its not green, press the ROOT button to the right in MTK Droid tools.
8. Click the "IMEI/NVRAM" button and then Backup to backup your IMEI/NVRAM, the backup files will be inside of the MTK Droid Tools folder.
Also you can manually write down your IMEI number just in case it should be lost.
9. Now go to the tap "root, backup, recovery" (in MTK Droid Tools).
10. Click the Backup button, and it will create a complete backup of your ROM. (in the end it will ask, if you want to pack it, just answer no)
11. When it is finished then also click "To prepare blocks for FlashTool", that will convert the backup to be compatible with Spflashtool. (choose the files.md5 inside the backup folder)
12. After the backup is done it will be inside "backup" in the MTK Droid Tools folder. And inside it there will also be a new folder called "!Files_to_FlashTool" Inside there the files for Spflashtool is. So when loading your backup with Spflashtool you must load the scatter file from inside there.
13. Now to install CWM (clockworkmod recovery) In MTK Droidtools, choose "To use boot from phone" and click the "Recovery and Boot" button. It will ask you a lot, just say yes every time, and it will end of sending CWM recovery to the phone and reboot into it on the phone. After you see CWM on the phone you know it is done. You can switch the menu with the volume keys, and the power is the select button.
14. Inside CWM you can also do a complete backup of your phone (remember to have enough space, you can do the backup to the internal storage OR to the SDcard - try "backup" if that fails then choose instead "backup to external sd" or vice versa). I recommed doing that because CWM makes another backup than the one made with MTK Droid Tools. So if you should get problems or loose something, you can always run your CWM backup into your phone and it will be as before.
15. After your done the backup, copy the backup also to a safe place on your PC. Just in case!
16. So now your Rooted, have installed CWM recovery, have a IMEI/NVRAM backup and a backup for Spflash Tools plus CWM backup.

To make a 100% FULL 1:1 (more advanced) ReadBack ROM backup using SP FlashTool please check these guides here, and learn how to:
http://mmx-unite2.blogspot.de/2014/08/how-to-create-readback-backup.html
http://forum.gsmhosting.com/vbb/f60...artphone-how-read-backup-1656510/#post9415324
or here:
http://pinoyscreencast.net/how-to/g...-smartphones-using-spft-mtk-droid-root-tools/

To flash a backup or ROM with Spflashtool:
Disclaimer: Don't flash another preloader and DSP_BL blocks! It is always dangerous! On some models of phones you will have a brick even if you download these blocks read from phone which you own! Always remove from them marks in SPFT! ALWAYS have a working backup of your original ROM before you flash a new unknown ROM. I take no responsibility for any harm done while attempting this!

1. Go download Spflash tool here http://forum.xda-developers.com/showthread.php?t=1982576
Both version 3 or 5 should be good to use. If your having problems with one of them or they crash, try this newer version here: http://forum.xda-developers.com/showthread.php?t=2650125
2. Disconnect your phone if connected with USB to the PC, and turn OFF the phone completely, also take out the battery if possible (but can also work with the battery inside the phone, for phones with builtin battery).
2. When you now again connect the USB cable to the phone with the PC while the phone is still off, Windows should popup and beginn to install the MTK65XX Preloader Drivers, this only happens if you installed the Mediatek Preloader USB VCOM Drivers correct in Windows. After they successfully installed, disconnect the USB cable again.
2. Start Flash_tool.exe to start the program
3. Now hit the "Scatter-loading" button, and go to the backup or ROM, inside the folder "!Flash files Spflashtool" load the scatter.txt file. (ALWAYS only load a ROM that is 100% made for your phone, flashing a wrong ROM may make your phone non-bootable)
4. When the scatter file is loaded, it will show all the content in the Spflashtool window.
5. If you only need for example to flash the EBR files, you can deselect all the others. But remember that it must be same ROM or backup.
6. Hit the "Download" button in Spflashtool. Then there should be some pink lines with colors showing that it loads the files.
7. When it stopps to flash/load, connect your phone with the USB cable, remember the phone must be OFF (and without the battery inside if possible to remove). If nothing happens then maybe it is necessary to press at the same time with connect of a cable the camera or volume buttons. For example, hold the volume up button down, insert the USB cable, and then insert the battery (still holding the volume up button down) when you hear it connect in Windows and the colored lines begins to move, let go off the volume up button.
8. Now it should connect (maybe Windows install some drivers by now - the MTK65xx Preloader drivers) and it will in the end continue to flash in Spflashtool when the phone is found and connected. (If you get PMT has changed error, you need to change in SP Flash Tool from "Download Only" to "Firmware Upgrade" but you will need a backup that contains ALL files then including the cache and usrdata files, or it will not allow to flash. Also the phone will be formatted first with Firmware Upgrade, and then flashed.)
9. Now wait while it flashes all files, when it is done, a window will popup white a Green circle. Now you can disconnect the cable, close Splflashtool and reboot the phone. The phone should now boot up with the new ROM.
10. A good thing can be to do a full factory reset after your booted or do it in CWM, to clear all caches. But not necessary.

To enter Recovery or Download mode - turn phone completly off then
Download mode = vol up + pwr (hold both down for several seconds)
Recovery = vol down + pwr (hold both down for several seconds)

ROMs can be found on
http://needrom.com
http://pan.baidu.com/share/home?uk=2637246389#category/type=0

How to 1-CLICK-ROOT Mediatek 4.2 or 4.4 KitKat Smartphones and change iRoot to normal SuperSU

How to BACKUP / READBACK Mediatek MTK Smartphones with MTK Droid Tools / SP Flash Tool

Here a video how you use SP Flash Tool and flash a ROM (whole process, using Windows 7)
Hey, very cool tutorial, i like it. But i have hard bricked ZTE Blade Q Mini, i have the ROM, is it possible to unbrick my device with this method?
 

Pretorian187

Senior Member
Nov 16, 2012
90
43
0
Beamtown
www.youtube.com
wireless update failed

Hi,

I have an issue with an update on my china MTK6589 phone and I can´t seem to find a solution. I´d greatly appreciate your help. Currently I´m running on 4.2.2 rooted aosp stock. I exchanged the stock recovery to "rua1 auto cwm v5.5.0.4" So I wanted to update the firmware to the latest version over wireless update. So the file gets downloaded to /sdcard/adupsfota/update.zip then the phone boots into CWM. But in there it says:

E: Invalid command argument
Finding update package...
E: unknown volume for path [/storage/sdcard0/adupsfota/update.zip]
E: Can't mount /storage/sdcard0/adupsfota/update.zip
Installation aborted.


I also tried to move the update.zip into /sdcard and into the external sd folder to use the option "choose zip from sdcard" and apply /sdcard/update.zip but I got:

finding update package...
Opening update package...
Installation aborted.


( I disabled toogle signature verification and toggle scrip asserts). Still failed.

Then when I choose in CWM the option "choose zip from internal sdcard" and go to the /sdcard/adupsfota folder to choose the update.zip I get:

Finding update package...
Opening update package...
Verifying update package...
assert failed: getprop ("ro.product.device") == "We 8" ll getprop("ro.build.product") =="We 8"
E: Error in /emmc/adupsfota/update.zip
(Status 7)
Installation aborted.


So I googled the issue and some ppl suggested to update CWM. So i downloaded the rom manager and tried to update. Not possible as this device is not supported. I checked the updater-script file and make sure that in assert the name there corresponds with the real device name. And it does. ADB confirmed that. I also tried to totally delete line

assert failed: getprop ("ro.product.device") == "We 8" ll getprop("ro.build.product") =="We 8"

put the file back into the update.zip, tried to flash again in CWM but that didn´t help either. It then just says:

Installing update...
Installation aborted.


I thought of updating via ADB sideload but my CWM does not have the sideload option. So I´m totally stuck and I would greatly appreciate your help. I´d gladly send you some booze money over ur donation link if you are able to help me out. Wasted already many hours on that. I think the issue could be CWM. If it would be stock recovery I think I wouldn´t have that issue. But the problem is that when I did a backup of the naked stock ROM i chose to add CWM. So if I would flash that ROM again it would include CWM and not stock recovery. Factory reset doesn´t work either. CWM is still there. Any advice how to sort this out? Maybe I wrongly "edited" the updater-script. I uploaded the original update.zip file here: https://www.mediafire.com/?69fh9j36qep2lzg

Thanks
 

Rootinator

Member
Jan 22, 2013
6
1
0
Does anyone have installed twrp, CWM 6.0.4.5 or philZ recovery? I would want to try porting kitkat to this device, but I can't install it without latest recovery.
 

nicholasknicks

Senior Member
Jun 26, 2013
618
122
73
Nairobi
Please help my phone bricked and every time i connect it to the PC i get the USB connect tone then disconect after a few seconds. It wont charge and wont come up. Please help
 
Oct 14, 2015
10
2
0
Hi everyone!
I am dying to root my Xperia C5 ultra with MT6752 CPU.
No help or tip is found anywhere :(
I tried almost all one click root tools but FAILED .
Please help me .
 

cruzler

Member
Jul 6, 2010
49
2
0
Guys, please help.. :(
My mtkdroids can't do root to my lenovo a536. It says can't find pwn. Any solution for this?
Thanks in advance! :D
 
Last edited:

Ranchoolal

Member
Oct 25, 2015
44
3
0
Jaipur
hi
i have lava iris alfa rooted
i want to install stock rom
sp flash tool is asking for scatter file
i know how to create one but
if i create it now will it be the same as the stock scatter file....
plz help
 

dangerouSoul

Member
Feb 4, 2016
44
3
0
Gaia
hey great guide man, but please have a mod change the title, it makes it sound like any phone could be rooted this way only to open it and be disapointed that its for MTK65xx only. i would do something like this
[How to][MTK65XX] ROOT, Backup & Flash (MTKDroidTools, Spflashtool, CWM)
When i do a normal backup i get this error.It is normal? Here is the screenshot!! http://imgur.com/qsAZTSB
When i click on block maps then create scatter file i get this error (Same as above) : http://imgur.com/311klBC
Help will be appreciated =)
Ineed to know if that is ok to continue =/