yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] SammaelAkuma:
That's all well and good info wise(not trying to give you the impression that I don't appreciate your efforts, because I do) but from what I understand the Alcatel phones don't even have a custpack partition on 2.3.5(they do on 2.3.6, at least mine does). Picked through the stuff in the init files and the fstab files and the stuff for the /data partition appears to be all there. MIght be an issue with using m44tools.apk to flash the recovery. Gonna try using SP Flash tool and come back with results.

EDIT: Nope. It wasn't that. Gonna mess around with it until I get something going.
[Miscellaneous Android Development] yuweng:
Whoops, another misunderstanding, i didn't mean you... :o

Since you mention Alcatel, i just gotta flush it out of my system, that all... :)

Hmm, i might miss out a thing or two so attach is jeffta's modded CWM that support custpack partition...

Port it over to your device & see if it works... :fingers-crossed:
[Miscellaneous Android Development] mmrehman555:
Yes Bro, agreed 100% .....DEVELOPERS DON'T GET RESPECT AS MUCH AS THEY DESERVE IT.....People come here ,learn ,download but don't press the thanks button...and don't give credits to the person from they learn... I believe they are BASTA*DS, even if they have legal fathers...
[Miscellaneous Android Development] yuweng:
WoW bro, you must've experienced the worse than me...

i've come across a post, even a 16 years old RD knows how to mention credits...

And even our friendly neighbourhood MOD zelendel have to lashes out the below previously too . . .
[Miscellaneous Android Development] ercea:
Hey, the great stanner has publisshed an inverted functional TWRP 2.5.0.0 for Jiayu G3S:

link (msg 349): http://translate.google.es/translat...http://forum.china-iphone.ru/post1130084.html

Regards!!
[Miscellaneous Android Development] shimarpl:
CWM for MTK 6575/6577

Hi, I done it on my MTK 6575 phone very easily with latest MTK Droid tools. In back up button, there are three options and choose the third one. It automatically make a correct CWM recovery your connected device. I backed up the rom by this Clock Work Mode and tried other roms. But rom installation was not successful because of the availability of suitable roms.
[Miscellaneous Android Development] vbdss:
Hey [MENTION=4478781]yuweng[/MENTION] i am back here, you must remember me, we were trying to port a custom recovery to the motorola razr d3 XT920.

I saw the new tool and tried to unpack the boot.img and recovery.img but any of those come with a default.prop

There is a new revision of firmware out, with the same filesize of recovery and boot.

Can we try again something to try port a working custom recovery to my device?
[Miscellaneous Android Development] yuweng:
bad new for Motorola MTK Razr...

farenheith in pm with myself has already confirmed it, if using dd command to backup & reinstalled back stock 3e recovery, as expected it'll work as normal... :cowboy:

However, when TWRP is installed via dd command, it'll boot-looped after that... :eek:

it'll boot-loop even unpack/ repack stock 3e recovery without any modding...

This clearly shows that there is indeed some kind of lock/ system checks; when changes are made to Stock ROM, it will not boot ! :eek:

So you'll have to live with stock 3e until DEV is able to figure out how to break it/ by pass it... :cool:
[Miscellaneous Android Development] fandroid7:
When I ported a ROM for my mt6589 device.

GPS and haptic feedback aren't working.

Any fix for it?
[Miscellaneous Android Development] OraXdaDevelopers:
The manual porting of v6.0.3.2 generates a too big recovery.img for reflash with flastool.exe by my S9+ MTK6589!

"...is too large and causes region overlap!"

And now. Please help.
[Miscellaneous Android Development] yuweng:
Most latest MTK devices are built on latest Android OS sources so its normal that the kernel (boot.img) will be bigger in size... :cowboy:

i have already foresee that ported CWM one day will also be oversize but never thought it will be so soon, particularly for MT6589... :o

Use the 7Mb TWRP mod, its at the OP, i link it here for your convenience ;)

