yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] madmaxx82:
Here it is:

Please tell me :)
[Desire Android Development] benjo:
Ok, it seems to have worked.

My partition table looks like this now

system -> yaff2 -> (null)

sdcard -> vfat -> 3758

The system partition wasn't there before, and I'm not sure why it says vfat.

Looks like it worked though :) Windows is showing my SD card as 3.6gb
[Desire Android Development] madmaxx82:
yes I must remove system if it is not an ext file system..

vfat is fat32 in that case

I will need to change the name (did some changes and forgot that)

Edit: I'd like to press thanks, but I get an error that I already passed xda's limit of 5thanks/day
[Desire Android Development] benjo:
It's ok :)

And thanks for this awesome recovery!
[Desire Android Development] madmaxx82:
thanks :)

If I don't forget I will do that when I'm allowed to again.
[Desire Android Development] rophaq:
hi again, just flashed ROM MIUI-XJ 1.7.8 GB 2.3.4 EN-MULT+OTA+CM+Updater|D2EXT X-PART|A2SD+|D2W

backup and restore , thumbs up ,works .no bugs
[Desire Android Development] madmaxx82:
thnx :)
[Desire Android Development] Weasel00:
Hey great work on this. I actually grabbed the bravoc version on page 39 II think). I like the layout and the information available.

Freak69 tipped me off about the recovery.

One thing that I see, is when I toggle usb storage and copy a zip file to the card. I have to reboot recovery for the file to show up under install zip from sdcard. Not a big problem, just a little something I noticed.

I will continue to use this and post anything that I find. If you need any other testing of the bravoc version let me know.

Jared
[Desire Android Development] freak69ize:
Yea i like this much better then green clockwork..
[Desire Android Development] angusc:
When I created all my partitions (Fat32 followed by a EXT4) they were all made as PRIMARY. Also please remember that using 2.0.2RC2 worked and still works correctly to recognising the P2. Also if it helpos the alignment.txt log that i gave you yesterday reports the Partitions as:

===============================

Tue Jul 12 04:20:57 GMT 2011

===============================

+++ Check of 1024k Partition alignment

+++ Your Partition(s) are already aligned

__________________________fdisk_Partition_table_____________________________

Disk /dev/block/mmcblk0: 31.9 GB, 31914983424 bytes

224 heads, 56 sectors/track, 4969 cylinders, total 62333952 sectors

Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 256 59392304 29696024+ b Win95 FAT32

/dev/block/mmcblk0p2 59394048 62331135 1468544 83 Linux

__________________________________________________________________

I had NO luck with the log files that you want the sd_fstypes.txt output was 0kb. I had to modify the cmd to: "adb pull /tmp/sd_fstypes c:\sd_fstypes.txt" to get it to print tho......please advise of any correction required in my CMD line?

the cmd: /sbin/parted -s /dev/block/mmcblk0 print all just returns a message "The system cannot find the path specified. You will have to give me a clearer instruction.

Currently I'm opening the Windows cmd and then "cd c:\androidsdk\tools"

Then i ran the above commands that you gave me "/sbin/parted -s /dev/block/mmcblk0 print all" & "adb pull /tmp/sd_fstypes c:\sd_fstypes.txt".

If you can give me some guidance on where I'm going wrong that would be good.

EDIT i checked the sdcard using MiniTool Partition Wizard 6 (freeware) and the ext4 is definately a PRIMARY partition:
[Desire Android Development] Minux31:
Big Thanks

Hello,

I've installed 2.0.2 RC2b on my Desire, tried to backup my Oxygen 2.1.6 (Hboot CM7r1 + sd-ext), wiped everyting, restored it and it worked perfectly (last CWM didn't), big thanks to your great work madmaxx82 :D
[Desire Android Development] madmaxx82:
Hi!

Thnx for your positive feedback :)

Yes someone reported it already. Put it in known issues.

Is fixed in current version (not released yet)

Okay so I have to upload bravoc versions from now on too ;)
[Desire Android Development] madmaxx82:
Hi!

Parted is only available when you are in recovery..

Would be good to have that output.. as you are the only one reporting this yet.

You could test the current version.. just say so, then I will upload it for you.
[Desire Android Development] beanbean50:
good morning max...

do you happen to have an update.zip for your latest and greatest v2.0.3 RC2 :)
[Desire Android Development] Highlander11:
Small comment...

@maxx:

While preparing for a ROM transfer (backing up the SD card, recreating partitions, etc on PC), I used the time to upgrade the recovery on my wife's HTC Desire to the newest available 2.0.3 RC1b (BTW: where's the "oneclick" file for this - for the lazy ones? :D)

