GUIDES Collection 101-Romdump CWM Backup Flashing Editing etc - General Topics

GUIDES Collection 101-Romdump, CWM, Backup, Flashing, Editing, etc
Hi Guys one thing i have seen is that when many people make tutorial in Forum they do not consider making downloadable copies (Documents,Vedios,Pictures)of their tutorials for the viewers to download the results are-
They have to go online when working on the smart phones (Not Everyone Has Internet)
Sometime the images or the files expire thus you lose the important parts of a tutorial
Vedio might get blocked
The Site Closes Down
The reader might forget where the site is located
I have seen that many people would like to keep hard copies of these tutorial with themselves rather than keeping it on the web eg: People like to download mp3 rather than streaming music online...LOL.:silly: So i have copied, pasted, Downloaded These Sets Of Tutorials.
Some are word by word and some i have modified to Make it easier, Some of them have a merger of two or more tutorials to be better understood. Also some of the procedures might have two documents inside a single folder as i fealt that one is as important as the other and their merger might result in the loss of information
IMPORTANT
Remember that i have tried to make these tutorial as easy as possible but you must read and understand the whole thing before screwing with your phone
You must do some more research to be hundred percent sure (That is if you don't mind screwing your phone)
Most of all you must have common sense before proceeding
I am not responsible for what you do to your device but i will always try to help you
I shall first start with uploading tutorials of MTK Devices,SP Flashtool,MTK Droid Root & Tools GPS Error Fix Romdump.......bla..bla..bla...But soon i shall try to add more and more and improve the storage
Of course you are also important in helping just post a link and i shall check it and if needed will upload it in doc or media format:highfive:
I Shall Also make links to important softwares and links also
Hope this helps if so please press the thanks:good: button it would mean a lot:fingers-crossed:

Folder And Files Structure Tree
Tip-If the letters are coloured it means that is a folder....
Documents
1) Documents-Part 1
-Break screen pattern lock of any Android Phone
-Fix IMEI MTK Phones Droiduncle
-Fix Wifi BT Mac Adress (NvRAM error)
-Flash ROM To MTK Devices Mobileuncle
-Images In The ROM
-Install Flashtool Drivers on Windows 8
-Install MTK USB driver on Windows
-Lenovo A-3000 Factory Mode Translation
-Pull OTA Updates
-Creating Stock Flashable ROM.zip
--Get Stock ROMFirmware Cherry Mobile Flare 2x and others to PortingCustom ROM
-CWM
--How to Install CWM to you MTK Device
--To Port A CWM Based Custom Recovery
--To Port Device That Have recovery-from-boot.p
-GPS
--Fix GPS Issue With MTK MobileUncle
--Fixing GPS issues for Android MTK devices.
-MTK Droid Tools
--Backup Your Rom With MTKDroid Tools
--Change IMEI MTK Droid Tools
--Create CWM From The Device Recovery
--Make A Scatter File
--Make CWM Recovery From .img Backup
--MTK Droid Tools UBIFS Error
--Prepare MTKdroid Backup To Be Flashed With SP-Flash Tool
--To Make An Nvram (IMEI,MAC) Backup
-SP Flashtool
--Flash CWM With SP Flash Tool
--Problems and errors when using SP Flash Tool
--Scatter File and Dump ROM Without MTK Droidtools
--Use Sp Flash Tool
--Make CWM, Root Using SP Flashtool
---1) Make CWM, Root Using SP Flashtool
---2) How To Build CWM
--SP Flashtool Readback Backup
---MT6572 SPFlashtool Read Back Backup
---MT6582 SPFlashtool Read Back Backup
Documents Archieves
-1) Documents-Part 1
Vedios
-Create CWM From The Device Recovery.mp4
-Create CWM In Unrooted Devices.mp4
-Fix GPS on MTK Phones.mp4
-How To Backup Using MTK Droid Tools.mp4
-How to make a scatter file.mp4
-How To use SP Flash Tool.mp4
-Install Custom Recovery using SP Flash Tools.mp4
-Install Flashtool Drivers On Windows 8.mp4
-Make CWM Recovery From .img Backup.mp4
-NVRAM Backup MTK Droid Tools.mp4
-Prepare Backup To Flash With Flashtool.mp4
-Rooting using MTK Droid Tools.mp4
-Unbrick Cherry Mobile Omega HD 2.0.mp4

