yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] bmonster:
Love this recovery, not had any problems so far.

Using IC v108, backup it up as it was ext3, convert the ext3 to ext4 and converted the backup to ext4.

Restored and all running fine, and rom seems faster and smoother.

Thanks again.
[Desire Android Development] madmaxx82:
Thanks for your feedback :)
[Desire Android Development] bugfix2k:
Sweet, flashing it now.

edit: looking good :)

Thanks for all your hard work madmaxx82!!
[Desire Android Development] madmaxx82:
If it's the same, I will just add your cid to the PB99IMG.zip I haven't uploaded yet..
[Desire Android Development] freak69ize:
Installed no problems but when i boot to recovery it the red text still doesnt show for a while.. counted to 20 then i pushed the power butonn then it showed. Then i had a problem booting back up into my rom.. Recovery wouldnt show back up so i went back to the other one and performing a backup restore right now.. hopefully it works.. hahaha
[Desire Android Development] freak69ize:
Oh yeah.. theres hardly anything that will work on bravoc from the bravo.. i have what i like to call the bastard version of the Desire.. lol Try doing a rom search for HTC Desire CDMA sometime.. theres about 5-7 maybe.. jus off the top of my head

Cyanogen

Oxygen ( just recently )

Miui

Ultimate Droid

and a few others is all ive been able to find.. and ofcourse stock.. whos wants stock though.. lol
[Desire Android Development] madmaxx82:
So you installed the version from 1st page?

This worked, you could boot recovery.. but then you couldn't boot your rom anymore?

Did you actually use anything inside recovery or would you say flashing this "incorrect version" for your cdma desire alone caused your rom to not boot up anymore?
[Desire Android Development] ghiki:
Goldcard? For what Goldacard? You don't need a Goldcard with Unrevoked>Alpharev
[Desire Android Development] madmaxx82:
Yes because they are MB and not MiB... I will change that in next release..
[Desire Android Development] madmaxx82:
Someone said the old Unrevoked HBOOTS didn't have supercid..
[Desire Android Development] freak69ize:
I flashed the new version from hboot.. booted into recovery.. red text didnt show for 20 seconds.. pushed power button.. red text showed.. rebooted recovery.. same thing happened.. tried to reboot back to my rom and after splash it jus turned dark.. no boot animation whatsoever.. after about 3 or 4 minutes i put the old recovery on my sdcard.. did a restore and everythings fine now.
[Desire Android Development] madmaxx82:
Ok I will upload the version for the bravoc in few mins.

Thnx for trying!
[Desire Android Development] madmaxx82:
Okay here it is, please tell me if it worked ;)

5b3fd8789ac327772b3bf537af32ffbc
[Desire Android Development] madmaxx82:
If you can confirm it's working I'll add it to the first post.
[Desire Android Development] freak69ize:
Ok installed it.. booted recovery 4 times

!st time- 23 seconds before red text shows up

2nd time- 26 seconds

3rd time- 28 seconds

4th time- 24 seconds

Ok what did you want me to look at in 4ext folder on sdcard?

You want me to delete it?
[Desire Android Development] madmaxx82:
Wow that's long.. could you make a backup and then repartition your sd-ext partitions?

Edit: yes the file is called 4ext.prop.. there you can change everything!
[Desire Android Development] Nekromantik:
i just flashed lastest version and it takes a while to show up too.

is the no data loss on fat32 safe?

i want to repartition my exts.
[Desire Android Development] madmaxx82:
Someone in the Desire HD forum made it look like that :D

http://xdaforums.com/showpost.php?p=15558398&postcount=120
[Desire Android Development] madmaxx82:
Is the latest version even slower than 2.0.2 rc2b?

It should be a tight faster..

No there SHOULD not be data loss if you select to save your fat32... but I can't take any guarantees. Ppl who tried it up until now didn't lose their data..
[Desire Android Development] Nekromantik:
I not tried any other version.

I used to be on AmonRA before this. :)
[Desire Android Development] freak69ize:
Ok making a backup now.. may take awhile. Here how my sdcard is set now..

sdcard- fat 32--> 7414 mb

sd-ext- ext 3--> 512 mb

swap- swap--> 31 mb

what would you suggest i repartion it to?
[Desire Android Development] madmaxx82:
Ah ok..

4ext needs longer to load everything because it detects all your partitions and file systems on your partitions dynamically at startup ( instead of just reading a file with some static info..)
[Desire Android Development] Nekromantik:
ah right

thanks

It told me my swap is 524mb :o

didnt even know I had a swap ha ha