WARNING : This mod is for pro & semi-pro not for n00b... :cool: You might brick it if you donno what you're doing...

Having said that, it is still a very safe mod since it requires your device Factory ROM & you don't download preloader & dsp_bl for this mod... :cowboy:

And if you don't have your Factory ROM with you, backup it up with MTK Droid Tools & make at least three copies first... :fingers-crossed:
[Miscellaneous Android Development] gabrielking9:
http://sourceforge.net/projects/razrd.motorola/files/?source=navbar Razr D1/D3 could you build CWM for these devices ? Both use mediatek chips
[Miscellaneous Android Development] OraXdaDevelopers:
Dear yuweng, thx for your proposal to resolve my problem. It is a good idee, because a have a full Droid backup for my phone. Now I have to consider whether the new features of CWMR v6.0.3.2 are worth it to me to carry out these changes.

ps. Is it enough the recovery at the expense of sec_ro to enlarge 1MB, or do you also move all section after recovery subsequent img?
[Miscellaneous Android Development] albin2013:
does it work on MT8377?
[Miscellaneous Android Development] BHARDIK:
MT8377? This types chipset not available in market i guess re verify it. Use antutu system info n check chipset there n confirm it first.
[Miscellaneous Android Development] albin2013:
I just want to root my device:(
[Miscellaneous Android Development] yuweng:
Yeoh man, it means you never read that 7Mb mod tut or you would've know it doesn't work on CWM...

Yeoh man, you are on the wrong thread, refer to here... :good:
[Miscellaneous Android Development] mogamycool:
Here is my scatter.txt :http://www.4shared.com/office/71eOX-i0/MT6575_Android_scatter.html

sp tool said : recovery img is too large and causes region overlap .

I'm noob,and I don't know what to do , besides I'm afraid to brick the device .
[Miscellaneous Android Development] kumar abhishek:
I think its a sort of locked bootloadet like in htc nd xperia devices :)
[Miscellaneous Android Development] gabrielking9:
It need secondinit boot like safestrap
[Miscellaneous Android Development] gabripop:
I have a razr d1 MT6575 will it work for him?
[Miscellaneous Android Development] farenheith:
Unfortunately, no...

The RAZR D1 have the same problem of the D3: Some kind of protection, a secure baseband. We can't flash any non signed recovery or the cellphone will not boot anymore until you restore the original firmware
[Miscellaneous Android Development] yuweng:
But yet you still wanna know how to do it... :o

Change your scatter.txt SEC_RO to 0xf80000 will increase it to 6Mb...

For your case, make backup with MTK Droid Tools x three backups then download only the below with your ported CWM/ TWRP & it should work... :cool:

Eg. Below on my MTK mtd device...

Uncheck the first four partition...

On my mtd device, recovery becomes 7Mb
[Miscellaneous Android Development] cron0s879D:
Hi,

is it possible make a TWRP for my Jiayu G3S? (MTK6589)

now i'm using a not stock rom with a CWM that not work very fine.

I would like make TWRP 2.5 or 2.6 but i'm not a programmer. I only need execute your app for get the recovery image file? when i get the .img file i need flash it via flash tools? or your app do it all? do you have any tutorial for do it all process? Is there a risk of breaking the phone?

thank you for your job.
[Miscellaneous Android Development] yuweng:
This was already highlighted by ercea & you ask again... :cowboy: Don't forget to DONATE to Master Shifu Javum as he compiled this fix just for G3S

And i believe it should work on all latest MT6589 that has inverted LCD problem... :good: However, you gotta port it over yourself...
[Miscellaneous Android Development] farzad23:
how get boot loader

hi i installed recovery.img from mtktools but forgot to write new boot.img to phone memory .now i want to write boot.img to it bu when i wanna to go to boot loader and useSP_Flash_Tool it gose to recovery and i can not do it

any help please
[Miscellaneous Android Development] OraXdaDevelopers:
Replace the recovery.IMG with the original. Do it with flashtool.exe. What ist the reason to go into Boot loader?
[Miscellaneous Android Development] t-minik:
Hi, great tool !