I did a senseless check of running "Check partition alignment" from the recovery WITHOUT any SD card inserted, which replied - to my surprise - "Your fat32 partition isn't perfectly aligned! You may want to repartition the whole sdcard".

I would think that it is possible to detect that there is NO SDCARD present and give the appropriate message!?!? ;)

BTW: I just love where you have taken the recovery-concept! Keep up the great work!! :D:D (I am using it on my HTC Desire HD and now on my wife's HTC Desire - soon on many of my colleagues' devices too ;))
[Desire Android Development] madmaxx82:
Yeah of course we can do that..

Thnx for the positive feedback.. BTW: there are known issues in the current version.. not big ones, but one should know about them.. it's in "known issues" on 1st page..

I have fixed all of them in current unreleased version and hope not to have introduced new ones :D

Will release it today..
[Desire Android Development] madmaxx82:
Hey mate :)

No I have not, but I will compile one for you :)
[Desire Android Development] angusc:
Madmaxx,

Of course i was in recovery on the Desire before running the commands. if you could give me a step guide this might help. I have been running the ABD commands from the windows cmd which i change directory to get to my androidsdk\tools folder..........is this correct or do i just run the commands that you gave from the cmd window with no CD to the ABS folder?

If you link me to the latest version i will gladly try it, but by another 5 hours (GMT 18:00) I need to be back to a stable (working for me) Recovery as I'm travelling out of country and away from my PC for a few days.
[Desire Android Development] madmaxx82:
Hi!

Did you type just /sbin/parted -s etc. or adb shell /sbin/parted -s et.c. ?

Can you repartition your sdcard in recovery (just the sd-ext) and see if the problem is gone?

I'm currently finishing one part with recovery.. will be ready in 30minutes I guess..

I will then attach it to a post. Please try it then if the problem is not gone after repartitioning..

It's really strange that you are the onkly one up until now reporting that problem..

There has to be something different with your partitioning.

I don't mean that it's your fault. It is CERTAINLY NOT! This has to be bulletproof.

But to find out what's the problem, I'd need the file /tmp/fs_types ("adb pull /tmp/sd_fstypes %USERPROFILE%\Desktop\fs_types") and "adb shell /sbin/parted -s /dev/block/mmcblk0 print all > %USERPROFILE%\Desktop\parted.txt"

regarding the change directory.. you would only need that if the adb binary was not in your "path" environment variable..

You can check that if you open a console and just type "adb" and it tells you command not found instead of printing lots of text, you would need to change dir into the same directory where adb.exe is located..

So it would be great to have those files..

And it might be interesting if repartitioning sd-ext would solve the problem (if you do that, please get the files first if possible).

And in 30mins or so I will post the new version where I have changed the detection of filesystem types..

Thank you and sorry you are having those issues!
[Desire Android Development] ziggy1001:
I think that has been the case on all recoveries i have used, i guess the sd-card is only scanned for zips on boot and not after toggling usb storage mode
[Desire Android Development] madmaxx82:
fixed in version I'll release today ;)
[Desire Android Development] angusc:
I ran this command and got loads of text about Android Debug Bridge Version 1.0.26 then a list of all the commands.....but no fs_types.txt on the desk top.......

adb pull /tmp/sd_fstypes %USERPROFILE%\Desktop\fs_types:

Im in recovery (the first red screen that comes up in Recovery), is this correct? I also ran the "print Partition tables" then tried again but still no joy......any further ideas? also how do i copy and paste the CMD window test so that i can show you what is happening?
[Desire Android Development] madmaxx82:
It should have created a file on your desktop called fstypes..

And regarding the copying: better to add "> filename" then it will dump all the output into this file..

But you can copy test by right clicking and use "select" then when you selected the text you want to copy simply press enter..

But the results are bad when copying text from windows consoles..
[Desire Android Development] madmaxx82:
Sorry didn't read your post well enough..

Was there an error when you pulled sd_fstypes?

If no, then please use adb pull /tmp/sd_fstypes %USERPROFILE%\Desktop\fs_types.txt

But if it gave you an error then please try with pull /tmp/fs_types %USERPROFILE%\Desktop\fs_types

The parted command must work!
[Desire Android Development] bmonster:
Any chance of getting the source code for your latest build :)
[Desire Android Development] madmaxx82:
Not yet ;)

But will release it once this is matured and I have all features I'd like to have.
[Desire Android Development] madmaxx82:
Here is the latest version..