bit too big for a swap me thinks
[Desire Android Development] madmaxx82:
Depends on your rom.. can't recommend anything..

If your doesn't need swap, don't use it.. you can repartition sd-ext anytime without touching your fat32 later (but needs enough space so I'd put a "placeholder" in.. like a 2nd sd-ext partition, so you have more room to repartition just your sd-ext/swap partitions later if you need to)..

I see you are still using ext3... if your rom is ext4 compatible I'd change that to ext4.. but if you repartition anyway it will ask you which file system you want afterwards..
[Desire Android Development] madmaxx82:
I hope it's true and I haven't introduced a new bug in 2.0.3 rc1 :D

Otherwise please use 2.0.2 RC2b this one seems to be similar to a final..

If you have adb you could check if the recovery is right with that..

While in recovery do the following:

adb shell /sbin/parted -s /dev/block/mmcblk0 unit MB print all
[Desire Android Development] angusc:
I just flashed the new version 2.0.3 using the PB99IMG.IMG method and it flashes ok but once switching from the hboot menu to recovery it told me "warning you ext needs to be formatted.......i just did standard reboot and the rom booted up fine so not sure what the warning was all about.

Sent with Desire.
[Desire Android Development] Nekromantik:
will check once ROM booted.

Trying new Data2EXT ROM so first boot taking ages! ha ha
[Desire Android Development] madmaxx82:
Okay, but to prevent any possible misunderstanding: you need to do that while in recovery..
[Desire Android Development] freak69ize:
The Rom im using is built off of CM7.. how do i change it to ext4?
[Desire Android Development] madmaxx82:
That might be a problem.

Please try rebooting into recovery if it still shows as not being formatted..

We might need an rc1b then
[Desire Android Development] madmaxx82:
I'm completely sure it support ext4 ;)

if it does it will mount your partitions ext4 (also if they are only ext3).

You can check that while your phone is booted by:

adb shell mount

then you should see the file systems.. if it shows ext4 then your rom is ext4 compatible and it wouldn't hurt to have ext4 partitions instead of ext3
[Desire Android Development] madmaxx82:
I will increase the delay by half a second and upload rc1b.. if you are sure all your partitions are formatted correctly and there was no issue in 2.0.2 rc2b then it the delay is too short..
[Desire Android Development] freak69ize:
Hahaha youre gonna have to explain it better then that bud.. im completly new at ADB
[Desire Android Development] Nekromantik:
it reports it correct :)
[Desire Android Development] angusc:
I just rebooted to recovery to test again...still the same message and suggesting to go to the ext 4 menu.

Fyi timing to get from my rom to recovery:

25 second to power down and then start the splash screen.

27 seconds from splash screen to recovery.

Sent with Desire.
[Desire Android Development] madmaxx82:
great ;)
[Desire Android Development] madmaxx82:
I will decrease this time, promised. That's far too long.. it's rather quick on the IS so I didn't notice how bad it was..

But now I needed to increase the delay..

Could you test the version when I upload it in next mins and report back if the problem is gone?
[Desire Android Development] madmaxx82:
Please tell me if your problem is gone.. then I can update the first post. really need to go to bed now.. nearly 5am

edit: md5sum: d57f20339751acc6a288fd808629c2ec
[Desire Android Development] madmaxx82:
@Angusc: I have pulled RC1 and won't upload RC1b until its confirmed that rc1b solves your problem.. please confirm.. here's the link again in case you can't find it:

http://xdaforums.com/attachment.php?attachmentid=652138&d=1310439019
[Desire Android Development] angusc:
Installed this 1b version but still the same reporting that my ext is not formatted.

I then ran an alignment zip file that i have by Melethron and attached the output for your reference, you see it said that my ext4 partition was aligned so i'm not sure why the ;latest version of EXT4 reports an error?

For reference and a request, can you include the same system check that Melethron does in his alignment.zip which shows the Heads and Sectors etc. Is your Recovery alignment doing the same or similar thing and if similar what are the differences.

Note the attached Melethrons alignment.zip

