yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] yuweng:
Yes, if yours is ext4 filesystem & not ubifs & it doesn't fit to MT6572 6Mb recovery partition size

Earlier, i've helped a fellow xda friend who has a MT6572 & its flip screen... :laugh:

So you will need my super extreme resize TWRP & the flip screen library file... :cowboy:

if you donno what to do with these files then attach your stock recovery here... :cool:

Yes but most importantly read here & here & here first... :cool:
[Miscellaneous Android Development] superdragonpt:
You can try this Options:

# mount point fstype device [device2]

/boot mtd boot
/cache [COLOR=Blue][B]auto[/B][/COLOR] cache
/data [COLOR=blue][B]auto[/B][/COLOR] userdata
/misc mtd misc
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system [COLOR=blue][B]auto[/B][/COLOR] system

or

# mount point fstype device [device2]

/boot mtd boot
/cache [COLOR=blue][B]ubifs[/B][/COLOR] cache [COLOR=Blue][B] /dev/null[/B][/COLOR]
/data [COLOR=blue][B]ubifs[/B][/COLOR] userdata [COLOR=Blue][B]/dev/null[/B][/COLOR]
/misc mtd misc
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system [COLOR=blue][B]ubifs[/B][/COLOR] system [COLOR=Blue][B]/dev/null[/B][/COLOR]

or

# mount point fstype device [device2]

/boot mtd boot
/cache [COLOR=Blue][B]auto [/B][/COLOR]cache [COLOR=Blue][B]/dev/null[/B][/COLOR]
/data [COLOR=Blue][B]auto [/B][/COLOR]userdata [COLOR=Blue][B]/dev/null[/B][/COLOR]
/misc mtd misc
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system [COLOR=Blue][B]auto [/B][/COLOR]system [COLOR=Blue][B]/dev/null[/B][/COLOR]

Some China Phones with ubifs work with those special chars

Just be sure you have the FULL STOCK ROM, because you will brick your phone trying some of the options.

If you dont have the full stock rom, DONT TRY

Good Luck ;)
[Miscellaneous Android Development] biobio76:
@ yuweng

@ superdragonpt

as you know I have a clone S4 mini GT 9190 with UBIFS file system partition..

so, reading last message of superdragonpt look/seems its possible or at least we can try?

I received from seller the stock firmware.....

so , If I upload the stock recovery, can you do something "magic" for me please.... and then tell me how flash it to the phone...

I disperatly need a CWM on this phone....sigh...

please tell me what else you may need and you may want me to upload you for your check...

thanks guys.

cheers
[Miscellaneous Android Development] KopiJahe:
[MENTION=4478781]yuweng[/MENTION],

Will you update TWRP-Porter to 2.6.x for multi-res? :D
[Miscellaneous Android Development] yayakuya:
all your zip are corrupted (broken)... :(

download it for three times, and i can't extract it...

any help? thank you

--edit--

okay, just in case i'm not be able to port it. here's my original recovery.img

Thanks in advance ;)

--edit 2--

Now i can made it works...!!!

but hell... i can't flash any zip ( always get it failed ) please help, what to do now...

any advice or could you explain why...

thank you
[Miscellaneous Android Development] bigrammy:
WOW talk about snooze and you loose look what happens when I have been away for a while setting up an mtk forum :crying: ubifs more to learn :eek: I don't know if I can keep up bro my head is polluted with .php script from the new forum I have been putting together :D

I will do my best to catch up with you guys :o

Great work BTW [MENTION=4478781]yuweng[/MENTION]
[Miscellaneous Android Development] vbdss:
[MENTION=4478781]yuweng[/MENTION] Master Shifu. Its me again, that annoying guy with an Razr D3 XT920 from Brazil.

We just received an OTA Update with a new firmware rev. Maybe there is something there that we can use to try make an Custom Recovery?
[Miscellaneous Android Development] yuweng:
i won't help you brick your device... Pls confirm you have Meta-mode first... :laugh:

Actually it has been ready but it won't work on most MT6589 6Mb partition & many couldn't get my 7Mb mod to work & no body is interested to help me to help them get the 7Mb mod working so no point sharing it...

As said, my compiled 2630 is here, replace the res & it'll work... :cool:

For others

WARNING : On MT6589 ported TWRP easily exceed 6Mb & it wouldn't boot on 6Mb recovery partition & you will lost your IMEI if you install it via dd command... :cowboy:

As said, it has been tested working for basic wipe/ backup/ restore/ install ROM so i believe there is an error either on the updater-script or update-binary or cause by some other factor, idk... All custom recovery has this feature to copy error log to sdcard so you can analyse it yourself... :cowboy:

Haha, actually its consider a new format for android but not really new also... :D

No worries, downloaded a MT6592 SPFT format ROM & found out it is still using ext4 & for boot/ recovery partition, it has a size of 0xa00000 = 10Mb so any recovery should be able to fit in it...

Sorry Bro, unless someone make the discovery on how to bypass the bootloader first or Motorola offers bootloader unlock like HTC devices then only we talk about custom recovery... :cool:

A reference here for you to play around, credits to superdragonpt... :good:
[Miscellaneous Android Development] biobio76:
Yes.... VCOM drivers are correctly installed on my PC,

It's not the first time I flash a phone or make a dump....

So tell me what you need to make this try.... Thank
[Miscellaneous Android Development] KopiJahe:
It's working, even the screen is can be turned off, and the usb storage mounting is not buggy anymore :highfive:

Thank you :D

So, i ported TWRP to other phone, and they've lost their IMEI (they have backup though), that's because the recovery partition is not large enough, thanks for the info

[MENTION=2227671]agismaniax[/MENTION]

Well, it's a surprise to find you here :D
[Miscellaneous Android Development] superdragonpt:
You can reduce the recovery size up to 500kb. you can squeeze those extra KB from the recovery PICs.

Either by modding the PICs by reducing their size ( i.e.: use GIMP or Photoshop), if its still not enought, replace those *.png with dummy 1kb PICs. The revovery would lack pics, but functional.

Regards
[Miscellaneous Android Development] agismaniax:
Hi [MENTION=4478781]yuweng[/MENTION]

I try your CTR MTK automated tool v1.0 with my Polytron W8470 (Fly IQ4410 or BLU Life Play clone) and it works fine. That tool generates CTR v6.0.4.0 and pushed directly into my device.

When I try CTR MTK v1.1, it won't work with an error message "cannot pull recovery.img" and then the tool suggests using Auto-Port MTK CWM. How to create CTR v6.0.4.4 to my device with your tool?

Btw. My device screen resolution is 720x1280 with MT6589 SoC.

Hi agan [MENTION=2689045]awaaas[/MENTION], nice to see you too. The saying goes, the world is only as wide as the leaf of moringa. :D
[Miscellaneous Android Development] yuweng:
Have been extremely busy & have to work over the weekends too..

i've seen the Russian forum shift whole res folder to sdcard/TWRP/theme/ui.zip but that too is oversize for some MT6589... :o

The porting tool will dd then pull recovery.img from /data/tmp & if fail then it will try /sdcard then /sdcard2 so i think there is something wrong with your su... :cowboy:

You can always try the manual methods here... :laugh:
[Miscellaneous Android Development] lopestom:
CWM Touch - CTRv6.0.4.4 for BLU TANK 4.5/K-Touch U9 and BLU VIVO 4.3/Micromax A90s

Master shifu [MENTION=5186178]carliv[/MENTION] and [MENTION=4478781]yuweng[/MENTION]

Thanks for your work on this great partnership. :angel: I had built something for my MT6577 with instructions of the Master carliv.

But with this tool it is easy to do. :D

:cool:

File references ready: recoveryCTRv6044-BLUTANK45 ---------recoveryCTRv6044-BLUVIVO43_A90s
[Miscellaneous Android Development] munchou:
Worked like a charm on my Star W450, thanks a lot!!
[Miscellaneous Android Development] Markos:
What file did you use? I can't find any file. I have the Star W450 too
[Miscellaneous Android Development] munchou:
Yo,

I used the link provided in the 1st post: http://d-h.st/Zob (file named 6044.7z).

Just unzip, launch the *.exe file (6044.exe) and follow the instructions. You just need to have your phone plugged to your PC (with debugging mode activated) and that's it. You'll have several messages (information boxes showing that the program has correctly detected some specific stuff), simply click OK.

The recovery menu is 100% in English (whereas the files I had previously used gave me a Chinese menu =_= ). :good:
[Miscellaneous Android Development] Markos:
Thnx! I misunderstood the first post. I have a working English recovery now! It couldn't be more easy then this.
[Miscellaneous Android Development] loyki:
GT i7100 clone update firmwire

hello friends.how update my fhone with custom rom?
[Miscellaneous Android Development] blefendic:
Heyy, are there any custom ROM-s for W450? :)
[Miscellaneous Android Development] agismaniax:
sorry... wrong place.
[Miscellaneous Android Development] gregdeberg:
Alcatel One Touch Idol Mini 6012X

Hello :)

Impossible to install this recovery on this phone :(

Bye :)
[Miscellaneous Android Development] radicalero:
Anyone know if this recovery works on this phone?

http://dx.com/es/p/a199-android-4-2...-0-screen-wi-fi-gps-and-dual-sim-white-251477

Thanks
[Miscellaneous Android Development] chen2011521:
[MENTION=4478781]yuweng[/MENTION]

Thanks for your great work !!

I ported the recovery to my huawei G700 （mt6589）,but the touch is not work .

