yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] yuweng:
@Bala

if you take the same /sbin/recovery from your ported 6.0.2.7 & put it to Mi350n, Touch Screen works well...in fact, it is extremely smooth & responsive & you only need to swipe up/ down on those blank/ empty area & that will scroll the menu then touch the menu to select it...No more accidental unwanted menu press when you scroll directly at the menu...However, there is no Wipe data/ Factory Reset on it... :eek:

Above test clearly indicates that some modding needs to be done on CWM source code for it to work on MT6577...

varun.chitre15 told me, cwmr touch version is close source ( never know that ) & it is release to only selected RDs(Recognised Developer) & he has been bugging Koush ever since...i guess he still haven't got it or he would have compile CWM Touch for MMX A70...

May be we all here need to bug Koush too so then only we'll have CWM Touch on our MT6577...

@ablbd

For tablet mode, its here, have fun with it... :laugh:

Fastboot has never worked on MT65xx, guess it works on newer MT8377 only... :D
[Miscellaneous Android Development] balamu96m:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Thanks bro!! We'll try that!

Fastboot works with MT6577....dunno about MT6575....
[Miscellaneous Android Development] balamu96m:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Also Is touch screen working in TWRP??
[Miscellaneous Android Development] yuweng:
@ablbd

Wow, since Bala confirms Fastboot is working on MT6577 then you are most welcome to share your unknown/ latest Fastboot rooting method at this thread here with fellow xda member...

@Bala

Bro, kumar abhishek confirm it works on MMX A110 but i don't know if its Lewa TWRP or TWRP V2.3.2.3... :laugh:

----------------------------------

Haha, no wonder you ask, found you here after a quick search, may be you would like to try Master Shifu Javum's TWRP V2.3.2.3... :fingers-crossed:
[Miscellaneous Android Development] ablbd:
Well, fastboot is an option in certain JB preloaders, so I wouldn't dare to generalyse...

On my device, this facility appeared only after a full upgrade (preloder and dsp_bl included) from ICS to JB. At Vol-Up+ Power combination , it shows up a simple 3 point menu: recovery; fastboot; normal; navigation with Vol-Up and selection with Vol-Down. The newer ZXC devices with pre-installed JB have this menu too. Is good to know about this built-in fastboot that cannot be launched by "adb reboot bootloader" or "adb reboot fastboot", as it is

exclusively hardware trigered

, but it can be entered by pressing VolUp imediately after any of above or after a simple "adb reboot".
[Miscellaneous Android Development] FutureOS:
recovery.img not found after backup from other device using this apps BakUpTool_MT6575_4.0_v2c_4GB_sdcard.rar

is there any way solve this problem? thanks

wbr,
[Miscellaneous Android Development] yuweng:
First, you need to identify your device whether it is using mtd or emmc partition since yours is a MT6575... At adb shell -> cat /proc/mtd & cat /proc/dumchar_info or just refer to settings -> About phone either is Gingerbread 2.3.6 or ICS 4.0

i suspect yours is mtd then refer to here & download BakUpTool_MT657 5 _2.3_v2c_4GB_sdcard.rar

Or you can use this tut to uploading your recovery via SP Flash Tool... :D
[Miscellaneous Android Development] bgcngm:
Yesterday I have built CWM recovery 6.0.2.8 from sources (my latest compiled version was 6.0.1.2, the latest available for ICS branch), so if anyone wants I can share the ramdisk. As there are also some touch sources on github I am also trying to build a good CWM-Touch recovery.
[Miscellaneous Android Development] erlucky:
I bgcngm

I'm interesting for your recovery.... but is for mtd or emmc partitions?

I have Acer gallant duo (emmc) e Acer z110 (mtd).

You can upload your job?

Bye and thank you
[Miscellaneous Android Development] bgcngm:
Doesn't matter... eMMC or MTD partitions are supported. The only thing you need to do is to adapt recovery.fstab to each specific case. ;)
[Miscellaneous Android Development] erlucky:
Ok good..... you are the best....:D

I can port for all my devices.

I send you PM.........

I have port the first recovery 6.0.1.5 for acer liquid gallant duo and later other port for acer z110.

I waiting link download for your recovery 6.0.2.8.

Bye
[Miscellaneous Android Development] bgcngm:
Okay, here's CWM recovery v6.0.2.8 (ramdisk only) for anyone that wants to port it to MT65xx based devices. Please note that this ramdisk contains my Huawei U8836D specific files and properties, but it should at least be portable for the majority of MT6577 phones out there. Important note is that init.usb.rc (only needed for MT6577 devices) is device specific and while porting the original must be taken from stock boot.img.

