yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Alex1948:
Start adress and Lenght

Dear Mr [MENTION=5119815]rua1[/MENTION]

I understand :

0x00600000 – preloader size

0x3c3c00000 +

0x00600000 =

0x3c9c00000 – CACHE from scatter file(lenght block for Read Back[ROM_0]).And Start adress is : 0x00000000) ???

But if you want to do backup bootimg, recovery.img and android(system.img) , respectively ROM_0 , ROM_1 , ROM_2 with Read Back.

In MY Case, this is: (In Block Maps -->Block Info scatter file)

bootimg: 0002380000 size: 0000600000 Start adress is : 0x02380000 Lenght is : 0x00600000(8 digits after 0x)

recovery: 0002980000 size: 0000600000 Start adress is : 0x02980000 Lenght is : 0x00600000(8 digits after 0x)

Android: 00045c0000 size: 0038400000 Start adress is : 0x045c0000 Lenght is : 0x38400000(8 digits after 0x)

Is that correct?

See Block devices info and log.txt

Tks - My dev.is MT6572
[Android Software/Hacking General [Developers Only]] chinarabbit:
I would like to know if we can port MT8389 Mini tablet roms to a mt6572 phone device

I love my MT8389 Mini Tablet ROM, its kicks butt, and its just the best ROM ever.. has everything working perfectly.

I want to install it on my phone, even though my phone has 1/4 of the ram and is only dual core

-
[Android Software/Hacking General [Developers Only]] Alex1948:
ROM port

No , No , No.It is a different rom, kernel etc.Risk to brick phone.
[Android Software/Hacking General [Developers Only]] syserr:
Re-partition Tool for MTK (making, not requesting)

I'm making a tool that will take an original scatter file, MBR, EBR1, EBR2 and validate they are correct/matchup, then allow you to resize a few partitions. The result will be a new scatter file and new MBR, EBR1, EBR2. It's won't do anything more for you. It will warn you about partitions you were shrinking.

Basically it will do all the painful math and offsets.

It will be open source and in python.

(python is not really my language but seems good for this purpose)
[Android Software/Hacking General [Developers Only]] Shrihari007:
download link not working..plz help
[Android Software/Hacking General [Developers Only]] bgcngm:
Download link is working here. Try again.
[Android Software/Hacking General [Developers Only]] Alex1948:
It would be a great job.Congratulations.We.
[Android Software/Hacking General [Developers Only]] rua1:
It is possible to make a brick

ATTENTION! It is possible to make a brick of phones !!! ​

if bootloader is locked (it is used on some brands such as Sony, Motorola, Asus, LG ...) look here

in case of non-standard splitting a nand type flash on page/spare it is solved in v2.5.1

The program does images of yaffs2 blocks with a standard ratio 2048/64. Other ratios of page/spare are non-standard and the program yet doesn't do the correct backup of such blocks!

How to learn page/spare ratio:

most reliable of a log BROM_DLL_V5.log from FlashTool. We look for there the line "nand_pagesize (". In it there will be a page value, in the following spare

page value can be learned having collected in a terminal window

adb shell cat /proc/yaffs

in the lines totalBytesPerChunk there will be a page value. Spare isn't known

indirectly from log.txt program or from the firmware.info file made during a backup. There will be lines approximately such

mtd11: 0c800000 00020000 "system"

value 00020000 in the 3rd column (erasesize) as a rule corresponds to 2048 page value. If there 00040000, page most likely 4096. And spare isn't known

If page = 4096 that as a rule spare =128. If FlashTool shows spare=224, it is necessary to try value 128. From a backup made by the program, under Linux it is possible to rebuild yaffs2 files for non-standard a flash by means of yaffs2utils.

How to rebuild image for 4096/128 nand:

Download package 0.2.9, untar and make.

sudo mkdir system
sudo ./unyaffs2 --yaffs-ecclayout system.yaffs2.img system
sudo ./mkyaffs2 --yaffs-ecclayout -p 4096 -s 128 system system.img

on phones with ubifs file system (while meets on some MT6572). Partially solved in version 2.5.2.e

Select Blocks Map in the program and look at the Type field opposite to block "system". If in this field it is written "ubifs", or it field is empty, you got ;) .

That it is possible to do with such phone in the program:

make scatter file

get root, install SU, delete unnecessary software

make a backup, but blocks except ubifs will be suitable

That it is impossible:

make CWM, it needs to be done with ubifs support

write boot through the program, it kills phone (while it is unclear why)

Download ubifs blocks from a program backup through FlashTool, it will kill a phone
[Android Software/Hacking General [Developers Only]] Alex1948:
Apply only on phones with ubifs file system (while meets on MT6572) ???

or and yaffs2 ???

---------- Post added at 02:23 PM ---------- Previous post was at 02:16 PM ----------

Do not have time to answer me a few questions, vs MTKdroid !!!!

I attached and log file , from MTKdroid

Anyway, you're great Gatsby (an old American movie) in this soft , MTKDroid

Congratulations for all you do for us
[Android Software/Hacking General [Developers Only]] bgcngm:
Do you really need to make all those quotes? If you want to call someone to attention you can simply use mention (@ followed by username).
[Android Software/Hacking General [Developers Only]] Alex1948:
????????????????

Do not understand what you mean you if you refer to my post.Mind you?

As a chicken in front of a @, or not, the questions remain the same.What is problems ?

From what I remember, I know you did not ask for any advice !!!???

I put the fly in milk.(romanian proverb)Do you know anything about mt6572 , chipset ?
[Android Software/Hacking General [Developers Only]] rua1:
@Alex1948 be not nervous ;), I corrected the phrase to "while meets on some MT6572" ... or you found ubifs type block on the phone?
[Android Software/Hacking General [Developers Only]] Alex1948:
With congratulations to rua1

Dear Mr [MENTION=5119815]rua1[/MENTION] , I understand and thank for your wonderful software.

I have a few questions, and if you have time and kindness to answer me.

And my request is to explain what it means ubifis type block on phone - Many do not understand.
[Android Software/Hacking General [Developers Only]] PackMan123:
[MENTION=5119815]rua1[/MENTION] I have protect_f.ext4.tar and protect_s.ext4.tar inside my backup folder but when I create !files to flash, those files are missing. If I try to flash those files by manually choosing those files in SP tools, the flashing process gets stuck. Any solution to the problem? BTW I can open those tar files.
[Android Software/Hacking General [Developers Only]] cire27rn:
hmm

I have a phone which is MT6589T running @ 1.5ghz quad core. Is it safe to root and install CWM by using this process? SOry for the noob question. TIA :)
[Android Software/Hacking General [Developers Only]] Adriano-A3:
Help!

How unlock mediateks device's bootloader?

I've a Motorola that uses mt6577 processor (RAZR D3).

Can someone help me?
[Android Software/Hacking General [Developers Only]] oscarblue48:
[MENTION=5017692]cire27rn[/MENTION] I installed cwm on my mt6589t with no problems with this tool, my device came already rooted so can't verify the rooting method, but can see no reason why it wouldn't work.

[MENTION=5407739]Adriano-A3[/MENTION] I don't know if this applies to your device.... Droid RAZR General > HOW TO UNLOCK THE BOOTLOADER
[Android Software/Hacking General [Developers Only]] elvis56:
Worked fine on Imobile mt6589t device.
[Android Software/Hacking General [Developers Only]] rua1:
@PackMan123 You have nodl_protect_s.ext4.img file? *.tar files not for FT.
[Android Software/Hacking General [Developers Only]] ravvio:
LInk not working

Please help me with the link to download MTK Droid Tools as the link posted in OP is not working :good::good:
[Android Software/Hacking General [Developers Only]] oscarblue48:
Apologies [MENTION=5119815]rua1[/MENTION] I did not see that request.
[Android Software/Hacking General [Developers Only]] rua1:
@oscarblue48 I had a request not to change original url . Everything works, only it is necessary to wait 30 seconds
[Android Software/Hacking General [Developers Only]] 1rnst:
Have tried several times and when download has reached 99% a question appears that the file needs admin rights to copy the

file.

I use Win 7.

How can I download the file? Do You have another place that works ?

Also my antivirus program detected a trojan in an earlier version of the tool and v2.30 also had a virus.

Can You explain why ?

I have tried to use v.2.30 and when I click on root the message appears that the phone will be completely restored, what does this mean ?

Do I have to use readback and make cwm before root ?

I have read description, but need a bit explanation on this.
[Android Software/Hacking General [Developers Only]] Adriano-A3:
No, it don't, man.

Some idea?

It's a MTK device. May there some method to do this, unlock the boot loader. I never didn't see any method.
[Android Software/Hacking General [Developers Only]] _ossie_:
That would seem to indicate a problem local to your Win7 installation, not with the file itself. Choose a download folder to which you have write access.

Most rooting tools etc. are classified as malware by mainstream anti-malware programs. Just turn off your anti-virus while you download and install, or set them to ignore temporarily.
[Android Software/Hacking General [Developers Only]] PackMan123:
[MENTION=5119815]rua1[/MENTION] No, the backup that MTK Droid Tools made has ".tar" files. When I create "!files to flash", protect_f, and protect_s files are missing. Although phone works perfectly without flashing those two files.

