yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] btiu:
LOL Thanks for pointing that out! :D So that's why so many scripts and recovery images didn't work on my phone....

Found this for Spreadtrum cpus http://xdaforums.com/showthread.php?p=52202619

I wonder how they managed to make windows 7 device manager think it's a MTK6517 haha

I was also wondering. Since it's not a real MTK, then probably I shouldn't be using MTK Droid tools and SP Flash tool. So if I want to flash a new recovery image, I can just do this right? :

1) open terminal emulator

2) su

flash_image recovery /sdcard/recovery.img

right? credit to adnroidisthefuture http://xdaforums.com/showthread.php?t=2003080

But I dont know if this is actually one correct legit way to flash new recovery image. especially for my case. I know flash_image exists in my /system/bin btw...
[Android Software/Hacking General [Developers Only]] syserr:
One thing to keep in mind independent of any backup software...

There are partitions on MTK devices, some important ones are: ANDROID, USRDATA, NVRAM, and sometimes FAT.

ANDROID contains the system and is mount as / (read-only by default)

USRDATA contains your apps you install and other stuff on /data

FAT (on older devices) contains a fake/internal "sdcard partition" and is mounted usually as /sdcard

NVRAM contains device configuration data including IMEI, WIFI MAC, LCD brightness stuff, GPS stuff and is NOT MOUNTED, read, or changed directly by the filesystem.

If a bad guy got their hands on your USRDATA partition, that would be bad. This is where your google account, Wifi key, etc are!

If they got your FAT... we'll that would be mostly pictures and music, right? Equivalent of taking your SDCARD.

If they got your NVRAM... they could clone your IMEI and WIFI MAC, but really isn't very worrisome other than that.

/data/nvram is a lie. Mediatek has weird closed ways they synchronize NVRAM with the files that sit in /data/nvram. It's good for most of us that /data/nvram pretty much overrides any values in NVRAM. This way noobs (me included once) that blow away their NVRAM partition can recover /data/nvram and have a working system. Replacing /data/nvram with a friend's backup even works, right? But, if you ever "factory reset" your device, then USRDATA (/data) is wiped clean. Your NVRAM partition is usually used by MediaTek's first boot after factory reset to create /data/nvram, but if NVRAM is gone it has no source to create it. In that case, you have to restore a /data/nvram.
[Android Software/Hacking General [Developers Only]] iZLeeP:
Nice explanation on NVRAM region and /data/nvram.:good:
[Android Software/Hacking General [Developers Only]] syserr:
Thanks...:good:

I probably have 10-20 hours into SPFTing in a variety of different NVRAM configurations. The most interesting came when watching a clean boot (data wiped, and NVRAM partition zeroed-out). Not only do you get a "limp mode" /data/nvram created on first boot, you can also watch it with "adb logcat" ... At one point I had hopes of creating NVRAM partitions from user parameters. But, MediaTek changed the block sizes of records in the NVRAM partition, I think between ICS and JB. I decided there probably would be no end to the chase.

I applaud rua1. Adjusting for MediaTek's design changes is a tough job.
[Android Software/Hacking General [Developers Only]] iZLeeP:
I do have a general understanding of how the NVRAM region differs from the /data/nvram as I often format whole flash (sometimes including nvram region) in SPFT and restore nvram.bin or do a hardwrite/softwrite of IMEI. But you detailed it out and now I have a better understanding of how it works. Really appreciate it when people like you and rua1 and others out there tinker with their device at their own expense for the benefit of others.
[Android Software/Hacking General [Developers Only]] bovirus:
Your request is OT about this thread.

Your device is not rooted and you need root and su command (but the discussion is OT regarding this thread).

You should use a root program as vroot/rootgenius/etc to root your device.

Then serach on internet su for arm to flash it vai recovery.
[Android Software/Hacking General [Developers Only]] sverza:
I don't think so, 'cause I'm not asking help about how to root the device but I'm asking if the process (and various steps/messages) I've followed to have the DUMP OF THE STOCK ROM WITHOUT ROOTING THE DEVICE is correct
[Android Software/Hacking General [Developers Only]] mite_jan:
hi

can someone help me with the CWM recovery

i think that when i flash the new CWM recovery which is bigger than the stock recovery is overwriting over the blocks

the recovery

start address is 0x00000000027a0000

end address is 0x0000000002ccc7ff