Other than that, nandroid backup is fully working for devices with eMMC partitions, unlike other recoveries that get stuck while backing up boot partition.

Happy porting (and don't forget to hit "Thanks" button)! :D
[Miscellaneous Android Development] tedascuen:
Yes, I'm interesting in your ramdisk. I will try to port for my Umi X1 and my Amoi n821...

Thanks.
[Miscellaneous Android Development] balamu96m:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Yuweng bro!

We got the kernel source of a110 - as another company releasing the same phone posted in on github!

I cloned them on to my linux and compiled the kernel.....varunchitre said he used a modified repack script of bruno martins.....he is currently off for 5 days due to exams.....so I can't get it from him currently..........anyways i'm going to try the same repacker......do you have any recommendations?
[Miscellaneous Android Development] yuweng:
Wow, that is indeed a great news, Master Shifu...

So far there are non DEVs compiles CWMR for our MT6577 SoC so i too have downloaded CM10.1 source code to learn to build it... :o it took 8 hours on my 5mb broadband to download it & after zipping it, it is close to 10GB in size... :eek: Just started to setup the build environment and those cli is really driving me crazy... Just to let the rest of you guys FEEL of setting up those build environment here... :o

So guys please thanks Master Shifu BM, now we don't have to compile it & we have cwmr 6.0.2.8 on our MT6577...

Eagerly awaits for your CWMR touch too, Master Shifu... :D

Yeoh Bro, Wow, you too started to build then i could learn a trick or two from you... :o

i've tested JB boot/ recovery unpack/ repack, both Master Shifu BM & Master Shifu Michfood utils works great... in fact, one fellow xda member who pm me, provide links to latest MT6589 update.zip & the good news is that both utils is able to unpack/ repack it successfully too...
[Miscellaneous Android Development] balamu96m:
I'm not an expert or so bro! Just started......that too only kernel....! It doesn't require downloading 10GB source !! Its just some hundreds of MB !
[Miscellaneous Android Development] erlucky:
Hi all

I have ported new recovery cwm 6.0.2.8 for Acer Liquid Gallant Duo (emmc) and Acer Z110 (mtd) MTK6575 devices

Acer Liquid Gallant Duo Images ----> Here

Flashable Zip from old Recovery ----> Here

Acer Liquid Z110 Images ----> Here

Flashable Zip from old Recovery ----> Here

Big Thank to Bcgngm (Bruno Martins) :D for this recovery.

Bye
[Miscellaneous Android Development] bgcngm:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Bruno Martins, that is me!
[Miscellaneous Android Development] erlucky:
Hi Bruno

Sorry :laugh: :o

Nice to meet you........:D

Big Thanks for your job, my port of your recovery for my devices is very good not bugs i think.

O.T.

But you can help me for setup device and vendor directory on cm10 (Acer Gallant Duo and Z110)?.
[Miscellaneous Android Development] 2x1:
Error running Linux script

Hi yuweng :)

You addressed these lines to another forum member, but please allow me to join the Ubuntu beta testers "army" ;).

As you know, I also wanted to port one of these nicer recoveries for my Haier W718 (MT6575) since the one that comes with this phone is very basic.

First I tried the Windows XP+Android Kitchen+cygwin way, but I got an error with the output and I thought I might as well try the Ubuntu option since I have it installed.

Unfortunately, I also came across an error:

Repacking recovery image...

Ramdisk size: 5314 blocks

Can't exec "mkbootimg": No such file or directory at repack-MT65xx.pl line 82.​

But that executable file is indeed in the directory where the script is running, so I don't understand. I extracted it in the same folder where I have the Android Kitchen although I am not even sure this is relevant. Am I missing something?

Cheers,
[Miscellaneous Android Development] Klown80:
i am trying to root a china clone with a mtk, mediatek 6577 processor with jellybean 4.1.1. Model number N7100. The problem we are running into is where you need to pull the firmware.info file. I get an error in ADB and the file on the sd is only 31 bytes in size. That file wont load in MTK rom studio so I dont know where the recovery is located. I found the recovery location for another mt6577 device. Would it be possible to use that address to pull the recovery? From there I think I will be ok but right now I am stuck trying to pull the recovery. I figured I would ask first before trying it as I dont want to mess it up!

Any and all help would be greatly appreciated!
[Miscellaneous Android Development] madkhaz:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Hello guys. Can i know how to get CWM recovery for mt6577, for haipai n7102 with android 4.1.1