I think in MT6589 devices, boot.img's default.prop is slightly different

"persist.service.adb.enable" is replaced by "persist.sys.usb.config"

so it should be (for example) :

persist.sys.usb.config=mtp,adb

just a question, does anyone know a way to reduce font size of recovery when unpacking repacking ?

i try to port THL W8 CMW 6.0.3.3 from C3C076 for my qhd phone and it works well but size font is a bit big.
[Miscellaneous Android Development] e-infor:
Thank, your script work perfectly... my clone have a beautiful cwmr :)
[Miscellaneous Android Development] yuweng:
Thank you so much for ur feedback... :D

It will be best if you could post a link for ur phone then other users will benefit from it too... :good:
[Miscellaneous Android Development] jurben:
actually i just find modifications on files that exist on cwmr source and dsixda kitchen from russian website and then i add some modifications. i attach my zipped files on this post so i just give the link in this post.
[Miscellaneous Android Development] e-infor:
:) when i have time i will post my orignal system.img and recovery.img and my new recovery cwmr and rom (ios style)
[Miscellaneous Android Development] breaky9973:
I tried the whole tut but it still won't work for me. Windows or Ubuntu, it doesn't matter. The phone just keeps displaying the bootimage until I remove the battery. Then it starts normally. By the way I have an i-Mobile i695
[Miscellaneous Android Development] yuweng:
all three cwmr version doesn't work... :confused: That is strange... At least one should have work...:cowboy:

Attach ur stock recovery & ported cwmr then i'll have a look at it to see where it went wrong... :good:
[Miscellaneous Android Development] breaky9973:
Stock recovery and cwmr 6003 recovery

Thanks! Let me know if you find something.

Anyway lots of strange things with this phone. Headphones with remote also don't work correctly :(
[Miscellaneous Android Development] yuweng:
ur phone originate from my country... :o shame shame so low quality.... :laugh:

Found out it is cause by packing issues, my best guest is either there is something wrong with mkbootimg or u r using x64 OS...

For x64, you will need mkbootimg/ mkbootimg.exe compile for x64... :cowboy:

iMobile i695 cwmr 6003 (Power Button is Enter)

iMobile i695 cwmr 6011 (Camera Button is Enter)

iMobile i695 cwmr 6011 Touch Screen
[Miscellaneous Android Development] breaky9973:
Ah..you are Thai? Actually the phone is quite good. There were some software issues but those have been resolved.

What amazed me is the good call quality. My father called from the other side of the world and his voice was so clear and he could understand me well too.

Anyway, the only thing is the weird behavior with headphones with remote, (For which I opened a thread but no answers yet) where I am curious it also happens with other phones with the same chipset.

Anyway your recovery works! I am not using x64 (nor Ubuntu, nor Windows XP) so I don't know why. But I am quite happy! Thanks so much!
[Miscellaneous Android Development] yuweng:
you are most welcome... :D whoops, and i thought imobile is from here...

Yeah, i have indeed got almost the same feedback from fellow xda member para_dox77... his case is a different but similar, originally, his A899 with wired handfree works perfectly...Then he ported Lewa OS to it & it started to act strangely...

He said using the original HF make the output sound weird, need to push the PTT button to make the audio out stereo. if not pushed, the sounds is garbage. He needs to take the jack out a little bit to get stereo and lost call function on the HF & he has confirmed its cause by software & not hardware problem... :eek:
[Miscellaneous Android Development] breaky9973:
Good to know it is only a software issue...but how to resolve it? I know this is not the right thread but I am eager to get this working...
[Miscellaneous Android Development] rezz93:
Will This Work for MTK6575

Is there any way this would work for MTK6575?

I've just started trying to learn how to make CWM work on my HDC One S:

Model : J1000
e1809c_v75_jxlc1
Build number : ALPS.ICS.MP.V1.11
Build date UTC : 20120612-111756
Android v : 4.0.3
Baseband v: MAUI.11AMD.W11.50.SP.V14, 2012/04/20 17:38
Kernel v : 3.0.13 (root@muxinwu-linux) (gcc version 4.4.3 (GCC) ) #1 Tue Jun 12 19:16:10 CST 2012]

and would like to learn to customize the rom. But mainly, I want the ability to use CWM to backup the current ROM in order to have a good, easy way to perform recovery if needed.

I've already backed up the original rom and used SP Flash Tool to flash new CWM recovery.img files from similar devices but none of them have worked. All either stuck on the android screen or gave a blank screen when trying to boot to recovery.
[Miscellaneous Android Development] yuweng:
hi rezz93,

Updated on the first post... :good:

Let me know how it works out for you... :D
[Miscellaneous Android Development] rezz93:
Compatible Version of CWM?

Thanks for clearing that up.

Before I begin:

You say find a compatible cwmr. How to determine or find a compatible version?

I have found several versions of CWM for MTK6575 but they were for other phone models such as:

Zopo Recovery for 5.5.0.4 for MT6575 with versions of Android 4.xx

CWM_recovery_I9220PAD_28BM%29_v0.4

Will any CWM for ICS 4.0.3 work?
[Miscellaneous Android Development] yuweng:
When i say 'compatible cwmr' of course it means 'Any' MT6575 or 77 as long as its not HTC, LG or any other which has a totally different format than mediatek Soc... :cowboy: Having said that, of course you can't use a compatible MT6573 cwmr for MT6575/ 77... :silly:

Yes, you can use any of those you mention & the one you flash via SPFT, wouldn't work b'cos it is has different recovery.img-kernel.img...

With this new Port-CWMR plugins, i can certainly says it will boot in to cwmr but you have to test all its functions to see if it works on your phone... :laugh:

i've notice the 'so called' branded Mediatek android phone offers two different recovery, one for ICS & one for gingerbread on earlier MT6575...

With that, i presume you can't use ICS recovery if yours is still the 1st generation MT6575 gingerbread but you can always try porting it & see if it works...This plugins doesn't know if you are using a MT6573 cwmr for MT6575/ 77 or vice versa, as long as it detects a valid signature, it will unpack & repack it... :p

Again, as usual the WARNING, to other users, pls do a proper ROM backup via linerty gscript ROM backup utility...You can refer to his original thread here...Now it supports MT6575 & MT6577 too... :good:

With the backup, you can use it with SPFT to download it when you brick your phone... :cool:
[Miscellaneous Android Development] rezz93:
No Luck with MTK6575

I've been trying all afternoon to get a working recovery.img but no luck so far. Using Ubuntu to do this.

With the primary method I use the option cwmr-6003-MT6573-Power_Button_is_Enter.

The terminal printout is:

Creating folder /home/rezz/Downloads/AndroidKitchen/recovery.img_MT65xx ...

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

Press Enter to continue

Extracting recovery.img ...
MTK-Tools by Bruno Martins
MT65xx unpack script (last update: 31-07-2012)

According to this:

it should ask for 2 recovery files but only seems to ask for one and the resulting recovery.img file looks like the original one...same size.

Any idea what is wrong?

I also tried the alternate method:

rezz@ubuntu:~/Downloads/AndroidKitchen/bt$ ./unpack-bootimg.pl recovery.img

kernel written to recovery.img-kernel.gz
ramdisk written to recovery.img-ramdisk.cpio.gz
5078 blocks

extracted ramdisk contents to directory recovery.img-ramdisk/
rezz@ubuntu:~/Downloads/AndroidKitchen/bt$ ./unpack-bootimg.pl recovery.img
Could not find any embedded ramdisk images. Are you sure this is a full boot image?

This gives the error above. Again no luck.

I have used the original stock recovery image along with one created on recovery builder. Also have tried using a working CWM recovery for a Zopo MTK6575 but cannot seem to get past the problem of the script asking for both the stock and CWM recovery.img files.

Any ideas where I'm going wrong?

Edit: It seems that the stock recovery.img does not have a ram disk. I tried to extract the image using Kitchen option 'a':

a = Extract kernel+ramdisk from boot.img/recovery.img in any folder

Boot image tools
----------------

Enter a choice:

s = Show boot.img information
w = Extract kernel+ramdisk from boot.img
c = Convert boot.img into NAND boot folder
p = Change 'command line' parameter in boot.img
a = Extract kernel+ramdisk from boot.img/recovery.img in any folder
x = Exit

NOTE: Other options may not be shown in this menu *until* a specific
action above is selected or a specific working folder is created.
(A working folder is created with Option 1 of the kitchen main menu!)

e.g. You won't see the option to re-pack a boot.img unless you unpack
the boot.img first! For re-packing you also need a working folder
with the original boot.img so that the kitchen can use its header
information to construct the new boot.img.

? a

Creating folder /home/rezz/Downloads/AndroidKitchen/bootimg_100912_201952 ...

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

Press Enter to continue

Renaming recovery.img to boot.img (for convenience of scripts)

Kernel found at offset 2048 in boot.img

Extracting kernel ...
Extracting ramdisk ...
Error: No ramdisk folder found!

Contents of bootimg_100912_201952:

total 3212
-rw-rw-r-- 1 rezz rezz 3287260 Oct 9 20:20 zImage

Press Enter to continue
[Miscellaneous Android Development] yuweng:
this plugins cygwin-MT65xx-Android-Kitchen-Plugins-Port-CWMR.7z as the name indicate is for cygwin...

Attach is for Ubuntu... :D

Extract the script to Android Kitchen /scripts/plugins folder...
[Miscellaneous Android Development] rezz93:
Duh

Duh....sorry about that.

I still had a problem with Ubuntu so have set up Cygwin and used it.

I managed to get CWM v6.0.1.1 on the phone but had some errors about finding cache partition. Also the up/down vol buttons scrolled the CWM menu ok but there is no way to select the option.

Going to try again.

Thank you for this work. It sure is good to see CWM on my phone. :good: :D
[Miscellaneous Android Development] yuweng:
haha :D, i only joke joke, can't u see the icon hitting his head smiling.... :laugh:

Since you had the whole thing setup working, you can go ahead & try porting bgcngm V970 6012 cwmr over & see if it works on ur MT6575... :fingers-crossed:

i think it should work as both 75/ 77 has very similar design...
[Miscellaneous Android Development] rezz93:
More Problems

I am able to get CWM on the phone with the buttons working right but still have errors about not finding cache partition and none of the functions will work except reboot. All cause errors related to missing partitions.

Also it appears that my stock rom has no ramdisk. That may be the problem. Not sure but trying to find out what may be causing the missing partition errors and finding a fix.

Any ideas?
[Miscellaneous Android Development] yuweng:
AFAIK, for CWM it has to be compile from source to change the screen res while for TWRP you can... :cowboy:

Fyi, carliv just compiled one for qhd... :good:
[Miscellaneous Android Development] t-minik:
Thank a lot

I will see if i can build it from sources too.

best regards
[Miscellaneous Android Development] xylu:
does the tool twrp port only supports mt6573?
[Miscellaneous Android Development] indtram:
No Recovery !!!!

Hi.....

After all the work......research.........I have been able to make the CWM from the Scatter file.....Download ROM etc....

Now, when I try to flash just the Modified Boot.img and (Modified) Recovery.img.....the sp flash tool gives the PMT Mismatch error....and guides me to Update the Firmware and not download......

I downloaded the Mobileuncle...and tried to flash the Modified CWM for my phone.....it flashed successfully.....but I am unable to access the recovery !!!!

My phone is working fine....rooted...but NO recovery !!!!!!

I tried the michfood-port recoveries................nearly ALL of them..............I get the error :No Recovery image found !!!! and it comes out......the Part file made is as follows:

Part_Name Size StartAddr Type MapTo

preloader 0x00040000 0x00000000 1 /dev/mtd/mtd0

dsp_bl 0x000c0000 0x00000001 1 /dev/mtd/mtd1

nvram 0x00300000 0x00000002 1 /dev/mtd/mtd2

seccfg 0x00020000 0x00000003 1 /dev/mtd/mtd3

uboot 0x00060000 0x00000004 1 /dev/mtd/mtd4

bootimg 0x00500000 0x00000005 1 /dev/mtd/mtd5

recovery 0x00500000 0x00000006 1 /dev/mtd/mtd6

sec_ro 0x00120000 0x00000007 1 /dev/mtd/mtd7

misc 0x00060000 0x00000008 1 /dev/mtd/mtd8

logo 0x00300000 0x00000009 1 /dev/mtd/mtd9

expdb 0x000a0000 0x0000000a 1 /dev/mtd/mtd10

android 0x12c00000 0x0000000b 1 /dev/mtd/mtd11

cache 0x03c00000 0x0000000c 1 /dev/mtd/mtd12

usrdata 0x07a20000 0x0000000d 1 /dev/mtd/mtd13

bmtpool 0x00000000 0x00000000 1

Part_Name:Partition name you should open;

Size:size of partition

StartAddr:Start Address of partition;

Type:Type of partition(MTD=1,EMMC=2)

MapTo:actual device you operate

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: 12c00000 00020000 "system"

mtd12: 03c00000 00020000 "cache"

mtd13: 07a20000 00020000 "userdata"

Specs for my phone are:

Smartphone: Alps DC Mediatek Based Single Core device

CPU: Mediatek MT6575 1Ghz

Supported frequency States: 4

NEON Capable (fast video playback)

RAM: 512 MB DDR (Usable 486MB)

GPU: PowerVR SGX 531 (Single Core GPU)

Display Size: 480 x 800 (Normal)

DPI:240

Device: DC (Alps)

OS version: 4.0.4 (Ice Cream Sandwich)

Flash Memory:122 MB

User:

Processor: ARMv7 Processor rev 10 (v7)

Partition is MTD

any help will be appreciated.....

Thanxxx
[Miscellaneous Android Development] yuweng:
either you use the wrong mobileuncle or your ported recovery is corrupted... :cowboy:

Use this one here... :fingers-crossed:
[Miscellaneous Android Development] indtram:
Thanks for such a prompt reply...........really appreciate........

I downloaded the MT65xx-Port from Boot image tool that you have provided in this post.......and I have used the BOOT.IMG (unmodified image from the Backup folder of the MtKDroidTools directory.........I place the Boot.img file in the folder containing the CWM File.....execute it....and get the following:

1) Boot Folder: 0 Bytes and contains a Ramdisk folder

2) Ported-CWM-from boot: Empty Folder

3) new_ram_disk.cpio

4)new_ram_with_header

5) ram_disk

request to know what to do...........how to do........where to do !!!!

I am attaching the pictures of the 2 directories for your reference....I am on Windows Xp 32-bit.

Boot image file used....

[/URL][/IMG]

Contents of the Folder after executing the CWM...

[/URL][/IMG]

I know its asking too much from you......but request if you could help....

Thanxxx
[Miscellaneous Android Development] yuweng:
its already stated at the OP you have to extract it C:\ then only it'll work... :cowboy:

At the tool select -> 2 = MT6575 SoC with mtd partition
[Miscellaneous Android Development] indtram:
PERFECT !!!

Perfect....worked flawlessly.........my bad....just didnt read the first properly....as was too confused.....

Thanks a ton
[Miscellaneous Android Development] t-minik:
Hi Yuweng

can you explain what is doing you autoport tool.

I would like to port manually a cwm because my phone has no original recovery.

unpack repack is ok for me

do we just replace a bunch of files in the ramdisk and repack ?