my newly created CWM through MTK droid tools takes 5.63 mb

will it fit in that space ?

my calculation tells me that the recovery space is 5.17 mb if i calculated it correctly

if this is true how can i make the CWM smaller
[Android Software/Hacking General [Developers Only]] bovirus:
OT request. Pelase search in a recovery thread.

Note: tre space for recovery it's about 6.3 MB.
[Android Software/Hacking General [Developers Only]] oscarblue48:
I make the space you have for recovery 5mb, this is normally 6mb, so no it won't fit.

You can make the cwm smaller by doing the following , download templcwm_mini.7z , here unpack it and you'll find inside the file templcwm, now go to your mtkdroid tools folder, go to 'files' and replace the templcwm file in there with the one you have downloaded.

then go ahead and make cwm automatically with the program. It will make it smaller, but not sure by how much.

I found this info on [MENTION=5119815]rua1[/MENTION] 's russian thread which is here which you can translate in chrome browser
[Android Software/Hacking General [Developers Only]] mite_jan:
thanks a lot for the help bro but i figure out that i had 10mb in the recovery partition

the start and end address i provided was from the scatter file which was the stock recovery size but not the actual partition size
[Android Software/Hacking General [Developers Only]] oscarblue48:
Hi [MENTION=786079]sverza[/MENTION] , I'll try to answer your questions,

1)Its most likely that the chip in your device is mt6589, many manufacturers use different soc numbers sometimes to make the device seem a higher spec. should not be a problem.

2)Yes if you use the address of your Cache block, you are in effect creating a rom, including all the blocks up to (but not including) Cache.

The Cache and userdata blocks include some of your personal information, if you wanted to include those blocks too then you could set the address to the beginning of the block _nodl_bmtpool.

3)I have come accross this error before and I understand that it's not critical, you should be able to proceed.

4)Yes non modified is the factory recovery and the other is the cwm made by the tool, during the process of making cwm, it is necessary for the tool to patch the boot image and so you have 2 boot images 1 not patched (to go with your non modified recovery) and the patched one which when flashed along with cwm recovery makes it possible to obtain root(install su)

Hope this helps
[Android Software/Hacking General [Developers Only]] bovirus:
Is there a way using MTKDroid files in batch mode (without GUI) to patch (without connect the phone) existing file

boot,img

recovery.img

(that I can extract forim ROM image file) to enbale permant root (boot.img patch) and enable full recovery (recovery.img)?

I want to patch some fiels extracted by ROM fimrware without to have the relative phones.

Thanks.
[Android Software/Hacking General [Developers Only]] bigrammy:
Touch Screen Problems

Hi [MENTION=5119815]rua1[/MENTION]

Totally awesome tool and many thanks for your work :highfive:

I think there maybe a problem restoring some devices after a bad/incorrect firmware flash with SPFlashtool. :confused:

Maybe this tool could possibly need to backup some other areas of the rom :confused:

It seems there are quite a few people me included that are unable to restore their touch screen and in my case the air gesture sensor's too :(

So far it seems to affect people with mt6589 phone's mine is an HDC S4 Legend II (2)

I have tried everything I can think of but it seems the kernel does not restore the touch screen and the touch is upside down or inverted.

With SPFlashtool

I have done a full format of the flash. Result = No Change

I have formated nvram region. Result = No Change

Using Androidcommander.

I have tried to delete /sys/module/tpd_setting/parameters. Result = Unable to delete or modify these. :(

Protect_f and Protect_s contents deleted. Result = Success Kernel restored them after reboot :)

Using apps navigating with the androidcommander tool. App's Root explorer, Mobileuncle touchcal.apk.

Again tried to delete sys/module/tpd_setting/parameters. Result = Unable to delete or modify (Fully Rooted)

Mobileuncle Result = No Change

touchcal Result = No Change

My theory is that after a bad flash there seems to be an area of the rom containing the touch files and possibly other file's that would normally be overwrote by the kernel and are not getting overwrote :confused: (This is just a theory I could be talking out of my a**** :laugh: )

Has anyone any ideas how to overcome this problem. :eek:

My brain is now scrambled has I have flashed every rom possible and nothing seems to make a difference
[Android Software/Hacking General [Developers Only]] sverza:
many thanks, now it's clearer.

So, speaking about the PMT issue (point 3), (if I have inderstood correctly) I'll use one scater file or the other one in case I have some error during the flash using SPFT, right?