EDIT: I flashed back to v2.0.2RC2 and all is back to normal with the EXT4 being correctly reported.
[Desire Android Development] Moe5508:
While trying to download, I get an error: invalid attachments for new: 4EXTRecovery v2.0.3 RC1
[Desire Android Development] Nyto75:
Me too :(

and it's not the first time. Does somebody know why?
[Desire Android Development] freak69ize:
Hey MadMaxxxxxx lil buddy... youll be glad to hear i cut recovery startup time to about 2 seconds.. i finally got around to deleting the 4ext from sdcard so recovery could update it and it runs like a dream. But dont you think im done here though.. hahaha i still have things i wanna know
[Desire Android Development] fuhrmi2609:
If try to install the newest version via fastboot (vol-/power). Befor i have install the zip and rename too PB99IMG.zip. Now i go in fastboot and it says install aborted - CID failure.

What can i do else?
[Desire Android Development] angusc:
Make your sdcard into a goldcard or if you are s-off then install a alpharev hboot.

Sent with Desire.
[Desire Android Development] orlith:
Hello

Just tried this version. But unfortunatly was not able to repartionned my sdcard (without saving fat32).

Tried with 4005, same result.

-> "not enough space to partitioned..."

Tried with 3.0.0.5 : succeed.

any idea ?
[Desire Android Development] angusc:
I think madmaxx took down the link until he figures out the issue of reading the extra details. Go with the previous version for now.

Sent with Desire.
[Desire Android Development] madmaxx82:
The alignment option in 4ext checks the alignment of your partitions.. if they are aligned to 4k sectors. So if it says it is ok, then it is ok.

About aligned filesystems:

All the time when a recovery does a restore it first formats the partition it is going to restore from a backup.

If the options it uses for formatting your sd-ext partitions during this process aren't "optimized" to also align ext4 to 4k secotrs then you would always need to rerun any alignment script that also formats the partitions.

In 4EXTRecovery, any formatting the recovery may do in the process of any functions you might use (format, wipe, restore), will use alignment for 4k sectors for the file system.

Aligning Partitions is entirely different though, that's why I implemented the alignment check.

About the problem: I still think it's a timeout problem.

Will upload a version with even more delay.

BTW: Did you already delete 4ext.prop as it says because there's a new version of the config available?

I find it odd that doing that (which you should anyway) reduced the startup time for freak69ize considerably.

Maybe this would help the problem you are facing too.. you posted about some 28 seconds when booting it..

However I will upload a new version now. Please test it if the problem is gone for you.

rthis only exists on the Desire.. all other devices don't have a problem with it..

I currently have 2x sd-ext + swap.. just for testing.. no problem.. so I expect a hardware specific timeout
[Desire Android Development] madmaxx82:
Please test this version.

Thank you :)

If it still says you are unformatted, please don't immedately flash the previous one which works for you but report back, I might need 1 or 2 files from you if possible.

Thank you very much!

md5sum: 4b0937d62e242c9d9f5007da84c3ab46
[Desire Android Development] freak69ize:
Yea i dont know what the deal was but when i deleted the 4ext file from sdcard and booted into recovery.. runs like a champ now.
[Desire Android Development] madmaxx82:
Thnx for reporting.. but before you did that, you got the notice when booting about that the file should be deleted because there was a newer version.. did you? Edit: just wanting to make sure this message really appears for everyone..

And you don't have this problem displaying any sd-ext partitions as not being formatted?

It's really bad that it takes so long for ppl who had that problem to test if it's fixed now.. as long as this isn't confirmed, I cannot continue with any updates for the Desire..
[Desire Android Development] freak69ize:
Yea i got notice in recovery to delete the file.. i was just busy last night and didnt realize it at 1st. So far no problems since i deleted the file
[Desire Android Development] beanbean50:
you: I cannot continue with any updates for the Desire..

me: :(

hehe
[Desire Android Development] madmaxx82:
:D

Did you try the new version?

If so did you try 2.0.3 RC1 and had this problem?

And did you try the version I posted short time ago and the problem's gone?
[Desire Android Development] beanbean50:
when I go to recovery via rom manager it takes me to newish version (v2.0.2_RC2bc) but when I use power button and volume down it takes me to the older v2.0.2_RC2 version....

gonna flash the very latest one now, will let you know :)
[Desire Android Development] madmaxx82:
Wait pls!!

Edit: when you use rom manager it uses the fake flash we tried on your phone.

So that means you didn't have the new version flashed?

Could you please try 2 different versions?

I'll upload the one that had the problem for angusc .. please try that first or next... If you can reproduce it and it's gone with the new one, then it would mean problem solved and I can update 1st post ;)
[Desire Android Development] angusc:
OK i installed this version but the same problem is there;

"Warning: sd-ext not formatted! You may visit the 4EXT menu to format"