Also, does we have custom kernel yet for mt6577 device? For better battery saving and tweaks.

Sorry for asking much.

Thanks in advance :)
[Miscellaneous Android Development] yuweng:
Haha, i don't even remember i did have an Ubuntu script for porting cwmr...

Just replicate your problem & it turns out on 12.04 or later, Ubuntu comes with perl v5.14.2 so you need to head up to Master Shifu bgcngm's github here, download the zip file, extract the two *.pl to that same folder & it'll work... ;) Don't forget to leave your thanks to Master Shifu here too... :laugh:

The reason i started this thread is for xda members to DIY rather than relying on unknown recovery.img from the web as many has experience brick even its from the same model ! :eek: So get those adb install properly, put a check mark at USB debugging & refer to this here to backup your Factory ROM out of it first, once you ported custom recovery... ;) Fyi, the same command cat /proc/dumchar_info >sdcard/firmware.info works on my updated JB 4.1.1 device... :cool:

Bro, this thread here is for you to hands on & ask question... :o No, there has never been any custom kernel for MT65xx however many DEVs here are working on it however its device specific, meaning if its not for your device then you cannot use it...Refer to here for more info... :cool:
[Miscellaneous Android Development] madkhaz:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

So, how can i install cwm to my phone?

I'm interested in building custom rom, but i'm a newbie.

Really appreciate any help in guiding me towards my learning in building rom and kernel :)
[Miscellaneous Android Development] Klown80:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Hi,

Thank you for the reply.

First thank you to the tutorials, they have been quite helpful. Next I prefer DIY, I don't want you to do it for me. When I said all help would be appreciated I meant in terms of advice and such. I can't learn anything if you do it for me, I was just asking a question. :) Also I never planned on using an unknown recovery on my device, I know full well that can lead to a permanent brick if it is not for your device. I was mearly asking if the location of the recovery in my phone is in the same location as the mt6577 device you used as an example in your "root the latest "unrootable" mt6575/77 via CWMR V2" tutorial so I can pull MY recovery from my phone.

Adb is set up, it works fine with any other phone I connect. USB debugging is also on, I can "adb devices" and the S/N of this mt6577 device does show up so communication between adb and device is OK correct?

As for making a back up, I can't do that until I get the command for pulling the firmware.info to work so I can pull my stock recovery and port twrp or cwm to my device. The first thing I always do is make a back up!

But from your post above you may have already gotten me moving again, I think I may have had one too many spaces in the command. Just to be sure, this is the correct command exactly?

cat /proc/dumchar_info >sdcard/firmware.info

I think I put a space after the ">", I will try that and let you know if it works. I was able to make a 31 byte firmware.info file with the command I used, I figured it was the correct command since it did output firmware.info to the sd.

Either way, thank you so very much for taking time to reply to me. It has been very greatly appreciated and thanks again for the tutorials, I wouldn't have gotten anywhere without them!
[Miscellaneous Android Development] Klown80:
Yuweng you are the man!!!!!

I got it thanks to your command. I cant believe it was something that simple I was missing! Now I have the stock recovery pulled off of the phone and I packed and unpacked with V2-CWM^-6012-MT6575_77 and it all went fine with no errors but now I get an error message when trying to down load it to the phone. It completes stage one with the red bar reaching 100% Then I get this message:

Common Hint for SP Flash Tool Issues:

Please Supply your tool version, GUI screen shot and tool logs when you encounter trouble with the latest tool.

How to obtain the tool log?

1) Run the tool

2) Press Ctrl + Alt + (Tool tittle hint: run trace mode)

Brom Error : S_FT_NEED_DOWNLOAD_ALL_FAIL (4050)

Need download images!!

[Hint]

DA partial images download allowed under following prerequisite: 1. All images have been downloaded to the target before and the target could boot up. 2.The images layout map on the target is the same as the load that is to be downloaded.

Does your extremely awesome mind have any ideas here? What simple thing am I missing now? I am about to try making a TWRP port of the recovery to see if that works.

Thanks again for your help Yuweng!
[Miscellaneous Android Development] 2x1:
sript under Ubuntu... now another error

Thanks yuweng :)

Right, I have looked at Master Shifu bgcngm's github but there is not any zip file, only several files. So I assumed you meant downloading:

repack-MT65xx.pl

unpack-MT65xx.pl​

And then using them to replace those named the same way in Android-Kitchen-0.221>tools>MT65XX, right?