Thanks again
[Android Software/Hacking General [Developers Only]] soralz:
Hi guys, last time I tried MTKDroidTools and it was a very powerful utility to backup my Lenovo P780 (MT6589). And now I am thinking to buy another Lenovo A850+ (Octa MT6592). May I ask does MTKDroidTools able to make backup for this phone? / Supports newer version of Octa cores? Thanks.
[Android Software/Hacking General [Developers Only]] Vonnegut:
Yes

http://xdaforums.com/showpost.php?p=49597819&postcount=922
[Android Software/Hacking General [Developers Only]] soralz:
Thanks, the tool I used for my P780 is ver 2.4.8. I will use this from now on. :good:
[Android Software/Hacking General [Developers Only]] genialmaniac:
Indeed, "at your own risk" trojan detected.... Thanks a lot

[EDIT]

by the way, I deleted the threat and and soft is working anyway. Not nice to include such things...

[/EDIT]

explained below, thanks
[Android Software/Hacking General [Developers Only]] oscarblue48:
As explained many times in this thread, MtkDroid tools and nearly all other rooting software contains exploits which are necessary for rooting your device, they are not harmul trojans, but may be detected as such by your antivirus software, just temporarily disable your antivirus software before downloading. [MENTION=5119815]rua1[/MENTION] developed this tool for our benefit and has spent many hours improving and updating this tool which is free for you to download, please check your facts before making such accusations.
[Android Software/Hacking General [Developers Only]] Vonnegut:
Yeah, they always come up yelling "it's a trojan!" :laugh:

Like the antivirus can tell between a good exploit and a bad one!
[Android Software/Hacking General [Developers Only]] magnusPI:
Still on porting to other OS

When you write you use Win API, do you refer to the graphical ones?

Just wondering because if so the easiest way to make everything OS independent would be to use PyQT for example.

Thanks anyhow for the tool.
[Android Software/Hacking General [Developers Only]] beejmeister:
BRICK? Sure hope not. I was on step 6 "Read Back ROM" and was about 50% had been done... and the Umeox x201 (Omate TrueSmart) USB cable became disconnected!

The power on button now doesn't turn it on. And it is not recognized by my computer anymore.

HELP! (please)

UPDATE: NEVERMIND! I did a battery pull (a pain in the butt with the 4 itty bitty screws) and it booted right up.

Must. Be. More. Careful.
[Android Software/Hacking General [Developers Only]] santiagoruel13:
mt6582

can this be used Cherry MOBile FUZE? mt6582???
[Android Software/Hacking General [Developers Only]] mrvlhs:
Hello everyone,

I just rooted my Alcatel One Touch Pop C7 7041X using this guide and then followed this one to make the backup but I can't seem to get MKTDroid Tools to open the Root interface. When I click the Root button it starts showing a green progress bar that fills maybe 1/10th and then dissappears. It does recognize the phone though. Can anyone help? Thank you
[Android Software/Hacking General [Developers Only]] oscarblue48:
Have you checked your phone screen after pressing the root button? you may have to grant superuser permission on your device before you can proceed, also check if you have busybox installed.
[Android Software/Hacking General [Developers Only]] mrvlhs:
Thanks for the reply. Kinguser is automatically allowing access to "ADB Program" and I installed busybox as the guide mentioned. I do have trouble installing pdanet wifi tether but the drivers are installed and working, I rooted my phone after all and there is no unknown device in thevice manager.
[Android Software/Hacking General [Developers Only]] oscarblue48:
Ah I don't know if the program will work if you have rooted with Kinguser, I'm not familiar with that method, but I know that Mtkdroid tools searches for supersu or superuser, what colour is the box at the bottom of the droid tool window, is there any error message displayed?
[Android Software/Hacking General [Developers Only]] mrvlhs:
I gave you a link to the tutorial I used for rooting. I can install superuser instead if you think that it will make a difference, but my guess is it shouldnt. The box is yellow and remains yellow at all times.
[Android Software/Hacking General [Developers Only]] oscarblue48:
I guess if the program could not detect supersu, and that was critical then that would throw up an error message, if there's no error message then maybe thats not the problem. Perhaps you could post your log.txt file from the droid tools folder, that might give a clue.
[Android Software/Hacking General [Developers Only]] mrvlhs:
I have no ideia why but it's working now. Maybe because I rebooted my computer since yesterday? *facepalm*... Maybe that was necessary... thank you for being so helpful, I made sure to click thanks on your posts ;)
[Android Software/Hacking General [Developers Only]] mrvlhs:
Well the version 2.5.3 doesn't seem to allow me to have the options "backup userdata and cache" or "leave flashtool files on sd card" like in the picture here.

