yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] madmaxx82:
If you can't make sure though that only the vm sees your phone and upon usb reconnect the usb device is again passed to the vm exclusively (it's possible to do that with virtualbox..), it's better to use a livecd..
[Desire Android Development] madmaxx82:
:D

Boot with a livecd..

Then put the file I attached into /etc/udev/rules.d/ and connect your phone...
[Desire Android Development] freak69ize:
Boot with a livecd?
[Desire Android Development] madmaxx82:
Yes, download a linux livecd.. maybe ubuntu or something.. burn it to cd/dvd and start your computer with that.. then you have linux as your main OS temporarily and can do that..
[Desire Android Development] madmaxx82:
But you can also just wait for the windows version alpharev will release.. then you are eng s-off and can use entended fastboot commands..

Did you try the oneclick.zip ( the adb way)?
[Desire Android Development] freak69ize:
I dont know about that bud.. i was jus readind a tutorial about setting up usb on VB.. im gonna try that 1st.
[Desire Android Development] madmaxx82:
Okay, but you know that this can potentially brick your device?

If this virtualbox on windows version is the same as on linux then just go into the settings for the vm, then usb and click to add a filter for a device and select your desire.

After this is added to the list, edit the entry and remove everything except what's in vendor id (0bb4).. this is to make sure the device is passed to the vm even in hboot/fastboot mode..

Edit: and set remote: no
[Desire Android Development] freak69ize:
Not yet but i will as soon as my company leaves.. Wich one on 1st post do i download?
[Desire Android Development] madmaxx82:
doesn't matter.. anyone..

Just replace the recovery.img in there with the one you have fore the bravoc..
[Desire Android Development] freak69ize:
Im going out for awhile bud.. ill work with it later and get back to ya.. thanks for trying atleast.
[Desire Android Development] madmaxx82:
Okay.. if u tried the oneclick thing and it worked great, otherwise you might want to try alpharevx. for the eng hboot..

Going to sleep in the next 1-3 hours.. 3am here so see you tomorrow (today) latest ;)

Have fun going out ;)
[Desire Android Development] Bibracte:
For information:

You can not flash DATA2whatever (v0.4d) with 4EXT v2.0.2 RC2b script because the Amend scripting is not supported :-|

Message "Amend scripting (update-script) is no longer supported. Amend scripting was deprecated by Google in Android 1.5..... Installation aborded"
[Desire Android Development] madmaxx82:
Yes this is CWMR not AmonRa who might still support that..

For what exactly is this data2whatever?
[Desire Android Development] Bibracte:
Is to increase the internal memory with ROM Reflex.
[Desire Android Development] ghiki:
And with many other ROMs, it moves /app /app-private and /data to 2 ext partitions on SD (one for /data and other for /app and /app-private) at least when I tried
[Desire Android Development] madmaxx82:
after you flash this, do you run this script manually or is it run automatically?
[Desire Android Development] Bibracte:
Manually after flash ROM but before reboot.
[Desire Android Development] madmaxx82:
You can change that to updater-script in minutes..

Then it would work..

But when you have 4extrecovery, you don't need any alignment scripts and you also don't need anything to convert ext3 to ext4.. you can do all this in recovery..

I know there is more functionailty to data2whatever than this, so if you want that ask the creator of this to update the version to updater-script

This is really something you can do in 5 minutes or less.
[Desire Android Development] Bibracte:
I put a message to request an update to the script.
[Desire Android Development] madmaxx82:
Good :)

And I'm sure it is useful.

The update-script (to install it) just extracts and replaces files.. you could also manually extract it from the zip.. only some commands need to be changed and it will work..
[Desire Android Development] Musko:
Flash version

Hello,

I can try this recovery, but I dont see verstion that I can flash from my current ClockworkMod Recovery :confused:

Why?

Please can you upload and that version?

Thank you.
[Desire Android Development] tinker2000:
Can I offer a suggestion for this:-

"Your battery is to 90% charged" to this:

"You battery is charged to 90%" or "Battery charge: 90%"

The recovery is fabulous by the way. Thanks.
[Desire Android Development] beanbean50:
LOL... I just rebooted into recovery to check it out and yes Mr Madmax's English is kind of back to front ... hehe :)

and yes it is an absolutly fabulous recovery...!
[Desire Android Development] k3lcior:
// NVM.

Fixed it myself.

My partitions were not perfectly aligned so i repartitioned my SD with recovery, nandroid backup/restore worked fine, its perfectly aligned... everything is just working fine.