I did this first and got the same error, so I also replaced those two files with the same name in Port-cwmr-MT6575-77 folder and ran again the script. This time the error was:

Bareword found where operator expected at repack-MT65xx.pl line 9, near "<title>mtk"

(Missing operator before mtk?)

syntax error at repack-MT65xx.pl line 5, near "html>"

Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near column 53 at repack-MT65xx.pl line 9.​

I must be making a mistake at some point with the crossreferences, so would you be so kind to repeat step-by-step the process for Ubuntu because I am quite confused right now.

Thanks and sorry for taking so much of your time :angel:
[Miscellaneous Android Development] bgcngm:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

There's a button on github that allows you to download all files from repo as a .zip. ;)
[Miscellaneous Android Development] yuweng:
YW... :laugh:

Yeah, sometimes it doesn't work so you need this app here to generate a new scatter.txt then only it'll work with SPFT... Don't forget to thanks the Master Shifu... :cool:

Connect your device to pc & start MTKdroidTools -> Blocks Map -> Create scatter file -> save it to the same folder that has your ported recovery.img
[Miscellaneous Android Development] Klown80:
Thank you both of you guys! It worked (Of course you knew that huh?) So which one do I donate to?
[Miscellaneous Android Development] yuweng:
Haha, i'm no DEV & i don't write codes... :o i've pm'ed Master Shifu in the morning & great news, he has started a thread here just to support fellow xda member... :laugh:

i never like the word donate, i think Sponsor,Gift or Contribution for the Great Work he has done on MTK Droid Tools is so much more better ... :cowboy:

He also let me know that you are the first one that offer Monetary Support for the program... :angel:
[Miscellaneous Android Development] Klown80:
I would be honored to send a gift to Master Shifu, Who is it exactly so I can give credit where credit is due. Thanks again for your reply though Yuweng, I wouldnt have made it this far without your guidance and tutorials either man. Thank you!
[Miscellaneous Android Development] Klown80:
Sorry to be a pain but will the cat /proc/dumchar_info command work on a MT6573 with 2.3.6? Tried it but I dont get shell@android back for the prompt after typing adb shell so I am wondering if I have driver issues or if it works because I get an error when giving that command .

Thanks in advance!
[Miscellaneous Android Development] bgcngm:
It may not work. Most likely, that MT6573 device has a MTD partition table, so you can get the info by doing this:

adb shell
cat /proc/mtd

EDIT: The result should be something like it's shown on the picture that is on my blog's post.
[Miscellaneous Android Development] Klown80:
Thank you, I will hit your thanks button tomorrow. I am all out for today. Thanks for the link to your blog as well, it has all the info i need.
[Miscellaneous Android Development] Klown80:
Any ideas on how to root a MT6577 device with 2.3.6? Superoneclick 2.3.3 does not work and neither does Doomlord. I was going to give building a custom recovery a try for this device like I did for the MT6577 device but I see you have to be rooted first. How does one root the phone if you cant install the recovery until after it is rooted? It is a A9300 model if that helps as well. It is marketed as a HTC Thunderbolt 4G. I cant find any method that will work with it, or are there plug ins available for the MT6573 that I overlooked? I have been searching for hours and seem to be stuck. Any and all help (or even ideas at this point) would be very greatly appreciated! I am stuck, so I figured i would refer to the resident geniuses!

Thanks,

Kevin
[Miscellaneous Android Development] yuweng:
AFAIK, for MT6575 GB 2.3.6, many rooting software works including MTK Droid Tools that you sent Monetary Support for the program... :D

The other method which you already know is to use SPFT, upload stock 3e recovery, port cmwr/ twrp then install any root.zip & you'll have your device rooted.... :cool:

Hmm, i think i have prepare one for mtd partition...its here... ;)
[Miscellaneous Android Development] Klown80:
Thank you again Yuweng! lol, funny that I tried everything but the one program I already had!

*EDIT* I just saw your link, thank you very very much!!
[Miscellaneous Android Development] BHARDIK:
Thanks Master Shifu & u too for posting this useful guides here

thanks bro its really appreciated for me and others too

really Very thanks for this guides.......

i try to port CWM 6.0.2.8 for my device then tell u the results
[Miscellaneous Android Development] erlucky:
Hi yuweng

You can ask all dev if possible make basis for cyanogenmod for this MTK CPU?

Team MTK Cyano.........;)
[Miscellaneous Android Development] yuweng:
Yeoh Bro, haha, i think all these will soon be possible as RD varun.chitre15 has made some great progress here by compiling out a working boot.img out of Mediatek's limited source code...

