yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] oscarblue48:
Make sure you have busybox installed, if still not working , can you upload your log.txt file, it's in the mtk tools folder.

Edit... Phone has to be connected, with it turned on.
[Android Software/Hacking General [Developers Only]] rajit:
yes busybox installed and connected ..
[Android Software/Hacking General [Developers Only]] oscarblue48:
Not quite sure whats happening here, your first image shows version 2.4.8 with a yellow indicator which means that you have root, but the log files are for version 2.3.4 as are the other three images, the blue indicator means that you do not have root, and the cyan indicator usually means you are connected in recovery mode. Maybe there is a problem with your root permissions?? and/or the connection to your pc, maybe try another cable. I would try again with version 2.4.8 which is the latest one and should recognise your device as mt6589, which the earlier version does not, not in the log file at any rate. Once connected with the yellow indicator showing, you should be able to click on the root button and after a couple of minutes you should get root shell and the indicator should turn green, and then you should be able to make a backup.
[Android Software/Hacking General [Developers Only]] rajit:
When i try to root with this app a popup coming on phone .. Restore and don't .. I pressed restore.. But after that no luck.. Nothing happened.. Root process are going and going :(
[Android Software/Hacking General [Developers Only]] oscarblue48:
From what you have told me, I don't think your phone is rooted properly, and if you cannot obtain root with the latest version of the tool(2.4.8) it may be necessary to use the method here.... http://xdaforums.com/showpost.php?p=38337401&postcount=5

or maybe another method of rooting. I am not familiar with your phone so its difficult to say why its not working on the information you have given me.
[Android Software/Hacking General [Developers Only]] rajit:
Trying.. But my phone is rooted.. I deleted some useless app .. So _______
[Android Software/Hacking General [Developers Only]] rajit:
have a look.. tryed fresh

look pic

1.

then i pressed on root,,

then a popup comes up

2.

i pressed yes

3.

then sudden this comes up

4.

look my phone su permission

5.

DONT KNOW WHY ITS SHOWING HTC :p

help
[Android Software/Hacking General [Developers Only]] oscarblue48:
ah, [MENTION=4896462]rajit[/MENTION] you have an error message, adbd not installed, I have not come across this before, but there is an app in google play store called adbd insecure, maybe that will do the trick, it helps to run adb in insecure mode, which is what you need, have a look at the app and see what you think.

https://play.google.com/store/apps/details?id=eu.chainfire.adbd
[Android Software/Hacking General [Developers Only]] rajit:
Wait online i will back with latest update.