My phone has mt6572 SOC and scatter file I've got from other sources are in different format than what MTK droid tools creates. Is it because mt6572 is not supported?
[Android Software/Hacking General [Developers Only]] dogmatism:
feeling noobish around here.

I have an mtk6575 phone a samsung mega clone 2sim phone. Its guesture locked... Though debugging mode is on I cannot remove lock via tools or adb commands as it deny permission. .. I.e. root rew required. .. Any help?
[Android Software/Hacking General [Developers Only]] HelmetDoe:
Hey I got a clone iphone.

Anyways. I got it and it booted to this iphone like os, but then instantly reboots. some times it shows the lock screen thats all.

I can't use the ADB function because well i cant get to it

So i got to use the recovery usb mode...

I can't figure out how to start it. tryed all the buttions just the home buttion and power. home buttion while off and then plug in usb.

So I opened the phone up. First thing I see. No actual storage chip but an empty sd slot plus a place to put the sim.

Oh and the bat is sottered to the board. (well I axcedently broke off the black wire..)

oh still I can't figure out its recovery mode.
[Android Software/Hacking General [Developers Only]] dyulay:
can you make a screenshot of your backup files? I still can't flash my mt6572 device with spft. Did you use that scatter file you posted on flashing? it is different from the one created by mtk droid tools.
[Android Software/Hacking General [Developers Only]] ravvio:
Root Option

As soon as i connect my mtk powered phone the MTK Droid tools prompted the attached image... It shows yellow down at the bottom and also gives an option to Root.. Can some one please confirm if i am good to root this phone (CROMA) after having a look at the image attached
[Android Software/Hacking General [Developers Only]] PackMan123:
No, the scatter is from factory ROM for ZLR S4 mini clone. I used the scatter file created by MTK droid tools but had to mess around with it a bit to work with SPFT. What error message does SPFT give?
[Android Software/Hacking General [Developers Only]] syserr:
From what I understand, you are trying to boot into Recovery, but don't know how to trigger it?

You should try PowerOn 4sec, release, hold VolUp & VolDown. The rest, I don't think anyone can help you with. You would be lucky if the stock Recovery had ADB support.

If you get an SPFT ROM, you can use MediaTek's SP Flash Tool to reflash it and potentially a custom recovery image.
[Android Software/Hacking General [Developers Only]] dyulay:
Using scatter file made by droidtools, whe i try to flash preloader and cache is unchecked.
[Android Software/Hacking General [Developers Only]] ravvio:
I was able to Push Super SU and other root required apps with the hlep of this tool thanks a ton.. Can some one guide how can i take a backup of my stock rom ?
[Android Software/Hacking General [Developers Only]] ravvio:
I think reading helps and i used the backup option under recovery tab of MTK tools and it went nicely but is stuk\ck on the last step of creating systemimg4

I was unsure about the time it takes to backup ..it takese around 10-15 mins to backup the Stock ROM. i am done with thanks a ton
[Android Software/Hacking General [Developers Only]] andynroid:
OOT try VRoot an apps can unlock it and roots it too
[Android Software/Hacking General [Developers Only]] syserr:
Re-partitioning MTK

I'm just now cleaning up my re-partitioning tool. Wow, whenever I think I've figured something out, I get a surprise. I spent several hours narrowing this one down.