And he has also compiled out the latest TWRP V2.4.2.0 here, me still couldn't figure out how to compile it...

Currently, the Root Checker built-in to TWRP V2.4.2.0 doesn't work on MT657xx devices & he told me he'll look into those source code & hopefully he'll be able to patch it then once install TWRP & it will auto-root if the device isn't already rooted ...

---------------------------

The new TWRP V2.4.2.0 built-in Root Checker works after all, thanks to TWRP Team...

i've released it here as not to confuse with the TWRP for Alcatel here...
[Miscellaneous Android Development] erlucky:
Hi

I have ported twrp recovery 2.4.1.0 (1 post) for acer liquid z110 MTK6575 with mtd partition is good but give me this error

no Mount emmc......

I know i have change recovery.fstab.

This recovery is compiled for emmc?
[Miscellaneous Android Development] yuweng:
AFAIK, all recently compiled TWRP is for emmc... :laugh:

As said, it was bigrammy that found out it works on mtd partition as well... :D
[Miscellaneous Android Development] demonicangell™:
i want to port custom recovery for a mt6577 device (ics) 3 button

but the link i found in the twrp tutorial is dead (mediafire)

anyone can send a working link
[Miscellaneous Android Development] yuweng:
Why nobody read the whole thread or even a few post back...

Latest KANG is at this post here... :cool:
[Miscellaneous Android Development] Klown80:
Hi yuweng, sorry to bother you but I need to call on your great wisdom again.

Iam trying to root an MTK6573 device using the tut you gave me in the link in this post. I have the whole concept down but I cant get it to upload anything. If I turn off power ad plug in while holding Menu nothing happens, it dont even register in the device manager. However, i have figured out if I press and hold Vol Down and press power it puts it into a Factory Mode and it pops up in the device manager as MT65XX Android phone with a yellow exclamation mark, any idea what I am doing wrong here? i figure it is a driver issues but I have been at it for days with no luck!

As always, and all help is ALWAYS very greatly appreciated!

Thanks,

Kevin
[Miscellaneous Android Development] yuweng:
Bro, some MT65xx require combination key press to enable upload/ download... :cool:

On my MT6573, i have to press & hold Menu -> with battery -> plugin USB then only upload will work... :cowboy:

While i've feedback from fellow xda member, some MT65xx is Volume Up to upload, Menu to download... :eek:
[Miscellaneous Android Development] Klown80:
I have tired every button press I can think of. IF I go into the factory mode it gives thee options:

full test

item test

test report

clear flash

version

reboot

And in MTKDroidtools this is the info it gives me about phone:

Hardware : MT6573

Model : e1101_v73_jxd2ctp_a77

Build number : ALPS.GB.FDD2.MP.V4.5

Build date UTC : 20120206-081556

Android v : 2.3.6

Baseband v: MAUI.11AMD.W11.37.SP.V17, 2011/12/09 19:35

Kernel v : 2.6.35.7 (root@zhangjianan-desktop) (gcc version 4.4.3 (GCC) ) #1

Mon Feb 6 16:10:24 CST 2012

I have tried Superonclick, MTKDroid, and every other root method I can find with no luck, then I can t get it to upload the recovery , I am about to give up on this one! Any advice on where to go from here besides get a different phone? lol
[Miscellaneous Android Development] jufegoco:
Re: [TUTS] [TOOLS] CWMR/ TWRP/ COT Recovery for MT657x

Mmm... it could be my problem too!! I tried to root my phone unsuccesfully but I can't download anything because I had the 8038 error in the flash program. I could create and modify "recovery.img" but I can't download again to my phone. Can you check my phone in the image and gave me some advice? I'm trying to root it. Thank you very much and sorry for my bad english!

Edit: I could not upload the image. Information of my phone is:

Model: AVA757

Android version: 4.1.1

Band base: MAUI.11AMD.W12.22.SP.V15

Nucleo: 3.4.0 root@wangligan-desktop))#1 SMP PREEMPT

Compilation Nuber e1909c_v77_jh1_ava_9p017

Enviado desde mi AVA757 usando Tapatalk 2
[Miscellaneous Android Development] hamzairshad:
I cannot root my phone

Dear All,

Please see the attached pics for information. i cannot root my phone. please help
[Miscellaneous Android Development] yuweng:
Guys, this thread is about porting your stock 3e recovery to custom recovery...

Rooting thread is here & there are tons of tuts for SP Flash Tool... :cool:

@Kevin

May be your device need testpoint... :cool: