yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hamzairshad:
rua1 all the files you require are here

https://www.dropbox.com/sh/5h5z9np37c1mj9s/myM-O_7KUM
[Android Software/Hacking General [Developers Only]] hamzairshad:
im getting error after using your scatter. see the attached picture.
[Android Software/Hacking General [Developers Only]] rua1:
try other SPFT versions
[Android Software/Hacking General [Developers Only]] hamzairshad:
please suggest me which version to use?
[Android Software/Hacking General [Developers Only]] hamzairshad:
see the attached file for error im having on SP_Flash_Tool_v3.1224.01
[Android Software/Hacking General [Developers Only]] rua1:
@hamzairshad

at once did not notice that in the folder of other files is not present. Copy in this folder all other files prepared for FT from ROM, or copy this sсatter in that folder and choose it from there.
[Android Software/Hacking General [Developers Only]] hamzairshad:
after following your instructions i placed the scatter in read back folder of mtk and then tried to flash it. at that i got 4050 error so i replaced USRDATA on __NODL_USRDATA and it flashed. YAYYAY thank you so much rua1 . your genuis :good:
[Android Software/Hacking General [Developers Only]] ninonirvana:
Hello, I followed this tutorial and I have this error when I try the last step, any suggestions?

--- The preservation folder on the computer: D:\MtkDroidTools_FlashTools\backups\S5_130314_ForFlashtoolFromReadBack_130407-115834\
--- scatter is write to the file:
D:\MtkDroidTools_FlashTools\backups\S5_130314_ForFlashtoolFromReadBack_130407-115834\MT6589_Android_scatter_emmc.txtcopying is complete
-- preloader.bin ...it is copied ... cut OK
[COLOR="Red"] -- DSP_BL - The signature isn't found! [/COLOR]
-- MBR ...it is copied
-- EBR1 ...it is copied
-- __nodl_pmt ...it is copied
- PMT tables found
- PMT tables OK, 1 blocks found
--- Kernel Block Map to PMT mismatch!
-----------------------------------
BlockName Offset
-----------------------------------
[COLOR="Red"]Kernel: MBR 0x00600000
PMT: Not present! ??????????
Kernel: EBR1 0x00680000
PMT: Not present! ??????????
Kernel: __NODL_PMT 0x00700000
PMT: Not present! ??????????
Kernel: __NODL_PRO_INFO 0x00B00000
PMT: Not present! ??????????
Kernel: __NODL_NVRAM 0x00E00000
PMT: Not present! ??????????
Kernel: __NODL_PROTECT_F 0x01300000
PMT: Not present! ??????????
Kernel: __NODL_PROTECT_S 0x01D00000
PMT: Not present! ??????????
Kernel: __NODL_SECCFG 0x02700000
PMT: Not present! ??????????
Kernel: UBOOT 0x02720000
PMT: Not present! ??????????
Kernel: BOOTIMG 0x02780000
PMT: Not present! ??????????
Kernel: RECOVERY 0x02D80000
PMT: Not present! ??????????
Kernel: SEC_RO 0x03380000
PMT: Not present! ??????????
Kernel: __NODL_MISC 0x03980000
PMT: Not present! ??????????
Kernel: LOGO 0x03A00000
PMT: Not present! ??????????
Kernel: EBR2 0x03D00000
PMT: Not present! ??????????
Kernel: __NODL_EXPDB 0x03D80000
PMT: Not present! ??????????
Kernel: ANDROID 0x04780000
PMT: Not present! ??????????
Kernel: CACHE 0x2D180000
PMT: Not present! ??????????
Kernel: USRDATA 0x34F80000
PMT: Not present! ??????????
Kernel: __NODL_FAT 0x94F80000
PMT: Not present! ??????????
Kernel: __NODL_BMTPOOL 0xFFFF00A8
PMT: Not present! ?????????? [/COLOR]
-----------------------------------
--- scatter from PMTis write to the file:
D:\MtkDroidTools_FlashTools\backups\S5_130314_ForFlashtoolFromReadBack_130407-115834\MT6589_Android_scatter_emmc_PMT.txt
- Use it if SP FlashTool errors of 8038 or 4050 occurs
-- __nodl_pro_info ...it is copied
-- __nodl_nvram ...it is copied
-- __nodl_protect_f ...it is copied
-- __nodl_protect_s ...it is copied
-- __nodl_seccfg ...it is copied
-- uboot.bin ...it is copied
-- boot.img ...it is copied
- Boot kernel version =3.4.5
It is created: D:\MtkDroidTools_FlashTools\backups\S5_130314_ForFlashtoolFromReadBack_130407-115834\S5_130314__boot_patched_130407-115834.img
--- test recovery OK !
It is created: D:\MtkDroidTools_FlashTools\backups\S5_130314_ForFlashtoolFromReadBack_130407-115834\S5_130314__recovery_130407-115834.img
-- recovery.img ...it is copied
-- secro.img ...it is copied
-- __nodl_misc ...it is copied
-- logo.bin ...it is copied
-- EBR2 ...it is copied
-- __nodl_expdb ...it is copied
--- task is complete ---