Really awesome recovery i wish i could donate but im poor ****. :p
[Desire Android Development] lmbd:
because we or our language in germany/austria are a bit backwards :P
[Desire Android Development] k3lcior:
I cannot flash CM7 Google Apps.

recovery.log

-- Installing: /sdcard/gapps-gb-20110613-signed.zip
mtd: successfully wrote block at 0
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/gapps-gb-20110613-signed.zip
Opening update package...
E:Can't open /sdcard/gapps-gb-20110613-signed.zip
(bad)
Installation aborted.
mtd: successfully wrote block at 0
I:Set boot command ""

It worked after i have restarted the recovery, strange.
[Desire Android Development] kboya:
Flashed the latest through fastboot. 1st time, no problem. S-off, n1 partition, 9xygen 2.1.6, 16gb class6, 1024 ext2. Formatted ext2 to ext4, partitions perfectly aligned.

Brilliant work!
[Desire Android Development] tomme45i:
Excellent work madmaxx82, thank you for your recovery! I have one suggestion:

In "wipe | format" menu there are:

- format /boot

- format /cache

- format /data

- format /sdcard

- format /system

- format /sd-ext

In "mounts | storage" menu there are:

- format system

- format data

- format cache

- format boot

- format sd-ext

Same functions in two menus. I think you can remove this options from "mounts | storage" because they are the same as in "wipe | format".
[Desire Android Development] k3lcior:
Yup, i missed that aswell.

+1
[Desire Android Development] madmaxx82:
:D yes, kyra74 already told me about that and I thought that this is "fixed" in latest version..

Are you all running rev b ?

The text should be: Your battery is xx% charged
[Desire Android Development] madmaxx82:
You are absolutely right, will remove those items from there!
[Desire Android Development] madmaxx82:
Because this doesn't work at the moment.. please use the PB99IMG for flashing through bootloader or extract the recovery.img out of it to flash it with fastboot or Android Flasher.
[Desire Android Development] live_0978:
Shouldn't they be Mount /System, Data, SD-Ext, USB Storage etc? I've not flashed this recovery yet but I will flash when a Stable version is released.
[Desire Android Development] madmaxx82:
Yes there is, but in this menu you can also format your partitions..

And since 4ext has an own format menu for that, it's not necessary to have any format options there..

BTW: It seems to be very stable.. haven't had a bugreport yet for 2.0.2 rc2b.

I'm sure there might exist any minor bugs, but they haven't been discovered yet.

You shouldn't have any issues.

Edit: I don't like to call a version stable soon.. I know there have been big issues on the desire as this was the first device that was quite different to IS, DS and als DHD.. but to call it stable I would rather wait quite a long time.. will release more RCs with minor fixed (like this bad phrasing "your battery is TO xx%charged :D )
[Desire Android Development] madmaxx82:
You see in the log that the zip file was bad:

This might have been because when you transferred the zip file, the cache might not have been flushed completely yet (first time report about such an issue)..

I will decrease the cache value for the sd storage a bit.
[Desire Android Development] live_0978:
I'll try it out then, I've got the pb99img.zip on the SDcard. I'd like to try a 2 ext ROM anyway and this is the first recovery that states it can do that.
[Desire Android Development] madmaxx82:
Great :)

Let me know what you think.
[Desire Android Development] live_0978:
It told me wrong CID so I'll have to scratch that idea, as I'm not near a PC right now I can't flash in fastboot either. I will test it out soon tho.
[Desire Android Development] madmaxx82:
Can you tell me your cid, or send me a link to a PB99 that does flash for you?

Would be great!
[Desire Android Development] beanbean50:
yep I guess I'm running the old version then, waiting for something new... hehe :)
[Desire Android Development] keyra74:
it's indeed fixed, look at my screenshot few post before
[Desire Android Development] madmaxx82:
Please could someone give me a link to PB99IMGs because some users can't flash the one I uploaded.. need to add cids :)
[Desire Android Development] live_0978:
Forgot how to find out, lol.

Me phone's dead anyway, so it'll have to wait still. I will do it tho.
[Desire Android Development] Mystenes:
my few cents :)

1. doubled option is "Print partition info" which is twice in "advanced" and in "convert menu".

2. current "EXT3 - 4EXT - EXT4" name for conversion menu is too enigmatic, "Partition / backup converion" would be easier to understand

3. "convert | change a backup -> EXT4 " -> "convert partition/backup to EXT4" is also easier to catch