Please anyone who would like to, test it:

Angusc: Please try if this solves your problem!

Thank you!

md5sum: e1191629c5d68e9b4bb6131f8ae34c18
[Desire Android Development] angusc:
Madmaxx,

this is getting tedious now~!

The only file to be generated is the fs_types.txt but only if i change the cmd line to generate it in the c:/fs_types.txt

When running the "adb shell /sbin/parted -s /dev/block/mmcblk0 print all > %USERPROFILE%\Desktop\parted.txt" cmd there is an error thrown: The system can not access the file because it is being used by another process.

If i use the cmd "pull /tmp/fs_types %USERPROFILE%\Desktop\fs_types" then get all the ADB commands details but no fs_types file.

Further, I gave in and reformatted my ext in Recovery but guess what.....after completed then still reporting the same error!!

final straw, i wiped everything and restored my earlier back up made with 2.0.2RC2 and it keeps boot looping on the splash screen!

EDIT: just flashed back to 202 RC2 to try restoring my back up.......202 RC2 reports my EXT4 correctly as being ext4 -> 1503MB. I will let you know if i get back to my original ROM installation state!
[Desire Android Development] bmonster:
No problem, I understand ;)
[Desire Android Development] madmaxx82:
If this recovery version does not detect your sd-ext then it cannot restore the backup!!

you would need to restore the backup with a recovery that detects all your partitions correctly.. like 2.0.2 RC2 or (I hope so the newest one I just posted)

BTW: I'm sure you know that, but to make sure:

If you repartitioned and then restored an earlier backup, the partitions must match.. at least there must be enough space on them to restore the backup + there must be the same count of partitions available.. otherwise it cannot restore a backup..

Please set up the same partitions you had and restore again using a recovery that detects your partitions..
[Desire Android Development] angusc:
so would you recommend or like me to try the latest one now 203 RCb1?

looks like my back up is installing OK now at the "found 4EXT info for........"

But another bug comment the installation status bar does not work in Restore? 202 RC2.
[Desire Android Development] bmonster:
This has always been the case on every recovery, status bar works only on backup.
[Desire Android Development] madmaxx82:
Please try that one, so we know that the new versions will be ok for you.

If that doesn't work either. I understand you need that working fast, so then downgrade to 2.0.2 where this worked for you..

http://xdaforums.com/attachment.php?attachmentid=653688&d=1310567112
[Desire Android Development] bmonster:
1st bug on latest version, is the free space not showing correctly.

looks like it showing used, as opposed to free.
[Desire Android Development] madmaxx82:
Thank you!

But for fat32 it's ok, isn't it?

Will correct that and update
[Desire Android Development] bmonster:
No Fat not correct as well, showing 3gig free actually have 11gig on a 14 gig partition free.

sd-ext showing 570 free, but its actully 570 used,

Thanks Dude.
[Desire Android Development] madmaxx82:
This one should be ok :)

md5sum: 3dbe5fcf8db2be54c81e095d3960fef7
[Desire Android Development] bmonster:
Yep that fixed it :)
[Desire Android Development] Highlander11:
Once again: flashing as I type - will test it tonight as well ;)
[Desire Android Development] madmaxx82:
Hi :)

Well if you won't test it in the next 1-3 hours.. then don't flash it because I'll update it once more.. :)
[Desire Android Development] angusc:
I tried this version, a bit confusing with your naming of the file as I thought it was a PB99IMG.IMG file to be flased via HBOOT.....but it was not picked up by the HBOOT. so i copied it to my tools folder and flashed via fastboot OK.

This version on sees the FAT32 partition and does not report anything about my ext partition?

If i go in to the USB Mass Storage menu then error:

"E:Unknown volume for path [/sd-ext]"

"E:Unknown volume for path [/sd-ext2]"
[Desire Android Development] madmaxx82:
Ok.. this is bad.

Please use the last one then that worked for you.

But one thing please:

I could make a version only for you now that copies everything that would help me to identify the problem to your sdcard..

Could you please flash this first, give me the logs and then install the version that last worked for you?

I will then try to identify the problem you have and try to solve it!
[Desire Android Development] madmaxx82:
I always name the PB99IMG after the current version so it can be identified.. to flash it one must rename it..

Here is the version..

md5sum: a94c865a69248330ea514096805b7ec2

Please flash it and then use the menu in advanced "Copy recovery.log to sdcard".

This will copy the output of parted, fstypes and the recovery.log to your sdcard..