and then trying to flash, this error.
[Android Software/Hacking General [Developers Only]] rua1:
@ninonirvana

please send a SPFT logs and the file __nodl_pmt
[Android Software/Hacking General [Developers Only]] ninonirvana:
Ok

where I find these files?

please give me your email to send, thanks.
[Android Software/Hacking General [Developers Only]] Vings:
Please help me out on this one

http://xdaforums.com/showthread.php?p=40050439

No one seems to respond. Please i need your wisdom on this one.
[Android Software/Hacking General [Developers Only]] hamzairshad:
@rua1

Help me with this other problem.
[Android Software/Hacking General [Developers Only]] rua1:
__nodl_pmt here

select help from SPFT and you will see where its log

use the Attachments button and attach files directly here

where you got system.img? I already wrote to you and in a guide about it is written that yaffs2 system.img can't be read correctly through ReadBack. It is necessary to use the Backup button when you will receive root shell. Look attentively a step 9
[Android Software/Hacking General [Developers Only]] hamzairshad:
where you got system.img? I already wrote to you and in a guide about it is written that yaffs2 system.img can't be read correctly through ReadBack. It is necessary to use the Backup button when you will receive root shell. Look attentively a step 9[/QUOTE]

ok i got that. ive done backup. now can i download it back to phone through spft?
[Android Software/Hacking General [Developers Only]] AlexZap:
Hey, no problem. I just hope it works for some people... maybe helps someone.

---------- Post added at 11:53 AM ---------- Previous post was at 11:48 AM ----------

It's attached, but if you need a link, try this https://goo.gl/RnwMZM.

It only works for the new 64 bit phones with the new partition layout (mt67xx, and probably the mt6795 as it has the same layout)
[Android Software/Hacking General [Developers Only]] a4apple:
am i supposed to boot my phone into bootloader or just let the phone turn on?:confused:

