Greeting to all owners of MTK SmartPhones!
As this devices are technically documented mainly on Chinese, I will teach you today something about low-level device flashing using SP Flash Tool. For those who may have some experiences, SP Flash Tool is MediaTek's equivalent tool for low level flashing like Odin on Samsung devices or RK Batch Tool on RockChip SoC.
Introduction 1 - What is low level flash tool
Let's just say: it's deeper than android flashing. This way you can backup and restore all parts of your NAND chip, and all partitions, not just android and kernel specific ones such as boot, system, data, cache but also nvram, uboot and so on, important for GSM radio. There are two main parts: preloader.bin, which is installed in very first block of your device's eMMC chip - it's first program which phone run after cold stard, and windows driver which is host-side part needed for DL/DA protocol utilized by SP Flash Tools. Both are essential. If you don't have preloader.bin in your phone, you may have very hard brick which is unable to revive unless jtagged or board remains dead. So, whatever you are doing, keep in mind that you must always have preloader.bin in your phone. If you are using format tools, don't ever format preloader area. This SP Flash Tool is must have backup option as this is only way for You to make complete backup of all partitions and block devices in your phone. You must note that some files like NVRAM are unit specific, they contains IMEI and GSM callibration data and You can't use that from another phone, even if it's from same manufacturer and model. That is exactly why everyone should have their own full backup made with SP Flash Tool. And why should You use SP Flash tools for restore? If you asking me, I'm happiest when i don't need to, but there are cases when it's only solution, because no matter how hard you brick your phone, as long as preloader sits inside, you will be able to restore it to fully working state this way as opposite for custom recoveries which requires some working partitions (recovery, boot, ...) SP Flash Tool is so powerful that you may install custom recovery even without rooting ie. Let's go see how it works:
For this occasion, I will use my Alcatel one touch idol MINI (OT-6012X) as test device, but this may work also for all MTK smartphone devices with EMMC, but I don't know abot their new UBIFS.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tools needed:
MTK Preloader Drivers - Collection of drivers for MTK Phones
SP Flash Tool - Latest Smart Phone Flash Tool v3 5.1408.00 (20/03/2014)
MTK Droid Root & Tools - Version 2.5.3 needed for splitting dump IMG file into separate partition images and retrieving SCATTER file
Chapter 1 - BACKUP
I'm starting this with assumption You already have drivers installed. If you did not installed drivers, see how to install drivers in Appendix.
1. Shut down your phone with cold start (disable Quick Start/Fast Boot options in shutdown menu or settings)
2. Extract SP Flash Tool you downloaded form URL above and run flash_tool.exe as administrator.
3. Go to Download page and pusth scatter-loading button, than load scatter.txt for You device. You can find this file sometimes in OTA update.zip, or you can create it with MTKDroid Tools but they can be faulty. I provided scatter.txt for Alcatel one touch idol MINI (OT-6012X) as MTKDroid Tools can't generate working scatter for this Alcatel phone.
4. Now navigate to Readback tab and push Add to add new set for read. Save file as ROM_0.img, and for OT-6012X fill other fields just as show on this picture below.
ROM_ALL.img - start address: 0x0000000000000000 and for lenght open scatter.txt and find where /cache partition starts. In my case it's 0x534C0000. This way You will dump all data of your eMMC chip up to cache partition.
Last two eMMC partitions are /cache and /data and we need to add them as well, but separately, beacuse we need all partitions to flash after formatting eMMC. In my case, for OT-6012X it's:
cache.img - start address: 0x00000000534c0000 lenght: 0x09200000
userdata.img - start address: 0x000000005c6c0000 lenght: 0x60000000
Note that I took only first 1.5 GB of data because SP Flash Tool won't let me take more for some reason. But content of /data is not relevant for me, not just because last 0.7 GB was empty space, and I wiped it in recovery right after flashing anyway.
5. Now push Read Back button and connect your phone which is still OFF to PC with USB cable. Soon readback process will start. Depending on your USB speed and configuration it will take up to 45 min or 1h for 3GB im not sure but it's plenty of time to take full dump
6. Once readback is complete you will see green circle as sign all pass well. Congratulations now you have partial dump of your phone memory, you may now disconnect USB, exit SP Flash Tool, and turn on your phone.
Chapter 2 - PREPARING FILES FOR RESTORE
1. Turn on your phone with USB Debugging enabled and installed ADB drivers.
2. Extract MTKDroid Tools and run MTKdroidTools.exe as administrator. Once your phone is detected by MTKDroid Tools you can push Blocks Map button and than you can push Create scatter file button in new window which will popup. This way you can creat scatter file for some devices. With my phone, file which has been generated this way didn't work for an unknown reason, that is why i included this file for download.
3. Navigate to root, backup, recovery tab and push button To process file ROM_ from Flash Tool, and select image dump file you created in previous chapter (ROM_ALL.img). Now MTKDroid Tool will split IMG file into many separate files for each part of eMMC which you will flash later in Chapter 3. If you are asked to create CWM just say No and push Cancel when prompted to input recovery file.
4. Few minuts later you will see "---Task Completed---" in log, and prepared files are located in subdirectory backups of MTKDroid Tool folder. Afterwards you may close MTKDroid Tool. All files are prepared for flashing back into phone as they may bee needed sooner or later.
Chapter 3 - RESTORE
Finally we come to restore but you don't need to take a breath now as this easily could be an easiest step to do
1. Shut down your phone with cold start (disable Quick Start/Fast Boot options in shutdown menu or settings)
2. Run SP Flash Tool again and navigate to tab Download, load scatter.txt for your phone (if you using OT-6012X its included in SP Flash Folder by pressing on Scatter-loading and selecting scatter.txt
3. Double click on each partition and select respectable file from backups folder in MTKDroid Tools you created in Chapter 2. Note that last two partitions (/cache and /data) are located wherever you saved them with SP Flash Tool. See picture for more details:
4. Select Format All + Download from drop-down menu like on picture below. This is essential becasue if you broke partition table, whole eMMC be formatted and all partitions must be rewritten. That is why we need both /cache and /data partitions, all checkboxes must be checked. If you try to unselect single partition you wont be able to do format before flashing.
5. Push Download button and connect your phone (which is off) with PC via USB cable. Process should start, with formating eMMC, and downloading all data respectable. It can take up to 30 mins or so, depending on partition image sizes. After process is finished you will see green circle on screen again. Unplug USB from phone and turn it on.
That would be all.
Appendix - INSTALLING DRIVERS
This going into appendix section as this is needed to be done only once - when You use SP Flash Tool for the very first time. Theoretical background behind this is: we use memory testing routine as it is safe to do and it will initiate preloader to be detected into Windows OS device manager. Once we get new hardware found, we install drivers.
Install adequate drivers from MTK Preloader Drivers via automated setup.
1. Shut down your phone or prepare for cold start if you are in bootloop
2. Run SP Flash Tool and navigate to Memory Test tab
3. Check RAM Test and Data Bus Test ONLY, all other checkboxex must remain clear, than push Start button. DO NOT CHECK EMMC Test!
4. Connect your phone (which is still OFF) and PC with USB cable, afterwards new hardware found wizard should popup. If you installed drivers it should be automatically found, if not, you still may install drivers manually, respectably to device type and OS you are using.
5. Once driver setup is finished, SP Flash Tool will show green circle as signal that RAM is tested and it's ok. If you see red circle RAM is nok.
Addendum - COLD START from BOOTLOOP
If your OT-6012X is in bootloop, try this solution. It it discovered on OT-6012X but may also works for other MTK devices with embedded battery. (devices without detachable battery)
1. Press and hold power button and vol - button together and keep pressed. After 8 sec (when phone turns off) release power button but keep pressed volume - for few seconds more, than release it. Now your phone should stay off.
2. Connect to USB and wait for charging battery few seconds than unplug USB. Now your device is in COLD START state.
3. Now (from cold start state) press volume + and power button at same time, and after phone turns on release power but keep volume + pressed untill recovery loads than restore NAND backup if you have TWRP installed.
If I didn't referred some methods used in this guide it means that they are discovered by myself. If this guide helped you, please don't forget to push thanks button. Have fun.
Hi CyberianIce and thanks for this tutorial, but BitDefender detected a Trojan in MTKDroid_Tools...
With Virustotal (scan of rar archive) : 17 / 51
EDIT : After verification, the same problem is in MTKDroid_Tools official link too but I'm not sure it's a false positive...
paradiselost28 said:
Hi CyberianIce and thanks for this tutorial, but BitDefender detected a Trojan in MTKDroid_Tools...
With Virustotal (scan of rar archive) : 17 / 51
EDIT : After verification, the same problem is in MTKDroid_Tools official link too but I'm not sure it's a false positive...
Click to expand...
Click to collapse
One must turn A/V off when using MTK Droid Root & Tool and SP Flash Tool because they recognize common android exploits (faramir, boromir, etc) as potentially threat. However, that is false alarm, because it is harmless when used for this purpose and absolutely needed for rooting.
CyberianIce said:
One must turn A/V off when using MTK Droid Root & Tool and SP Flash Tool because they recognize common android exploits (faramir, boromir, etc) as potentially threat. However, that is false alarm, because it is harmless when used for this purpose and absolutely needed for rooting.
Click to expand...
Click to collapse
Can you upload somewhere a full backup with all partitions for sp flash tool ?
I have Alcatel 6012x and I bricked it with Sp Flash tool , I used format ALL + download without preloader and others,only cache,userdata and Android ( system ) ,I got an error and now only what can I see it is a blue LED .
Preloader is still alive, you have chance to get things back working if you have Your backup, my files wont help much:
http://forum.xda-developers.com/showthread.php?p=49902338
ok now it is alive,but I do not understand ,it had a very bad signal or what?
Because with Vodafone Romania I do not have signal no where inside of my home,outsite I have signal,and with Cosmote Romania 2G GSM I have 1-2 signal lines and with Cosmote Romania 3G WCDMA everywhere is on roming and I have with it 3-4 signal lines insite of my house .
dfani511 said:
ok now it is alive,but I do not understand ,it had a very bad signal or what?
Because with Vodafone Romania I do not have signal no where inside of my home,outsite I have signal,and with Cosmote Romania 2G GSM I have 1-2 signal lines and with Cosmote Romania 3G WCDMA everywhere is on roming and I have with it 3-4 signal lines insite of my house .
Click to expand...
Click to collapse
It is possible you ruined your GSM calibration data which are located in NAND chip NVRAM. They contains unit-specific GSM radio calibration data and IMEI? How could you format all without preloader? Such operation is hardly possible because if you uncheck any part of emmc, format become regular update of selected partitions.
No that isn't from the last write without preloader , because that problem I had it in the past and for that I tried to re-write the fw
Can I do something ?
Applies to all other phone?
dfani511 said:
No that isn't from the last write without preloader , because that problem I had it in the past and for that I tried to re-write the fw
Can I do something ?
Click to expand...
Click to collapse
Just restore previous backup as described in first post.
EvangelineX said:
Applies to all other phone?
Click to expand...
Click to collapse
Yes but you must obtain scatter.txt for your specific phone.
I think it will work for others phone but not with the scatter from here,if you reed this tutorial he say there it work for others ....
and CyberianIce thank you for this tutorial was helpful
CyberianIce said:
Just restore previous backup as described in first post.
Yes but you must obtain scatter.txt for your specific phone.
Click to expand...
Click to collapse
this phone are not mine it belongs to a friend,today he say me the phone had this problem after when it come from service,they repair the touchscreen , and he doesn't want to sent it back because it stay on service too much (1 mounth)
Can I re-write these files which are responsable with GSM Calibration from NAND?
You don't know that partitions are flashed, which are affected and which are not, and what is for what. How you expect from me to help? You don't know what is problem, and what they did in service. Sorry, this thread is for backup/restore OT-6012 with SP Flash Tool, not for general phone help. If you had NVRAM, protect_f and protect_s backup from your previous backup you could restore that, otherwise don't touch anything.
Is it safe to flash an updated preloader on the same device but different firmware version? E.g. On is running v01 rev and the other device is v02? This is on stock rom and newer bought device has newer firmware
It's never safe to flash preloader, specially if it is from another phone.
Help
Please help. I am new to Android. I bought Alcatel one touch idol mini 6012D with two sim and no sd card. I have installed Twrp and cant update my smart. Please tell how to remove twrp? How to install stock firmware? Please help.
There is no TWRP for dual SIM mode. You tried to flash TWRP from 6012X into 6012D, what for Christ sake you thinked? You need SP Flash Tools backup which is different from this described in this tipic. You have to find stock recovery elsewhere and flash with mobileuncle if your phone can boot at all
guide is best
i think this TUT work on my OT d5 Kitkat 4.4.2 but for some reason SP flash tool did not detect my alacatel D5,,
can you help me,,
im making CWM ,,but when i click read back nothing happens?
and yes i have scatter file generated from MTK driod tool,
driver installed,
what about this error,, "PMT change for the room,it must be downlaoded"
Related
This post was created originally by rua1 and transferred to new owner as old maintainer rua1 is no longer active.
Scope of the thread
The scope of this thread is ONLY about to discuss how to use MTKDroid.
IS NOT in the scope post not about MTKdroid, like ex. how to create recovery (except the CWM create by MTKDroid) or root the device (except procedure integrate in MTKDroid)
What's MTKDroid
MTKDroid is an application created by rua1 for Android device based on Mediatek CPU MT65xx (not other CPU type) and Android up to 4.4..
CPU/Android OS version/ROM chunk size supported
Mediatek CPU supported
IT'S GENERALLY COMPATIBLE with CPU Mediatek MT65xx (ex. MT6582/MT6589/MT6592) and Android up to Android 4.4.x (not higher)
IT' COMPATIBLE with old CPU version (MT6582/MT6589/MT6592).
Could be not compatible with recent CU MT65xx (like MT6580)
IS NOT COMPATICLE with new CPU like Mediatek MT67xx (MT6732/MT6752/MT67537etc).
IS NOT COMPATIBLE with Android OS 5.0 and higher (5.0/5.1/6.0/7.0)
IS NOT COMPATICLE with CPU not Mediatek.
Android OS versione supported
MTKdroid is COMPATIBLE with Android OS version up to 4.4
MTKdroid is NOT COMPATIBLE with Android OS version 5.x (LP) and higher like 6,.0 (MM), 7.0 (Nougat), etc
ROM chunk size supported
MTKdroid is COMPATIBLE with ROm chink size = 512 bytes/sector
MTKdroid is NOT COMPATIBLE with ROM chunk size > 512 bytes/sector (ex. 2048 bytes/sector)
Before to start
Please note that you use program at your own risk!!!!
ATTENTION! It is possible to brick the device!!! - Please read carefully here
Check if you can, to make a backup of your ROM or to have a full backup of you ROM.
Check in the Android device if DEVELOPER OPTIONS is available into SETTINGS menu.
If DEVELOPER OPTIONS is not available. please enable it selecting SETTINGS -> INFO ABOUT THE DEVICE -> Click several times on BUILD lines.
It will appear a popup DEVELOPER OPTIONS enabled.
Check that in the device SETTINGS -> DEVELOPER OPTIONS -> USB DEBUG is enabled
ADB device drivers are already installed, and in the Windows DEVICE MANGER there shouldn't be unknown devices at connection of switched-on phone.
ADB drivers can get here
Please check here an example of USB Debug menu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MTKDroid original russian thread - use Google translate
Guide in English
- If your phone not rooted using the ROOT button
- Problems and errors when using SP Flash Tool
- Backup ROM and make backup flashable in SP Flashtool
- How to install CWM on some rooted MTK devices
Program history/changelog
- MTKDroid v. 2.4.3
- MTKdroid v. 2.4.4 / v. 2.4.5 - Info
- MTKDroid v. 2.4.6 - Info
- MTKDroid v. 2.4.7 - Info
- MTKDroid v. 2.4.8 - Info
- MTKDRoid v. 2.5.1 - Info
Download
MTKDRoid v. 2.5.3 mod by bovirus (Mega)
Post all details
Post all details about the device that you can like
brand/model/CPU/ROM size/Flash size/Android version/ROM version/ROM date
If you have problems or errors, please attach at this thread the log.txt file available in MTKDroidTools folder![/B]
Language files
Note: the files are already included in last versions. No need to download and add them.
- Spanish language (Spanish.lang)
- Czech language (Czech.lang)
- Italian language (Italian.lang)
If you want to add new language, please translate English version and post the new language into the thread.
If you find errors about language pelase post the report in the thread.
..
- Additional options for newwer MTK chipset
Sonme trick for newwer chisper and Android version
Temporary root on Mediatek
GUIDE - How to
This guide was created originally by rua1 and transferred to new owner as old maintainer rua1 is no longer active.
- Make a ROM backup using Flashtool and ReadBack
- make the CWM recovery
- install SuperUser (get root)
- etc..
If your phone cannot rooted using the ROOT button.
1. Make scatter by means of MTKDroidTools
Scatter is the text file with addresses of the blocks, necessary for the SP FlashTool program.
After creation of scatter don't close the main window of the program!
Otherwise once again it is necessary to turn on phone.
2. In SP FlashTool choose this scatter and go on the Read Back tab
3. Choose path and a ROM file name
Click on Add button. Double click of a mouse on the appeared line. Choose a file name, the name has to begin with ROM_ as offers FlashTool! Remember path and the name of ROM_ file.
4. Determine the ROM_ size
Type has to stand in HEX. In the field of Start Address it is necessary to write down 0x000000. In the field of Length we copy from scatter the address of the block following after RECOVERY or the address of other block for fuller backup. For phones with type of the blocks EXT4 it is the cache block address. The number in the Hex format has to begin with 0x
5 . Choose Read Page Only on yaffs2 type blocks phones
In FlashTool choose Read Page Only in the field of Read Method. If this field isn't present, the window with this question can emerge, too we choose Page Only. On phones with EXT4 blocks it doesn't get out (as a rule).
6. Read Back ROM_
Click on Read Back button and connect the switched-off phone to PC. Here the options depending on a concrete phone are possible. Maybe it is necessary to press at the same time with connect of a cable the camera or volume buttons. Experiment and study work with FlashTool in threads with similar phones! On some MT6573 models, for example on B63, it can't be executed with any combinations and only testpoint need!
7. Prepare files for FlashTool and make CWM
If everything passed without errorss, we open the MTK Droid Root & Tools window which we left on 1th step. If for some reason the window isn't present, it is necessary to turn on phone and to connect it to the program. Click on To process file ROM_ from FlashTool button and choose the ROM_* file saved on the 6th step. At successful unpacking rom it will be offered to choose CWM from similar phone. Chosen CWM it is checked on compliance to the connected phone and if ok, the CWM is created.
Starting with v2.4.0 CWM it is made automatically and the file from similar phone shouldn't be looked for any more!
Аttention! Yaffs2 type blocks from this backup can't be Downloaded to phone, they aren't correct!
Use backup on 9th step if phone have yaffs2 type blocks!
8. Download new CWM to the phone
Start FlashTool, choose scatter in the folder created on the 7th step. Remove marks from all blocks! Click on RECOVERY and we choose the file CWM in the same folder which was created on the 7th step. Click Download and connect a cable to PC (phone has to be switched off) and expect the end of process.
DANGEROUS! On this step the CWM recovery block has to be marked only!
Also it is necessary to use only the Download button and not to use at all the Firmware Upgrade button!
9. Make backup, install SuperUser etc
Start device in CWM mode, connect to MTK Droid Root & Tools, go on the tab root, backup, recovery and, pressing on this tab the necessary buttons, we do:
- backup! ! ! (if in phone there is yaffs2 type blocks, do here surely, they received with readBack on 7th step aren't correct)
- install superuser (often mean "get root" under it)
- and other if need
Never needlessly flash/download preloader and DSP_BL blocks! It is always dangerous!
On some models of phones (for example Alcatel) you will have a brick even if you download these blocks read from phone which you own!
Always remove from them marks in SPFT!
I'm very glad to see you here! Welcome to XDA and thanks once again for your great tool. :highfive:
bgcngm said:
I'm very glad to see you here! Welcome to XDA and thanks once again for your great tool.
Click to expand...
Click to collapse
Thanks, long ago I wanted to open an English thread here... eh, study English better my sonny, mother spoke to me
I just wanted to say thank you to both of you guys Rua1 and Bgcngm (you too Yuweng), I couldn't have completed my project without your expert knowledge of MTK devices. You are awesome!
Big THANKS for creating MTK Droid Tools man!
One question about the backup feature of the tool. Maybe I just haven't tried it but, I understand you need to use the built-in Rooting tool of the program before creating a backup. What if my device is already rooted (without using the built-in rooting tool), how can I use the backup feature? So far, all the tutorials I've seen using the backup has rooted the device using the built-in rooting.
Thanks again!
You don't need to root your phone using the tool just to have access to the backup feature. Once phone is rooted (and insecure adb support enabled), backup button will be clickable.
OK Thanks man. I have to check on that again. Last time I tried it, the backup button is grayed-out.
O.T. also thanks to your CWM 6.0.2.8 for MTK. More Power!
bgcngm said:
You don't need to root your phone using the tool just to have access to the backup feature. Once phone is rooted (and insecure adb support enabled), backup button will be clickable.
Click to expand...
Click to collapse
nerbiyoso said:
Last time I tried it, the backup button is grayed-out.
Click to expand...
Click to collapse
Button is greyed-out when phone is not rooted and/or an unsecure adb connection is not established.
If you already have a CWM-based recovery you can also boot into recovery mode, connect the phone to the computer and then use MTK Droid Root & Tools to create the backup. That will surely work because normally recovery images are unsecured.
nerbiyoso said:
What if my device is already rooted
Click to expand...
Click to collapse
It means that on phone superuser is installed, in this case connection indicator in bottom left corner of program has yellow color. root shell is necessary for possibility of a backup. If to press the ROOT button, temporary root shell open and it will be possible to make backup
... or following:
bgcngm said:
If you already have a CWM-based recovery you can also boot into recovery mode
Click to expand...
Click to collapse
Problems and errors when using SP Flash Tool
Link on this subject in Russian
Modes of the virtual COM ports
In case of problems in operation with SPFT it is useful to listen to a sound on PC and to open a Device Manager. The sound signals about connection and switch-off of devices and the Device Manager shows a mode of the virtual port and information on drivers. If with drivers everything is all right, devices appear in the section Ports (COM & LPT) and the icon of the device shan't be marked by exclamation point ! in a yellow surrounding.
Modes of the VCOM:
BOOTROM (in device manager show as MTK USB Port with pid=003) . For connection in this mode can it is required :
to use press of some phone buttons (photo, volume up or down ) at the same time with connection of a cable to PC (phone shall be switched off)
or to use OTG adapter
or, if it didn't turn out 1 and 2, use a test point.
PRELOADER (...MediaTek USB VCOM Port with pid=2000 ) This port appears for only some seconds in case of connection of switched-off phone to PC
DA_HIGHSPEED (...MediaTek DA USB VCOM Port with pid=2001)This port can appear after phone at first will be connected in the PRELOADER or BOOTROM mode.
How to swith off DA Download All mode
Sometimes DA Download All mode switching off helps not to have errors with MTD type a flash. In the last FT versions it can't be made of the menu, it is necessary to change the platform.xml file. It is necessary to change in section of your platform usb_download_support and da_dl_all_support keys with "true" to "false"
After these changes it is necessary to connect a cable to PC, having waited the ends of counting.
ERRORS:
(2005) S_BROM_CMD_STARTCMD_FAIL often there is on phones with MTD type a flash.
During Downloading preloader or dsp_bl aren't marked. To use the suitable version of SPFT or to switch off the DA download All mode.
During Downloading preloader or dsp_bl are marked. Not mark these blocks! Or connect phone in the BOOTROM mode if it is necessary to Download them.
During reading, formatting or ROM-RAM testing. Сonnect phone in the BOOTROM mode.
(8038) SP FLASH TOOL ERROR here
To be continued ... or not to be
reserved for guide
Thanks for the tool, i tried this tool to root MicroMax A116 HD device, but no luck.
here is the log file as requested : http://pastebin.com/AD3GnYve
eagledipesh said:
but no luck
Click to expand...
Click to collapse
If kernel 3.4.x, ROM need to read from phone using SP FlashTool and to make cwm recovery. Guide in Russian here
http://forum.china-iphone.ru/viewtopic.php?p=502084#p502084
It has screenshots that will help you to understand. In plans at first to make this guide in English
rua1 said:
If kernel 3.4.x, ROM need to read from phone using SP FlashTool and to make cwm recovery
Click to expand...
Click to collapse
Using builder.clockworkmod. com I was able to create recovery, but the recovery.fstab doesn't has mediatek related info.
I have dump of stock rom as well.
If i can share the recovery.img with you, would you be able to help me.
Sent from my Micromax A116 using xda app-developers app
eagledipesh said:
I have dump of stock rom as well.
Click to expand...
Click to collapse
it is good, but it is even better to have blocks read from the phone
eagledipesh said:
If i can share the recovery.img with you, would you be able to help me.
Click to expand...
Click to collapse
I will try to help, give link to all rom, I want to look at ROM MT6589. In log there was no information that is MT6589, and on the program screen it was? Probably it is necessary to change a code of the program for MT6589 support
rua1, only you can help me but unfortunately my English is quite poor so I don't know what exactly to do. The only think that I have done correctly is the installation from the drivers. I have a Lenovo A60+ ,s319 and I brick it. I have try a lot of roms but the mobile is still brick. Some photos about my mobile maybe help you.
http://imageshack.us/photo/my-images/526/dsc01097t.jpg/
http://imageshack.us/photo/my-images/547/dsc01089web.jpg/
http://imageshack.us/photo/my-images/341/dsc01091web.jpg/
@tsitadim
Sorry, here not unbrick thread. Using DroidTools at once backup all blocks from phone was necessary, not all ROM from the Internet are compatible to phone since at the identical names hardware in phones can differ.
hello again i've successfully backed-up while the phone is in cwm recovery. thanks! :good:
@rua
the version of the tool i have is 2.2.8. is this the latest version? it might be best if you can share the main download page so everyone can have the latest version.
this is a very useful tool that every mt65** owners should have in conjunction with mtk's spflashtool.
The latest version is 2.3.8. Just read the OP, it's all there. Even the link to the original thread on Russian forum.
Phone: Cherry Mobile Titan (Rebrand of Konka w990/Spice-mi 500/Axioo Picopad GEW)
Processor: MTK6577
Hello guys, this is my first post as I could no longer find any solution on the internet. Hoping some experts could help
I accidentally formatted the NVRAM of my phone using SP Flash Tool. The new update didn't have the option not to format it. Now my IMEI's are lost. Although it is still possible to restore them using some methods. But none of the methods I have found were permanent. A simple wipe/data factory reset from CWM Recovery removes it instantly. Is there a way I could restore the NVRAM, or at least make the restoration methods permanent?
Thanks in advance guys!
EDIT: I tried flashing all available ROMs (SP Flash Tool Based / Flashable Zips) but still it shows an invalid IMEI. I also tried restoring a backup of my stock ROM to no avail.
ToldarkenHansam said:
Phone: Cherry Mobile Titan (Rebrand of Konka w990/Spice-mi 500/Axioo Picopad GEW)
Processor: MTK6577
Hello guys, this is my first post as I could no longer find any solution on the internet. Hoping some experts could help
I accidentally formatted the NVRAM of my phone using SP Flash Tool. The new update didn't have the option not to format it. Now my IMEI's are lost. Although it is still possible to restore them using some methods. But none of the methods I have found were permanent. A simple wipe/data factory reset from CWM Recovery removes it instantly. Is there a way I could restore the NVRAM, or at least make the restoration methods permanent?
Thanks in advance guys!
EDIT: I tried flashing all available ROMs (SP Flash Tool Based / Flashable Zips) but still it shows an invalid IMEI. I also tried restoring a backup of my stock ROM to no avail.
Click to expand...
Click to collapse
I'm in same case. I accidently damage my nvram ;
i have a complet backup made with mtkdroid tools (nvram included)
but sp flash tool doent give option to restore this part? how to restore?
the same problem for me. The phone is fully working, but it is very annoying to restore imei and delete wifi network (NVRAM WARNING err...) after each new ROM. And also I cannot sell this phone to anybody in the future.
No solution for this problem?
somebody can write commenttt???
---------- Post added at 07:54 AM ---------- Previous post was at 07:48 AM ----------
hey guys .at this picture error how can i solve this error?
h t t p : / /u1306.hizliresim.com/1b/l/p975s.jpg
first, you`ll need to root your device. refer to here:
http://forum.xda-developers.com/showthread.php?t=2332783
follow the tutorial step by step, if you brick your device i will laugh at you. if you got questions, ask them before doing random stuff.
if you got it rooted, you can recover your IMEI with different software. i will link one in this post later.
for questions - use this thread or PM me.
ToldarkenHansam said:
Phone: Cherry Mobile Titan (Rebrand of Konka w990/Spice-mi 500/Axioo Picopad GEW)
Processor: MTK6577
Hello guys, this is my first post as I could no longer find any solution on the internet. Hoping some experts could help
I accidentally formatted the NVRAM of my phone using SP Flash Tool. The new update didn't have the option not to format it. Now my IMEI's are lost. Although it is still possible to restore them using some methods. But none of the methods I have found were permanent. A simple wipe/data factory reset from CWM Recovery removes it instantly. Is there a way I could restore the NVRAM, or at least make the restoration methods permanent?
Thanks in advance guys!
EDIT: I tried flashing all available ROMs (SP Flash Tool Based / Flashable Zips) but still it shows an invalid IMEI. I also tried restoring a backup of my stock ROM to no avail.
Click to expand...
Click to collapse
I think your phone is dead. Is the phone detected when you plug it in to your pc via USB?
phone isn't dead. root it first, recovering imei is easy then. cannot explain more, im on smartphone right now.
sent from my Star N9770 using XDA App
so, here is a tool to generate the IMEI`s of your smartphone. you will usually find them in the back of your device. push the generated file to /data/nvram/md/NVRAM/NVD_IMEI/ and DON'T FORGET TO SET FULL RWX rights. (with ADB, cd to the mentined folder and set MP0B_001 with chmod to mode 777, in root explorer just check every box for read write and execute. otherwise phone cannot read the IMEI.
What a lame answers. Especially ones suggesting to root phone.
They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.
@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:
To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.
@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.
It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.
Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.
EDIT: @Chrizzly92 this software are very outdate. It generates 24 byte MP0B_001 file, used by old MT6573/6513 platforms. Newer 6575/6577 uses 120 bytes MP0B_001 which are different. If you put 24 byte MP0B_001 generated instead from imei.c software, your phone will be buggy and will be constantly loosing IMEI every few hours until reboot. It's better to use MtkDroidTools or terminal method (echoing to /dev/pttycmd1) to correctly restore 120 byte IMEI file.
n9770, mt6577, no problem at all with the generated files.
sent from my Star N9770 using XDA App
same thing happened to me.. only sn write tool maybe able to do the job..I have also lost wifi mac address..now getting nv110 error..
but I need database and modem files for xolo a700 can anyone help?
NStorm said:
What a lame answers. Especially ones suggesting to root phone.
They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.
@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:
To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.
@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.
It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.
Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.
EDIT: @Chrizzly92 this software are very outdate. It generates 24 byte MP0B_001 file, used by old MT6573/6513 platforms. Newer 6575/6577 uses 120 bytes MP0B_001 which are different. If you put 24 byte MP0B_001 generated instead from imei.c software, your phone will be buggy and will be constantly loosing IMEI every few hours until reboot. It's better to use MtkDroidTools or terminal method (echoing to /dev/pttycmd1) to correctly restore 120 byte IMEI file.
Click to expand...
Click to collapse
Greetings NStorm i try your method i already got one backup with MTKDROID TOOLS so i can use the NVRAM.BIN , i already modify scatter file and try to write memory but i only receive red bar, no yellow or green, so i think it not work at all, any suggestions also sorry for my bad english im from Mexico, ohhh i forgot i already have a full backup from all the files in the smartphone do you know if i can FLASH the Full Backup back? or a CWM restore or other kind of solution?
foox2k said:
Greetings NStorm i try your method i already got one backup with MTKDROID TOOLS so i can use the NVRAM.BIN , i already modify scatter file and try to write memory but i only receive red bar, no yellow or green, so i think it not work at all, any suggestions also sorry for my bad english im from Mexico, ohhh i forgot i already have a full backup from all the files in the smartphone do you know if i can FLASH the Full Backup back? or a CWM restore or other kind of solution?
Click to expand...
Click to collapse
NStorm, thanks for your awesome explanation.
I do not fully understand the nvbin flashing part.
I also have a backup I believe, but I am unsure.
I do have a proper nvram backup, so the proper files that are overwritten on flash.
With SP flash tool I get error 8038 when trying to flash.
Firmware upgrade is not working either even with all partitions.
I tried to remove __NODL__ from the nvram to fix it, but no luck.
Can you explain how to make that imei file and flash it with dd command or anything?
Would be awesome to get this problem fixed!
thank you
[update]guess what, you can do it with mtk droid tools 2.4.8 too!
I tried that before, but I used a backup I made after the issue.
Found an older one and it seems to work![/update]
guys..for permanent nvram, imei error or invalid use sn write tools.
mine solve a long ago..please read this: http://forum.xda-developers.com/showthread.php?t=2206421
http://forum.xda-developers.com/showthread.php?t=2197378&page=3
btw use a complete sn write tool
well works for me ,after factory reset everthing still as writen..
my phone mtk 6577 chipset based
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Phone is Dead (canvas 2)
ToldarkenHansam said:
Phone: Cherry Mobile Titan (Rebrand of Konka w990/Spice-mi 500/Axioo Picopad GEW)
Processor: MTK6577
Hello guys, this is my first post as I could no longer find any solution on the internet. Hoping some experts could help
I accidentally formatted the NVRAM of my phone using SP Flash Tool. The new update didn't have the option not to format it. Now my IMEI's are lost. Although it is still possible to restore them using some methods. But none of the methods I have found were permanent. A simple wipe/data factory reset from CWM Recovery removes it instantly. Is there a way I could restore the NVRAM, or at least make the restoration methods permanent?
Thanks in advance guys!
EDIT: I tried flashing all available ROMs (SP Flash Tool Based / Flashable Zips) but still it shows an invalid IMEI. I also tried restoring a backup of my stock ROM to no avail.
Click to expand...
Click to collapse
i have selected "whole format" option in format tab in sp tools. but doing this my phone got dead. pls help me
Revived your ZTE V793 now!
Ok guys..
I'll share to you my ROM for flashing using SP Flash Tools application.
Note: I'll not take any responsibility for any damage, warranty void to your phone
1. Download SP Flas Tools - find it in xda or Google..
2. Download this ROM : This is backup ROM porting to my android device kindly remove in-necessary applications. As it's ready to flash via SP FLASH Tools so basically it'll be straight forward thing. Link here :
HTML:
[URL="http://www.4shared.com/archive/iBNm1jxI/V793_Files_to_FlashTool.html"]V793[/URL]
Password :
[email protected]
3. Extract the file using 7zip. Then extract the ZIP file inside.
4. Open SP_Flash_Tools.. select the extracted files earlier and select the scatter file.
5. Everything will be pick automatically.
6. Take your phone battery. Press start and wait "Searching" and connect your Phone (without battery) using USB.
7. Make sure you have the driver. Installed the driver if necessary.
8. Wait until you get "Doughnut" OK button. Warning : Never disconnect the cable during this operation as it'll brick your phone forever.
9. Once, OK. please disconnect your cable. Put the battery into the phone.
10. Make sure the battery at-least 80% before you perform the CWM steps.
Good Luck! If you need any further guide please revert here.. I'll try to create another 'empty' ROM after this if there is a request. Thanks.
---------- Post added at 04:23 AM ---------- Previous post was at 04:15 AM ----------
rohitjaiswal said:
i have selected "whole format" option in format tab in sp tools. but doing this my phone got dead. pls help me
Click to expand...
Click to collapse
Hi there..
before perform any update please... and please backup your ROM.. that's the reason "MTKdroidtools" being develop.
Use the application to gain "temp" root to able you to get the image files.
Then create SP Flash ready files from the backup image files.
If you don't have the backup ROM don't be hesitate to search it in google and XDA forum.. if your phone is "unique" please ask your friend. Loan the phone for a few minutes to make a backup images.
NStorm said:
What a lame answers. Especially ones suggesting to root phone.
They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.
@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:
To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.
@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.
It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.
Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.
EDIT: @Chrizzly92 this software are very outdate. It generates 24 byte MP0B_001 file, used by old MT6573/6513 platforms. Newer 6575/6577 uses 120 bytes MP0B_001 which are different. If you put 24 byte MP0B_001 generated instead from imei.c software, your phone will be buggy and will be constantly loosing IMEI every few hours until reboot. It's better to use MtkDroidTools or terminal method (echoing to /dev/pttycmd1) to correctly restore 120 byte IMEI file.
Click to expand...
Click to collapse
i have imei problem , i have tried all of ways to write/restore/repair imei but failed. i have radio problem. System/dev/radio/pttycmd1
Radio is empty. there is no pttycmd1 so i can't writ imei . please tell how i can restore pttycmd1 or whole radio restore on my device ?
is it possible ? please please reply me soon. thanks,
[email protected]:crying:
Solution of NVRAM.img and no-services Lenovo S820
javedsipra said:
i have imei problem , i have tried all of ways to write/restore/repair imei but failed. i have radio problem. System/dev/radio/pttycmd1
Radio is empty. there is no pttycmd1 so i can't writ imei . please tell how i can restore pttycmd1 or whole radio restore on my device ?
is it possible ? please please reply me soon. thanks,
[email protected]:crying:
Click to expand...
Click to collapse
Solution of NVRAM.img and no-services Lenovo S820...thanks
foox2k said:
Greetings NStorm i try your method i already got one backup with MTKDROID TOOLS so i can use the NVRAM.BIN , i already modify scatter file and try to write memory but i only receive red bar, no yellow or green, so i think it not work at all, any suggestions also sorry for my bad english im from Mexico, ohhh i forgot i already have a full backup from all the files in the smartphone do you know if i can FLASH the Full Backup back? or a CWM restore or other kind of solution?
Click to expand...
Click to collapse
if you have CWM backup so you can install CWM on your phone and make a backup of current OS, then put the CWM backup in it and restore it.
if you have MTK Droid tools backup then you first make a flash able backup by choosing MD5 file from the backup. then it makes a new folder !file_to_flashtools . this is your flash able backup with scatter file.
Open MTK flashtools and select the scatter file and choose download or upgrade firmware which you like. connect the PC with battery or without battery , choose the options for battery.
make sure your android adb interface driver and preloader driver and cdc drivers are installed ?
how to install drivers ?
on your phone and select development and check debugging option and connect with PC. PC install drivers automatically if you have windows 7 . stop that process and install drivers manually . second time switch off your device put the battery out for 15 sec and put it again but no phone on. just off mode. connect with pc and install its preloader driver. Now press the power button continuously on phone device its ask for CDC drivers. install it and now your drivers are done.
for further detail contact on [email protected]
NStorm said:
What a lame answers. Especially ones suggesting to root phone.
They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.
@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:
To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.
@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.
It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.
Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.
EDIT: @Chrizzly92 this software are very outdate. It generates 24 byte MP0B_001 file, used by old MT6573/6513 platforms. Newer 6575/6577 uses 120 bytes MP0B_001 which are different. If you put 24 byte MP0B_001 generated instead from imei.c software, your phone will be buggy and will be constantly loosing IMEI every few hours until reboot. It's better to use MtkDroidTools or terminal method (echoing to /dev/pttycmd1) to correctly restore 120 byte IMEI file.
Click to expand...
Click to collapse
your method of writing memory manually worked for me to bring back my /dev/radio folder and its contents, still cwmr write my imei though
DISCLAIMER:
Rooting your phone and using custom Recoveries and ROMS have risks and may result in bricking your device, and has nothing to do with Google or the device manufacturers. In case of any mishap I am not responsible if you brick/ruin your phone in any way.
Basic computer skills are required and minimal knowledges about phones and phones utilities too.
Make sure that whatever you do, you are doing it at your own responsibility.
This guide may be obsolete now for the new MTK SOC's powered phones, but it will give you some ideeas about how MTK phones world works (especially if you are new to this).
Why this thread?
- Because of all those PMs I receive with questions about how to do this or how to do that.
These things aren't they covered here on XDA?
- Some of them are, some don't, or they are spread over the forum in different sections, different threads. Also I will present here my vision about how to do things, and in some parts is different than the others existent.
I tried to document all steps with images for a better understanding, and to make it easy for people who don't understand well English (also I don't claim that my English is very good, but I'm trying).
1. If you want to use your phone as you buy it, then this thread is not for you, but if you want to use a custom recovery, to install a custom ROM, or some modds, keep reading.
2. First big step in our journey is to root your phone, which most of you know that means to get root (administrator) access to your phone's OS - just a simple definition. With an unrooted phone, you can't do much, and that means you will use it pretty much as you buy it - see first point.
There are multiple methods to root your phone, through an application from your phone, with an executable software from your PC or by flashing a zip modd from recovery (only for custom recoveries).
A. The best rooting application at the moment (in my opinion), is Framaroot.apk, developed by alephzain - please stop by his thread and drop a thanks, or if you can buy his donnation app from Playstore to support his work. You can download this app from official thread.
B. For rooting with a software from PC, I know three big candidates: oneclickroot, kingoroot and srsroot. I know there are more, but I mentioned only the best known.
C. Rooting zip archives are two, to choose from: chainfire's and koush's. Although, these require to have a custom recovery installed.
Any method you choose, be sure to check the phone models reported to work for, and look for your model.
Next, I will present step by step what I call "the beginner's routine":
root the phone;
make a nvram backup;
make a stock ROM backup;
generate a custom CWM and flash it;
patch to unsecure the boot and flash it;
get a Root File explorer;
create a custom recovery by porting one.
Prerequisites:
you must have an account on XDA; if you don't, then create one - and remember, at beginning you will not be allowed to post but you can hit Thanks for people I will mention here.
use a computer with Windows XP or 7 (I don't know if it will be any problem in vista or windows 8, but I didn't tried them, so I can't tell).
a phone with MTK CPU, obviously!
these tools:
MTKDroidTools of rua1's - download it from his thread and hit Thanks or donate to him, please
SPFlashTools or MTKFlashTools.
MTK USB Drivers and your phone manufacturer's USB Drivers if they provide that.
For MTK USB Drivers, there are many sources, but I couldn't find any official source. Few known sources: here and here.
* ADDED: For windows 7 and xp I repacked all MTK needed drivers, bundled with latest google usb drivers and using windows driver installer. Some of the drivers are not digitally signed, so when the prompt window ask you if you want to install unsigned driver (it will be several times) select yes or ok. The advantage is that this method is easier than manual method and also will create an entry in installed programs, and later if you want you can uninstall them in control panel uninstall program. Before installing this you need to remove old drivers installations - use usbdeview (download it x86 or X64), and look for VendorId 0bb4 and 0e8d, and uninstall every device with these Ids. Packed drivers are attached to this post; take what corresponds to your windows version. Unpack the archive, open the folder and run dpinst.exe. More info inside: read info.txt (especially for XP).
Install all needed drivers.
A good text editor (Notepad++ or Geany) installed.
Adb installed in your computer from Android: here, here and here you can learn how.
Credits and Thanks:
@alephzain - Framaroot developer
@rua1 - developer of MTKDroidTools
@Chainfire - SuperSU developer
@Koush - so many things!!!
@michfood - developer of Boot Recovery pack/unpack tool
and, even if it is not presented here, but because I use a lot his tools in Linux:
@bgcngm - for his Unpack/Repack scripts
1. Root the phone.
For this step I choose to use Framaroot.apk, first because I don't like to install unnecessary software on my computer, and second because it supports a very large number of MTK phones. So, go to alephzain's thread and download the apk, then connect your phone to PC with USB debugging enabled, turn on USB Mass storage and copy Framaroot.apk to your sdcard root, or in internal storage if you don't have a sdcard in your phone. Eject phone's USB storages from PC, and turn off USB Mass storage from phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Go to apps drawer, find File Manager, open it, navigate to location where you placed Framaroot.apk touch on it and install it. After that go back in apps drawer and open the newly appeared Framaroot. In that window you have to specify which exploit to use for getting root access. If you don't know it's not a problem, you can try each one until you see the Success message (for me was Barahir). If none of them works, then you have to find a different method to root. After success patching, reboot the phone and then you will see SuperSU.apk in your apps drawer. Now you have root access!
2. Install a Root Explorer.
I prefer ESFileManager, but you can choose what you like. This can be installed free from Playstore, or if you have it downloaded in your PC, use same steps as in Framaroot case, and install it.
Then open the app and let's activate the Root Explorer in it.
But, here you can choose a different view style instead of default big icons - I like Medium Icon view.
Touch on Globe symbol from upper left corner to open Advanced Tools menu, and select Tools (last one). In the list that opens, scroll down until you see Root Explorer entry and touch "OFF" button to activate it. You will be prompted to Grant Superuser access - Grant it! Then, touch on "Root Explorer" text and in the popup window select Read/Write, and in next window select all radios from RW column.
That's it, ESFileManager is now a powerfull Root Explorer.
3. Make a backup.
This means actually make two backups, one for nvram and one for the whole stock ROM. Why to make a backup for nvram? Because it is very easy in MTK phones to mess up with it, and you may loose IMEI, mac address or to have other connectivity issues. This backup will be your insurance.
For this you need MTKDroidTools. Download it from rua1's thread (link in OP) and unzip it in a folder named "MTKDroidTools" on your primary (system) partition - this is important, and in other locations you may experience errors and malfunction.
Connect your phone in usb debugging mode to PC, then start MTKDroidTools as administrator and wait untill you see that MTKDroidTools recognize it and loads its data. The following pictures will show you how to check if you have usb debugging activated, and how MTKDroidTools looks with loaded phone data. In most of the phones, adb gets root access immediately, but in some "branded" ones that has to be achieved by click on the "ROOT" button next to "Adb Terminal" - Notice that if you don't see that ROOT button, that means you have already "root in shell". Also, if you have chainfire's SuperSU you will be prompted in the phone to grant root access to adbd, but if you have koush's Superuser, adbd gets root access by default.
Now, as I said first thing is to do a nvram backup. Click on "IMEI/NVRAM" button and next select both methods (bin and zip folder) and click on "Backup".
After that, it's time to do a stock ROM backup. This is important if you are going to try different custom ROMs and modds. This will assure you that you always have a way to start from the beginning in a clean state. Also makes easy to unbrick your phone if you have the misfortune to brick it.
Click on "root,backup,recovery" tab, and click on "Backup" button, then wait to finish. Be patient, this will take a while, and you can see progress logs in side window. At the end, a popup will prompt you to pack the backup. Now you know it is finished. I don't pack these backups, but you do what you think.
In this stage first thing I do is to generate a scatter file. You have one in that backup made before, or you can get one from stock firmware archive if the phone's manufacturer provide that, but let's see how to do it as it is, to understand the process, or to learn how to get one if we loose it or we are unsure if the one we have is good for our phone (this is important, because using a wrong scatter file it may damage your phone).
So, return to "Phone Informations" tab and click on "Blocks Map" button. A window opens with your phone partition structure. Click on "Create Scatter File" button and save it somewhere in your computer.
Mission complete for backup; you are assured now.
4. Generate a custom recovery.
This is mandatory if you want to use an easy way to backup, restore, flash or wipe ROMs and modds. Fortunately, rua1 has included in his tool all you need to generate one for your phone. This method is successfull for almost every MTK phone, but not for all. There isn't an universal method for anything.
So, enter again in "root, backup, recovery", select the radio "To choose the boot.img file" - by default is selected "Install already prepared files" - and click on "Recovery and Boot" button.
When prompted, select the boot.img from previous backup folder and click Yes to make CWM recovery automatically. First you will be prompted to flash a patched boot.img in your phone - click Yes to get an unsecured boot, then next message will ask you to install the new created recovery in your phone. Click Yes and Yes to reload the phone in recovery mode.
The phone will shut down and reboot in recovery. Now you can see your custom recovery in place.
GOOD TO KNOW: you can't generate a recovery everytime you want to flash one, to use MTKDroidTools for flashing, and the adb method may not work for many MTK phones.
The most known method to flash a new recovery is by using SPFlashTools or MTKFlashTools, and an alternative method is with MobileUncle application from phone, but I will show detailed the FlashTools method. One thing though: if you want to use MobileUncle application, you have to use it from /system/app folder, not from /data/app. Many users say that the MobileUncle doesn't work to flash recovery: it show success, but rebooting to recovery reveal the old one. The reason? They installed MobileUncle from market, and that place the app in /data/app as a user app. In custom ROMs where the app is placed in system by ROM developer, the problem won't manifest. So, if you want to use MobileUncle, make it a system app not user app.
In order to do that, grab a copy of any of these tools from DR_MOOSAVI's thread (link in OP), unzip it in a folder "MTK_Flash_tool" in your primary(system) partition (C in my case), and notice the name have to not contain any spaces or special characters. In that folder create a new folder "Resources" or ROM or whatever name you want, also without spaces or special characters, and place in it your scatter file and recovery img you want to flash. Open Flash_Tool executable as administrator.
IMPORTANT: Your phone is not connected to the PC now. Swtich it off and wait, you will connect it later.
Continue in next post.
In Flash_Tools program window click on load scatter file, navigate to that folder you created and select your scatter. Now you can see your phone's partition structure. If the recovery you want to flash is named "recovery.img" it will be selected automatically, if not you have to click on recovery row in Location column and select your recovery from that folder.
Then click on "Download" button.
Now connect your phone to PC, just like that in power off. Some models enter automatically in download mode and the flashing process begins, but others don't. For some it is necessary to connect them without battery (battery removed), other need to press briefly Power and Vol Down button at same time and release them immediately. That you have to find for your phone from forums, other users, or by trying. When the phone enter in download mode you will see a red bar down in Flash_Tool window, followed by a yellow or other color one (that means the flashing process is taking place).
At the end a popup with a green circle or green checkmark will let you know that the flash was a success. Deconnect the cable and reboot the phone, or reboot it in recovery to see if the wanted recovery is installed. The most common method to boot in recovery from power off is to press Power and Vol UP at same time, and keep them pressed untill you see the logo, then release Power but keep pressing Vol Up untill the recovery UI appears. If Power and Vol Up doesn't work for you, start the phone normaly and connect the phone to PC, then open a command prompt window, and type " adb reboot recovery", then hit Enter during bootanimation. The phone will stop loading and will boot in recovery.
5. How to port a custom recovery.
Check my new guide.
Check my new guide.
Awesome Tutorial!!! U did it again....
Thanks!!!
Thank you sir I will try to port cwm to my mtk mobile
Sent From MTK-MT6572
---------- Post added at 03:31 PM ---------- Previous post was at 03:01 PM ----------
Sir now my mobile with ext4
Now in your thread about porting carliv cwm.. there is only custpack and ubifs ...!! Where is for ext4
Sent From MTK-MT6572
carliv grt work hope u add this post too http://forum.xda-developers.com/showthread.php?p=49081376
[email protected] said:
carliv grt work hope u add this post too http://forum.xda-developers.com/showthread.php?p=49081376
Click to expand...
Click to collapse
Thanks, but that is not something for begginers. Maybe meteos method with his app will be, but I'm not sure. Though, if someone want to procede to do that, you can edit your post and give more details, for people to know what is about, and to follow your link if they are interested.
Great guide @carliv.
Just a bit confused, as I usually flash custom recovery first before rooting my MTK phones (same goes for all my android devices). So, maybe, rooting and flashing custom recovery is interchangeable as the first step for MTK phones depending on their availability.
iZLeeP said:
Great guide @carliv.
Just a bit confused, as I usually flash custom recovery first before rooting my MTK phones (same goes for all my android devices). So, maybe, rooting and flashing custom recovery is interchangeable as the first step for MTK phones depending on their availability.
Click to expand...
Click to collapse
Yeah, well the next step in my guide is "do a stock ROM backup", and if you flash a custom recovery, that will not be a complete stock backup. With my method, any time, after flashing the stock backup, unroot and you will be in stock initial state.
I hope it's more clear now.
carliv said:
Yeah, well the next step in my guide is "do a stock ROM backup", and if you flash a custom recovery, that will not be a complete stock backup. With my method, any time, after flashing the stock backup, unroot and you will be in stock initial state.
I hope it's more clear now.
Click to expand...
Click to collapse
Got it. So this is more suited for those who do not have the original firmware for restoring their devices in case something goes wrong which is so like MTK phones. In any case, your guide is spot on. Hope the moderators would give this a sticky, if possible, since MTK phones are scattered all over xda.
How to Port to Device that have recovery-from-boot.p
Hello Everyone, and hello to @carliv,
Thanks to this Tutorial I have Manage to port in on a MT6582 and MT6572 Device with ext4 partition, but I just want to share some tips when porting the latest build of the carliv the tutorial here is complete except for one thing just in case you are ending up on a custom recovery not booting up and when you use the MTK Droid Root and Tools you will see this
-->Connect Device<--
there is a file blah blah - recovery-from-boot.p <----
Now that mess up the things but before we dig into that let me first share on how I got my Carliv Custom Recovery to Bootup
on the Tutorial there is a section that you need to use the MTK Unpacked tool right now once you have done that do all the other things that is written in the tutorial it will guide you on the whole process but on my end even though I followed the tutorial and all are correct I still end up on a Bootloop well I discovered that you need to copy the init file from the RUA1 CWMR that you got from the MTK Droid Root and Tools and overwrite the one on the Carliv Recovery after that once you have finish until on the Overwriting of the Kernel and Kernel header pack your Carliv Recovery using the MTK pack tool and now Flash it on your Device it will now boot :highfive:
BUT WAIT!! yes! it will boot but it will boot on the STOCK RECOVERY and that is because like what I said the recovery-from-boot.p is the culprit of the issue now you need to root your device which is on my end I used framaroot and then download the ES file manager and also follow the instruction of carliv on how to have the full ROOT R/W access and on your device, once your have done that got to this folders and delete this 3 files.
Be sure you have the R/W access or else this files will not be deleted
/system/recovery-from-boot.p
/system/etc/recovery-install.sh
/system/etc/recovery-resources.bin <--- I am not just sure if this is the right filename but it is almost the same will check it once again once I got to stock rom again :fingers-crossed:
and now once you have rebooted your smartphone to recovery mode it will now boot to the Carliv Custom Recovery.
But also take note that if you don't have that 3 files on your device your just good to go and it will boot to Carliv Custom Recovery without any issues.
it's just that 3 files makes the custom recovery always boot to stock recovery even though you do something else
hope this tip helps for some people having issue on a bootloop carliv custom recovery on doing the manual porting
and don't forget to hit the thanks button if this helps :victory:
rnovino said:
/system/recovery-from-boot.p
/system/etc/recovery-install.sh
/system/etc/recovery-resources.bin <--- I am not just sure if this is the right filename but it is almost the same will check it once again once I got to stock rom again :fingers-crossed:
Click to expand...
Click to collapse
Removing recovery-from-boot.p is enough, I think. Besides, CTR asks if you want to disable recovery-install.sh. That prevents the ROM from flashing stock recovery.
iZLeeP said:
Removing recovery-from-boot.p is enough, I think. Besides, CTR asks if you want to disable recovery-install.sh. That prevents the ROM from flashing stock recovery.
Click to expand...
Click to collapse
it depends on the unit, I just deleted the recovery-from-boot.p and still it boots up on the stock recovery that's why I needed to trace other files that still makes it boot on stock recovery, but then again not all units will have the same issues as mine
Thanks for your help, it works with my Huawei Honor 3X (mtk6592) !
Thanks Man!
Error
Please help me in porting recovery.I am getting error "the syntax of the command is incorrect " in all four files.
View attachment 2654172
View attachment 2654177
[How to/MTK65xx] ROOT, Backup & Flash (MTKDroidTools, Spflashtool, CWM) [MTK Only]
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)
How to repair/change IMEI's with MAUI META on Mediatek Smartphones
s7yler said:
Hi
This is a guide to ROOT, backup and flash your MTK65xx device written by s7yler.
More guides & reviews on my Youtubechannel http://www.Youtube.com/s7yler
(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 backup 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 - http://www.magicdriver.com/driver4214-ver_1.1123.0.html
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.
11. When it is finished then also click "To prepare blocks for FlashTool", that will convert the backup to be compatible with Spflashtool.
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 "!Flash files Spflashtool" 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). I recommed doing that because CWM makes another backup than the one made with MTK Droid Tools. That is more complete. 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 flash a backup or ROM with Spflashtool:
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, try another version.
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. 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 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.
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.
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.
Click to expand...
Click to collapse
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)
Trozzul said:
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)
Click to expand...
Click to collapse
thank you to my friends so Root I do not know how to just flash the file with flash ebr tools, I do not know the use that is why I ask for help on using just to flash the two files ; thank you again.
I do not know how to use the software to just flash the two files.
and im a french user
Trozzul said:
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)
Click to expand...
Click to collapse
Hey sorry, I changed my text now. The ROOT part is not only for MTK phones, also other devices. Here is alephzains list of supported devices: http://forum.xda-developers.com/apps/framaroot/framaroot-supported-devices-t2722980
You also may try it on others, the worst there can happen is that it just says root failed, and not rooting the device. But then you at least have tried.
Rocfiles said:
thank you to my friends so Root I do not know how to just flash the file with flash ebr tools, I do not know the use that is why I ask for help on using just to flash the two files ; thank you again.
I do not know how to use the software to just flash the two files.
and im a french user
Click to expand...
Click to collapse
In Spflash tool load the scatter file from the backup or ROM directory where you also have all files including the modded EBR files, when loaded it will show all the content to flash, every line has a checkmark in front, uncheck everything but the EBR1 and EBR2. And then flash as I write in the guide. That way it will only flash the EBR1 and 2 to the phone.
Hope i can get this right
Hey whats up bro. Thanks for your efforts on helping with this forum. I have the hdc one max and it do not have a removable battery. Im trying to use sp flash tool to retore to stock with rom but i have no way of getting spft to recognize the device to start. Any solution?
MajorsCloset said:
Hey whats up bro. Thanks for your efforts on helping with this forum. I have the hdc one max and it do not have a removable battery. Im trying to use sp flash tool to retore to stock with rom but i have no way of getting spft to recognize the device to start. Any solution?
Click to expand...
Click to collapse
So you did install all the drivers I write about in my guide, and rebooted? Normally Spflash tool should recognize the phone after that. (and set the USB debugging mode to on?)
Thank you! Thank you! Thank you!
s7yler said:
So you did install all the drivers I write about in my guide, and rebooted? Normally Spflash tool should recognize the phone after that. (and set the USB debugging mode to on?)
Click to expand...
Click to collapse
thanks for everything bro. i manage to finally get the vcom driver installed. with a lil help from usbreview. i flashed the rom i downloaded from needrom like you suggested and bam im back in business. thanks alot. i managed to control the flickering/random button pressing by turning brightness up as a temporary fix. i will try a fix i just found, a little later.
MajorsCloset said:
thanks for everything bro. i manage to finally get the vcom driver installed. with a lil help from usbreview. i flashed the rom i downloaded from needrom like you suggested and bam im back in business. thanks alot. i managed to control the flickering/random button pressing by turning brightness up as a temporary fix. i will try a fix i just found, a little later.
Click to expand...
Click to collapse
I am glad that it worked for you. Does the Youtube app work? can you login on Youtube? with the needrom ROM? or how does the Gapps react on this ROM now?
s7yler said:
I am glad that it worked for you. Does the Youtube app work? can you login on Youtube? with the needrom ROM? or how does the Gapps react on this ROM now?
Click to expand...
Click to collapse
it may be just a update for bugs. the only difference i notice was a x to kill all apps but it still dont work. oh and more notification shortcuts. still cant login in into yourtube and i really need my google apps. i used your guide but i got the drivers from 4shared. i appreciate all your help for real. only if this device wasnt defected from jump with this flicker i would deal with it. i might sell it. smh. i really like this device.lol.
Hi!
For the last few days I was trying to find the right ROM for me. So I had to learn about MTK Tools and SP Flash tool and I even succeeded with loading different ROMs. What I did not succeed is to restore the original backup made with MTK tools. I followed the tutorial from the first post, the flashing operation ended OK but my smartphone (THL w200s) just wouldn't start. As a matter of fact it starts the beginning but after it passes the animated log it stops. I did not flash the CWM recovery on my device before creating the backup as I wanted to save a snapshot of the original ROM as it was from the factory. More than this, I installed a fresh ROM (I guess it was exactly the same with the default one), everything was OK, I rooted and made my settings (configure emails, etc.) and I made a backup with MTK tools. I had the same issue: I restored the backup with SP Flash Tools, flashing was OK but after that the phone would not start.
What am I doing wrong?
s7yler said:
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
(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 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
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 more advanced & complete 1:1 ReadBack ROM backup using SP FlashTool please check this guide here:
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:
Never needlessly Download 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.
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, try another version.
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.
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
Click to expand...
Click to collapse
thax a lot bro,.,.i tried so many ways to port CW<M to my spice Mi-436,.,bt never succeded
bt after reading your toturial i did it man!!!!
A TONSSSSS of thanks !!!!!
Shaunak Falconzz Pandey said:
thax a lot bro,.,.i tried so many ways to port CW<M to my spice Mi-436,.,bt never succeded
bt after reading your toturial i did it man!!!!
A TONSSSSS of thanks !!!!!
Click to expand...
Click to collapse
I am happy to hear that it worked for you thanks for your comment.
I'm friends with Ruth framaroot phone and then off ... then mtk droid software with admin access and I'll be left bottom blue square root, and after OK, now I'm off to re-using software I could not come up with the phone and check it again before going off the bright green and blue non Ruth ... WHenever the phone or out ROM Mikham CWR Rykhn and are forced to ROM Disturb mobile phone you like'm going to be all Fast boot he has to change imei number do so because they must complete phone mtk software up to took root after changing the number (phone number, I jumped backups without ....) time for the tell greenfield No refused'd action I called the representative has not taken a pay ..... not so mythical after a few moments she wants a ...
I will be grateful if anyone knows how to fix the flaw lead ...
All are according to the latest software version XDA
my phone.....huawei g700-u10
MTK Droid error message
s7yler said:
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
(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
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://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.
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
Click to expand...
Click to collapse
------------------------------------------------------------------------------------------------------------
I'm receiving an error message "SU inaccessible" after hitting the ROOT icon. The phone is a No.1 S7 MTK6589.
I previously tried using the Frameroot app but it failed as well.
Any ideas what the problem might be and how to solve?
Thanks,
Ruby
UPDATE
I have updated the Original Post with a video now, that show the whole process how to flash and use SP Flash Tool.
As always, everything is done at your own risk. It is just a guide. This video is for education only.
Very Useful Tips
Hy Man Thanks 4 This Useful Tips. Very Impressed.I Like Xda VeryMuch.
Fun accident
Well here's my story.
I was trying to debrand some Huawei Y330-U05 in order to resell them. My first clue was to root the devices and remove all the Entel PCS crap, but I was unable to remove the Boot Splashscreen. So I looked over the net and I could not find a compatible ROM for my model. I downloaded a Y330-U01 ROM from Europe and I tried to flash it figuring that later I'd have to fix the 3G bands. FlashTools did not let me do that and I had the stupid idea to boot the biit.img and recovery.img from the U01 into the U05 with MTKdroidTools. Bricked the phone, and the only way to bring it back was to use the U01 ROM and flash it back. I changed my device from U05 to U01, like I wanted at first but I cant change the 3G bands and I don't have 3G connnection now.
I can't flash back the U05 backup ROMs I did from the phone before I started messing with them because the of the model mismatch (Phone now thinks it is a U01 version). And since there is no stock ROM for the U05 model to download, except for an UPDATE.APP from Movistar Mexico that phone refuses to accept, I'm afraid that if I reverse the whloe process I will end up with a bricked phone and no Stock ROM to bring it back.
Here comes the question. How do I force install a WRONG ROM into my phone? Remember: my Y330-U05 now thinks it is a Y330-U01.
Thanks a lot!
Blu Studio 5.0 C HD
Can the blu studio 5.0c hd be rooted this way? A bit scared to do it because this is my daily driver
SU Inaccessible error
Ruby_97 said:
------------------------------------------------------------------------------------------------------------
I'm receiving an error message "SU inaccessible" after hitting the ROOT icon. The phone is a No.1 S7 MTK6589.
I previously tried using the Frameroot app but it failed as well.
Any ideas what the problem might be and how to solve?
Thanks,
Ruby
Click to expand...
Click to collapse
i saw your screenshot and yellow box at the bottom clearly indicates that your device has not been rooted properly. adb still exists as secure region. it is said that your device should said to be rooted properly only when your device got adb insecure. However, if your device has locked bootloader, doing so, i.e. entering or making adb insecure may lead your device to dead boot, a stage from which there are only two ways to survive from:- JTAG/RIFF box OR by replacing motherboard!!!!
However, if your bootloader is unlocked and only if your device is dev friendly, following link may help you to get green box at the bottom of MTK Droid Root Tools indicating your device has proper root access.
However, i have successfully solved this error in my panasonic p81 by making adb insecure.
Though, Do this on your own risk....Remember again, making adb insecure may make your device FAIL!!!!
Head over to following link:-
http://forum.xda-developers.com/showthread.php?t=1687590
Thanks to dev Chainfire again for this wonderful application....
Lenovo P780 errors- "Kernel Block Map to PMT mismatch" "No find KernelGZ" "No Split"
DISCLAIMER
---------------
I ASSUME THAT THE PERSON READING THIS THREAD/ARTICLE IS FAMILIAR WITH WHAT IS ROOTING AND ITS RISKS. ITS YOUR OWN RISK TO ROOT YOUR PHONE AND INSTALL
CUSTOM RECOVERY OR CUSTOM ROM. ITS YOUR CHOICE. I AM NOT RESPONSIBLE FOR ANY BRICKED PHONE ARISING OUT OF THE PROCESS/OBSERVATION FOLLOWED IN THIS THREAD
THIS THREAD IS ONLY FOR THOSE:
=> KNOW HOW TO USE TOOLS LIKE MTK DROID TOOLS AND SP FLASH TOOLS
=> HAVE ISSUES OR DIFFICULTIES OR ERRORS WHILE ROOTING OR INSTALLING CUSTOM RECOVERY
BASED ON THE ABOVE POINTS, PLEASE PROCEED FURTHER
FOR PEOPLE WHO ARE FACING LOT OF DIFFICULTIES ROOTING AND UPDATING CUSTOM RECOVORY ON LENOVO P780 PHONE
THESE ARE JUST MY OBSERVATION, THE DIFFICULTIES AND ERRORS I FACED AND HOW I FOUND WAYS AROUND THEM IN DUE COURSE.
I WONT GUARANTEE IT WILL WORK FOR YOU, BUT IT MAY, MOST PROBABLY OR GIVE YOU MORE HELP IN SOME PARTICULAR SITUATIONS.
FIRST THINGS FIRST. DO IT WITHOUT FAIL
PLEASE KEEP A FACTORY IMAGE BACKUP OF YOUR WORKING PHONE BY USING SP FLASH TOOL. STORE IT ON A SEPARATE DRIVE OTHER
THAN PHONE MEMORY/PHONE SD CARD. PROCESS THIS ROM IMAGE WITH MTKDroid TOOL BEFORE DOING ANY KIND OF WRITE OPERATION ON YOUR PHONE
TAKE A BACKUP OF YOUR CONTACTS, MESSAGES, IMEI, PHOTOS/VIDEOS, PERSONAL STUFF, SETTINGS ETC AND STORE THEM ON YOUR DESKTOP/LAPTOP/EXTERNAL DRIVE
GENERALLY GOOD PRACTICE IS TO TAKE ALL SORT OF BACKUP FROM THE ACTUAL PHONE ITSELF BEFORE DOING ANY WRITE OPERATIONS.
THERE ARE PLENTY OF CHINESE MEDIATEK PHONES FOR WHICH FINDING PROPER IMAGE IS NEXT TO IMPOSSIBLE
THERE IS NO BETTER FRIEND THAN A FACTORY IMAGE TAKEN OUT OF YOUR OWN WORKING PHONE. YOU WONT REGRET
PHONE MENTIONED THROUGHOUT THE THREAD:
LENOVO P780 8 GB MODEL. Bought in INDIA 2013
Android version : 4.4.2
Baseband version : P780.V24, 2015/01/06 09:40
Build number : P780_ROW_8G_S228_150112
IMPORTANT PREPARATION AND GROUND WORK
FIRST OF ALL HAVE LOADS OF PATIENCE. DO NOT HURRY IN TO DOING THINGS FAST AND REPENT LATER. DEVOTE LOTS OF TIME TO UNDERSTAND THE PROCESS
READ EVERYTHING AND WATCH ALL RELEVANT INTERNET VIDEOS FULLY, CAREFULLY AND PROPERLY.
DO NOT FORGET TO TAKE A COMPLETE FACTORY IMAGE BACKUP OF YOUR PHONE USING SP FLASH TOOL. PROCESS THE IMAGE WITH MTKDroid TOOL. THIS IS VERY IMPORTANT
1. Have a reliable PC or Laptop. I have rooted and updated custom recovery on my phone using Win 8.1 laptop.
Hence I would prefer a PC/Notebook with windows OS(7/8.1) installed. It is easier to find software and drivers for windows.
2. Connect your switched ON phone to PC and verify if it is detected properly by your PC.
You should be able to access the phone storage and SD card if any
3. Ensure your phone is always USB debugging mode enabled.
4. Use a tool like "usbdview" to clean up errant drivers first. Have a clean device manager at beginning.
5. Ensure you have installed proper ADB drivers. Check in device manager you should have something like "ADB interface" with no yellow triangle.
That means your drivers are properly installed. If finding drivers are difficult use PDAnet or search for universal ADB drivers and install them correctly
6. Preloader or VCOM drivers should be installed correctly. The one which worked perfectly for me was the one which I saw in You Tube by ITXTutor.
Search for "How to Install MTK Preloader 65xx Driver Correctly - Windows 8.1 64bit approved ! [HD]-PAxTCvRmlio" in You Tube.
Go Through the tutorial and download files from there. Do it exactly as it says in the tutorial.
[NOTE : IF YOUR ANTI VIRUS BLOCKS MTKDroid TOOL CREATE AN EXCEPTION]
7. Download MtkDroidTools-v2.5.3 tools on your PC. Once downloaded run the application as administrator. Switch ON your phone
Connect phone to PC. Take screen shot of MtkDroid tool application with your phone details. Create a scatter file and save it.
During this process MTKDroid showed only one error
04/06/15 14:09:29 ATTENTION!
04/06/15 14:09:29 File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!
[NOTE : I CAN SAY CONFIDENTLY YOU CAN IGNORE THIS ERROR. IT MIGHT BE SOMETHING THAT LENOVO USES TO ENFORCE ITS OWN RECOVERY IMAGE. THIS ERROR
FURTHER CREATES SOME PROBLEM DURING ROM IMAGE PROCESSING.]
8. Download SP Flash Tool v5.1352.01. Run the tool as administrator. Open the scatter file saved in previous step.
Go to Readback. Do a complete readback on phone. Start address always from 0x0000. Wait until READ back completes. It may take 15 to 30 minutes
and you end up with atleast 700MB size file.
My backup was 1 GB. Less than 700 MB means, there is some issue with read back. The factory image of kitkat which came as OTA was more than 700 MB.
Don't continue. Retry readback properly. You might have missed or incorrectly done some procedure(for e.g. wrong end address).
9. Once read back is complete, Run MtkDroidTools-v2.5.3 tools on your PC. Connect phone(switched on) to your PC.
Go to "root, backup, recovery" tab. Click on "To process ROM_ file from Flash Tool".
It will pop up asking to load the ROM image which you made in previous step.
Load that image. MTK should automatically start processing image.
At this point I got error as follows
05/06/15 19:16:27 --- Kernel Block Map to PMT mismatch!
05/06/15 19:16:27 -------------------------------------------
05/06/15 19:16:27 BlockName Offset
05/06/15 19:16:27 -------------------------------------------
05/06/15 19:16:27 Kernel: __NODL_PRELOAD 0x0000000003980000
05/06/15 19:16:27 PMT: PRELOAD
05/06/15 19:16:27 Kernel: __NODL_BMTPOOL 0x0000000118980000
05/06/15 19:16:27 PMT: FAT
05/06/15 19:16:27 -------------------------------------------
DON'T WORRY ABOUT THIS ERROR AS WELL. LET THE PROCESS CONTINUE
MTKDroid TOOL will ask if you need to make a CWM recovery automatically, click no and one more window will pop up, press cancel.
[NOTE : EVEN IF YOU SELECT YES TO MAKE CWM RECOVERY, MTKDroid TOOL WILL THROW MORE ERROR AS COPIED BELOW.
IT WONT CREATE CWM RECOVERY IMAGE. HOWEVER PROCESS WILL COMPLETE]
05/06/15 19:16:34 --- ERROR :No find KernelGZ
05/06/15 19:16:34 --- ERROR :No Split Boot Image
Because of PMT mismatch error Flash tool will create two scatter files.
MT6589_Android_scatter_emmc.txt and
MT6589_Android_scatter_emmc_PMT.txt.
MTK Log is as below.
05/06/15 19:16:27 --- scatter from PMTis write to the file:
C:\Users\..\Desktop\MtkDroidTools-v2.5.3\backups\Lenovo-P780_150112_ForFlashtoolFromReadBack_150605-191615\MT6589_Android_scatter_emmc_PMT.txt
05/06/15 19:16:27 - Use it if SP FlashTool errors of 8038 or 4050 occurs
The entire processed ROM file will be kept in backups directory of MtkDroidTools directory. Ensure you make a copy of this for safe keeping. This
is very important especially MT6589_Android_scatter_emmc_PMT.txt file will be very useful later.
[WHY YOU NEED TO DO ALL THESE FIRST IS BECAUSE IF YOU BRICK YOUR PHONE, EVEN A SOFT BRICK, MTKDroid TOOL IS VERY MUCH USELESS.
THIS TOOL WORKS ONLY IF YOUR PHONE IS SWITCHED ON AND BOOTED TO HOMESCREEN. MTKDroid USES ADB DRIVERS TO CONNECT WITH PHONE AND NOT VCOM DRIVERS.
IF PHONE IS NOT DETECTED BY MTKDroid THEN PROCESSING ROM IMAGE WILL NOT BE POSSIBLE. THAT OPTION WILL BE DISABLED ON THE MTKDroid TOOL.
SO NO SCATTER FILES, NO RECOVERY, BOOT, PRELOADER IMAGES, ETC, OF YOUR PHONE. SO BE VERY CAREFUL]
------------------- PROCEED FURTHER ONLY AFTER IF YOU HAVE COMPLETED ABOVE TASKS -------------------------
NOW ACTUAL PROCESS OF ROOTING AND CUSTOM RECOVERY STARTS
FIRST THING YOU WILL HAVE TO TRY IS ROOT THE PHONE USING FREELY AVAILABLE TOOLS
1. I tried various methods of rooting but, not one worked on Lenovo P780.
framaroot, towelroot, iroot, root genius, geno, mobogenie and many more didn't work.
Finally the latest version of Kingoroot did succeed to some extent.
2. Kingoroot version which worked partially was 1.3.8.2338
By partially, I mean kingo app did say Root was successful on both PC and phone. However Root checker application said "Root is not properly installed"
Application like SuperSU and busybox did not work after installation due to improper rooting.
[TRICK : DO A FACTORY REST]
3. I booted the phone in to FACTORY recovery. Did a "Factory Reset"
Now things started to brighten up!! The ever tough Lenovo P780 started to give in slowly and steadily.
After Factory reset done and phone booted up. The first thing I did was to take SP flash tool Readback once again, so that I have a clean factory image.
you may skip read back if you don't need a clean image.
4. Used another rooting application this time, i.e., iRoot older version 1.7.9.2
Viola!!! phone got rooted properly this time.
Root checker showed "Root Available", busybox and other applications started working.
NOW WE HAVE ROOT ACCESS TRY INSTALLING CUSTOM RECOVERY
[NOTE : EVEN IF YOUR PHONE DOES NOT GET ROOTED BY 3RD PARTY APPLICATION READ ON THERE IS STILL HOPE]
1. MOST HELPFUL LINK ESPECIALLY FOR ROOTING CUSTOM RECOVERY INSTALLATION IS GIVEN BELOW
http://forum.xda-developers.com/lenovo-p780/help/rooting-tutorial-kitkat-t2835605
IF ROOT FAILED FOR YOU USE TUTORIAL IN LINK TO ROOT AND TRY. THAT IS A DIFFERENT PROCESS. BUT FIRST CUSTOM RECOVERY
2. Go through the link fully. Get a good understanding. No need to do it exactly as it says. A little bit of tweak worked for me,.
3. I first tried to overwrite the factory recovery with the same factory recovery image that I backed up earlier, to see how it goes.
It is always good to try this as a first step to write using flash tool. Use the scatter files and recovery image from back up.
Here's the sequence of steps I tried.
a) Using SP-Flash-Tool-v5.1352.01, Tried to overwrite only the recovery image again with same factory image(download only). Note I used
MT6589_Android_scatter_emmc.txt scatter file which was created from my phone from MTK droid tools.
I got error from flash tool
"PMT changed for the ROM; it must be downloaded"
Error number 8038. The image was not downloaded
b) Now I realized why MTKdroid tool created another scatter file MT6589_Android_scatter_emmc_PMT.txt. It was for this issue.
I retried the same steps again, but now with MT6589_Android_scatter_emmc_PMT.txt file. Flash tool downloaded the factory recovery image successfully.
I powered on the phone, but was shocked to see it was not booting up. It came to lenovo logo and displayed error something like "DL install failed"
It was never booting up. It was SOFT BRICKED!!!!
How come with just overwriting factory recovery image again with same image.... I don't know reason for that.
Even a simple, harmless operation of overwriting factory image caused a soft brick.
This is the main reason WHY do a complete read back and relevant back up before starting write operations!!!!
I tried several other scatter files along with TWRP and CWM recovery images downloaded from the internet. I tried with all scatter files from
http://forum.xda-developers.com/lenovo-p780/help/rooting-tutorial-kitkat-t2835605. It did not work.
c) Finally after several attempts, the working combination for me was a little surprise.
I tried MT6589_Android_scatter_emmc_PMT.txt file created from my phone, along with SP_Flash_Tool_v3.1304.0.119_lenovo and TWRP_v2.7.1.1_P780_ROW_KK_Corrected
both downloaded from http://forum.xda-developers.com/lenovo-p780/help/rooting-tutorial-kitkat-t2835605
Select DA DL check box and do a download only.
This combination worked. Now I have a fully rooted and TWRP installed on my Lenovo P780.
Hope this helps!!!