yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] roalex:
about the ext4 thingy, its true if recovery.fstab is set to ext4 it will format ext4 but its meant for devices which use internal sdcards so it will not work properly for a2sdext, after 1 reboot it will die ><

if its set to ext3 in fstab it will work fine, but on every wipe/format your sd-ext will be ext3 again :)

so i played around a bit with this sources and i managed to make it wipe/format ext4 properly.

im using this fstab:

*we really don't want MISC in there.

my changed are located here , only the last 4 commits are needed, the others simply some tryouts which i reverted.

btw the ext4 format logic i added is pretty much Cool's Alignment script :)

for the brave ppl added a build as well.
[Desire Android Development] Sebby:
Thanks roalex

this recovery is working with sd-ext:D

backup and restore are working and formats the sd-ext to ext4:D

nice work to fix the sd-ext:D
[Desire Android Development] DonBartal:
Where can I get 3.1.0.1 for my Desire? There is no link for the older (working) versions.

Thanks,

DonBartal
[Desire Android Development] zyonee:
Just updated the 4.0.0.5 version with some ext4 additions from roalex. Hopefully this can solve the ext3/ext4 issues some people have been having.

Make a nandroid backup with a proved working recovery version, then try this if you want to. I'm not responsible for any data loss this may cause, this is a test version of ClockworkMod Recovery. ;)
[Desire Android Development] Sebby:
zyonee

can you add this in your recovery

a lot of new features

it's a recovery for the desire s ->4EXTRecovery

link:http://xdaforums.com/showthread.php?t=1130004
[Desire Android Development] zyonee:
I'll have to look at it tomorrow. No promises.
[Desire Android Development] orlith:
HI

Can't mount usb storage with 4.0.0.5, neither 3.2.

Only works with 2.5.0.7

Any idea ?
[Desire Android Development] Sebby:
works here
[Desire Android Development] zyonee:
Thanks! Was starting to worry...
[Desire Android Development] Maikoru:
I got an "error formating sd-ext" too.
[Desire Android Development] Sebby:
download the recovery again

there are some fixes made in the recovery

now the backup and restore work again

i use this recovery now and no more errors
[Desire Android Development] zyonee:
Which recovery versions are you guys talking about?
[Desire Android Development] ceylin45:
My recovery 2.5.0.7 how can i install 4.0.0.5 sir...

Thanks...
[Desire Android Development] Sebby:
your recovery 4.0.0.5 with the latest fixes (sd-ext)
[Desire Android Development] zyonee:
For some reason, it seems the source code hasn't been publically released for 4EXTRecovery, which means I can't do anything with it. :(
[Desire Android Development] orlith:
I re partitonned my sdcard with 4.0.05 and everythings is working well now. Too bad I had to do that.

thx
[Desire Android Development] ceylin45:
My recovery 2.5.0.7 how can i install 4.0.0.5

Thanks...
[Desire Android Development] zyonee:
Ok, now that you've repartitioned, is wipe, backup and restore working as it should? Which partitions did you use? Sizes, ext2, ext3 or ext4?
[Desire Android Development] zyonee:
Use unrevoked 3.14, or if you have alpharev hboot, use the fastboot command in the bootloader screen. Please don't double-post. There are surely help threads in this forum about how to flash a recovery.img file to a HTC Desire.
[Desire Android Development] expza:
I had a massive issue with 4.0.0.5, which I posted about here but will quote below for reference:

Just FYI, in case someone else has this issue.
[Desire Android Development] zyonee:
That sounds like the SD card's partition table and/or file system is messed up. You should back up whatever you can to your computer. When done, put the SD card in a USB card reader, not the phone and let your computer completely repartition the card. gparted is a nice way to go, since it has all the features you'll need even for creating the sd-ext partition.
[Desire Android Development] orlith:
Wipe is working fine. Backup and restore not test yet.

1Go ext4, swap 128Mo(don't remember),14Go fat32. all made by recovery 4.0.0.5
[Desire Android Development] Sebby:
if i ask him to give me the source code then you can take a look at it
[Desire Android Development] zyonee:
Ok. So far, so good, then. :)

Gladly. :)
[Desire Android Development] zyonee:
New addition: Added "Show log" in the advanced menu. This can help when reporting errors here. Use it. :)

Redownload 4.0.0.5 from OP.
[Desire Android Development] orlith:
In my opinion you should number it 4.0.0.6 intsead of reusing same number version (2 or 3 changes already made with the same versionning..)

Only my though.

thx
[Desire Android Development] zyonee:
Nah, it would conflict with koush's official version numbering. Maybe I'll add .01 at the end. Tomorrow's project. ;)
[Desire Android Development] orlith:
Yep, nice idea.

:)
[Desire Android Development] MusiQ1:
Trying

Desire_recovery-clockwork-4.0.0.5-j_r0dd_mod.zip

edit, looks good
[Desire Android Development] ptr_hamilton:
Hey zyonee,

finally had time to test the newest version 4.0.0.5 with my insertcoin and ext3 sd-ext partition..

First I've tried to wipe the sd-ext and got this error from show log:

Error formatting /sd-ext!

Mtd: successfully wrote block at 0

I: Set boot command “”

With or without mounting the sd-ext before trying to wipe it, the error message stayed the same :-(

Then I've tried to do a full wipe

Setting current mount count to 1

Formatting /sdcard/.android_secure…

I:Formatting unknown device.

Rm:can’t remove ‘-‘ or ‘,,’

Rm:can’t remove ‘-‘ or ‘,,’

Data wipe complete

Mtd: successfully wrote block at 0

I: Set boot command “”

It doesn't work for me. Restoring a backup done with this version also quits with the error Error formattin /sd-ext!

Sorry I have no positive feedback for you :(

But thank you for your hard work

Pete
[Desire Android Development] BuddhaTeh1337:
this works on desire CDMA also, correct?
[Desire Android Development] roalex:
should be no MTD use when the sd-ext is wiped >< something is wrong there
[Desire Android Development] keyra74:
no problem with ext-wipe here, thx again
[Desire Android Development] ptr_hamilton:
ext3 or 4 ??
[Desire Android Development] keyra74:
i thought it was ext4 but it's actually ext3
[Desire Android Development] ptr_hamilton:
Strange gotta try again tomorrow.. THX
[Desire Android Development] xdaywalkerx:
it's possible to backup but NOT possible to restore completly
[Desire Android Development] zyonee:
I might be getting help with ext4 from another det tomorrow. Keep your fingers crossed!
[Desire Android Development] roalex:
# mount point	fstype	device	[device2]

/boot	mtd	boot
/cache	yaffs2	cache
/data	yaffs2	userdata
/misc	mtd	misc
/recovery	mtd	recovery
/sdcard	vfat	/dev/block/mmcblk0p1	/dev/block/mmcblk0
/system	yaffs2	system
/sd-ext	[B]ext3[/B]	/dev/block/mmcblk0p2

thats where you got it wrong :) you need to put ext4 there in order to wipe/format it to ext4 using the logic i added
[Desire Android Development] zyonee:
Thank you, but where will I make the change? I thought I changed everything according to your ext4 additions. :o
[Desire Android Development] roalex:
in device/htc/bravo/recovery.fstab
[Desire Android Development] zyonee:
Ah, now I get it. And now I finally figured out how to use git cherry-pick instead of manually adding the changes and having github believe I made the commits myself. Does there happen to be an easier way to cherry-pick from someone else's fork, or will I have to use git fetch and git cherry-pick each time?
[Desire Android Development] roalex:
not really unless you pick from gerrit, like cm's
[Desire Android Development] zyonee:
Ok, but I think I got the hang of it anyway. Now your commits are listed under your name in my repo as well. Never meant to "steal" your work. :)

I've changed recovery.fstab into having ext4 as main option and added "NULL ext3" after the device name. Should do the trick, right?

And how about devices like Desire HD or LG Optimus 2X that use ext4 for system, data and cache? Should the fallback to ext3 be included for them as well? It's a bit confusing working with many models at the same time. :)
[Desire Android Development] roalex:
You have to keep only ext4, don't care about commit author no worries ;)
[Desire Android Development] zyonee:
Very kind of you, but it's not a problem for me anymore to pick your commits the correct way. :)
[Desire Android Development] zyonee:
Updated version to 4.0.0.5.z110621 - Edited recovery.fstab to allow ext4.
[Desire Android Development] Mikawelll:
Sorry for this but how install this new version? I don't understand how do that....
[Desire Android Development] Sebby:
the last recovery installed

error by restoring sd-ext

error formating
[Desire Android Development] zyonee:
Is there anything useful in the log after the failed operation? Check the advanced menu.
[Desire Android Development] Sebby:
i use the recovery wish roalex made and all is fine now
[Desire Android Development] zyonee:
But with my version, it doesn't work? Could you please try it and then check the log in the advanced menu to see what went wrong? ;)
[Desire Android Development] Sebby:
no i have been testing a new recovery from the desire s ext4recovery to work on my desire the guy is working on it to fix the little bugs so no i dont wan't to flash a other recovery

i am done for today ....sorry.....:(
[Desire Android Development] Nuntius:
No problem formatting through a full wipe but there's an error formatting SD-Ext only (via mountage and storage).
[Desire Android Development] zyonee:
Ok, then at least I know what to look for. Maybe it's the binary that isn't working, since the "full wipe" you're talking about most likely merely removes directories and files, while the formatting option actually runs a format binary.

Just my guess. I'll see if it can be fixed.
[Desire Android Development] zyonee:
roalex: I discovered that in mmcutils/mmcutils.c, the file system parameter for mkfs.ext4 is written as -t ext4, but when running mkfs.ext4, it's listed as -T (capital letter). Does this make any difference? It seems people have been having trouble formatting from the "mounts and storage" menu, and maybe this is the cause?
[Desire Android Development] roalex:
did you remove NULL ext3 from fstab ? i didnt look to much as the syntax since it worked, if it works on my build it should work on yours :)

-T looks proper though since its what it says

this is the fstab.recovery i use

--------- beginning of /dev/log/system

I/Vold ( 104): xVold 2.1.3.2 (Revenge of the Sith) firing up

D/Vold ( 104): Volume sdcard (/mnt/sdcard) state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 104): Volume sdcard (/sd-ext) state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 104): Volume sdcard (/mnt/sdcard) state changing 0 (No-Media) -> 2 (Pending)

D/Vold ( 104): Volume sdcard (/sd-ext) state changing 0 (No-Media) -> 2 (Pending)

D/Vold ( 104): Volume sdcard (/mnt/sdcard) state changing 2 (Pending) -> 1 (Idle-Unmounted)

D/Vold ( 104): Volume sdcard (/sd-ext) state changing 2 (Pending) -> 1 (Idle-Unmounted)

I/Vold ( 104): Trying to mount /sd-ext

I/Vold ( 104): /dev/block/vold/179:2 being considered for volume sdcard

D/Vold ( 104): Volume sdcard (/sd-ext) state changing 1 (Idle-Unmounted) -> 3 (Checking)

I/Vold ( 104): Filesystem check completed OK

I/Vold ( 104): Creating /sd-ext/app

I/Vold ( 104): Creating /sd-ext/app-private

I/Vold ( 104): Creating /sd-ext/dalvik-cache

I/Vold ( 104): Creating /sd-ext/data

I/Vold ( 104): Device /dev/block/vold/179:2 mounted @ /sd-ext

D/Vold ( 104): Volume sdcard (/sd-ext) state changing 3 (Checking) -> 4 (Mounted)

I/Vold ( 104): System properties set

works well for me with -T as well id change it if i were you
[Desire Android Development] lordvoldemort:
okie guys..how to update cwm recovery??? Do I need to use unrevoked again or just flash like normal zip???
[Desire Android Development] roalex:
Its not recommanded unless you are S-OFF, if you are then pick up the file, boot into the bootloader and flash it via fastboot, fastboot flash recovery patch_to_the_recovery\recovery.img
[Desire Android Development] zyonee:
Aha! I thought "NULL ext3" was needed for backward compatibility. How about other devices like Desire HD, LG Optimus 2X and Nexus S? Should they have the "NULL ext3" flags? I just want to get everything working properly on all these devices (and maybe more):

ace (Desire HD)

bravo (Desire)

buzz (Wildfire)

crespo (Nexus S)

p990 (Optimus 2X)

passion (Nexus One)

and I appreciate all your help

very much

! :D
[Desire Android Development] roalex:
its not and it will mess everything up trust me , leave it to ext 4 and you will see its working ;)
[Desire Android Development] zyonee:
Even when people are using ext3 partitions? I just want to be sure. :)

I just hope that it will also apply to system and data partitions on devices where these are also ext4 like nexus s, etc.
[Desire Android Development] roalex:
this is made for Desire and others nand devices so not for those you speak of, for those you need to use the builtin features.
[Desire Android Development] zyonee:
Hmm. Just wondering if there's any way to combine those features to make them work on both...
[Desire Android Development] zyonee:
New version (4.0.0.5.z110623) uploaded. This should hopefully get ext4 working. Please test wiping, formatting, backup and restore with ext4 partition.
[Desire Android Development] ferrarinews:
Hi.

If in the recovery, I go to "mounts and storage", then "format /sd.ext" gives a error. Is that normal?

Thanks.
[Desire Android Development] zyonee:
What does the log feature say? Is it today's new version?
[Desire Android Development] Sebby:
hello zyonee

the new recovery is working:D

-restore works:D

-backup works:D

-format boot cache data system sd-ext working:D

-and it is still ext4

if you wipe the battery stats you now see

deleting /data/system/batterystats.bin

now you can see that the file is delete (loving it):D

i have pulled the recovery.log file
[Desire Android Development] teorouge:
I can confirm that, latest recovery looks like it's working. Full wipe + dalvik + battery stats done, now I'm flashing a new ROM so I won't backup/restore nandroid.
[Desire Android Development] zyonee:
Glad to hear the positive reports! Should work the same way on Wildfire and Nexus One. Now let's hope I can get things working for Desire HD and Optimus 2X without breaking stuff for you guys.... :)
[Desire Android Development] bugfix2k:
Has anyone tried it with ext3?

Otherwise I will, as soon as I get to my laptop :)
[Desire Android Development] zyonee:
Yes, Id love to know if ext3 wirks...
[Desire Android Development] roalex:
any kind of ext will be formated to ext4 using this logic
[Desire Android Development] zyonee:
True, but I was thinking about backup and restore for ext3. Haven't had the chabce yo test it.
[Desire Android Development] Abaddon:
How do I revert back to v2.5 of cwm?
[Desire Android Development] zyonee:
If you've used alpharev and have S-OFF, you can do it like this:

adb reboot bootloader

fastboot flash recovery your_recovery_file_name.img

Or you can flash it using unrevoked if you haven't used alpharev.
[Desire Android Development] do0b:
i've just flash 4.0.0.5, wanting to flash a new radio version but i get this 'error' which reads:

Finding update package...

Opening update package...

Installing update...

Amend scripting (update-script) is no longer supported.

Amend scripting was deprecated by Google in Android 1.5.

It was necessary to remove it when upgrade to the ClockworkMod 3.0 Gingerbread based recoverty. Please switch to Edify scripting (updater-script and update-binary) to create working update zip_packages.

Installation aborted.

whats happening?
[Desire Android Development] vnvman:
This update script is no more supported by newer cwm. You should boot into recovery from rom manager and flash the radio from there, tho i always recommend flashing radios in fastboot mode, since it's safer...
[Desire Android Development] rmg2:
I'm now on Clockwork 2.5.1.8, if i install the latest version i will be able to use my backups from the old recovery?
[Desire Android Development] zyonee:
You should be able to, as the file format (to my knowledge) hasn't changed.
[Desire Android Development] rmg2:
Thanks. From all those new versions, which one are most stable?
[Desire Android Development] zyonee:
The latest one should work.
[Desire Android Development] angusc:
@Zyone,

I like the idea of this tailored Recovery for our Desire. I have also been reading up on the importance of sdcard partition alignment and found melathron' flashable zip which aligns the Ext partition, makes it a EXT4 and 1.4GB by default. I was wondering if this modified CWM Recovery could also include this functionality? It would seem to be a good tool to have as part of the Recovery options to be able to create an aligned new Partition.....?

Melathron alignment.zip can be found from this link.

http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html?m=1

EDIT2:

My device and ROM setup is as per below in my signature (CM7 HBoot / SD-EXT):

I did some testing of the modified 4.0.0.5 and here is my feedback:

(i) I note that when making a BACKUP that the Recovery status "progress" bar does not change.

(ii) Restore worked without issue and maintained the alignment of my EXT4 Partition as according to Melathron's alignment.zip which i ran after RESTORING and then checked the log file to see that there had been no change to the Alignment.

(iii) When RESTORING a NANDROID made with 4.0.0.5 the progress status bar is not working.

(iv) When flashing any .zip file in RECOVERY the Progress status bar does work correctly so the issue seems to be only with Backup and Restore menu options.

(v) RESTORING of a previous NANDROID back up made with 3.0.2.8 worked OK and also did not break the EXT alignment (despite having been made before I had aligned my EXT 4

Sent with Desire.
[Desire Android Development] zyonee:
Nothing's wrong with your suggestions, but the problem is that I'm not a skilled programmer, I merely port things into one product. That means I wouldn't be able to alter the existing code that much.
[Desire Android Development] angusc:
Well as neither of them seem to have a search result in XDA I would not know how to make the "suggestion" maybe you have some thread contact with one of them and could pass on my suggestion...?
[Desire Android Development] zyonee:
Not really, to be honest. I merely cloned j_r0dd's source code and made some few inclusions of other devs' commits into it, so I haven't been in touch with the other devs much at all.
[Desire Android Development] keyra74:
great i was lookin for an autoalign tool
[Desire Android Development] zyonee:
New update

Updated the original post with version 4.0.0.5.z110706. See the changelog in the OP. I haven't really changed anything concertning ext4 since 4.0.0.5.z110623.
[Desire Android Development] freak69ize:
Well i seen where someone asked if this worked for CDMA on page 12 but i didnt see anywhere where it got answered.. so ill ask again.. does " anyone " know if this will work on the HTC Desire CDMA?
[Desire Android Development] joegrant:
Anyone else not able to restore to to Checksum Mismatch even on a completely fresh backup ?

Desire MIUI rom, never had this before, any ideas as backup is pretty important!
[Desire Android Development] ckhacks:
Same here, but no solution....
[Intercept General] emkorial:
Or does it still come with 2.1? I'm assuming if it did come with 2.1 you could root it and flash a 2.2 rom, right?
[Intercept General] LiquidXed:
It comes with 2.1, but it can be upgraded to 2.2 through ur phone service
[Intercept General] scream4cheese:
You don't need to flash a 2.2 rom onto the intercept. You can directly download the official 2.2 from the phone settings and it will download instantly. The phone will re-boot and viola!
[Sony Ericsson XPERIA X10 Mini] Sira.:
Ehey Guys ..

i dunno why am posting this question here though .. but uhh ...

Anyway..

...

The problem is ...

That the sound on my Headphones .. is not actually the Same .. i mean like the sound of the right " earphone " is not like the one on the left .. ? Wtf

O.o

Don't say it's the headphone .. i Tested 2 more headphones ... Same problem ..

tested the headphones on another phones .. Worked just GREAT ..

So .. Is it the firmware ... ?

or is it A hardware problem ..

Lol ..

am feeling stupid

..

Thanks anyway ;D
[Sony Ericsson XPERIA X10 Mini] TinoZgb:
how is the sound different? like in "stereo" different? come on, some more details, describe it
[Sony Ericsson XPERIA X10 Mini] Chris95X8:
Well, if the song you are hearing is a stereo which means that it has a left and a right channel, is normal that you won't hear the same with each earphone.

I have a song that has a lead guitar and a backing guitar. When I hear it with earphones, the two guitars are each in different channels. If I take off one earphone, I can hear only one guitar.
[Sony Ericsson XPERIA X10 Mini] whizuna:
different in terms of volume level or the sound pattern?

..maybe you got loose or dirty 3.5mm port?

..or maybe you've messed up your player's sound/eq settings somewhere? might worth to test on other player.
[Sony Ericsson XPERIA X10 Mini] Sira.:
Like one is louder than the other .. :D
[Sony Ericsson XPERIA X10 Mini] Sira.:
Dude ... all the songs are the same .. make's the same sound ... one is louder than the another .. :/
[Nook Color General] DizzyDen:
Not completely accurate.... my S.N. begins 2004... they weren't making NC's in 2004.
[Galaxy Ace S5830 General] digkong:
please add +1 if u r owner of samsung galaxy ace..!!:D:D
[Galaxy Ace S5830 General] manju991:
+1

:)