Please post/send me the files. I hope that I will be able to identify the problem you are having with the latest versions and fix that so you won't have any problems any more in the future.

Also I added an insane delay of 5 seconds to the boot process of the recovery.. just to make sure it's not a timing problem..

So please noone else flash this..
[Desire Android Development] madmaxx82:
Sorry, I had a typo in that one :( hope you didn't d/l it already.. removed it as fast as I could.

Here is the real proper one :)

This will get all the logs necessary + 5seconds of delay..
[Desire Android Development] freak69ize:
Yes i brought you another customer.. :D haha
[Desire Android Development] angusc:
I'm heading out of country today so will be off line until the weekend at the earliest.

Please can you send me a detailed step by step on how to get the output logs that you need. I know that you already gave the adb commands but a you know things still not working.

Last but not least.....i have a 32GB sdcard if that would make any difference.

But I still find it interesting that version 202RC2 is working without any issues........?

Sent with Desire.
[Desire Android Development] madmaxx82:
Yes that is strange.. my sdcard is also 32GB btw..

I uploaded a special version for you where you only need to press "Copy recovery.log to sdcard" and all logs will be copied..

So you don't need to do anything other than flash that version and use this function..

All logs will end up on your sdcard...

Also I increased the timeout to 5 seconds just to make sure it's not a timeout problem..

Edit: it's 2 posts above, but here you have the link: http://xdaforums.com/attachment.php?attachmentid=653756&d=1310574115
[Desire Android Development] madmaxx82:
:d :d :d
[Desire Android Development] madmaxx82:
I think 2.1.0 is now complete..

This is just a Beta, but would be great if someone could test it:

Many changes to support flashable themes for recovery, but there are also 2 new maybe interesting settings inside 4ext.prop.

It allows you to specify your own optimizations (parameters) the recovery will use whenever it formats any sd-ext partitions ext4 (which happens before each restore or when you wipe/format).

This feature is "experimental".. tested it for mkfs.ext4, but didn't have time to test it for tune2fs yet.. so there might be some bugs..

Fixes, flashable settings/pics (themes), displaying of free space, customizable mkfs/tune2fs parameters for sd-ext
[Desire Android Development] freak69ize:
Yea i will test it afterwhile when my company leaves.. ifn ya know what i mean. :D
[Desire Android Development] madmaxx82:
Blondes or brunettes .. nothing's more important than a recovery :D
[Desire Android Development] freak69ize:
Hahaha right right right.. Red on the head.. :) Ok im backing my rom up right now.. then im gonna try to flash recovery with Android Flasher.. worked with splash.. dont see why it woulnd with recovery
[Desire Android Development] freak69ize:
Everything seems to be ok.. havent tried installing a rom yet but will later. I ran fix permissions.. that works. Ran check partion alignment and it says- your fat 32 isnt perfectly aligned- you may want to partion the whole sdcard.

your 1st ext partion isnt perfectly aligned. you may want to consider repartioning.

Everything seem to be ok but will report back later.
[Desire Android Development] Weasel00:
Ran through some of the options/commands without any problems. Copied a zip file to the card while in recovery and checked for it in install from sdcard. The file showed up.

Restored a backup without any problems either.

Good Job. Will let you know if I run into anything.

Jared
[Desire Android Development] freak69ize:
How did you copy a file to sdcar from within recovery?
[Desire Android Development] benjo:
Enabling usb storage? :)
[Desire Android Development] benjo:
I've just flashed the recovery.img via fastboot from the previous page and I can't enter recovery, it just hangs on the HTC logo.

Any ideas?
[Desire Android Development] ckpv5:
Me too. :(
[Desire Android Development] Weasel00:
You didn't happen to grab the wrong recovery file? If you grabbed one of the 2.1 betas, one is for the CDMA Desire. The file is labeled with bravoc.

Jared
[Desire Android Development] freak69ize:
Wich one? One is for BravoC

oops.. didnt see that Weasel already answered.. lol
[Desire Android Development] freak69ize:
Hahaha ok thanks.. duhhhhh
[Desire Android Development] ckpv5:
Right..wrong file.. hehe.. learn something today. Thanks.:)
[Desire Android Development] freak69ize:
Toggle USB doesnt seem to work for me.. when i click on E: removable disk it says please insert removable disk
[Desire Android Development] madmaxx82:
Good morning ;)