I also deleted the file from the SDcard from recovery menu and re booted to Bootloader then back in to Recovery but still the same message.
[Desire Android Development] beanbean50:
ok I'll wait for you, plus I'v forgotten the command line again anyway hehe is it 'flash fake flash recovery.img' ?
[Desire Android Development] madmaxx82:
Thanks! Could you please post the contents, or the file /tmp/sd_fstypes ?
[Desire Android Development] madmaxx82:
Okay no need to check the old version since Angusc has the same problem on the new one either :D

So please try the new one.. to see whether you have the same issue..

The command is fastboot flash recovery recovery.img ;)
[Desire Android Development] rophaq:
sorry , for not reporting back, the misses was using the lappy, i was happy with 2.0.2.

tried the new version, works perfect.

after flashing it , it says to del 4ext.prop, did that , made a backup, it works as described ,on coolsensation, i don't know about the other roms,haven't tried them yet, thanks again, keep up with the good work madmaxx .

kind regards :):):)

rophaq
[Desire Android Development] madmaxx82:
Thnx!

I really don't understand why this issue exists for Angusc. Of course he can't be the only one :D

Need that /tmp/sd_fstypes to check

@angusc: If you could, it would also be great if you could post the output of "adb shell parted -s /dev/block/mmcblk0 print all" when you post sd_fstypes..

Thank you very much!

BTW: In the next version it will install the new 4ext.prop version automatically and rename your old 4ext.prop to 4ext.prop.old
[Desire Android Development] freak69ize:
So how do we use our own image? Image goes in 4ext folder on sdcard?
[Desire Android Development] angusc:
I checked the /sdcard/tmp folder but no files in there. when do i need to run the cmd: adb shell parted -s /dev/block/mmcblk0 print all from fastboot after coming from recovery or any time?
[Desire Android Development] rophaq:
i just followed the on screen menu instructions, didn't have that issue about

formatting, only had it on the 1st version, and i did formatte it, since then not

dicky bird about formatting, i've updated fron one version to the other ,up to

this last one ,not a problem. they must be doing something wrong then.
[Desire Android Development] freak69ize:
That sounds great
[Desire Android Development] beanbean50:
I just flashed the new one (v2.0.3_RC1b) via fastboot and it says it flashed ok:

C:\Program Files\android-sdk-windows\tools>fastboot flash recovery recovery.img

sending 'recovery' (4532 KB)... OKAY [ 0.673s]

writing 'recovery'... OKAY [ 1.425s]

finished. total time: 2.098s

but nothing has changed ...!
[Desire Android Development] madmaxx82:
No it's in /tmp not /sdcard/tmp

It needs to be grabbed when you in recovery

Also adb shell "/sbin/parted -s /dev/block/mmcblk0 print all" when you are in recovery..

To get /tmp/sd_fstypes just do the following while in recovery:

adb pull /tmp/sd_fstypes %USERPROFILE%\Desktop\sd_fstypes.txt

This will put the file onto your desktop if you are using windows..
[Desire Android Development] madmaxx82:
You need .png images and name them the same as the original files (you can check the proper naming in 4ext.prop) put those png's into sdcard/4ext/icons (create the folder "icons").

Btw they shouldn't be too big.. wouldn't use anything bigger than 300k, but you can experiement with that..

For the main background, just use icon_clockwork.png.

Any file you put in there will override the corresponding default icon..
[Desire Android Development] madmaxx82:
It's ok if it worked you have the new version :)

It should display 2.0.3

Edit: but don't use rom manager to boot into recovery..
[Desire Android Development] beanbean50:
when I boot into recovery (not via rom manager but through the power down button) it tells me it's v2.02 RC2
[Desire Android Development] madmaxx82:
Please double check the file you downloaded..

can't be if fastboot flashed it

md5sum of the correct file is: 4b0937d62e242c9d9f5007da84c3ab46
[Desire Android Development] benjo:
Does anyone have a mirror? Attachments in the OP aren't working
[Desire Android Development] Dj!pOner:
Thank You for this great Recovery!
[Desire Android Development] madmaxx82:
Please take a look at the small text above the download ;)

It's not working because I got one report until now that recovery complained about sd-ext as being not formatted on recovery boot..

So this version is now "unoffical".. you can download it, and please report if you have this issue or not. Thank you!
[Desire Android Development] benjo:
Sorry, didn't see that!
[Desire Android Development] beanbean50:
I think it's me being stupid again...hehe

should I rename the recovery.img to PB99IMG.zip ?
[Desire Android Development] madmaxx82:
:D no..

But I think it's the wrong file you flashed..

Here it is again..

Just extract and flash with fastboot