well i'm GA user
[Galaxy Ace S5830 General] magicdvil:
+1

I'm a Samsung Galaxy Ace user
[Galaxy Ace S5830 General] vertcam9:
+1 i own a SGA
[Galaxy Ace S5830 General] Bluffyone:
+1

Proud SGA Owner
[Galaxy Ace S5830 General] bbeetteell:
+1 SGA owner!
[Galaxy Ace S5830 General] guddu2011:
+1

SGA oWn3r
[Galaxy Ace S5830 General] k1nca:
+1

i'm using samsung galaxy ace too
[Galaxy Ace S5830 General] nish7x:
User

:D
[Galaxy Ace S5830 General] ace_by_fekr:
+1

i'm also a proud sga user
[Galaxy Ace S5830 General] ingbrzy:
Why you dont check Galaxy Ace group on xda forum for that...?
[Galaxy Ace S5830 General] Rajhans:
+1

awsum phone :D
[Galaxy Ace S5830 General] digkong:
this is for some other reason...have some development issue with the developer ...needing a proof..

Can't provide u further inform..
[Galaxy Ace S5830 General] vicman2020:
+1

i'm using samsung galaxy ace too
[Galaxy Ace S5830 General] 3xF:
+1 ;)

one more
[Galaxy Ace S5830 General] adil_yildiztr:
+1 SGA User
[Galaxy Ace S5830 General] Mr.Sanju:
+1 actually my small bro owns.. but basically i use it more than what he does.. :rolleyes:
[Galaxy Ace S5830 General] speedy051:
+1

:rolleyes:
[Galaxy Ace S5830 General] Ludoxda:
+1

Oh yes I do !
[Galaxy Ace S5830 General] muncugabriel:
+1

I love this phone:D

Im a SGA owner.
[myTouch 3G, Magic Apps and Games] tutankamon09:
Hello

I have htc magic. Gameloft games I can play this on the phone. Gameloft games could you share? Gameloft games to inflict a lot of information such as address.
[myTouch 3G, Magic Apps and Games] temo2k:
The Gameloft website let's you select your phone and will tell you which games are compatible with your phone. You can also buy the games directly or search through a bittorrent site if that's your aim...
[myTouch 3G, Magic Apps and Games] harut56:
Asphalt 3 runs well
[Epic 4G Q&A, Help & Troubleshooting] ZiggSVO:
What is the ideal size of a boot animation? Obviously some will say as small as possible lol

But just wondering if there was a number that would instantly shy people away from it?
[Epic 4G Q&A, Help & Troubleshooting] gtuansdiamm:
I would say none at all or a black screen

But I'm fine with 5 second
[Epic 4G Q&A, Help & Troubleshooting] damicrobe:
it depends on what the boot animation is. If its cool to see then it could be extended. But personally anything beyond 10 sec might be pushing it... 2 cents.