I got root access and made a backup but I don't know if it backed up user data and cache and if it left flashtool files on the sd card. If I search for userdata inside the backup folder (and all downwards folders) I find the file "userdata_nvram_only.tar" (3.62mb) and if I search for cache I don't get results besides a file called "platform.xml" (10.4kb) that contains the word cache inside. Still, on the log file there are several references to userdata and cache, so how can I know if no personal files were backed up? After being rooted can I open android definitions, reset factory settings and then make the backup just to be safe? Here you can find my log.

At the end it asked me if I wanted to pack, I clicked yes and it started creating a zip but the operation failed. Was it just creating a regular zip file, meaning that I can do it myself or do I need to be careful and choose certain settings doing it?
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi bro,

According to the log text I think you ran out of space on the sdcard :crying:

You should still have the userdata backed up in the CWM back.zip at this location on your PC or hard drive this is the full path to the .zip

It's safe to share most of your .img files for SPflashtool. If you just push the button To prepare blocks for flashtool on the

Tab it will place all the commonly needed files for sharing into one folder and make a scatter file for you to use my version does not place any private data in that folder such as the nvram. userdata or cache ;)

EDIT: I would advice you use this very good mt6582 specific TUT here get-stock-rom-romdump-mediatek-mt6582-via-mtk-droid-root-tools/ ;)

You may also need to check this info here mt6572-using-spft-mtk-droid-root-tools/ due to the fact that you seem to have CUSTPACK partitions
[Android Software/Hacking General [Developers Only]] mrvlhs:
Funny thing, I still had 8GB free on my SD card. Thanks for all the information, I'll be sure to read those tomorrow. I throwed away the zip into the trashbin but I recovered it. I have just ran the backup and packed it, I clicked nothing else. Is it worth keeping the zip, will it be useful in that format or will I have to unpack it to use? Thanks for your elaborate answer, I really appreciate it.
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi [MENTION=4557864]mrvlhs[/MENTION]

Your backup .zip is probably on your internal SD card "sdcard0" so have a look there for a folder called "clockworkmod" ;)

If your phone has turned over most of the internal SDcard to the "System for app's and data" you may only have a couple of gb spare and Some of these backups can be well in excess of 1gb add a few songs and photos and before you know it your out of space on the internal card. :eek:

If I was you I would just start afresh and follow the TUT's above. Make your unsecured boot.img and the clockworkmod (CWM) recovery.img as described in the TUT's. When you have done this you can then get full and proper root and then use the custom CWM recovery to make backups to your external SD card flash custom roms etc.

Pretty much Everything can be done with this awesome MTK Droid Root & Tools and SPflashtool there is really no need for anything else.

This is an old tool but it's still useful for browsing your system files via the PC once rooted. Android Commander Here please give thanks to the OP and incase the original link is still down here is Download Mirror link :good:
[Android Software/Hacking General [Developers Only]] shahzz85:
Alcatel 4010x backup

Hi all..i have alcatel 4010x..i try to backup via mtk droid tool..task end completly..but when i try tu flash via sp flash tool,it look not complete..as per attached...it dont have custpack,cache and mobile info...what actually was wrong?..tq
[Android Software/Hacking General [Developers Only]] idbl_fanatic:
So ummm, I did this, and the recovery is upside down?? Everything is fine other than that
[Android Software/Hacking General [Developers Only]] oscarblue48:
I've heard of this happening a couple of times, afraid I don't know how to correct that easily, what you could try is porting Carliv's touch recovery to your phone, details here using yuweng's automated porting tool as mentioned in the instructions, during the process the tool asks if the screen is flipped, you would click yes and hopefully the new recovery would be installed the right way up. Ctr doesn't work for all phones but is worth a try, also you may need mtkdroid tools running in the background in order to achieve root shell.
[Android Software/Hacking General [Developers Only]] searcher12:
anyone has Oppo R821 firmware which flashed via SPFlashTools?