fastboot flash recovery <path to your extracted recovery.img>
[Desire Android Development] madmaxx82:
New version will include flashable themes.. :)
[Desire Android Development] beanbean50:
ok, so I re-downloaded the latest zip, put the recovery.img on my sdcard booted into bootloader (not through rom manager) flashed it ok, rebooted into recovery but it still says v2.02 RC2.....hmmm...

(now I'm gonna try by rebooting into bootloader through rom manager)
[Desire Android Development] madmaxx82:
No that won't work!

I'll upload current dev version for you and send it to you by email.. then we will see
[Desire Android Development] madmaxx82:
Ah noooo

Now I read your post more carefully!

The recovery.img must exist ON YOUR PC where you issue the fastboot command!

For example fastboot flash recovery recovery.img (if it is in the same folder)

or as an example: fastboot flash recovery c:\recovery.img

Fastboot then pushes this recovery.img you specified in the command to your device and tells it to flash that... it doesn't use your sdcard at all in fastboot mode..

Only the bootloader tries to read a PB99IMG.zip from your sdcard and flash it if found.. but this is not fastboot
[Desire Android Development] rophaq:
that will be great and a bonus though, you still keep surprising us, i would call special4ext recovery 3.0.0 then. top man

cheers
[Desire Android Development] madmaxx82:
:D

Thnx :)
[Desire Android Development] freak69ize:
SAy what?!! flashable themes for?
[Desire Android Development] madmaxx82:
For recovery..

So any theme maker or rom maker can include themes for 4ext which he can automatically install when flashing..
[Desire Android Development] beanbean50:
YES!!!!!

that's done the trick...!

wow, we got there in the end, but now you're talking about a newer version...? lol :) but should be easy to flash now I know what I'm doing hehe...
[Desire Android Development] madmaxx82:
Great!

So you also don't have that issue?
[Desire Android Development] beanbean50:
what issue is that...?
[Desire Android Development] madmaxx82:
sd-ext showing as not formatted when you boot recovery
[Desire Android Development] madmaxx82:
I think I've found the problem Angusc is having.

If one of the sd-ext partitions is not a "primary" partition, then it would not be detected..

I changed this in this version, so probably its that..

I hope it is..
[Desire Android Development] beanbean50:
no problems about my sd-ext, but there is a notice about a new version of 4ext.prop available...
[Desire Android Development] freak69ize:
Ahhh i see.. cool. Well i got custom image installed.. might have slowed it down a lil but hardly reconizable.. check it out.. if you can see it anyways. lol
[Desire Android Development] beanbean50:
yes all partitions have to be primary...even I know that...hehe
[Desire Android Development] madmaxx82:
Very nice :)
[Desire Android Development] madmaxx82:
Yes you need to delete the file for recovery being able to install the updated version.. you can rename it if you want..

I'm not 100% sure if this is the problem.. but it's something I have changed in this version and it would be a reason why it was not detected!

Angusc would need to check for that..

Either check with parted/gparted or just use the recovery to repartition sd-ext (can keep fat32).. then the problem should be gone
[Desire Android Development] madmaxx82:
Updated 1st post + known issues
[Desire Android Development] benjo:
Is there a way to partition the SD card so it's all fat32 and aligned?

At the moment I've got a 256mb sd-ext and the remaining is fat32. I want to remove my sd-ext partition and have just fat32.

When I go to partition SD card and choose 0mb for the first sd-ext size, it just returns to the menu.
[Desire Android Development] madmaxx82:
Yes, it is not possible to use the partition function to partition the sdcard with fat32 only if you don't chose to "start from scratch".. so it does never change the size of fat32 if you don't chose to repartition completely..
[Desire Android Development] benjo:
Even when I choose "start from scratch", and choose 0mb sd-ext, it still doesn't do anything?
[Desire Android Development] madmaxx82:
Okay this is a bug.. it expects at least 1 sd-ext..

I will correct that in the next version.

BTW: you can use toggle usb storage and partition using your computer..

Since this version toggle usb storage exposes all partitions to the os.. not just fat32
[Desire Android Development] benjo:
Ok thanks :)
[Desire Android Development] madmaxx82:
Would you care trying it out? Can I send you the next version?
[Desire Android Development] freak69ize:
I jus ran Alpharevx with my fone.. no problems.. Android flasher working.. confirmed. Thats gonna make things so much easier.. haha :D
[Desire Android Development] benjo:
Yeh I'll try it :)
[Desire Android Development] madmaxx82:
Okay :) but beware it's the current "dev" version :D so there might be some other things broken.. but also 1 confirmed fix is in..