4. i think this is the only one working perfectly recoveries that supports charging, but battery percentage isnt refreshed, we have only information about original state of battery

5. usb speeds under windows are pretty impresive
[Desire Android Development] madmaxx82:
Thnx :)

Yes you have a point and I will make changes there.

Print Partition Info is doubled on purpose since the user might want to check partition info in advanced menu before partitioning and also after converting a file system..

Otherwise you always have to change menus..
[Desire Android Development] tomme45i:
I 100% agree with you, this function make sense in both cases.

PS. Do you have any plans to make an update in near future? :)
[Desire Android Development] EViollet:
Small suggestion

Hi.

Been trying this recovery since yesterday, and I find it really excellent. The red colour is a strange choice, but... why not? ;)

So here's my suggestion : when choosing a file to flash, I have to scroll down to the correct directories, etc.

And if I have a second file to flash, I have to do the same thing again. Could it be possible to remember the last directory when choosing a file to flash?

In advance, thanks.

Regards,
[Desire Android Development] madmaxx82:
Yes of course :)

Maybe today with some little changes/improvements

And If I got enough time, tomorrow new feature release ;)
[Desire Android Development] madmaxx82:
Thank you!

Yes this is possible.. good idea btw!

Don't know when but will definitely make an improvement there..
[Desire Android Development] freak69ize:
Woo Hooo!! Sucess!! I tried flashing the PB99IMG with the Android-info.txt from one of the zips from the front page but i kept getting- " model id incorrect updte fail.. so i got to thinking i have an Android-info.txt that i use to change my splash screen.. so i zipped it up with the recovery you made for me an.. voila!! Thanks bro for all your help yesterday and for the recovery.. :D You da man!!

View attachment 651037
[Desire Android Development] madmaxx82:
YEAH, you did it!!!

Nice pic btw ;)

I'm still collecting CIDs and I'm in need of PB99IMGs.. it would rock, if you could upload your img.zip for others to use + I could grab those cids ;)

Thanks and great to have you on board :)
[Desire Android Development] freak69ize:
Not a problem bud.. I havent really played with it yet but when i get a chance.. ill report any problems.

View attachment 651044
[Desire Android Development] freak69ize:
Oops.. thats jus the android_info.. heres the recovery zip.

View attachment 651050
[Desire Android Development] freak69ize:
Weirdest thing jus happened.. i booted to recovery from within Rom Manager and it took my to my old green recovery.. should it do that?
[Desire Android Development] live_0978:
Ok, downloaded an app from the market called CID Getter and the reported CID is O2___001, that's 3x_ just so you know.
[Desire Android Development] madmaxx82:
Yes, that's because rom manager always uses fake_flash on the desire instead of booting the real recovery on your recovery "partition".. rom managers recovery is in a file called "update.zip" on your sdcard..

To get this to work, we need a fake flash for 4extrecovery and then replace that file..

Working on it to automate that when you flash 4ext..
[Desire Android Development] freak69ize:
Ahhh i see.. ok no problem then. Im gonna try to flash a rom after supper and see how it goes.. report later.
[Desire Android Development] madmaxx82:
Can you try this file?
[Desire Android Development] freak69ize:
Ok.. successfully flased Rom " Dirty Money ".. take me a minute to get used to navigating the recovery though. Hahaha I like how you put wipe factory, cache, and dalvik cache all to together
[Desire Android Development] live_0978:
Still no joy.
[Desire Android Development] madmaxx82:
Does it complain about modelid or cid?
[Desire Android Development] angusc:
Madmaxx,

No please don't do that by default as some of us need the old version of fake flake via Rom Manager to flash the older format of .zip........that is unless your Recovery handles both the old and new alike?

Sent with Desire.
[Desire Android Development] madmaxx82:
Thnx for pointing that out!

If I would do it, then it will only be an option! ;)

No the recovery doesn't support amend..
[Desire Android Development] freak69ize:
So far so good.. flashed a rom.. no problems.. did a backup.. no worries... only problem i have is it takes about 10 - 15 seconds after splash before red text shows up ( i cant help it.. i need everything " right " now lol ) but its not a deal breaker
[Desire Android Development] live_0978:
madmaxx, it still complains 'CID incorrect!' bizarre as I looked into the text file and you did update it with my phone cid..if it helps I'm on CM7 hboot running insertcoin nightly v51.
[Desire Android Development] angusc:
Mad maxx