Has anyone else experienced this? Or have contradicting data -- a USRDATA partition that is larger than 2.01GB? (on MTK's Android 4.0.3)

If the USRDATA partition (aka /data) gets a bit over 2GB the tablet fails to boot fulling. On a well rooted ROM a person can run ADB shell and then run dmesg during power up.

dmesg contains:

So the NVRAM syncing with /data/nvram gets all messed up if that partition is very large.
[Android Software/Hacking General [Developers Only]] ryukisai:
Recovery sdcard mount point problem

Hi guys,

Thanks to the devs for bringing this great tool for chinese phones !

I have a question about a TCL s820 (MT6577) phone.

I successfully flashed the modified CMW recovery to the phone, but when i boot to recovery, i am unable to mount sdcard.

Thus i cannot flash any zip neither do any backup.

So i guess the mount point of the internal sdcard is wrong (there is no external sdcard on this phone).

The recovery version number is 5.5.0.4 for TCL S820.

Is there anything i can do about it ?

Thanks in advance for your tips and ideas !

<edit>I managed to backup and root with rua1's tool, but i can't flash zips neither backup in the recovery !</edit>
[Android Software/Hacking General [Developers Only]] PackMan123:
What ROM are you trying to flash?

I think you are trying to flash backup ROM created by MTK droid tools. You can't directly flash those files. If that is the case then you need to use "to prepare blocks for flash tools" option in MTK droid tools.

OR

Maybe the preloader and cache files doesn't exist in the ROM folder.

There is no need to flash cache file. AND YOU SHOULD NEVER FLASH PRELOADER, NEVER EVER. So, keeping it unchecked is a good idea.

If you want to flash other ROMS, then make sure you have full backup of your ROM and flash only "System.img".
[Android Software/Hacking General [Developers Only]] dyulay:
here is one of the errors. see my attached image
[Android Software/Hacking General [Developers Only]] PackMan123:
When I first tried to flash my mtk6572 I got the same error. To solve it you need to open the SP tool logs and search for the line that says "ERROR". Then you need to see what mismatch has occured. For example - nodl_NVRAM expected NVRAM etc etc and edit your scatter as in -- if your scatter file has nodl_NVRAM edit it to the expected value i.e. NVRAM only. Then save.

Can you attach your scatter file and a screenshot of your ROM folder? :)
[Android Software/Hacking General [Developers Only]] Alex1948:
Root shell

Dear mr [MENTION=5119815]rua1[/MENTION]

On my phone superuser is installed and CWM recovery v5.5.0.4(with MTKDroid)

When I connect my phone , connection indicator in bottom left corner of program has green color and write A5_DUO(root shell).

This means that we have permanently root shell ???

1. How waived root shell and CWM ??? Flash with SPFT only (original boot.img and recovery.img - the saved with backup) ?

2 .” 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” . It may take last address of scatter file - 0xffff00a8 – bmtpool ? What happens ?

see image
[Android Software/Hacking General [Developers Only]] dyulay:
screenshot and scatter file mt6572

here it is. :)
[Android Software/Hacking General [Developers Only]] Alex1948:
IFiles_To_FlashTool

Read carefully what it says @ rua1.

Do you have a file , files.md5.Open it - see image , and more....
[Android Software/Hacking General [Developers Only]] rua1:
@Alex1948

1. yes

2. no , BMTPOOL is not address. Use FAT adress if there is a lot of place and time, for unbrick for it is enough to use CACHE address ... at me it is noted
[Android Software/Hacking General [Developers Only]] dyulay:
[MENTION=5479864]PackMan123[/MENTION]

I now know where it went wrong. I finally got my flashing files.

Just one more thing, is it important to flash cache,userdata,userdata_nvram_only? Userdata alone is almost 2gb in size. Sorry for my noob question, I intend to share my flashing files to someone who has the same phone as me. He badly needs it. thanks for the response by the way. :good:
[Android Software/Hacking General [Developers Only]] Alex1948:
OK , I understand and Thank You.But Fat adress can use , respectively 0xc81c0000 - See the image above. Start adress = 0x00000000 ,. Lenght = 0xc81c0000.

Or stay in the cache adress , respectively 0x3c9c0000.What is better ?

A bother you with some questions when you have time to answer me.
[Android Software/Hacking General [Developers Only]] HelmetDoe:
Where do I find the SPFT ROM for my clone iphone 4? I dont have one and google dosent give me anything of value
[Android Software/Hacking General [Developers Only]] dilov91:
CWM on mt6572

[MENTION=5119815]rua1[/MENTION] thanks for the tools, I succesfully make CWM for my OPPO Find Muse R821 (mt6572) without any major issue, but I have one question, how to make scatter file for mt6572? Coz I can't click the make scatter button
[Android Software/Hacking General [Developers Only]] PackMan123:
No need to flash those files. In fact you should never flash the files you mentioned that came from your phone to other's phone.

This is what you should do :

1. Factory reset and clear cache from recovery.

2. Flash only system.img from SPFT.

And you should be good to go :D

---------- Post added at 05:20 PM ---------- Previous post was at 05:17 PM ----------

You will find the ROM here.

http://www.needrom.com/

---------- Post added at 05:22 PM ---------- Previous post was at 05:20 PM ----------

Use the "scatter from file" option in MTK Droid tools,
[Android Software/Hacking General [Developers Only]] dyulay:
Thanks for fast responses. you're a real life saver.:victory:

But what if the phone is soft bricked? is it still advisable to use just system.img only? sorry for so many questions. I am still learning all this stuff.