update: could not patch adbd says the app :( [MENTION=5262551]oscarblue48[/MENTION]
[Android Software/Hacking General [Developers Only]] oscarblue48:
Thats a pity, thought we'd found the answer, that has to be the problem though, adb has to run in insecure mode, maybe if you uninstal the HTC and adb driver in Device manager, restart your pc and then re instal adb from here... http://pdanet.co/a/ and see if that helps
[Android Software/Hacking General [Developers Only]] rajit:
I downloaded a adb driver provided by you in previous post (can't remember) in 4shared site but that's also not working ..

Will try thnxx ..

Edit : If any thing more please provide :)
[Android Software/Hacking General [Developers Only]] oscarblue48:
This is what I can see in device manager with my phone connected....

screenshot pc

Edit... only drivers I have in 4shared are USB vcom drivers for spflashtool
[Android Software/Hacking General [Developers Only]] rajit:
work but..

only this two error..

data.ex4.img and uboot.img error

log attached
[Android Software/Hacking General [Developers Only]] oscarblue48:
We're getting there, slowly, the first error is a simple one, every time you make a backup, the tool makes a copy of it on your internal sd card in your phone, the userdata file is a very large one (over 500mb on my phone) and you don't have enough space in your internal storage, the userdata file should have been copied to your backup file on your computer though.

The second error is not so simple, I can only suggest for that to try the latest version of Mtkdroid tool, as the one you are using is quite old and you may find the error has gone with the new version, latest mtkdroid tool is here..... http://dfiles.eu/files/fmnok7ke7
[Android Software/Hacking General [Developers Only]] rua1:
@rajit oh ... use the last version of the program, to you about it already wrote :mad:

@oscarblue48 many thanks for your answers in a thread :good:
[Android Software/Hacking General [Developers Only]] rajit:
[MENTION=5262551]oscarblue48[/MENTION] [MENTION=5119815]rua1[/MENTION]

everything working as this pic except when its come to data as privious version

is this correct ??

see this sp tools pic

AND THIS IS SP TOOLS PROBLEM WHEN I TRY TO FLASH.. ANY HELP ??

log attached
[Android Software/Hacking General [Developers Only]] oscarblue48:
Hi [MENTION=4896462]rajit[/MENTION] Glad you have droid tools working ok now, the problem you have with SPflashtool, is the same as the MTKdroid tool problem, you have an older build of the flashtool that doesn't support your phone, try the latest build and it should work ok, you can download it from here.... SP_Flash_Tool_v3.1328.0.183.7z :)

If you want to get rid of the userdata error you will need to delete some of the backup files on your internal sd card, as every time you do a backup it puts a copy of it on there.
[Android Software/Hacking General [Developers Only]] rua1:
@oscarblue48 in a thread at the Russian forum already there is version 3.1328 http://forum.china-iphone.ru/post1157592.html#p1157592

@rajit oscarblue48 is right, it is necessary to try other SPFT versions
[Android Software/Hacking General [Developers Only]] oscarblue48:
Thank you [MENTION=5119815]rua1[/MENTION] , I did not know there was a later version of SPflashtool, I have downloaded and changed links.
[Android Software/Hacking General [Developers Only]] rajit:
And what about the empty file as it showing in sp tools ??

See this pics.. My phone internal system(where the system loads? And the internal sdcard are same .. So can't able to make swap between internal and external. And also not able to make data.img as its go to "mnt>shell>emulated>legacy>clockwordmod
[Android Software/Hacking General [Developers Only]] rajit:
What about the not clicked ..????
[Android Software/Hacking General [Developers Only]] oscarblue48:
I had the same problem, not copying the secro.img file to Files_to_flashtool, I asked rua1 about it, and this is his answer.....

"If the type of file system of ext4, actually the file is and it is called as nodl_secro.bin. It can be copied and renamed independently.

The such occurs because in this phone this block isn't mounted. I.e. the program does *.ext4.img files only if this block is present at a mount command output.

I knew about it and yet didn't rule a code since I consider this block on the majority of phones has no value."

As he said the block most likely has no value, I didn't bother to do anything about it, but if you can find nodl_secro.bin(I could not find it on my device or in the backup files) you can copy it to files_to_flashtool and just rename it to secro.img

About the data image file, according to your log file the backups are saved in... /mnt/sdcard/clockworkmod/backup/130902-084502/files/
[Android Software/Hacking General [Developers Only]] kudzo:
Hello there I have one problem when wont to backup userdata and cache got this message

ATTENTION!The SD card isnt found!

System and userdata wont backup! To continue?

But sd card is there and have 20Gb free space :confused:

Any ideas?

Thanks in advence
[Android Software/Hacking General [Developers Only]] rajit:
userdata.img

i know .. but it is not getting in mtk droid thats why it cant able to make a userdata,img...

so how can i do that??? i mean a userdata.img ??
[Android Software/Hacking General [Developers Only]] loadedscissors:
Just used this on my Pulid F17, MK6589T, worked so easily compared to half the guides out there. Thank you !
[Android Software/Hacking General [Developers Only]] oscarblue48:
I believe it's because there is no room left on your phones internal memory(or internal sd card its also called) you have to delete some files to make room for the data files if you want to be able to create a data image.

---------- Post added at 07:28 PM ---------- Previous post was at 07:24 PM ----------

@kudzo I think you probably have the same problem as Rajit, lack of space in your internal sd card, your phones memory, not the external sd card.
[Android Software/Hacking General [Developers Only]] kudzo:
Thanks for your reply

How much free space I need to have on the phone memory?

Now I have 1.5GB free

Solved I cleaned all the memory and managed to make backup

Thank you
[Android Software/Hacking General [Developers Only]] oscarblue48:
Hi [MENTION=4173301]spark2008[/MENTION] The soc mt6572 is not yet supported by the tool, but it is possible to make it work with your device by editing the MTKdroidTools.ini file you'll find it in the mtkdroid tools folder, if you right click on the file then click on Edit. look for the line MTKsocs = ^MT65(16|73|75|77|89) and change 73 to 72 then save and close, hopefully then it will create your scatter file. I found this info on the Russian forum, so I can't guarantee that it works as I've not been able to try it myself.
[Android Software/Hacking General [Developers Only]] spark2008:
Works like a charm. Thanks.:good:
[Android Software/Hacking General [Developers Only]] rua1:
factory scatter files for 6572 have other format, but it is possible and the file made by the program too will work, it is necessary to check... anybody still from using phone didn't write about results
[Android Software/Hacking General [Developers Only]] bgcngm:
[MENTION=5119815]rua1[/MENTION], I would like to ask the same. More and more features are being added to CWM recovery and the default size of 6MB allocated for recovery partition is already too short.
[Android Software/Hacking General [Developers Only]] rua1:
To correct PMT there is no need. It is rather correct to change a scatter, MBR and EBR * (last two if necessary). Then to Download full ROM (or Firmware Upgrade). Flashtool itself will change PMT.
[Android Software/Hacking General [Developers Only]] C3C076:
There's no info on boot and recovery partitions inside MBR/EBR1/EBR2 blocks if I remember correctly. That's why I asked about PMT.

So do you think we can repartition these simply by editing scatter file and flashing something? (e.g. recovery).

What would happen if we modified PMT file directly in hex editor and flashed it?
[Android Software/Hacking General [Developers Only]] oscarblue48:
I am probably wrong on this as I'm a bit of a newbie, but I took it rua1 meant that if you reduce the size of the MBR/EBR blocks, then when you flash a complete rom the extra space created would be taken up automatically in PMT. Does that make sense? sorry if I'm talking rubbish, but thats how I read it.
[Android Software/Hacking General [Developers Only]] bgcngm:
I don't think he meant about decreasing the size of MBR and EBR blocks.

Take for example the partition layout of V987 and the corresponding scatter file:

PRELOADER 0x0 {}
MBR 0x600000 {}
EBR1 0x680000 {}
__NODL_PMT 0x700000 {}
__NODL_PRO_INFO 0xb00000 {}
__NODL_NVRAM 0xe00000 {}
__NODL_PROTECT_F 0x1300000 {}
__NODL_PROTECT_S 0x1d00000 {}
__NODL_SECCFG 0x2700000 {}
UBOOT 0x2720000 {}
BOOTIMG 0x2780000 {}
RECOVERY 0x2d80000 {}
SEC_RO 0x3380000 {}
__NODL_MISC 0x3980000 {}
LOGO 0x3a00000 {}
EBR2 0x3d00000 {}
__NODL_EXPDB 0x3d80000 {}
ANDROID 0x4780000 {}
CACHE 0x2d180000 {}
USRDATA 0x34f80000 {}
__NODL_FAT 0x74f80000 {}

There's no point taking out space from MBR or EBR blocks as they are not adjacent to RECOVERY. The only thing that makes truly sense is to reduce the size of BOOTIMG or SEC_RO.

As for downloading the full ROM, that may not be easy for those devices whose there is no stock ROM available in SP Flash Tool format. In the case of V987 I have never managed to get a full backup with a working preloader, so I'm a bit afraid of flashing a broken preloader back to the phone.
[Android Software/Hacking General [Developers Only]] C3C076:
Working preloader. Sounds familiar :) . I didn't have to care about it until I bricked my phone. But I was able to create a working preloader by hex editing the one I dumped using read back I've done as soon as I unboxed the phone. Luckily it worked and I revived the phone :)