I wanted to mount my sdcard from recovery like the old cmw "mount usb" but although the drive letter sowed on my windows xp pc it was not accessible. Has anyone else tried accessing their sdcard from recovery, you know like when you want to copy files from pc to sdcard.

Sent with Desire.
[Desire Android Development] k3lcior:
Works fine for me.
[Desire Android Development] beanbean50:
works fine for me also, sometimes rebooting your pc fixes things :)
[Desire Android Development] Rastaman-FB:
looks like you are using an older 1.50/1.80 hboot without the patched superCID

you will need a goldcard to use PB99IMG.zip or modify the androidinfo text file to show the original sw version and cid

why can you not use fastboot?
[Desire Android Development] live_0978:
Sorry rasta, I'm not with you. I already said I'm on cm7 0.93 hboot which is by alpharev actually so I'm also s-off. I don't have a pc till Wednesday.
[Desire Android Development] Rastaman-FB:
i know what you said

that hboot is an older alpharev one and doesnt bypass superCID like the new ones do. so you will need to make a gold card out of your sdcard or modify that txt file in the zip

the new hboots from alpharev that have a patched supercid start with 6.
[Desire Android Development] N3m3515:
or just update your hboot
[Desire Android Development] ghiki:
Strange, in my other SLCD Desire doesn't work, it shows this:

http://www.youtube.com/watch?v=W8tt1t-H8KA

PD: Sorry for the orientation
[Desire Android Development] live_0978:
Yes, when I can get near a pc again. I didn't know about these SuperHBOOTS, will have to look into it more.
[Desire Android Development] angusc:
You have two options but need a pc for both!

1) Make a gold card of your existing sdcard.

2) change your hboot to the latest r2 version which removes the CID check on boot.

Sent with Desire.
[Desire Android Development] madmaxx82:
Don't you have a custom picture set as background for the recovery?

This might be the reason.. try reducing it in size to maybe around 100kb.. this should fix that.

I know that 4ext currently takes a bit too long to start, but 10-15 seconds sounds a bit much..

I will reduce the startup time soon in one of the next updates..
[Desire Android Development] ghiki:
Solved, I repartitioned the SD from my other (AMOLED) Desire and now recovery works OK :confused::confused:
[Desire Android Development] madmaxx82:
Sorry, missed your post.

What exactly was the problem?

I couldn't identify the problem by watching the video..
[Desire Android Development] ghiki:
The red menu did not appeared
[Desire Android Development] madmaxx82:
Okay.. you might have run into a very very rare problem when recovery was trying to detect your file systems on boot.

I will change the detection of the file systems on startup anyway, because this will speed up recovery's boot.
[Desire Android Development] oruchreis:
Does this behave like CWM still on usb storage mounting? I tried your first version and it was same with CWM, so I went back to RMD. In CWM recoveries, if you mount as a usb storage, it only mounts sdcard partition, not all of them. So you can't see ext or swap partitions with a partition manager like minitool or windows' disk management. But with RDM, you can see all of the partitions.
[Desire Android Development] beanbean50:
wanna try again? hehe :)
[Desire Android Development] keyra74:
i'd like an option like that too, even if i don't see the interest in seeing my ext partition :)
[Desire Android Development] madmaxx82:
Added what you want for the next version ;)
[Desire Android Development] freak69ize:
Ok so how do i change the background?
[Desire Android Development] madmaxx82:
Oh.. so you didn't set a custom background?

Then this wasn't the problem..

can you try the new version? Startup time should be a little bit better now..

Would be great if you could test it out..

BTW: I'm not exactly sure, but both versions bravo and bravoc should be interchangeable for the recovery as radio doesn't matter there.. could be wrong though with those devices.. so I'll continue building 4ext separately..

md5sum: 02c62965f8b094e8e23825e2e5892e3f
[Desire Android Development] madmaxx82:
Anyone else would test the current version?

md5sum: 685d648a98f068798f1eee1a0feccced
[Desire Android Development] themoviesss:
Can i flash this one from recovery?

Swyped from XDA-app Htc Desire
[Desire Android Development] madmaxx82:
No.. you need to use fastboot or androidflasher

When I release it I will also upload a PB99IMG.zip