Btw, i tried to load scatter file from two different spft versions and found out that the first screenshot loads everything except sec_ro and the other one does not load uboot.img. Out of curiosity I just want to know why. :o See my attached screenshots.
[Android Software/Hacking General [Developers Only]] dilov91:
revert back to stock recovery

[MENTION=5119815]rua1[/MENTION] or someone here, how to revert back to stock recovery? Today I get an ota update and I can flash it through cwm, its must flashed via stock recovery, please help me
[Android Software/Hacking General [Developers Only]] Alex1948:
OTA

OTA update can not be done without the original recovery <3e> recovery.

The SP Flash Tool, just flash the original recovery(from backup) - see image
[Android Software/Hacking General [Developers Only]] Alex1948:
SECRO.IMG

In folder !Files_to_FlashTool not have sec_ro , but in general folder backup have a file nodl_secro.bin.Rename secro.img and copy in !Files_to_FlashTool - see image.

Or with Red Back , see post [MENTION=5119815]rua1[/MENTION] , it would make you and secro.img file, copy it to
[Android Software/Hacking General [Developers Only]] dilov91:
recovery.img from another phone

Can you guide me on how to flash recovery.img using SPFlashTool, or Can I use recovery.img from another phone?
[Android Software/Hacking General [Developers Only]] dyulay:
thanks. :highfive:
[Android Software/Hacking General [Developers Only]] PackMan123:
If your phone is stuck on bootloop then you can always flash original files i.e. from MTK droid tools backup but don't flash preloader and uboot :p

There is Lewa OS v5 for Zte phone that has MTK 6572 but you may need to patch some files to make it work . You can try to flash that from CWM recovery but as always you should make backup from CWM first, so that you can revert back to original condition if something goes wrong.
[Android Software/Hacking General [Developers Only]] dyulay:
yep, i know about the preloader part. I am not actually new to mediatek but I am not familiar with mt6572. It is relatively new to the market and support is very few and thanks to you I Iearned a lot. :highfive:

I just want to make sure I have the right backup and knowledge for my device so I can get on with trying out ported roms. It's better safe than sorry.:D
[Android Software/Hacking General [Developers Only]] rua1:
@dilov91

1. scatter - use v3.4.8b , url at OP

2. In program get root shell (green indicator), choose Install already prepared files, press Recovery and Boot button then select only factory recovery file from backup.
[Android Software/Hacking General [Developers Only]] Alex1948:
Recovery

No , Do not use a recovery from another phone.If you did backup, you'll have a recovery file - recovery.img.At MT6572 size is 6291456.Only the file using SPFT - see image , only recovery. Read what it says [MENTION=5119815]rua1[/MENTION]
[Android Software/Hacking General [Developers Only]] Alex1948:
[MENTION=5119815]rua1[/MENTION]

To understand better, there is no need SPFT, to flash original recovery and boot.img ? - see image 1 with SPFT

With MTK, first asks you boot file, if you click cancel you require file recovery("Install already prepared files[/I], press Recovery and Boot button then select ") see image 2 and image 3

So he writes original files from backup??Respectively, boot.img and recovery.img ?
[Android Software/Hacking General [Developers Only]] ryukisai:
Rom dump request !

Hi guys, i know this is a dev thread, so i'll make it short !

That would be immensely helpful if one of you guys could provide me with a SP flash tool dump of a stock rom.

I need it to revive the phone of a friend !

The model i need is a TCL S820 (exact same phone as Alcatel One Touch Idol 6030d). A rom of anyone of those two phone would be great !

Thanks in advance and sorry for disturbance !! :fingers-crossed:
[Android Software/Hacking General [Developers Only]] :
Try www.needrom.com thats all i can say.
[Android Software/Hacking General [Developers Only]] Alex1948:
???

??? What does this link with MTKDroid Tool ????

We are interested in how they work and what makes this software on phones with chipset MT65xx

Tks [MENTION=5119815]rua1[/MENTION] for MT6572.
[Android Software/Hacking General [Developers Only]] johnnyx83:
wifi problem

hello genius

i have recently bought a new smartphone that is Note3 clone "Mediatek MT6572" every thing is working just fine, the device runnings

android 4.3 .. but it has very poor wifi signal so i have to stay close to my wireless router all time in order to use internet throw wifi ..

other devices such as xperia mini and xperia Z works fine on the same router ..

is there any software fix to this poor wifi??

is it because of jellybean 4.3 ??

or is it a hardware issue that can't be fixed, so i take it back to were i bought it !!
[Android Software/Hacking General [Developers Only]] dyulay:
I think you are in a wrong thread mate. Problem might be hardware related since it is just a clone or a copy of note 3. Try to find possible tweaks to improve wifi signal.