EDIT: can someone help me with the step 3 saying "Choose path and a ROM file name". I couldnt find any file that start with ROM_*. Am I suppose to create the file ROM_0 in anywhere i want or what? :( i dont understand that..
[Android Software/Hacking General [Developers Only]] AlexZap:
Just boot it up regular. It is a "live" backup. If you have a custom recovery, you could also do it from there, it would probably be safer.

New version out soon, maybe I'll make a separate thread for it. Ill keep everyone posted.
[Android Software/Hacking General [Developers Only]] a4apple:
Where can i get the Rom_*? i couldnt find it:(
[Android Software/Hacking General [Developers Only]] AlexZap:
hmmm.. dunno why it is prompting you for ROM_*. but there were a bunch of bugs. there still are. here is my current working version, at the moment the -s option is not working, but most things else are. new version attached, and if you need, here is a link https://goo.gl/1r6lp8
[Android Software/Hacking General [Developers Only]] WearySky:
Awesome, thanks for that. Needs a bit of tweaking to work in Windows (in particular, paths with spaces cause it to barf) but it's a good starting point, I can take it from there. Haven't had a chance to play with shell scripts in a while, so that'll be a fun exercise.
[Android Software/Hacking General [Developers Only]] AlexZap:
Yeah, a bunch of stuff needs fixing. I'm pretty much a noob at shell scripting, but it hasn't been to hard to pick up. I know I can fix the path issues with a bunch of quoting around things, I just haven't gotten to it yet. I still have to figure out what is wrong with the preloaded fixing code, and why the file system shrieked is barfing at the moment (I also might change the method, but a better method would totally break any hope of cygwin compatibility, so I may also need to fork it in to two scripts.) Anyway, if you come up with any good patches, send them my way!
[Android Software/Hacking General [Developers Only]] WearySky:
Actually, looks like a simple [[ instead of [ in the if statement to check for adb is all I needed to make it work for me.
[Android Software/Hacking General [Developers Only]] xyomguix:
I have a Lenovo TAB 2 A7-10 Tablet (MTK 8127) which is rooted.

The backup works fine but MTK Droid cannot build a scatterfile ... so I cannot restore my backup :-p

Is there another way to create scatter file ?
[Android Software/Hacking General [Developers Only]] AlexZap:
there is no simple way to build a scatterfile on the new SOCs. you use to be able to dump /proc/dumchar_info and build one from that, but on the new ROM builds, that file is no longer there. hopefully you are able to get a ROM from your vendor/manufacturer/needrom.com and it will contain a scatter file for you. if not, you could try to build one yourself. check out yuweng's post here http://xdaforums.com/showpost.php?p=57891694&postcount=4. basically, you would take a generic mtk scatter file version 1.1.2. that is for a device with your same SOC, and modify it based on the info found in /proc/partinfo. i'm working on adding this functionality to my backup script to make it more trivial, but it is no where near ready. good luck!
[Android Software/Hacking General [Developers Only]] kiran king:
any one please release the custom rom for karbonn a52+ (mtk6572)
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5710424]kiran king[/MENTION]

You question is completly OT.

This is a thread for MTKDroid. Not for other things.
[Android Software/Hacking General [Developers Only]] blazeaster:
Does anyone know how do I keep Alcatel 5038x in preloader? I can't do the step 8...

Tried holding volume-

Tried hooking it up to PC without a battery

Same results. Would really appriciate any help. My phone is bricked, and I'm googling my ass of for days - no useful information found.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=6601644]blazeaster[/MENTION]

Please make request about a specific device in its specif thread. Not here. It's OT.

No one device can blocked in preloader mode.
[Android Software/Hacking General [Developers Only]] kiran king:
ok sry for my post i think it may help for custom rom.

thank you
[Android Software/Hacking General [Developers Only]] bovirus:
Please read carefully always in each forum first posts.

The thread is always limited to the object of discussion thread (here is MTKDroid).
[Android Software/Hacking General [Developers Only]] scotyard:
Has anyone tried using MTKdroid with a 64bit mediatek processor(MT6752)? I am not even able to create a scatter file to backup my phone.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=4844354]scotyard[/MENTION]

Please read previous post (or use search function):

MTKDroid IS NOT COMPATIBLE with 64bit chipset.
[Android Software/Hacking General [Developers Only]] scotyard:
[MENTION=637263]bovirus[/MENTION]

I will while I wait for a reliable way to backup my phone, thanks.
[Android Software/Hacking General [Developers Only]] Dvalin21:
Well I had asked that question before, is this tool compatible with MT8752 which is 64bit SoC, I was told different. I had the MT8752. So then if this is the case, can you please make it compatible?
[Android Software/Hacking General [Developers Only]] AlexZap:
The only reliable way is with twrp/cwm in a custom recovery. I have a little linux script which will backup your phone the way mtk droid and root tools will, but it doesn't create a scatter file (yet... I'm working on it). If that is your only option and you know how to make a custom scatter file, or you have one from an original rom, it is a viable option... but just barely.
[Android Software/Hacking General [Developers Only]] Dvalin21:
I'm waiting for both so I will wait until you get that working
[Android Software/Hacking General [Developers Only]] DvDwx.:
Guys... i have a problem... after install my original FW of my phone i can't use MTKdroidTools because display that:

ATTENTION! Requests for confirmation on the device screen are possible!

--- ERROR :system it was not remounted on ReadWrite!

--- ERROR : file adbd not install !

i lost my IMEI/NVRAM Backup on Burned/Bricked HDD... and i wan't have the possibility to make it work again :highfive:

if someone can help me with that i apreciate that (My Phone is BLU Vivo Air - MTK6592 - AmigoOS KK - AOSP KOT49H Based)
[Android Software/Hacking General [Developers Only]] bovirus:
Question is OT.

Please post in your device thread (not here).
[Android Software/Hacking General [Developers Only]] Nhien Nguyen:
Easy to use

Tks <3
[Android Software/Hacking General [Developers Only]] blazeaster:
I get

NandLayoutParameter::CompareIsNandLayoutMatched(): NOT MATCH: load item key(__NODL_PRO_INFO), value(0x1100000), target item key(PRO_INFO), value(0x1100000).(.\NandLayoutParameter.cpp,139)

What exactly do I have to do?

Thanks
[Android Software/Hacking General [Developers Only]] lohtse:
Hi All

We have a Ampe A62 phablet and today we did a factory reset and now we get invalid Imei for both sim slots... Is there away to fix this as tried all other methods online and none work. And using this app doesn't seem to work either as on rebooting no IMEI is saved after adding them....

Also if someone has a NVRAM.Bin for the ampe a62 may be we could have a copy to see if it will fix the issue..

Really annoying this has happened after a factory reset!!!

Yes we are rooted...

thank you

regards

Lohtse
[Android Software/Hacking General [Developers Only]] raviindia:
ERROR: No Find KernelGZ ERROR: No Split Boot Image

hi, i am also getting this error on my MTK6572 mediatek device.

can someone explain why, we are getting this error.

---------- Post added at 07:48 AM ---------- Previous post was at 07:41 AM ----------

hello,

same issue, I am also having this issue, could you please explain me sir, why this issue happening,, and how to create "CWM" other than this method, and if you don't mind please tell me how to create cwm other than this method..

Thanks
[Android Software/Hacking General [Developers Only]] bovirus:
Please avoid to post/reply about OT question.

This thread is about ONLY MTKDroid.
[Android Software/Hacking General [Developers Only]] DvDwx.:
sure... of curse we will stop replay OT questions... when the tool developers create a FAQ to solve this little problems about how to use a tool without get that annoying errors... i already solve my problem using FX File Explorer with add-on to enable Read/Write System Partition... it can be make using ADB and Terminal Emulator... but you need have sure about what are you doing to not have a softbrick on phone

IF Someone have time please create a FAQ to solve this little problems when using the tool :highfive:
[Android Software/Hacking General [Developers Only]] lopestom:
PORT / Create Custom Recoveries - MEDIATEK

All that you need in next time is search about..... All this thread is by Master Shifu yuweng:

PORT CWM - Carliv Touch Recovery (CTR)

http://xdaforums.com/showthread.php?p=59457430

[PORT][RECOVERY]CarlivTouchRecovery v3.0(4.4.4) for port to MTK phones [up to mt6592]

CWM Philz

http://xdaforums.com/showthread.php?t=2748169

Easy Magic PhilZ Touch Installer for MediaTek Devices ONLY

So... you can create automatically TWRPv2.8.2 or last:

http://xdaforums.com/showthread.php?t=2798257

Easy Magic TWRP Installer for all MediaTek Devices ONLY﻿
[Android Software/Hacking General [Developers Only]] bilalhp:
MT6595m support

MTK droid root & tools application does not support backup functionality for MT6595 devices, at least for my Lenovo vibe X2. Can anyone confirm?
[Android Software/Hacking General [Developers Only]] Dvalin21:
It doesn't support 64bit SoC yet
[Android Software/Hacking General [Developers Only]] houngyai:
MTK6572 backing up issues

I searched this thread before posting, but I didn't find anything useful. I face this problem whenever I try to backup a device has MTK6572 CPU:

It couldn't backup anything:

The partition type is EXT4 this time.

I use Chainfire's adbd patcher to get root shell in droid tools. The device is a non-branded china tablet, there is no specific thread for it.

Is there any solution for this problem?
[Android Software/Hacking General [Developers Only]] scotyard:
I'll actually be more comfortable with something official from MTK :p
[Android Software/Hacking General [Developers Only]] AlexZap:
Do you think droid and root tools is mtk official? All of this is reverse engineering by dedicated developers trying to make their devices more usable.
[Android Software/Hacking General [Developers Only]] houngyai:
Ok, I already figured out the problem. Droid tools just couldn't remount the whole ROM as RW, so that's why the backing up was unsuccesfull. Mounting it from adb just solved this problem.
[Android Software/Hacking General [Developers Only]] a4apple:
How do you mount it through adb?:confused:
[Android Software/Hacking General [Developers Only]] galmoham:
I have been looking for you (the creator MTK Droid Tool) long ago Just to say A BIG THANK YOU for your awesome tool, It help me to save to Lives of many with dead android phones.. just for fun and free... thank you alway and grateful... Live Long
[Android Software/Hacking General [Developers Only]] houngyai:
Use Chainfire's adbd insecurer (you can download it from play store) and then connect your device to your PC (usb debugging must be approved), open an adb terminal, put the command "adb remount", that will mount the whole ROM as RW.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5778207]houngyai[/MENTION]

Could make a simple guide (how to) with all details for adb insicure?
[Android Software/Hacking General [Developers Only]] houngyai:
You can download the apk file from the following xda thread:

http://xdaforums.com/showthread.php?t=1687590

Install it on your device and just tick the "Enable adbd insecure". Be aware, that your device must be rooted.
[Android Software/Hacking General [Developers Only]] AlexZap:
for anyone interested, here is my little BASH script for backing up the new mt67xx partition layout over adb ala mtk droid and root tools. it now even generates a scatter file! it is still quite beta. but it does work if you have no options. https://goo.gl/TwAM6d
[Android Software/Hacking General [Developers Only]] houngyai:
What are the commands for adb? Because it doesn't work in Gscript.
[Android Software/Hacking General [Developers Only]] yuweng:
Its for linux OS not android, AFAICR, android doesn't have the binary truncate & a few more so it won't work on the cleaning of the unused header & footer for preloader...

Good job bro... :good: i actually did look at it at the beginning of this year but i got no MTK armv8 to test & looking for beta-tester here on XDA is a pain-in-the-a$$... :rolleyes:

Why don't you start a new thread then anyone interested can contribute to your project there, i've notice there are quite alot of different weird layout out there, some with the custom partition & others with intsd & etc ... :cowboy:
[Android Software/Hacking General [Developers Only]] AlexZap:
This script is a bash she'll script designed to be run on your computer. It dumps the rom image from your new 64 bit mediatek phone to your computer in a (hopefully) sp flash tools compatible format for either backup purposes or distributing a ROM image. Being written in bash script, it is really meant to be run on a computer running some version of Linux. It is possible that it will run under cygwin, someone tested it and said it worked. I have not, so I cannot say.

Your phone must be rooted and must have busybox installed. It also must follow the "new" mediatek file system layout, found on the mt6595, mt6732, mt6735, mt6752, mt6753, and mt6795 kit Kat and lollipop ROMs.

1) To use it, down load the above file and extract it (tar -xzvf mtk_backup.sh.gz).

2) make it executable by "chmod +x mtk_backup.sh" (no quotes)