my device is bricked :(
[Android Software/Hacking General [Developers Only]] yuweng:
Bro, you are at the wrong thread . . .

Thanks to Master Shifu Alex AKA rua1 at that time, he still haven't started any thread post here on XDA but i was force to close the unbrick thread b'cos from page 60 onwards its all request for Factory ROM & not unbricking it . . .

Still i get many pms on unbricking so i made an updated unbrick pdf hopefully this will give MTK users some ideas on how-to unbrick theirs, where to get their Factory ROM & many infos & links so read it all . . . :cowboy:

Fyi, many has manage to unbrick theirs by reading the pdf BUT pls don't trash this thread asking anymore unbrick procedure or Factory ROM simply b'cos this thread is about using MTK Droid Root & Tools ONLY . . . :cool:

Hmm, just checked the pdf video link seems broken . . . :o

For generic reference

Dismantling MTKs

Identifying Testpoint <- Switch on your PC speakers !
[Android Software/Hacking General [Developers Only]] pratikmore:
Try to download firmware from oppo official website
[Android Software/Hacking General [Developers Only]] bovirus:
#rua1

The MobileUncleTools/SuperSU provided with MTKDroitOosl (to include it in system) are not updated.

The exlusion list (etxt fiel) contains remark in russioan. I transleted it into english.

I will post the updates (MobielUncleTools/SuperSU) and exclusion list (english to update MTKDroidTools.
[Android Software/Hacking General [Developers Only]] subhashdas:
using the mtkdroid tool i am able to build CWM 5.5 recovery, how can i compile the latest CWM with kitkat support using the mtkdroid tool???

please reply.....

thanks in advance.
[Android Software/Hacking General [Developers Only]] bgcngm:
You can't. The tool only repacks CWM recovery version using your device's kernel and an internal ramdisk (containing that old version). I believe that you can even provide a newer recovery image, but you would have to find out one.
[Android Software/Hacking General [Developers Only]] bovirus:
Please post the request about CWM compilation in the specifc thread. Here is OT.

This thread it's about only MTKDroid (not about compilation).
[Android Software/Hacking General [Developers Only]] spiderman1961:
Please could you post here your compiled CWM 5.5? Thanks

Inviato dal mio GT-I9195 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] subhashdas:
here is the recovery i compiled using this tool.

please help me compile the latest cwm recovery for my device, having kitkat flash support..
[Android Software/Hacking General [Developers Only]] bovirus:
subhashdas/spiderman1961

Please take care that you are OT (OffTopics).

This thread is about ONLY to MTKDroid. This thread is not about CWM compilation.

Please serch the right thread (not here) about CWM compilation.
[Android Software/Hacking General [Developers Only]] IcemanSR:
2.5.3 is missing "backup user data and cache" option on right side of backup button?

i see it in older 2.4.4 but not in 2.5.3
[Android Software/Hacking General [Developers Only]] bovirus:
Backup data contain personal data.

For this reason in the last versions is not included the feature of backup userdata.

You should make a backup of the ROM. Not about the data, For that you should use app like Titanium backup.
[Android Software/Hacking General [Developers Only]] IcemanSR:
That's really not an answer is it?

An already existing feature now don't exist.

And clearly you have absolutely NO idea why i said what i said.

There is specific NEED for those 2 dumped !

If you don't know Why ,that's Your loss !

But don't go around giving such nonsense advices

---

Anyway i will just use older version.
[Android Software/Hacking General [Developers Only]] bovirus:
Read carefully my previous answer.

In the previuous MTKDroid version if you made a backup of your phone, it contained also your personal data (ex. IMEI).

For this reason (privacy) the next reelases don't make the backup of user data (to make a backup of your user data you should use Android app like Titanium backup).

The current and futuire version I believe that will not make a backup of user data.

You should use an empty userdata / cache image file

Cache and userdata image empty

[MENTION=5119815]rua1[/MENTION]

Please include in next realease if you can as default an empty userdata.img/cache.img to have a clean working Falshtool file image.

Please update the CWM recovery (now 5.5.0.4) with more updated CWM. pelase take care about the Carliv non tocuh recovery (1.4) that I believe could be teh right replace for current CWM 5.5.0.4.

I will post later a customized (by me) version of MTKDroid (2.5.3 r2).

Changes

- adb tool 19.0.2 (Updated for W7/W8)

- mobileuncletool/root explorer/suersu apk updated

- fiels-for-delete.txt with comment in english (now are in russian)

MTKDroid 2.5.3 (r2)