BTW, since boot goes right after recovery, I would just take 512kb or more from it for recovery.
[Android Software/Hacking General [Developers Only]] bgcngm:
I did exactly the same (hex edited a dump), but honestly never had the guts to try it. Hex editing PMT and flashing it into the phone also sounds risky, unless one has a fully working backup.

I wonder if we can use SP Flash Tool to update PMT by using a scatter file with all partitions set to __NODL_ except those we wanted to modify. Something like this:

__NODL_PRELOADER 0x0 {}
__NODL_MBR 0x600000 {}
__NODL_EBR1 0x680000 {}
__NODL_PMT 0x700000 {}
__NODL_PRO_INFO 0xb00000 {}
__NODL_NVRAM 0xe00000 {}
__NODL_PROTECT_F 0x1300000 {}
__NODL_PROTECT_S 0x1d00000 {}
__NODL_SECCFG 0x2700000 {}
__NODL_UBOOT 0x2720000 {}
BOOTIMG 0x2780000 {}
RECOVERY [COLOR="Red"]0x2d00000[/COLOR] {}
__NODL_SEC_RO 0x3380000 {}
__NODL_MISC 0x3980000 {}
__NODL_LOGO 0x3a00000 {}
__NODL_EBR2 0x3d00000 {}
__NODL_EXPDB 0x3d80000 {}
__NODL_ANDROID 0x4780000 {}
__NODL_CACHE 0x2d180000 {}
__NODL_USRDATA 0x34f80000 {}
__NODL_FAT 0x74f80000 {}

Note: RECOVERY start address already changed in the example above -> 512 kB (0x80000) taken from BOOTIMG.
[Android Software/Hacking General [Developers Only]] C3C076:
Clever. But who will try that? :)