Are u sure E is really your fat32 partition? Maybe it has changed, because toggle usb now passes all partitions, also sd-ext ones to the os..
[Desire Android Development] freak69ize:
Morning MadMaxx.. uhhh im i think so. When i connect usb in rom its E.
[Desire Android Development] madmaxx82:
Strange.. can you use toggle usb and then run any partitioning program? To see which partition is what and if it shows E as fat32?
[Desire Android Development] freak69ize:
When i go to toggle usb then press unmount it goes back to Main menu.. i dont think its unmounting..

View attachment 654401
[Desire Android Development] madmaxx82:
Will check that when I wake up again ;)

Just woke up in the middle of the night :D (well 6am .. that's night still).
[Desire Android Development] freak69ize:
No worries bud.. its 11:20 pm here and i probaly wont go to bed till 6 am hahaha
[Desire Android Development] madmaxx82:
Okay, thensee you later and we will check this ;)

BTW: Update (hopefully last for that version):

http://xdaforums.com/showpost.php?p=15625448&postcount=546

And good night again..
[Desire Android Development] benjo:
Whoops, yeh I flashed the cdma file lol :(
[Desire Android Development] rophaq:
morning all, evening to some.

i think , i got that as well, if you go back to main menu, it unmounts itself, but if you leave it there where it says press to unmount it is mounted. i did check that,

when it's mounted, i see my sd on my pc, the minute it goes back to the main menu, it dissapears from my pc. anyway this how i found out.
[Desire Android Development] rophaq:
have you had a cuppa yet:p:p:p
[Desire Android Development] freak69ize:
Hey i was bored so i was messing around with Gimp and did this.. whatcha think bud?

View attachment 654487

Its in png format if anyone wants to use it.. if not.. ok then.

I jus checked it out.. looks cool as hell.. everything lines up

really good at the bootom and it goes with the top..
[Desire Android Development] freak69ize:
Ok ill check and see if that works for me.. thanks
[Desire Android Development] freak69ize:
Nope.. it does nothing when i leave it on unmount.. and same as before, when i push unmount it goes straight back to main menu.
[Desire Android Development] rophaq:
i take it that's your cool splash screen head banger...................:D:D:D
[Desire Android Development] rophaq:
it definitly works. main menu + toggle usb storage don't press unmount wait for moment ,and your sd will appears on screen. it works every time i do it.

CONFIRMED

so without exiting recovery, you can add what ever ( roms , updates ...etc...).

if it doesn't appear, must be something wrong with your: slow pc ...drivers....idon't know.
[Desire Android Development] Sebby:
+1

working
[Desire Android Development] freak69ize:
Haha no.. thats what im using for Ext4 recovery image.. instead of clockwork image with Rom Manager icon
[Desire Android Development] ziggy1001:
"fake flash" would be very useful for s-on and s-off users;)
[Desire Android Development] Rastaman-FB:
dont use rom manager, it tries to flash it as fake flash

if you are s-on you should use unrevoked and click the custom recovery option before connecting device and use it to flash the recovery

other than that, get s-off and flash it using fastboot
[Desire Android Development] madmaxx82:
Thanks for the info.

I will try to make a package for that.. but I would need someone to test :)

"Sorry, you are limited to five thanks per day".. so I am sorry that I cannot press the thanks button anymore today if someone was willing to help test fake flash :(
[Desire Android Development] bmonster:
Noob Question Alert!!!!

Why would you need/want 2 sd-ext partitions?? :)
[Desire Android Development] madmaxx82:
For roms that use d2ext :)
[Desire Android Development] Nyto75:
good work !

i love the fact that we can make 2 ext partitions ! :D

love it !

PS : Couldn't we change this color?? lol ^^
[Desire Android Development] madmaxx82:
Yes :D

I'll add something where you can change it yourself..

Found 2 bugs:

1st: when you have an sd-ext partition which is NOT formatted at the moment, it will be displayed as swap. Thanks to victor0888 for reporting!

2nd: only a cosmetic issue: sd-ext or sd-ext2 (don't remember which one anymore :D ) will always show up as EXT4! Recovery itself knows the real filesystem.

Bug nr. 2 already fixed (not uploaded yet), nr1. not so easy.. working on it, although I really hope there are not many people booting recovery with no file system on their sd-ext partitions...
[Desire Android Development] madmaxx82:
Okay RC3 is ready..

Boot time reduced!

fixed: sd-ext2 always displaying as EXT4 regardless of its real filesystem (only text output was wrong)

Changed detection of sd-ext partitions to also correctly identify them + swap in case there are unformatted sd-ext partitions.

If recovery detects an unformatted sd-ext partition it will print a warning and tell you that you should visit the 4ext menu to format your partition.