I really don't know yet why flashing recovery from inside recovery doesn't work on the Desire. This is NO problem on the vivo, ace and saga..
[Desire Android Development] oruchreis:
:cool: great. I'm trying it now. Edit: It seems I'm faster than your upload. The link isn't exist for now :)
[Desire Android Development] live_0978:
I'm on the 2.0.2b version, went to my cousin's and made my SD into a gold card. It told me my partitions were mis-aligned so I made a nandroid, backed up my card to her laptop then formatted my 16Gb as before which was 1024mb ext 4, rest fat32. After copying my stuff back and restoring my nandroid the SD card was still 'perfectly aligned' but now the ext4 partition was showing as 1074mb, is this normal?
[Desire Android Development] freak69ize:
What i meant was i see no way to add my own custom background.. where do you change it? Yea ill test it
[Desire Android Development] madmaxx82:
Updated, version 2.0.3 RC1 now online
[Desire Android Development] madmaxx82:
After you have flashed the new version and updated the config file (it will complain you should delete it).

Take a look at sdcard/4ext/4ext.prop ;)
[Desire Android Development] madmaxx82:
BTW: Are there different downloads for the bravo and bravoc with other recoveries?

If not, then please use the version I just uploaded to the first post..

For the Desire HD its the same for example.. but I'm not 100% sure..
[Desire Android Development] madmaxx82:
thanks very much!

We could already reproduce it.. the bug was introduced with some late -I thought extremely minor- changes I did, which sebastiaan didn't had the chance to test anymore as it was the middle of the night :)

Will take this offline.

I'm very sorry that many of you had problems!
[Desire Android Development] madmaxx82:
@bugfix2k still, if you could upload it would be of much help :) thanks!
[Desire Android Development] Moe5508:
Awesome piece of work - love this, thanks a lot!
[Desire Android Development] madmaxx82:
Thank you.. the output of data and cache which shouldn't be there is just a cosmetic error I introduced last night. This shouldn't have any effects on backup/restore.

I'll test this all over.

Thank you!
[Desire Android Development] madmaxx82:
Thank you, but this is no good work as there is a really nasty bug I introduced last night it seems.

Downloads are offline until this is fixed.

Thnx for trying and a big sorry for your problems!
[Desire Android Development] SamePaul:
Waiting while the recovery is recovering :)
[Desire Android Development] madmaxx82:
:D

I was really shocked when I saw the messages when I woke up!

EVERYTHING worked.. we tested backup/restore of different partition layouts (1x sd-ext, 2x sd-ext, swap only, 1x sdext+swap, 2x sdext +swap) and different file systems. Convert them, advanced backup/advanced restore, boot different roms, et.c.

all was working... I really must have messed something up in the night, shortly before I uploaded it :(
[Desire Android Development] madmaxx82:
We tracked this down a bit.

The problem should ONLY be a wrong output in text.

It should display your file system type wrong and partitions.. but internally it should have the right info and everything should work..

Did you actually test if the rom boots after a restore?

BTW: You can only restore backups with the same number and sizes of partitions you currently have on your sd.-card (obviously.. not possible otherwise)
[Desire Android Development] madmaxx82:
Can anyone else confirm that it works?

Ignore the text output at the beginning.. I introduced a bug late night!

But the information the recovery has about your partitions should really be correct! So it should backup and restore everything correctly! And also convert should work without issues..

In fact everything should work, but the Text Output you get when you print partition info and when booting the recovery is WRONG!

Edit: this is the last version from yesterday where the text output worked too:

http://www.multiupload.com/AB80GVCQV7
[Desire Android Development] madmaxx82:
Will upload RC2 which fixes the wrong displaying of your partitions shortly.

Could anyone tell me what people need to use it if they are S-ON?

Is it the same as with the Legend where people use "fake flash"?
[Desire Android Development] bugfix2k:
I'm currently testing the beta 1 you linked in last post. Trying to do the same thing I did last time with backup -> mark as ext4 -> restore.

Will post result in a minute or two.
[Desire Android Development] madmaxx82:
Thank you!

Can you please tell me what your partitions layout looks like?

Do you have only fat32 and 1 sd-ext? Or do you also have swap?

If you have swap, is swap your last partition?

Edit: could you just do a "adb shell /sbin/parted -s /dev/mmcblk0 print all" and tell me what it says?
[Desire Android Development] AlxMAX:
I know it is based on the ClockworkMod recovery. I was wondering if you have set up a git/cvs/svn repository for the sources.
[Desire Android Development] madmaxx82:
Not yet, don't even have github or anything, I know it's bad.. but I will do so once I sorted it.
[Desire Android Development] madmaxx82:
GREAT!!! Thank you!

Will upload RC2 now where this is fixed!