Drive Storage
Documents Download
Link
Archives Download
Link
Vedio Download
Link
ENJOY

Important Software Links
Reserved

App Links
Reserved

Changelog
31/7/2014-Thread Started

thanks for all of these.... im looking forward to root my device soon.. by the help of this thread.. keep up..:good:

Thank you very much for the obvious effort.
Will try it and recomment.

anandisrocking007 said:
Documents Download
Link
Archives Download
Link
Vedio Download
Link
ENJOY
Click to expand...
Click to collapse
hello anandisrocking007,
thank you very very much in advance for your great efforts beyond these research over the topic. but i think newbies like me, get a little confusion by whole these documents. i personally have worked with smart flashtools to flash customs deoxcided ROM , but right now really got confused by bunch of information.
i have lenovo A3500HV and the same mt6582 as your device.
now i have a respectful request that could you please clarify me how can i exactly go through the following steps :
1- how can i backup whole my factory ROM and restore if i need it in future?
2- how can i root this lenovo ?
( if you finally root your own device i'll be so grateful if you provide me with the recorded movie on these two question )
by the way for your consideration there is not even a single clip on YouTube for this matter and you can also upload these two step over there for millions of people and im sure any individuals thanks you from the bottom of the heart

Related

[UTIL][WIN][MT65xx] MTK Droid Root & Tools | MediaTek Android Smartphone

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.

[GUIDE] Beginner's guide - first steps with a MTK phone

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

Lenovo P780 errors- "Kernel Block Map to PMT mismatch" "No find KernelGZ" "No Split"

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!!!

[ Guide] (MT6572 Lemon A8 tab 4.4.2 9026m) Rooting and CWM and making Custom Rom

Introduction:
I have a the above mentioned device,I tried to root it many times using many guides found on the web and using many tools [on device or by PC ] but no success.Now I think it is because of it's boot being locked [or something els ].However I managed to root it and install CWM and even cooked a custom Rom based on stock [rooted ,debloated,deodexed,.....].
Who is this guide for:
Any one who have this device or similar [mt6572-4.4.2 ] and he/she want to try it on their own without holding me responsible for any harm whatsoever happen to their devices .
Things you need:
1-SP_Flash_Tool_v3.1320.0.163 [search and learn how to use if you don't]
2-MTKdroidTools [search and learn how to use if you don't]
3-A PC with driver for MTK devices installed [search and learn how to do it if you don't]
4-A scatter file of your device [obtain that by using MTKdroidTools ]
STEP1:::Backup
Before you go any way farther you MUST backup. You can do that by using SP flash tool [no 1 in the things you need above ]
IF you want a guide on how to use SP flash tool go her and give thanks to the author CyberianIce ,you can do a full backup by using read-back option [boot.img system.img recovery.img data.img and others]
STEP2:::::CWM
If your device is not rooted then you can't make your own CWM using MTKdroidTools but you can port one as you by now have your stock [recovery.img from step1] all you have to do is find a guide on how to port CWM on mt6572 like her
After you are done with that and you have a working CWM go to next step
STEP3:::::::Rooting
1- Note: When I try to port CWM it didn't work fine with me it was buggy [seems I don't port it Wright ] so i used [PhilZ Recovery By Ajit] and i use my PC to port it on my device [search and use it if you need ].
2- Back to rooting now you can root your device just boot to recovery and find the rooting option there and use it and download a root [superuser]app and install it or download a root flashable zip and flash it.
3- After you root connect device to PC and open MTKdroidTools and wait for it to read device if the indicator in the left lower corner of the app turned green all is OK if not you need to finde [adbd-Insecure-v2.00.apk] thanks to Chainfire and install it and use it to get adbd insecure and reconnect device to MTKdroidTools and you should now have a fully rooted device with CWM on it.
STEP4::::::Custom Rom making
Things you need:
1- your system.img and boot.img
2- dsixda's Android Kitchen version 0.224 [search here on dxdadevelopers and find where to download and how to use ]
You must add a file in the [edify_defs] folder found in the [tool] folder in the kitchen to do so just copy any file from the [edify_defs] folder and rename it after your device and edit it to look like this
#9026m
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
boot_mnt=\/dev\/bootimg
sys_mnt=\/dev\/block\/mmcblk0p4
cache_mnt=\/dev\/block\/mmcblk0p5
data_mnt=\/dev\/block\/mmcblk0p6
sdcard_mnt=\/dev\/block\/mmcblk0p7
Click to expand...
Click to collapse
check your mount points according to your scatter file
and go with cooking your Custom Rom as you wish and enjoy
LAST WORD
If you come to a dead end or face any thing just go search for an answer don't give up after all it is your device and the help is just a few clicks away:laugh::laugh::laugh:

[All Useful Tools & Drivers For Vernee Apollo Lite - MTK 6797] - How to Use [Links]

[All Useful Tools & Drivers For Vernee Apollo Lite - MTK 6797] - How to Use [Links]
_Constantly I see questions about the various issues of Vernee Apollo Lite (MTK 6797) and I thought to gather here the most important and useful tools ...
Will include the Stock Rom, SPFT, Drivers,IMEI tools, etc ....On the Links I will give,there will be detailed & how we use all these tools (It is enough we read carefully)...I have gathered on this thread many useful Tools as possible,especially for "Vernee Apollo Lite MT6797 " & generally for MTK devices....
_1) SPFT : all versions here : https://androidmtk.com/smart-phone-flash-tool
How to Use SPFT : https://androidmtk.com/flash-stock-rom-using-smart-phone-flash-tool
[SPFT for Linux] : https://spflashtools.com/category/linux
*( carefully when using SPFT,because in mode "Format all & download" probably will delete and your IMEI ! )
_Official site SPFT: https://spflashtools.com/
_2) MTK usb drivers (all versions) : https://androidmtk.com/download-mtk-usb-all-drivers (compatible with: Windows XP,Vista,7,8,8.1,10)
_3)MTK driver Auto Installer(all versions,Auto Installer Supports Almost all Varients of MTK chipset): https://androidmtk.com/download-mtk-driver-auto-installer
_(MTK driver Auto Installer SP .exe : http://www.mediafire.com/file/311npmjpwcuk5oy/MTK_Driver_Auto_Installer_SP_Drivers_20160804.exe/file )
_MTK drivers auto Installer v5.1453.03 / MTK devices support : MT65xx - MT67xx - MT83xx/Supported OS : WindowsXP-Windows 7-Windows8- Windows8.1-Windows10 ,32 & 64 bit _{RAR} : http://www.mediafire.com/file/judt306d37l7jb7/Driver_Auto_Installer_v5.1453.03.rar/file
__ https://mega.nz/#!0vw2wCKA!9Ef8X1FsglommtzEK3g3o9p2JTZA948PTVYgeBebrAA
_4)a'-Windows 10 MTK VCOM USB Drivers for 32 & 64 bit & How to use : https://forum.xda-developers.com/elephone-m2/help/windows-10-mtk-vcom-usb-drivers-32-64-t3267033
http://www.mediafire.com/file/mepcd8zq53s8c5v/Windows+10_MTK+VCOM+USB+Preloader+Drivers.zip
(Windows10 MTK VCOM USB Drivers for 32&64 bit.cab :
http://www.mediafire.com/file/k1cat...Android)+Driver+3.0.1504.0+for+Windows+10.cab )
_*b'- Windows10 MTK VCOM usb Drivers 32&64 bit -installation/tutorial : https://tehnotone.com/windows-10-mtk-vcom-usb-drivers-for-32-64-bit-drivers-installation-tutorial/
_5)Universal ADB Drivers all Versions: https://androidmtk.com/download-universal-adb-driver (Optionally)
(How to Use Universal ADB Drivers): https://androidmtk.com/install-universal-adb-driver
_6)MTK Droid Tool all Versions : https://androidmtk.com/download-mtk-droid-tool *[It will probably not work in MT6797]
(Restore your IMEI & much more) : https://forum.xda-developers.com/android/general/restoring-lost-imei-mtk-phone-t2820929
a_*How to backup & Restore IMEI NVRAM : https://androidmtk.com/backup-and-restore-imei-nvram
b_ * https://romprovider.com/2017/06/backup-nvram-mediatek-mt67xx/
C*_[How to Backup and Restore IMEI/NVRAM data on MTK devices-MT65XX,MT67XX & more-3 methods]using SPFT-adb&fastboot-MTK dr. Tool
https://www.getdroidtips.com/backup-restore-imei-nvram-data-mediatek/
_7)SN Write Tool all Versions: by Mediatek inc: https://androidmtk.com/download-sn-write-tool
(How to Use SN Write Tool : https://androidmtk.com/use-sn-write-tool )
_8)Maui Meta IMEI "restore/fix" : http://www.mediafire.com/file/3ob842tg553lo27/MauiMETA_exe_v9.1724.25.00.rar/file
(how to use: http://bbs.vernee.cc/forum.php?mod=viewthread&tid=987 )
_ https://youtu.be/D2JH9SebPJ8
_*[SP Meta Tool -all versions_(maui meta).It allows you to flash IMEI or repair IMEI & NVRAM on any MTK device.]
https://androidmtk.com/download-sp-meta-tool - [ https://www.youtube.com/watch?v=QXauPS7-fd0 ]
(Fix IMEI Rooted & non Rooted mtk devices): https://forum.xda-developers.com/canvas-a1/general/fix-imei-perfect-fix-android-imei-t2943567
_How To Replace the IMEI numbers in MTK devices :
http://bbs.vernee.cc/forum.php?mod=viewthread&tid=2252&extra=page=1
__Mobile Uncle Tools (all versions): https://androidmtk.com/download-mobileuncle-apk
_9) STOCK ROM Vernee Apollo Lite : http://www.mediafire.com/file/oox9f69tj2jf8k7/full_k15tb_a-ota-1508410813.zip/file
_ https://mega.nz/#!Z3RwGT5L!2DTAhxDULqZ7TR8lNq8dUQpE94-HOwPtboRyRZd205s
_ http://www.mediafire.com/file/fc1xyf35xv5pvqs/K15TB-A.A.vR1J.N1.161018.zip/file
_Vernee Official Site : http://www.vernee.cc/products/apollolite/rom/
_10) How To Install Official Stock ROM On Vernee Apollo Lite : https://www.getdroidtips.com/install-official-stock-rom-on-vernee-apollo-lite/
_Download latest SP Flash Tool – This is the tool that will be used to flash Vernee Apollo Lite etc: http://www.mediafire.com/file/z1sxl3xw1w7tmcj/SP_Flash_Tool_v5.1824_Win.zip/file
_MTK MediaTek auto preloader drivers pack – These are the drivers that will allow the MTK SP Flash Tool to communicate with your mobile : http://www.mediafire.com/file/r6h4yv2zix1ja0x/MTK_Auto_GizBeat_Chinaphonearena.rar
*[__Magisk (All Versions+Magisk Manager): https://github.com/topjohnwu/Magisk
__MagiskHide troubleshooting quide : https://www.didgeridoohan.com/magisk/HomePage
__Magisk In Recovery : https://topjohnwu.github.io/Magisk/install.html#magisk-in-recovery
__SuperSU v2.82 SR5 : https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
__BusyBox(Recovery Flashable Zips): https://github.com/yashdsaraf/bb-bot/releases/tag/v1.29.2-YDS-201808012015 (If you don't know your device,you can flash Universal zip)
__Xposed-L/M/N/O: https://forum.xda-developers.com/showthread.php?t=3034811 ]
_MTK Engineer Mode app: https://forum.xda-developers.com/android/apps-games/app-mtk-engineer-mode-t2975528
_Android CDC drivers (xp-vista-7-8-8.1-10) & how to use : https://androidmtk.com/install-android-cdc-driver-manually
Mega : https://mega.nz/#!Yn5QXCwZ!FzxWeESDOGlMjtYIaNFrcVTypUajLYTQX1P4nCIJmak
_Latest TWRP 3.2.1-0 For 8.1 mados(required) :*source: https://forum.xda-developers.com/devdb/project/dl/?id=27966
[_How to disable Driver Signature enforcement on Windows 10 : https://www.thewindowsclub.com/disable-driver-signature-enforcement-windows
_*( Or here with 2 ways) : https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/
_*disable Driver Signature Enforcement - Video : https://www.youtube.com/watch?v=Z6HbmjXONuk
__Official SP Flash Tool & Drivers For Windows & Linux : https://spflashtool.com/ [Guide for SP-Flash-Tool,how to use Android MTK Tool & How to manually install MediaTek USB VCOM drivers]
__Volcano box V3.1.0 : https://xdarom.com/volcano-box-latestupdate-3-09-full-setup-file-download/ [support MT67xx - how to use]
__ Volcano Box V3.1.1 : https://www.blognox.com/what-is-volcano-box/ ( Added support for MTK 6797 - more Info about Volcano Box v3.1.1 )
__TWRP_ Kitchen .exe : https://mega.nz/#!U6xHRCgQ!xFxNivRwJ-D0_6ruHMPtnMJQtCYIIZAMjSm6iOOuYDs
__TWRP- Porter/Maker for Mediatek MT67XX 64bit & 32bit : https://androidfilehost.com/?fid=962021903579481564
*_source: https://forum.xda-developers.com/android/software/twrp-porter-maker-mediatek-mt67xx-32-t3681861
__image kitchen_x64 : https://mega.nz/#!0uRmAAYJ!f04lELXUaUk38V-xpxsCASQ2p2Ghm0Sic06n0Omn7wc
__All MTK FRP Scatter File Download Tool By Mobilefirmwares.tk.rar - (AFH) : https://androidfilehost.com/?fid=11410963190603893639
__ GSM FRP TOOL (Support All Android) : https://mega.nz/file/h24wTQKb#00hWpyn6rKq9KA5gGUvsrHILg-uoeros6CY8-qavs8o _(Compatibility:Vista,XP,W7,W8,W10 32/64 bit)
*__This Great Tool "normally" is for xiaomi devices, BUT ! works fine and for MTK devices,and has the ability to : Disabling driver's Signature / Installation all MTK drivers +VCOM drivers,MTK CDC USB drivers,etc
( Just,run it as administrator and follow the instructions ) - For example ,if you want to flashing your device by using SP-Flash Tool etc...
_Download from MEGA CLOUD - xdi_1.0.3 .exe : https://mega.nz/#!cr4SUIqY!Rzlftk2OFun8XIkNQb2aXRtP7-t3f4DB92vMIl90pgw - Supports Windows x64 & x86 (Windows Vista, 7, 8, 8.1,10)
_MediaFire : http://www.mediafire.com/file/c1fflk7xvpkcr8d/xdi_1.0.3.exe/file
*Source: https://xiaomi-miui.gr/community/in...τά-Xiaomi-σε-όλα-τα-Windows-x64-x86/?pageNo=1
[ IMPORTANT ! : LIST ON SP-Flash Tool ERRORS CODES, MEANINGS & HOW TO FIX ! _ (Solution- What steps you can take to Fix & Resolve) _
https://forum.hovatek.com/thread-439.html ]
**__ Threads about Vernee Apollo Lite MT6797 : https://forum.xda-developers.com/t/vernee-apollo-lite
_Find various drivers here: https://gsmusbdrivers.com/
" I hope to help some users to find here what they need for installation & guide"
- I have no responsibility for what doing every one user on his device -
sry for english & GL to All
Thx for this usefull list. This means a lott.
You are amazing. This is the holy guide ! Thank you....
I lost my IMEI again when flashing as firmware upgrade from stock to Mad 7.1. It all began when I had a no sim card issue and I wrongly did a "format and download" Anyway, the phone works okay on stock after manually adding IMEI. My question is
1. Can I flash IMEI after I do a fresh install of MAD 8.1 with a TWRP recovery using SN write tool? ( I'm almost sure I'll lose my IMEI even if I'm on firmware upgrade mode)
2. You suggested earlier about doing a clean install of MAD 8.1 as stock. Is there a scatter file for that in the Apollo_lite_All zip? I didn't proceed as I wanted to know if I could flash IMEI after I do flash TWRP recovery.
Is this a useful guide to follow?
https://www.google.co.uk/amp/s/afterroot.wordpress.com/2015/07/22/mtk-restore-nvram-bin/amp/
Sorry if I'm bring stupid and thanks in advance...
drabharathan said:
I lost my IMEI again when flashing as firmware upgrade from stock to Mad 7.1. It all began when I had a no sim card issue and I wrongly did a "format and download" Anyway, the phone works okay on stock after manually adding IMEI. My question is
1. Can I flash IMEI after I do a fresh install of MAD 8.1 with a TWRP recovery using SN write tool? ( I'm almost sure I'll lose my IMEI even if I'm on firmware upgrade mode)
2. You suggested earlier about doing a clean install of MAD 8.1 as stock. Is there a scatter file for that in the Apollo_lite_All zip? I didn't proceed as I wanted to know if I could flash IMEI after I do flash TWRP recovery.
Is this a useful guide to follow?
https://www.google.co.uk/amp/s/afterroot.wordpress.com/2015/07/22/mtk-restore-nvram-bin/amp/
Sorry if I'm bring stupid and thanks in advance...
Click to expand...
Click to collapse
I do not know exactly what file it is and for which device is (in your Link)
In Apollo Lite All zip if you extract the file, inside included and the stock rom...If you extract stock rom will find "scatter" BUT ! STOCK ROM SCATTER !!
(scatter of mados 8.1 included on mados 8.1 zip if you extract this)
_For custom rom you can see here : https://forum.xda-developers.com/k4-note/how-to/guide-imei-fix-devices-custom-rom-t3630070
_For stock rom the easiest way is : https://androidmtk.com/download-sp-meta-tool
https://forum.hovatek.com/thread-12328.html
(You can use SN write tool only in stock rom)
You can see here my answer in old Post : https://forum.xda-developers.com/showpost.php?p=75866415&postcount=702
OR : Install terminal emulator > type su & then press enter to get permission > write this : echo ‘AT+EGMR=1,7,”1234567890”‘ >/dev/pttycmd1
& press enter > reboot device
(If you have dual SIM type & this line : echo ‘AT+EGMR=1,10,”1234567890”‘ >/dev/pttycmd1 ) & reboot device
(1234567890 is virtual IMEI ! ....you have to change with your real IMEI of course ! )
for terminal emulator root required
( http://www.androidbrag.com/2015/02/how-to-change-android-phoness-imei.html )
sry for english
The stock OS my phone came with has corrupted itself. It gets to the android screen then resets. Im trying to reinstall the stock OS using SP flash tool but when I select the scatter.txt file i get "Error scatter file invalid". Im using the ROM file from Vernee's website.
Any help??
Neospykx said:
The stock OS my phone came with has corrupted itself. It gets to the android screen then resets. Im trying to reinstall the stock OS using SP flash tool but when I select the scatter.txt file i get "Error scatter file invalid". Im using the ROM file from Vernee's website.
Any help??
Click to expand...
Click to collapse
http://www.mediafire.com/file/oox9f69tj2jf8k7/full_k15tb_a-ota-1508410813.zip/file
https://spflashtools.com/windows/sp-flash-tool-v5-1844
(close antivirus before)
Those where the files I was using that causes me the error message
Neospykx said:
Those where the files I was using that causes me the error message
Click to expand...
Click to collapse
The problem maybe is in File
a few solutions : first try with this file : https://mega.nz/#!Z3RwGT5L!2DTAhxDULqZ7TR8lNq8dUQpE94-HOwPtboRyRZd205s
(or another version SPFT sometimes)
(some times on mtk error 8417 : https://youtu.be/n-m-TqDQcFk )
Don't Install file on any partition disk..Install it on C: downloads normally
Previous versions do nothing when I hit the download button after setting the scatter file.
Now getting this error with the file you provided
https://ibb.co/pZzMrQN
Neospykx said:
Previous versions do nothing when I hit the download button after setting the scatter file.
Now getting this error with the file you provided
https://ibb.co/pZzMrQN
Click to expand...
Click to collapse
the error is included : https://forum.hovatek.com/thread-439.html
Try on another pc !
first try on other usb port , cable etc...
hi
mtk droid tool does not work in VAL?
thanks for the useful guide & info...
Sonbd said:
hi
mtk droid tool does not work in VAL?
thanks for the useful guide & info...
Click to expand...
Click to collapse
Unfortunately doesn't support MT6797 (you can not use it anymore to backup MT67xx chipsets)
did you install VCOM drivers and android CDC drivers? So,you can try with some other tool , depending on what you want to do...
Read in OP, there are many different tools...
Neospykx said:
Previous versions do nothing when I hit the download button after setting the scatter file.
Now getting this error with the file you provided
https://ibb.co/pZzMrQN
Click to expand...
Click to collapse
The official website downloads and the ones uploaded here saying "stock" full_k15tb_a-ota-1508410813 etc are OTAs and the scatter files on these don't load on SP flash tools.
Look for these file types. They have a good scatter file. You won't get the errors!
alps-mp-m0.mp9-V1.78.1_nb6797.6c.m_P10 – full_k15tb_a-user 6.0 MRA58K
Good luck.
drabharathan said:
The official website downloads and the ones uploaded here saying "stock" full_k15tb_a-ota-1508410813 etc are OTAs and the scatter files on these don't load on SP flash tools.
Look for these file types. They have a good scatter file. You won't get the errors!
alps-mp-m0.mp9-V1.78.1_nb6797.6c.m_P10 – full_k15tb_a-user 6.0 MRA58K
Good luck.
Click to expand...
Click to collapse
spft error 00xc0050003 is a matter of poorly installed drivers,maybe an old version SPFT etc...
the files in the OP works properly and I have used hundreds of times - by me and other users (scatter that contained in the file works fine)
There are & files from the official website of vernee like this
https://mega.nz/#!aQw1yQBL!LOWlnWgM05xySDXTbomnSeNKTcupbBuV-4Wmocz8GRM
http://www.vernee.cc/products/apollolite/rom/
daitalos said:
spft error 00xc0050003 is a matter of poorly installed drivers,maybe an old version SPFT etc...
the files in the OP works properly and I have used hundreds of times - by me and other users (scatter that contained in the file works fine)
There are & files from the official website of vernee like this
https://mega.nz/#!aQw1yQBL!LOWlnWgM05xySDXTbomnSeNKTcupbBuV-4Wmocz8GRM
http://www.vernee.cc/products/apollolite/rom/
Click to expand...
Click to collapse
Unfortunately, they didn't work for me. Which is why I replied to another persons query. The error message I got was invalid scatter file. Upon opening the scatter file in a text editor as well looked different. None of the links in the OP had a working scatter file for me. At the same tine both mad os 7.x and 8.x scatter files always worked.
I'm my opinion its more helpful to specify one SP flash version that works with one zip. Neither the Vernee Apollo Lite Pack All zip version, nor the one on the website worked for me. Windows 10, Nov update. Fresh Windows OS installs, VCom drivers etc. I've ruled out all of those along with random SP flash tool versions.
I just wanted to say, if you get an invalid scatter file error, perhaps worth trying what i suggested as well. It works well for me. Ever since my IMEI got wiped going back to stock is very often a routine, maybe not 100 times but many times.

Categories

Resources