I compiled cot recovery from carliv`s source from github ,but the same problem ,touch was not working,I cannot touch red square in center ....

Can you help me ?
[Miscellaneous Android Development] yuweng:
it has been mentioned many times at this thread & also the porting tool will say Alcatel MTK devices are not supported use this one here...

This has also been mentioned, its the kernel... :cowboy:

Fyi, on my Lenovo A789, Touch doesn't work until i use the latest kernel, same with MMX A110, they got it to work when they use the latest kernel... :laugh:

Hopefully your G700 has a few ROM update with different kernel or you might end up like MMX A110Q they are also stuck with no Touch at recovery until now... :fingers-crossed:
[Miscellaneous Android Development] KopiJahe:
[MENTION=4478781]yuweng[/MENTION], I don't know why, but it seems that this thread is changing, from CWMR/CTR/TWRP for MT65xx devices to CTR for MT657x devices :rolleyes:
[Miscellaneous Android Development] yuweng:
Haha, my friend, i started this thread to help newbies to port the latest custom recoveries to their MTK devices & when it doesn't work then no point sharing it... :laugh:

Of lately, latest CWM from cm10.2/ cm11 source doesn't even boot on MTK & latest TWRP is oversize & doesn't fit to most MTK except the newest & latest MT6589/ 82/ 92 so remaining is only CTR that works on all MT65xx (for MT6573 you'll have to compile it yourself from Master Shifu carliv's source)... :laugh:

For semi-pro like yourself, you already know how to port the latest TWRP to your device... :cowboy:
[Miscellaneous Android Development] vers55:
Try it

http://yadi.sk/d/xB8xLmBPFAP28 - twpr tuch recovery for my ZGPAX S5

http://yadi.sk/d/DLEe1m9NFAPHw - ui.zip - theme for 240x240

Drop ui.zip to /sdcard/TWRP/theme.

I do it for myself - no so good, but it is work.
[Miscellaneous Android Development] mogamycool:
Thanks yuweng,

It worked with Lenovo IdeaTab A3000 .
[Miscellaneous Android Development] arnabbiswasalsodeep:
Well works on my karbonn a11 too

Only 1 problem (i guess every1 has it) that even if i click at the very top of the screen and i have a button down there then the button gets pressed. Like if i touch miles above the select button it will still click on select

→→→★★★Press :highfive: Thanks :good: If helped! └(^o^)┘★★★←←←
[Miscellaneous Android Development] Rock-Ace:
I thought that your method will work but again in vain........it gives the "Security Error" again like other recoveries to me :( After trying almost all the tutorials available on internet for MTK devices (even the Cihinaphonearena ones...) I wan't to request you to provide some working method for LG D686 (LG G Pro lite dual) for flashing CWM/TWRP recovery and ROMs...SP Flash Tool is unable to progress after 0% while trying to flash recovery to my phone and Mobile Uncle Tools is flashing the recovery image but while rebooting to recovery mobile screen displays "Security Error" and again reboots normally.

Please refer to this thread to have better understanding of our problem : http://xdaforums.com/show...9#post49013589

PS: Even I tried to make CWM/TWRP recovery with the available tutorials and other stuffs but none was able to Fash using SP Tools.. even SO tools is unable to make any backup.. it always remains at 0% for any work.

I have also tried "Flash Tool" from MediaTek... but again no success.
[Miscellaneous Android Development] yuweng:
Then its best that you describe it precisely to my Master Shifu here so that he can make improvement on it on the next version or update... ;)

Another classic case of lock bootloader like the Motorola MTK Razr D3 refer to this ASUS unlock bootloader here (last msg) & hopefully it'll work on your LG too... :fingers-crossed:
[Miscellaneous Android Development] Rock-Ace:
ohh.. and if not then will it brick my phone... ?? Better to use this method for LG phones :

Here is the method to unlock bootloader but try with CWM ported for your phone (can be easily made from MTK droid tool or other tools within few clicks)

Unlock LG bootloader : http://xdaforums.com/showthread.php?t=2221102
[Miscellaneous Android Development] yuweng:
Never ever mod your device without Factory ROM, my friend, take a look at here all brick without Factory ROM to restore it back... :cowboy:

Fyi, MTK Razr D3 & ASUS me173x they have manage to get the Factory ROM so hunt for yours... :cool:
[Miscellaneous Android Development] borisku:
sucessfully portet to Wiko darknight! thanx a lot to all who made this possible.. :good:
[Miscellaneous Android Development] Metalazzo:
no luck with gt90 recovery.

stuck on CUBOT logo and that's it.
[Miscellaneous Android Development] deepak2111:
thanks,

master yuweng i had ported carliv recovery by using your tool(V2) for Dream D1 of GIONEE (mt6589) through adb,

i found two problem while using 1. factory reset delete system partition also with data and catch,

2. circular progress bar doesn't animate (icon_installing_overlay01).
[Miscellaneous Android Development] dyulay:
thanks for this.. only problem i have is that when im trying to flash a zip file, i can't browse thru my whole sd card. :(

It is stuck with what is only fit to display on screen, screen does not scroll down to the last file i have on sd card. I am going to report it too on master carliv's thread.
[Miscellaneous Android Development] AnoopKumar:
its not fixable ..
[Miscellaneous Android Development] dyulay:
I figured out i work around with it upon posting here. thanks for acknowledging that it is not fixable. :o
[Miscellaneous Android Development] AnoopKumar:
create a folder & copy the zip to it.. eg 00 (folder name)
[Miscellaneous Android Development] :
Guys, ... and girl :) you have to read how to use it. In carliv menu you can find an entry "Instructions", or take a look on this image:

Do you think I release it without being functional?!

Cheers!
[Miscellaneous Android Development] dyulay:
[MENTION=5186178]carliv[/MENTION]

Sorry about my useless feedback. :p

I was in a hurry to try it out that I actually forgot to check out your full thread. My bad. Thanks for reminding its functions though. :)
[Miscellaneous Android Development] yuweng:
Bro, this has been mentioned many times on this thread, one two sentence wouldn't fix anything...

1. i believe you use modded MBR, EBR then it'll wipe system too if you use the wrong one... :laugh: 2. As said, this one you gotta report it here... :o
[Miscellaneous Android Development] deepak2111:
No, I used stock MBR,ebr1,ebr2 and all other except recovery partition increased to 7mb. I can factory reset correctly with cwm and twrp. Let me test full stock elements then check again. I'll inform you.
[Miscellaneous Android Development] Metalazzo:
I tried another tool and now I have a 5.5.0.4 CWM recovery (no touch but it's no big deal).

What info do you want ? I can try to do it again and give you the detailed result.
[Miscellaneous Android Development] jvelex:
Anyone know if this method is compatible with Huawei-G610-U15 has MT6589!

Thank you.
[Miscellaneous Android Development] lohanbarth:
mtk6572

hello

it can run on alcatel one touch pop c5 MTK6572 thank you in advance
[Miscellaneous Android Development] Typhus_:
AWESOME!! :victory:

INFO
[Miscellaneous Android Development] dhinesh77:
[MENTION=4478781]yuweng[/MENTION] is there any tool for auto porting carliv recovery for UBIFS ?
[Miscellaneous Android Development] yuweng:
Sorry bro, i didn't make one as nobody confirmed it is fully working, don't wanna be getting feedback i use your porting tool & it bricks my MTK... Many has pm me regarding problems with MTK boot/ recovery unpack/ repack so i'll just lay out the steps here... :cool:

If you're still using XP then copy it to C:\, for later OS then copy it to your Desktop... Switch off Anti-Virus & UAC too as it always interfere with it... :cool:

Steps

1) Rename your stock boot or recovery.img to stock.img & whatever you wanna port to port.img, that way you won't confuse yourself... :cool:

2) Drag & Drop both stock.img & port.img one at a time to MTK_unpack.bat

3) Delete the whole rmdisk folder at stock then replace it with the rmdisk from port

4) Edit whatever you need to, to suit your device then Drag & Drop it to MTK_pack.bat & it will repack it back with the new rmdisk. Then you'll get new_image.img which can be use directly with SPFT or if you want, you can rename it to recovery.img so that it can be use with mobileuncle

For your case, change the recovery.fstab at stock/rmdisk/etc/ as of accordingly to your adb shell cat /proc/mtd. Typically will be as below...

# mount point	fstype	device	[device2]

/boot	mtd	boot
/cache	ubifs	cache
/data	ubifs	userdata
/misc	mtd	misc
/recovery	mtd	recovery
/sdcard	vfat	/dev/block/mmcblk0p1	/dev/block/mmcblk0
/system	ubifs	system
/sd-ext	auto	/dev/block/mmcblk0p2

If you wanna do it the other way round then follow as below...

Steps

1) Rename your stock boot or recovery.img to stock.img & whatever you wanna port to port.img

2) Drag & Drop both stock.img & port.img one at a time to MTK_unpack.bat

3) Copy kernel from stock to replace the one at port

4) Delete everything at port EXCEPT kernel, ram_header & rmdisk folder

5) Drag & Drop port folder to MTK_pack.bat & you'll get new_image.img that will boot... :cowboy:
[Miscellaneous Android Development] dhinesh77:
Got it :good::good:
[Miscellaneous Android Development] ts_firehawk:
For Razr D3 I have the stock Android images, that can be flashed with fastboot. I can upload them somewhere if you think that would be useful.

EDIT: I'm uploading it to Mega right now. A few minutes and I can provide a link.
[Miscellaneous Android Development] superdragonpt:
It been confirmed to work, but you should instead try the manual port.

IF YOU DONT OWN the stock SPFlash stock rom with preloader, don't you even try.

Regards
[Miscellaneous Android Development] seregar:
yuweng,

Hey. Today tried to make your utility CTR v2.1 Carliv Touch Recovery on Prestigio MultiPhone to 5044. It is created, but when you enter it, the cursor jumps himself anywhere. Recompiling Carliv Touch Recovery Mtkdroidtools it earned.

This is me for information. Maybe it will help you at work.

I apologize for machine translation.
[Miscellaneous Android Development] agismaniax:
Hi [MENTION=4478781]yuweng[/MENTION]

I found this article explained how to increase recovery partition on MT6589 for TWRP. Is this article still valid? Can I use manual porting from carliv's tutorial to port latest TWRP from another device with the same SoC and resolution?
[Miscellaneous Android Development] KopiJahe:
That very article you asked is made by [MENTION=4478781]yuweng[/MENTION] himself ;)

He said that he got mixed feedback, beside, you'll need full backup, including usrdata and cache partition (you can do this with MTK Droid Root & Tools v2.4.8 if I recall correctly). How about compressing or simplifying some images to reduce the size?

Btw, I successfully ported CTRv2 for my ZTE N986, but I still prefer using TWRP :D
[Miscellaneous Android Development] agismaniax:
I already ported CTR v1.1/2.0/2.1 for ZTE N986 and the backup/restore and other functions are working fine, but the touch is not working.

I will try to port TWRP 2.6.3.0 to my device and see what I can do to fit 6144KB limit without increase recovery partition size.
[Miscellaneous Android Development] KopiJahe:
You might want to use this Resized TWRP by [MENTION=4478781]yuweng[/MENTION] as your base

http://d-h.st/xMS

I got it boot on Andromax-Z / Hisense EG680, with all images compressed, the result is 5.8MB
[Miscellaneous Android Development] agismaniax:
Finaly. I've ported TWRP 2.6.3.0 to my Polytron W8470 (Fly IQ4410, BLU Life Play and GBW192's clone) with size 6120KB. All functions are working except backup compression. Do you know how to fix backup compression?

Btw. Thanks to you and [MENTION=4478781]yuweng[/MENTION] for pointing me to the right recovery.img.

Here is the link of TWRP 2.6.3.0 for W8470.
[Miscellaneous Android Development] yuweng:
Bro, use google translate i can hardly understand it... :laugh:

As mentioned, CTR is developed & compiled by Master Shifu carliv & it has been ported by many users & reported back working well so i presume its something to do with your kernel... :cowboy: However, you are most welcome to report it here thats how development works, no report no development... :laugh:

As mentioned, that one is the Extreme Resize so only basic backup/ restore works & that has taken alot of my time to identifying it... The full version is here compare the files & add it back to see if compression works... :fingers-crossed:

As for the 7Mb mod i presume some MTK won't work as reported back thats why i've taken it down... :laugh: Fyi, i've even manage to increase it to the max 11Mb on my old MT6573 with mtd partition & it is also working well too... :cowboy:

i've even deleted the whole secro partition from scatter.txt & it does boot up too but acting weird without secro.... :cowboy: Booting up time, there is no logo only blank screen but after awhile it does boot up.... :laugh: As for touch refer to here... :cool:
[Miscellaneous Android Development] agismaniax:
I can confirm, the Extreme Resize version only do the backup/restore, and can't do install from CWM flashable zip. The Full version consists a lot of library, so the final result after squeeze all images is 6722KB which is beyond my device limit. So I will stick with CTR for my recovery. ;)
[Miscellaneous Android Development] datasource:
Hi yuweng,

Im trying your increase recovery partition guide in order to port TWRP 2.6.3.0 but i must be doing something wrong. After modifying the Scatter file, i try to download with spflashtool but i get the oversize error because secro.img is 6MB. I have a ThL W8, am i missing something?
[Miscellaneous Android Development] alanvmathew:
help me

[MENTION=4981890]dhinesh77[/MENTION] buddy I too have bought a Micromax a58 phone. I too has ubifs format... My version is t-09 can u port me carliv touch recovery!!!!!!! Plzzzzzzz