Little ot. Something interesting appeared on the mtk6589 scene. Check this out:

http://xdaforums.com/showthread.php?t=2437842
[Android Software/Hacking General [Developers Only]] bgcngm:
I can try that on my tablet as I have the full stock ROM in SPFT format. I'll let you know if it works.

Off topic: Let's hope we can get our hands into that source code. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] bgcngm:
[MENTION=5008415]C3C076[/MENTION], I have only managed to get it done by flashing the full ROM, using "Firmware -> Upgrade" option. With the __NODL_ trick it seemed to be working, at first glance, but then I got an S_INVALID_ARGUMENTS error message.

Now, the strange thing is that PMT layout has been changed, taking into consideration the new start address for recovery, but when I flash any recovery bigger than 6MB it stops booting into recovery. Flashing a smaller and known working recovery, even with that start address, it works. :mad:
[Android Software/Hacking General [Developers Only]] C3C076:
Hmm, too bad. Thanks for taking a shot , anyway. :)
[Android Software/Hacking General [Developers Only]] rua1:
I meant to change tables in these blocks

no, if to move sec_ro it is necessary to correct the table in MBR. This block /dev/block/mmcblk0p4 enters into boot record.

cat /proc/dumchar_info
...
protect_s 0x0000000000a00000 0x0000000001700000 2 /dev/block/mmcblk0p3
seccfg 0x0000000000020000 0x0000000002100000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000002120000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x0000000002180000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000002780000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x0000000002d80000 2 /dev/block/mmcblk0p4
...

if any of blocks /dev/block/mmcblk0p* is moved, tables in MBR and (or) EBR * have to be corrected
[Android Software/Hacking General [Developers Only]] bgcngm:
You are completely right. Didn't thought that. ;)
[Android Software/Hacking General [Developers Only]] C3C076:
But wouldn't it be enough to lower the end address of bootimg and shift the start address of recovery??

You don't need to move anything else in this case.

Or better to say: lower the start address of recovery and lower the size of bootimg, increase the size of recovery

Like this:

cat /proc/dumchar_info
...
protect_s 0x0000000000a00000 0x0000000001700000 2 /dev/block/mmcblk0p3
seccfg 0x0000000000020000 0x0000000002100000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000002120000 2 /dev/block/mmcblk0
bootimg 0x0000000000580000 0x0000000002180000 2 /dev/block/mmcblk0
recovery 0x0000000000680000 0x0000000002700000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x0000000002d80000 2 /dev/block/mmcblk0p4
...

Edit: corrected
[Android Software/Hacking General [Developers Only]] bgcngm:
Yeap, that's what I did. But [MENTION=5119815]rua1[/MENTION] was saying that, in case we wanted to increase recovery size by changing sec_ro, there was also the need to modify MBR and/or EBR.
[Android Software/Hacking General [Developers Only]] lessio.a1:
hello I have a star i9500l AnTuTu benchemark by a resolution of 960x540 and 854x480 damage other programs how do I know the correct resolution ?

Send to Galaxy S4 Mtk6589 and Asus TF300T 4.2.1 TWRP
[Android Software/Hacking General [Developers Only]] oscarblue48:
Do you mean SPflashtool is not connecting to you device when you click on readback? or does it connect and give you an error message? if its not connecting, have you got the usb vcom drivers intalled?a little more information needed please.
[Android Software/Hacking General [Developers Only]] saheelakm:
I have installed the usb vcom drivers. When the device is switched off and connected to the pc it is detected and got hiding.

When I click read back on SPlashtool, it is not connecting to the device.

Thanks.
[Android Software/Hacking General [Developers Only]] oscarblue48:
Sorry for the delay, I got called away, If you are trying to connect in preloader mode, it is important to click on readback first and then connect your usb cable, as the preloader driver is only active for a few seconds after connecting your device, if you are attempting to connect in bootrom mode then you may need to press some buttons to activate the connection, more info here on the different modes... http://xdaforums.com/showpost.php?p=38369102&postcount=11 'Modes of the virtual com ports'
[Android Software/Hacking General [Developers Only]] Axims:
Hi, Oscar the Helper!

my device is LG E455 and got bored waiting somebody make a cwm for it

so today i tried this method and after clicking on Make CWM Automatically

it ends with these two errors:

ERROR: No Find KernelGZ

ERROR: No Split Boot Image

so, is there some files missing or it can't make cwm for these devices yet?

BTW . I made a backup earlier and It said : kernel block map to pmt mismatch!