2) Plug your phone in to your computer (make sure Abe debugging is enabled).

3) At a command prompt type "adb devices" (no quotes)

4) if you get the error that adb isn't installed, install it per your distribution

5) you should get a return that lists your devices serial number. If you don't, your computer is having issues communicating with your phone. Try to figure that out before proceeding.

6) type "./mtk_backup.sh" (no quotes)

7) it should run a simple backup with all defaults. To get some options, type "./mtk_backup.sh -h"

Hope it works for you!

---------- Post added at 10:39 PM ---------- Previous post was at 10:28 PM ----------

I've been thinking of doing this. That way I could provide some support and hopefully people more talented then I could contribute, though I don't know how much interest there really is. Personally, I think TWRP or another nandroid backup is a better solution. Sp flash tools is such a messy solution. Though I was just thinking it might be possible to flash a sp flash tool format rom through an adb enabled recovery just by reversing this method. As long as your not changing the partition layout. You also might have to change the image format.. but anyway, I might work on something.

I checked scatter files from jiayu, elephone, umi, iocean, and ulephone, (a lot of ROMs to download for just a stupid scatter file) and they were. All near identical. Sizes and start positions moved around a bit. But since the partition table is built off of the scatter file (I am guessing here... I don't really know), I don't envision any custom partitions. Maybe on a lenovo rom. I know you ran into that on the mt6595 based phone. But since all I have is a Jiayu S3, unless I get lots of feedback, there isn't much I can do for custom partitions.
[Android Software/Hacking General [Developers Only]] bigrammy:
Great script bro :highfive:

I will test it tomorrow evening (UK Time) ;)

This tool along with the SPflashtool for Linux has just made my life a bit simpler and I like that :good:

I was reading the script and noticed the tool check so I checked my system and I was missing pipeview just incase anyone else is on ubuntu/Zorin9

To get it

sudo apt-get install pv

I agree with [MENTION=4478781]yuweng[/MENTION] you should start a thread for this it is more than deserving of a dedicated thread.

Thanks Again.... :cool:

PS: I have the Elephone p6000 mt6732 and Umi Hammer mt6732
[Android Software/Hacking General [Developers Only]] yuweng:
For starter, attach are some of the scatter.txt that i found on the net... :)

i'm actually more interested in syserr's method of splitting the ROM_0 on MTK armv8, it works on cygwin too with patching of bc.exe on my old MT6577... :cowboy:

RD codeworkx share alot of his work, who knows may be later your script can evolve into a native linux app... :cool:

End of OT... :o