yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] bigrammy:
Kind Request Regarding This Thread

Hi All,

Welcome to this thread started by @yuweng who is the master of mt65xx soc. :angel:

Speaking for myself here.

After receiving many PM's I would ask all people wanting help here to PLEASE PLEASE read the entire thread very carefully first because many of question you have got have been answered many times over and while we do not want to appear rude towards people I am sure you can understand that we get fed up with answering the same questions over and over again.

If after reading the thread you are still stuck then by all means feel free to ask for help which we will gladly provide you :)

I am sure you will all understand how messy the thread will get otherwise. :eek:

Many Thanks in Advance :cool:

---------- Post added at 04:56 PM ---------- Previous post was at 04:39 PM ----------

I am not too sure if thats right buddy can you upload your 6mb boot.img for me to take a look at and make sure it's correct.

PS: My quote above is not aimed at you Pyntux
[Android Software/Hacking General [Developers Only]] Pyntux:
Sure, just a sec to reboot to Windows and upload boot.img... ;)

Edit:

Here I am, in Windows, hehehhe...so, this is original boot.img downloaded from phone, same size as MTK tools says (I think):

http://www.4shared.com/file/MTJyOKeu/boot.html

, but I'm not sure is it good... :(

This one is with ro.secure=0, I edit original one in cygwin with plugin for that (thanks to Yuweng, if thats his plugin, I do not know, I'm sorry...):

http://www.4shared.com/file/-_FngVH7/unlocked-boot.html

I'm confused because second boot.img is smaller than original, and the original one is same size as MTK Tools says, in scatter file...

This is scatter file generated with MTK droid tools:

http://www.4shared.com/office/wVCZ2nRN/MT6577_Android_scatter_emmc.html
[Android Software/Hacking General [Developers Only]] bigrammy:
Sorry buddy I am having major PC issues at the moment :rolleyes:

I will try get things sorted and take a look at the boot.img for you :(

If I was you I would just stick to flashing the recovery.img to test SP flashtool v4.0 works OK on your device. I think the boot.img will be ok but if its wrong you could end up with a brick for a while :( That risk is up to you :eek:

I have to work tomorrow but I will check it when I get home so I hope its not too urgent :eek: I hope you understand. :o
[Android Software/Hacking General [Developers Only]] dj_suca:
With V4.0

Diferent Error...

SP Error:

Recovery Size... Looks normal...
[Android Software/Hacking General [Developers Only]] Pyntux:
[MENTION=3924647]bigrammy[/MENTION]

It's OK, I understand... ;)

For now, I will wait because there are tut's for rooting 6030D (my phone is 6030X), but some people say that with that rooting we lose DRM...
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi dj_suca,

Some phone's require you to have the battery removed and some need the battery in :confused: Again a little bit of trial and error may not go a miss. I have heard of some phone's needing the volume + button to be held in too. :eek:

Also a pc reboot may help and try different usb ports.

If no luck try this SP Flashtool SP_Flash_Tool_v3.1224.0.sn85.7z
[Android Software/Hacking General [Developers Only]] dj_suca:
i understand... but on this model the battery is unremoveble :S

didnt test yeat the vol+ combination with sp tools.. but i will give it a try tonight..
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi I have just been searching around Please try the SP Flashtool I just posted for you. It seems to be more successful with your phone ;)
[Android Software/Hacking General [Developers Only]] Pyntux:
"vol+ combination with sp tools"

How to do that, power & vol + , than connect to PC? That combination of buttons goes to stock cwm...So, to boot in stock cwm and than connect to PC or how?
[Android Software/Hacking General [Developers Only]] dj_suca:
Nothing Worked...

vol+ or Vol- nothing...

the error still the same... not enough space....

this phone is giving me a big head heck.....
[Android Software/Hacking General [Developers Only]] Pyntux:
[MENTION=463316]dj_suca[/MENTION]

Didi you try method from topic for rooting 6030X?
[Android Software/Hacking General [Developers Only]] dj_suca:
Im a little afraid because the cwm is from other de vice... But i will give it a try

Tapatalking From The 3° Galaxy GT-9300
[Android Software/Hacking General [Developers Only]] vermillions:
I am getting this error

PMT is ready and layout has been changed! and i am unable to download to device.

In MTK Droid Root & Tools my device shows as MT6575 (fake MT6517)

can i edit my scatter file so i can flash my recovery?

Edit: Found the problem i had to edit my scatter file from:

CACHE 0xe340000

To:

__NODL_CACHE 0xe340000
[Android Software/Hacking General [Developers Only]] dj_suca:
[MENTION=5223634]Pyntux[/MENTION]

so i lost fear.. and did it,.

but With Version 4.0 - Error 1011 - Not enough Space

and with Version 3.... 8038

i have tryed this

Alcatel_6030D_Rooting

Auto Root via TWRP V2.4.2.0 - Rev01

the only problem is downloading the Recovery.img to the mobile.. and they have almost the same sice..
[Android Software/Hacking General [Developers Only]] Pyntux:
[MENTION=463316]dj_suca[/MENTION]

Something is wrong with all tutorials for our Alcatel OT 6030X, our something is wrong with our phone, hahhahaahha... For me, it's more logical to flash boot.img with "ro.secure=0" but I can not flash, same errors like yours...

I do not know any more what to do... :( I tryed everything.....grrrrrrrrrrrrrr...........
[Android Software/Hacking General [Developers Only]] bigrammy:
I can only assume you guys have followed all the flashing tut's driver installs key combos etc etc to the letter. :good:

Maybe Alcatel have have managed to make the phone secure or maybe they are using a different SP Flash Tool version than the more common one's.

You may just have to find and try some It will either work or it won't but no harm in trying :fingers-crossed:

If not then we are sort of stuck until someone can find a way to get a recovery or boot.img into the phone which will not take too long I am sure. :fingers-crossed:

If you do find a way please be sure to report it here for any future users :good:
[Android Software/Hacking General [Developers Only]] dj_suca:
Ohhh yes i have follow 3 diferent tutorials...

But thanks to all for the Support....

Tapatalking From The 3° Galaxy GT-9300
[Android Software/Hacking General [Developers Only]] Pyntux:
I tried all tutorials with flashing with flash tool, with recovery and with boot.img, also I tried (before I saw ro.secure=0 line) every other tutorial for rooting with restore adb function and tried different drivers, from google adb driver to Alcatel driver and many other MTK 65XX drivers, and no luck... :(

No I will wait... :(

P.S. For now, I saw only three men on web trying to root this phone... :(

Sorry for my english...
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi guys,

I have done a little more digging with regard to your phones.

Can you download the official Alcatel upgrade tool for your phones and install it.

Once installed go to the folder it creates C:\ONE TOUCH Upgrade S 2.8.0

Inside you will find EMMC6577.sca and OTP6577.sca I will upload them as txt files for you to view.

These are both scatter files but to use them you will have to rename them to MT6575_Android_scatter_emmc.txt probably with the v3 SP Flash Tool or MT6577_Android_scatter_emmc.txt with v4.0

I noticed they have different partitions and maybe this is where the problem is. :fingers-crossed:

PLEASE carefully compare the official scatter and your own scatter that was made and pick the one that seems closest to yours although when you try to flash the tool will tell you the partitions size has changed if its wrong so stop there.

I would first try copy my recovery.img to C:\ONE TOUCH Upgrade S 2.8.0/downloaded and just run the tool to see if it will flash the recovery for you :fingers-crossed: Although this would probably be too simple but worth a try.

Please report back :good:
[Android Software/Hacking General [Developers Only]] Pyntux:
So you think MTK making wrong scatter file... What about firmware.info made with adb?

I installed that Alcatel update tool, and tools says that there's update, but I don't know how there's update, because when I try to update firmware from phone (I think thats ota update) there's no update... Maybe, thats because of my provider where I got phone, they do not push updates?

Again sorry for english, I hope you understand what I wrote...

Edit:

I just looked from Linux to Windows partiton in that directory ans as you say I find those scatter files, but I find three files:

http://www.4shared.com/zip/RgP0SMg1/3scatter6577.html

Edit 2:

I looked a bit now, and all three files which I found in C:\ONE TOUCH Upgrade S 2.8.0 are same, every line is same, but all of that three scatter files are different from scatter file which I got from MTK Tools... :( Again, all of that three scatter files are same as scatter file for 6030D (Our is 6030X)...

So, can I try to use this scatter file (From ONE TOUCH) to download boot.img, then unlock and flash with flash tools?
[Android Software/Hacking General [Developers Only]] dj_suca:
tnks for the help... but same error... when trying to download to phone... with one version, and with the other tells me that the region not right...
[Android Software/Hacking General [Developers Only]] dj_suca:
ok ok guys i've made it....

tnks God... so ive followed 4 tutorials and the combinations of them got me to this...

i will share just take a look:

i think this will work on Idol X the 6030X version only

all the files needed are here

The Sp version is on txt on the file..

User the scatter on the 7zip file

load it Sp deselect everything... but the recovery

Select the recovery on the Zip file

Power off the mobile

disconect from pc

On Sp click Download and yes and plug hte phone into the pc

Wait to complete and unplug the phone from pc..

enter on Cwm by pressing Power and Vol+ as sun u see the logo stop pressing the power and press vol+ till cwm pops.

the Zip file Root_Superuser_3.1.3_Busybox_1.20.2-Update1-signed must be on your sdcard

now follow the normal procidure to instal zip from Sdcard..

reboot phone after and open supersu, it will ask from Busybox update, choose normal, and done... install RootChecker just to verify..

My big tnks to all of you that help me to get here... and mostly to Rua1(tnks man) for this tutorial - http://xdaforums.com/showpost.php?p=38337401&postcount=5

Enjoe....
[Android Software/Hacking General [Developers Only]] bigrammy:
Well Done :highfive:

Thanks for sharing the info :cool:

---------- Post added at 01:51 AM ---------- Previous post was at 01:39 AM ----------

As you will have see above dj_suca has managed to root his phone and has provided the necessary tools :good:

I hope you can also get root following his advice. :D
[Android Software/Hacking General [Developers Only]] Pyntux:
I will try soon as I can... ;)

Only one question, [MENTION=463316]dj_suca[/MENTION], didi CWM stay installed after rooting or stock recovery owerwrite cwm? I do not need cwm for now, because of that I'm asking...So, if stays, how to get back stock recovery?

Edit:

What I'm doing wrong?

Same error like before... :(

I tried again with boot.img, I got boot.img on Windows and setup ro.secure=0 in Linux with Android Kitchen:

Creating folder /fajlovi/Android/Kuhinja/bootimg_052413_085628 ...

---> Place boot.img/recovery.img into the folder mentioned above <--

Press Enter to continue

Kernel found at offset 2048 in boot.img

MT65xx kernel header detected
Modifying extract-kernel.pl, line 25
Modifying extract-ramdisk.pl, line 31

Extracting kernel ...
Extracting ramdisk ...

Contents of bootimg_052413_085628:

укупно 3560
drwxrwxr-x 8 punky punky 4096 мај 24 08:56 boot.img-ramdisk
-rw-rw-r-- 1 punky punky 3638096 мај 24 08:56 zImage

Working folder found

Kernel found at offset 2048 in boot.img

MT65xx kernel header detected
Making folder BOOT-EXTRACTED ...

Extracting kernel ...
Extracting ramdisk ...

Checking default.prop ...
Set: ro.secure=0
Set: ro.debuggable=1
Add: persist.service.adb.enable=1

New default.prop:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
persist.mtk.aee.aed=on
ro.debuggable=1
persist.service.acm.enable=0
persist.service.adb.enable=1

Found BOOT-EXTRACTED folder, checking contents ...
Found boot.img-ramdisk
Found zImage
Working folder found

Kernel found at offset 2048 in boot.img

MT65xx kernel header detected

Compiling mkbootfs ...
mkbootfs successfully compiled

Compiling mkbootimg ...
mkbootimg successfully compiled

Creating ramdisk cpio archive ...

Attempting to determine kernel base address ...
Using base address of 0x10000000
Using ramdisk load address of 0x11000000
Attempting to determine command line parameter ...
Using cmdline: 109f10eed3f021e3

Building new boot.img ...

newBoot.img created
Moving to working folder as boot.img

boot.img size
Old: -rw-r--r-- 1 punky punky 6,0M мај 24 08:56 boot.img
New: -rw-r--r-- 1 punky punky 4,1M мај 24 08:56 boot.img

Removing BOOT-EXTRACTED folder ...

---> Copy unsecure boot.img, flash it via SP Flash Tool & use
---> any Rooting software after this will work ...

---> bootimg folder will be deleted after you press enter

Press Enter to continue

Everything is OK, but boot.img is smaller than original... Uh, I'm going crazy... :(
[Android Software/Hacking General [Developers Only]] dj_suca:
i didnt check if the cwm stayed fixed...

what version of SP are u using..?

Do you have the oficial aplications os Alcatel installed on your pc?
[Android Software/Hacking General [Developers Only]] Pyntux:
I have installed just Alcatel update... :(

SP version is one you said, like txt file version...

I removed device from PC, removed driver, restart PC, than installed all Alcatel software, and tried agan and same as above, error... :( Now I will try to upgrade frmware with Alcatel One Touch upgrade and than try again...

Some gremlins have entered the phone, and if it fails, only what can do i take him to the Exorcist.... :D
[Android Software/Hacking General [Developers Only]] Pyntux:
I did it, but I used a tutorial for 6030D, this one:

http://www.mycity.rs/Android/Root-C...r-6010d-6030D-Alcatel-One-Touch-6030d-id.html

Which is on serbian language, but you can see files... :) But, I do not use MTK for root, I only boot in recovery and install zip for root from dj_suca tutorial... :)

What to do now, to bekup rom or what?
[Android Software/Hacking General [Developers Only]] Pyntux:
I just gota ota update and downloaded update.zip... So can we use that update.zip and put su and superuser.apk to it, to root phone with stock recovery?

I installed ota update.zip with cwm (cwm installed with flash tool) and root and cwm is gone, and I root phone again, but this time, stock recovery owerwrite cwm after reboot. So now I have new firmware rooted with stock recovery, but I'm asking because maybe it's better to root with modded update.zip? :)

I thought I could just unlock boot.img from update.zip, but it's just a patch... :)
[Android Software/Hacking General [Developers Only]] dj_suca:
If is rooted is rooted ...

Tapatalking From The 3° Galaxy GT-9300
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi make a cwm backup boot, recovery, system, userdata, etc of your phone before you reboot and the recovery gets changed back again.

Then upload the produced boot.img, recovery.img & system.img :highfive:

Inside lots of ROM's there is a recovery.sh that replaces the recovery with the stock version everytime you reboot. :rolleyes:

If you upload the boot, recovery, & system.img I can make you a fully rooted ROM that will not change the recovery :good:
[Android Software/Hacking General [Developers Only]] Pyntux:
I have old backup without ota, but I will make backup of new firmware and upload... For, now, I found this on this new firmware and I think thats why stock recovery owerwrite cwm:

http://www.4shared.com/file/BLD3pn0D/recovery-from-boot.html

Maybe I'm wrong... Please look at this file... Thanks

P.S. Or, can you tell me where to look? Just to look, before I make cwm backup...
[Android Software/Hacking General [Developers Only]] bigrammy:
Hi,

Yes that's the file. If you are familiar with Kitchen then I would use the system.img and boot.img to make a custom ROM if I was you. The Kitchen should remove the recovery rebuild and will give you permanent root add int.d folder etc. :good:

My preference for a recovery would be TWRP v2.5 this powerful recovery has everything including a keyboard and file browser :cool:
[Android Software/Hacking General [Developers Only]] Pyntux:
I do not know to work with kitchen, but hey, I will try, why not? :) Even if I will try to do something, I will upload backup for you... :)

I know about twrp, I use twrp on my G300... :)
[Android Software/Hacking General [Developers Only]] alley23:
can i root my LG OPTIMUS L5 II E450 with this? thanks
[Android Software/Hacking General [Developers Only]] rnovino:
how to use the

Added on Mar 31, 2013 - Auto Root via TWRP V2.4.4.0

Thanks to Master Shifu Javum for compiling it & Master Shifu Stanner for sharing the link...

The tool is here, alternate link is here

Added support for latest MT6589 too...
[Android Software/Hacking General [Developers Only]] fadhil3536:
Error creating Recovery image

Hi guys, i m trying to port twrp using latest one michfood 2.5. Always get this error in the attachment.

can someone pls help creating recovery image. i also attach my stock recovery image.

thanks in advance.
[Android Software/Hacking General [Developers Only]] farzad23:
no one work for me

hi

i have a **** phone from china the phone information from MTK Droid root & tool is as follow

Hardware : MT6575 (MT6515 is Fake!)

Model : N7200

Build number : ALPS.GB2.MP.V2.8

Build date UTC : 20130308-070201

Android v : 4.0.1

Baseband v: MAUI.11AMD.W11.50.SP.V34, 2012/10/25 09:53

Kernel v : 3.0.13 (soft1_02@soft1_02) (gcc version 4.4.3 (GCC) ) #4 SMP Wed Dec 5 15:17:18 CST 2012

i tried all method in page on for example the out put of 1st step of "V2 Rooting the latest 'unrootable' MT6575/ 77 via unsecured boot.img" is as below

$ cat /proc/dumchar_info

cat /proc/dumchar_info

PN Size Addr Typ RN

preloader 0x00000000 0x00000000 0

dsp_bl 0x00000000 0x00000000 0

nvram 0x00000000 0x00000000 0

seccfg 0x00000000 0x00000000 0

uboot 0x00000000 0x00000000 0

bootimg 0x00000000 0x00000000 0

recovery 0x00000000 0x00000000 0

sec_ro 0x00000000 0x00000000 0

misc 0x00000000 0x00000000 0

logo 0x00000000 0x00000000 0

expdb 0x00000000 0x00000000 0

fat 0x00000000 0x00000000 0

android 0x00000000 0x00000000 0

cache 0x00000000 0x00000000 0

usrdata 0x00000000 0x00000000 0

bmtpool 0x00000000 0x00000000 0

PN:Partition name you should open; Size:size of partition

Addr:Start Address of partition(EMMC) or Index (MTD);

Typ:Type of partition, MTD=1,EMMC=2;

Actname: the real name of partition

$

i try all method in page one and nothing any idia for root this ****

tanx in advanced
[Android Software/Hacking General [Developers Only]] bigrammy:
Strange read :eek:

Try type

adb shell
$ cat /proc/mtd

It should show something like this if its GB ROM thats been faked to look like ICS.

adb shell
$ cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "preloader"
mtd1: 000c0000 00020000 "dsp_bl"
mtd2: 00300000 00020000 "nvram"
mtd3: 00020000 00020000 "seccnfg"
mtd4: 00060000 00020000 "uboot"
mtd5: 00500000 00020000 "boot"
mtd6: 00500000 00020000 "recovery"
mtd7: 00120000 00020000 "secstatic"
mtd8: 00060000 00020000 "misc"
mtd9: 00300000 00020000 "logo"
mtd10: 000a0000 00020000 "expdb"
mtd11: 12700000 00020000 "system"
mtd12: 03c00000 00020000 "cache"

You can also try this new tool Here for Rooting. Thanks to the guys over at chinaphoneArena.com Crew & Gizbeat.com Crew :cool:
[Android Software/Hacking General [Developers Only]] farzad23:
thanx for u'r reply

yes it is fake product it is a fake ICS .the command"cat /proc/mtd"work

download link is dead it says "not found"

found it but it dont work
[Android Software/Hacking General [Developers Only]] farzad23:
S_FT_NEED_Dowbload_all_fail (4050)

hi all

i have N7200 and try to root it,with "MtkDroidTools"create scatterd then read back recovery and then convert recovery with "michfood-Port-TWRP-V2.4.4.0-Javum" ,but when i wanna to download i got error

S_FT_NEED_Dowbload_all_fail (4050)

any idea please

thanx inadvanced
[Android Software/Hacking General [Developers Only]] MrCabana:
Your script worked fine for me. A bit confusing at the

part in the end and my SPFT said something about the image file not being loaded correctly. I took the risk and flashed it anyway.

Now #getprop tells me ro.secure=0 as it should be. In your tutorial, you say that I can use any tool to get my phone rooted. But it's still not working for me. Even though ro.secure is set to 0, I can mount the system rw, but it only lasts a few seconds.

Besides, all the changes I make to it while it's rw will be gone after reboot.

Do you have any ideas for that?

Thanks.
[Android Software/Hacking General [Developers Only]] Nizamkhanfb:
pls help when is when i repack boot.img it rapacked and everything dissapears there nothing in the folder cant find the new boot.img
[Android Software/Hacking General [Developers Only]] MrCabana:
Is this ROM you would make based on boot, recovery & system.img, be the same ROM in the device, just added root binaries and busybox?

Where can I get system.img? Is it that part where it says "Android" ?
[Android Software/Hacking General [Developers Only]] bigrammy:
Yes Android/System is the same thing :cowboy:
[Android Software/Hacking General [Developers Only]] MrCabana:
Just another question ... There are differences in the Hex number in ROM Studio and SPFT

one is just a big number, the other starts with 0x.......

How can I translate those numbers?

Or do I just get the valid part (first non zero digit) and add 0x at the beginning?
[Android Software/Hacking General [Developers Only]] bigrammy:
The first file produced by ROM Studio gives you the start addresses of the all the partitions boot, system. uboot, etc and there length's so you need to enter them into the backup section of SPFT the Start address and the length for each partition. [MENTION=4478781]yuweng[/MENTION] has done a tut with photos on this but I can not find it just now. :crying:

I will look a little later for you when I get the chance sorry but really have to go now. :cool:
[Android Software/Hacking General [Developers Only]] MrCabana:
What exactly has to be done to my boot.img then?

I managed to fix default.prop now what else?
[Android Software/Hacking General [Developers Only]] x1123:
once you success rooting the device, and patching boot.img files from secured to unsecured click adb terminal (presumed you do it with MT Droid Tools) in adb terminal execute command to delete recovery-from-boot.p only some rom have it like lenovo p700i I dont remember where is the exact locations of this folder, probably at / or /system

then flash custom cwr / twrp with flash tools. Your cwr / twrp will permanent.
[Android Software/Hacking General [Developers Only]] MrCabana:
No such file on my device :(

---------- Post added at 11:30 PM ---------- Previous post was at 10:33 PM ----------

Can I add su and busybox to boot.img?
[Android Software/Hacking General [Developers Only]] bgcngm:
No problem, I'm glad to help. But was that question just curiosity or are you having any problem flashing your phone?
[Android Software/Hacking General [Developers Only]] thetrisatria:
i used to develop qualcom device (just ROM)

so, mtk thing is a brand new stuff for me hehehe :P

another question:

So the CWMR is installed in sec_ro partition, and recovery partition remain filled by stock recovery?
[Android Software/Hacking General [Developers Only]] bgcngm:
No, recovery (stock, CWM based or any other) is always flashed into recovery partition.

That sec_ro partition is unknown to me. I don't know what it is used for and never needed to touch that, so you can forget it.