but seems it finished ok regardless. is that relevant ?
[Android Software/Hacking General [Developers Only]] lopestom:
This is your device? http://www.gsmarena.com/lg_optimus_l5_ii_dual_e455-5373.php

If you have the device with MT6575 send me in PM a 2 files of your ROM backup: recovery.img and boot.img

I'll try to help you to make a CWM for you. Do not promise this to be fast.
[Android Software/Hacking General [Developers Only]] saheelakm:
I tried to connect the device after pressing the readback but no result.

Then I used volume up + power button while connecting the usb cable

the device requested to enter into the following modes;

1. Recovery Mode

2. Fastboot Mode

3. Normal Boot

Then I entered into the Fastboot Mode.

Then the screen is not changing, I cannot shutdown the device even.

Pls help me what shall I do?
[Android Software/Hacking General [Developers Only]] oscarblue48:
I'm sorry I'm afraid that is a bit beyond the scope of my knowledge, i think you may be able to exit via the adb terminal, but I don't know the commands to enter, hopefully someone with more more knowledge on this will be able to help.
[Android Software/Hacking General [Developers Only]] saheelakm:
I've just escaped by pressing reset button. OMG!

I never test again.

Can you pls tell me how I can get my tab rooted.

Thanks.
[Android Software/Hacking General [Developers Only]] oscarblue48:
Glad you escaped from that! was a bit worried as I googled 'stuck in fastboot' and it looked like a real problem. As far as rooting goes there are a few methods out there but I don't know what will work with your device, I have a mt6577 phone and I rooted it with the same method you were trying and it worked fine, but I managed to connect to my pc in preloader mode, which as I mentioned before is only available for a couple of seconds after connecting your device, and looks like this in device manager....

picture sharing

....but only for a few seconds then disappears, also I had the option of connecting without the battery inserted, which I guess you don't
[Android Software/Hacking General [Developers Only]] Axims:
Yes it is. thanks for helping a fellow mtk user! :cyclops:

btw. do you know what those 2 errors means? I really like to know.
[Android Software/Hacking General [Developers Only]] blazzer12:
First of all, thank you. You are a life saver!

Actually there are two scatter files in the folder. MT6577_Android_scatter_emmc.txt (429 B) and MT6577_Android_scatter_emmc_PMT.txt (339 B).

Which one to choose?

UPDATE : I tried both the files. It says "RECOVERY selected but without path." All the others have path except the RECOVERY!

---------- Post added at 09:56 PM ---------- Previous post was at 09:17 PM ----------

Hey, my deivce is iBall Slide 3G7271 (MT6577). I have a JB ROM. But when I load the scatter file in the SP Flash Tool and click download its says "SP Flash Tool Error 8038".

Where I found the JB ROM : http://www.moulnisky.com/index.php?dir=Iball/Slide 3G7271/

I attached the Log Files and screenshots.​
[Android Software/Hacking General [Developers Only]] rajit:
Try other version of sp tools.. It will be solved . if you are using latest then try lower if Lower then try latest :)
[Android Software/Hacking General [Developers Only]] oscarblue48:
there is no path for recovery because you have to choose which recovery file to use, if you click on the

word

recovery in SPflashtool then you can choose the recovery file you want, also if you still have a problem with 8038 error use the pmt type scatter file, that will help to resolve the issue.
[Android Software/Hacking General [Developers Only]] Axims:
[MENTION=4939713]lopestom[/MENTION] :

just trying to send you the results via pm but it doesn't show my replies in sent box :eek:

have you got them ?
[Android Software/Hacking General [Developers Only]] lopestom:
First: I have 7 messages and their same type that filled my mailbox!

Have patience man!!. Do not be hasty!
[Android Software/Hacking General [Developers Only]] blazzer12:
Hi, as you see I have been trying to flash a JB Rom. It didn't work. But now flashing even the backup doesn't help!

the iBall logo is coming and then shuting down. Why is the backup not working?

Please see here for full description.

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

OK, it resolved now. :)

had to do this : http://forum.gsmhosting.com/vbb/f606/how-hardreset-iball-slide-1602898/
[Android Software/Hacking General [Developers Only]] Axims:
LOL Sorry for that, man. I suspected it must be a glitch in my PM page. ;)

I meant to send you just ONE reply not bombing your inbox!

anyway now i'm going to send device info images to you.
[Android Software/Hacking General [Developers Only]] tatoone:
Hi guys,

I have the file ROM_0 of 654.240 of size.

From this fle it's possible to extract original recovery?

If yes how to make? and hot to make flash it?

Thanks and sorry for my terrible english.