yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] LorD ClockaN:
I always do that OR include the files in rom.zip before flashing, than flash the new nightly or whatever

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] Shidapu:
Bleh.. something changed in the last couple of recoverys, but im not able to Backup from Rom Manager, only in CWM.. :p not a big deal though, just have to adapt... Now force rebooting phone as it got stuck at backup "Generating MD5 sum........"
[Desire HD Android Development] ghostofcain:
No problems here. Any chance theres a problem with your SD card?
[Desire HD Android Development] Shidapu:
I formated and checked for errors, and all that shizz.. :(

Nothing wrong as i can tell, maybe it is, maybe its not.. hell i don't know anymore.. But worked flawlessly making a backup inside CWM... Viceversa don't work..

Edit:

Ah crap :( I cannot backup anything now, just made a backup inside CWM, restoring gives me those pesky "MD5 mismatch!".. On all backups.. Im giving up..

Edit2:

Nothing seems to work, MD5 Mismatch all the time while trying to restore.. bugger... :/

Tried CWM 4.0.0.5 EXT4 Edition...

Gonna try making a new backup with CWM 4.0.0.5 instead.. And then retry Restore... IF that doesnt work, it has to be the SD card...

Last edit:

Backed up with CWM 4.0.0.5 EXT4, then i did a restore, and now MD5 Checksum works flawlessly with the newly made backup. :)
[Desire HD Android Development] Dacoco:
Hi,

i use 2.1.1 and did a nandroid yesterday. Today i wanted to restore it because i was just testing something and i couldn't because of "MD5 mismatch".

I repaired it (created a new md5) and manage to restore ist but why did it fail?

I am not sure but i think there was a slight vibration of the Desire HD at the process "Creating MD5". Is this possible? I did not see any error message but is the vibration a warning signal?

Thank you

Regards

Daniel
[Desire HD Android Development] madmaxx82:
I haven't taken a look at all at the code that checks or creates md5sums. This is still unmodified from cwmr.

For the next version I'll take a look at that and might also change the way this is done.

Regarding someone on github it was even possible that CWMR created 0byte sized backup files without complaining (because there was no sufficient space).

I'm sure this is fixed in newer versions.

When creating a backup for example you might get a short message stating that there "might" not be enough space available "but continuing anyway".

I'll change the free space check to abort the backup if that happens + change the md5sum check to tell the user if it fails, which of the .img files failed and provide an option to continue anyway on your own risk.
[Desire HD Android Development] memnoc:
Madmaxx two questions:

Is it possible that some users have to do mount system before flashing a ril, otherwise the ril doesn't apply at all? (I tried and for me works without mount system)

Is it possible that after format partitions from ext4 to ext3 and WITHOUT flash the ROM again, the ROM itself is perfectly working?? I mean, if you format partitions you are deleting everything...how can the ROM still works if you don't flash it again?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] madmaxx82:
1. I think it's no longer necessary.. if it doesn't work, they should redownload ;)

2. You mean you formatted, or you used the convert function?

If you convert your file system then this is without losing data..

If you format, it depends on which partition you formatted if the rom still boots or not.
[Desire HD Android Development] memnoc:
1: you mean redownload recovery?

2: format...that's weird..so, a good chance to try should be: format system, then try to boot the ROM...the ROM won't boot..am I right?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] madmaxx82:
redownload the ril.

Yes then your rom should not boot really ;)
[Desire HD Android Development] memnoc:
Yep;-) I'll let you know;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] ProreX:
Please don't be mad at me, but I have one n00b question.

I use CWM 3.0.2.8. If I decide to use this recovery, does it meen that I will loose CWM recovery in bootloader, or they will co-exist. If it will be owerwriten, what about CWM aplication under android, do I have to remove it before/after flashing this recovery? Do I need some preparation before flashing this recovery due to fact I use CWM recory at the moment? What is the difference between this recovery and CWM.

Thank you for your support and answers.
[Desire HD Android Development] madmaxx82:
If you flash another recovery, it will replace the one you currently have.

Rom manager will continue to work ;)

You don't need to do any preparations.

Just flash the zip file like any other rom via rom manager or inside cwmr and you are done!

Edit: if you ever wanted to revert back to CWMR, then just use rom manager to "install recovery". It will download CWMR and flash it over 4extrecovery.
[Desire HD Android Development] SmokeyMcBong:
hiya m8, ill try and answer your questions buddy ;)

recovery option will remain in bootloader,

Rom Manager [within android os] will still be able to reboot into recovery, do backups etc,

theres no need to remove Rom Manager, they can all co-exist ;)

as far as i know there is no real preperation needed, just flash recovery using adb, or terminal emulator and away you go :)

the main differences between standard CWM and 4ext is FULL ext3 AND ext4 support, format in either and even convert a pre-existing backup to ext3/4, the placement of items within 4ext have been moved around, more logical, less button presses going through menus etc ;)

and also the addidtion of excelent themes by Whiskey103,Amresh,Apaquette420 and CWhitney24 :) all of which can be flashed via recovery :)

links to the brilliant 4ext recovery and the wonderfull themes are all in the first post buddy :)

hope this helps m8 :)

edit... damn, you beat me to it by a matter of seconds there madmaxx82 lol., Excellent work by the way! loving 4ext! :)
[Desire HD Android Development] eliashadow:
U don't needed to do anything before flashing.Just put the zip into sdcard and install it.

The differences are more options,easier way to all and themed.
[Desire HD Android Development] madmaxx82:
Thanks and thanks for this great explanation.
[Desire HD Android Development] SmokeyMcBong:
no problem buddy ;) its the least i could do m8 :)
[Desire HD Android Development] memnoc:
That's weird...some users have to do mount system before flashing ril..otherwise ril doesn't apply at all..I don't understand why for me works without mounting anything...

EDIT: it seems that some old zip files work properly only if you mount system before flashing..with a more recent zip file you don't need to mount the system..just flash..is it possible?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] ProreX:
I would like to thank you all for great explanations (all of you got thanks button pressed) :D That was least I could do to thank you guys. I will try this in a second.
[Desire HD Android Development] LorD ClockaN:
It depends on update-script in the zip file and how it's writen

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] g3ismeee:
...so I will continue to mount system when flashing RIL's. It is the only way I have ever done it on this device, it takes about 10 seconds, it always works for me, I don't know how the updater scripts in the zips posted are written, and I see very little downside risk...just my 0.02.
[Desire HD Android Development] memnoc:
It's not just a matter of "10 second ".. recovery MUST work without mounting anything.. partitions are always mounted unless you 're formatting them.. that's the way fs should be managed them.. so it's definitely better if you download your ril zip again, cause it will work properly due to a more recent compiling..

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] memnoc:
Yeah my lord, 100% right; -)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] peste76:
One question: I installed your Recovery (thanks for that) and it feels really nice. But i now used CWM (Premium) all the time to install my CM7 Nightly - does this will work again ?
[Desire HD Android Development] g3ismeee:
I'm not the one having the problems. I have 100% success rate flashing RIL''s...go back and read again who is having the problem...I will still do it the way I was taught to do it, and has worked every single time.
[Desire HD Android Development] madmaxx82:
Yes!

Will work!
[Desire HD Android Development] madmaxx82:
Hehe, please stop it already. this isn't worth it ;)

Good that it works that's all that counts.
[Desire HD Android Development] g3ismeee:
Yep. Cool.
[Desire HD Android Development] memnoc:
Yeah; -)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] EmptyArea:
I have a feature suggestion.

This post will make it clearer then I ever could.

http://xdaforums.com/showpost.php?p=12764930&postcount=1
[Desire HD Android Development] a user:
+1

here sopme more info including c code to do it without dd and mistyping risk.

awsome addition to 4ext functionality... backing up and restoring this data and wiping :D
[Desire HD Android Development] SERGI.3210:
ooooppsss i have an issue with this recovery.. can be posibble that "vol-&power" don´t work in this recovery???? is there any solution? it can be dangerous.... :(
[Desire HD Android Development] EmptyArea:
Vol and power opens bootloader, not recovery related.

Two common reasons for your problem:

Hibernate rather than actually off.

(If you're not sure then pull battery)

Faulty vol rocker.

(Check you can turn vol down :-P)

(Edit.)
[Desire HD Android Development] madmaxx82:
Will add it! Thnx for the suggestion! But currently very very busy with v3 which I hope will be something very different to any previous version ;)
[Desire HD Android Development] a user:
what do you mean by that? don't scare me :P
[Desire HD Android Development] EmptyArea:
Now now a user, its not like you have to upgrade! ;)
[Desire HD Android Development] cwhitney24:
Its already perfect so I'm excited to see what else you could possibly do to it! I think I have converted a good bit of inspire users! :)
[Desire HD Android Development] a user:
it's an addiction.... that sometimes lead to illness called bootloops or similar symptoms :P

p.s. i totally fall in love with my new selfcooked miui based on 1.7.29. it's so smooth, beautyfull and fast :D (well, actiually i didn't changed much :P)
[Desire HD Android Development] louslugger15:
How do I get back to CWMR? I deleted the zip off my sd card but it still comes up. I like it but would like to put the app back to stock. I changed a few things and I'm not sure what I did, but one of my backups force closes everything.
[Desire HD Android Development] madmaxx82:
Just use rom manager to install cwmr recovery ;)
[Desire HD Android Development] madmaxx82:
Sorry SERGI.3210, but I really don't know what you mean.
[Desire HD Android Development] madmaxx82:
:D very good! thnx, but there are still many requested features/changes missing + there's something new, which might or might not work, however does take a lot of time, we'll see.

Hehehe I know what you mean ;)
[Desire HD Android Development] andreasy:
can anyone mount sd card in 4ext? I tried to do so in order to copy my file to flash but nothing happens. I tried twice with no success. tried while phone was still connected and also tried before connecting.
[Desire HD Android Development] cwhitney24:
No issues here.
[Desire HD Android Development] Jake33108:
+1, haven't had any issues mounting SD.
[Desire HD Android Development] Patrics83:
Toggle USB storage works fine here :D
[Desire HD Android Development] g3ismeee:
YEs. That is really really handy use it all the time...I love this thing!
[Desire HD Android Development] Patrics83:
Like the rest if this amazing recovery!!!

Keep it up madmaxx ;)
[Desire HD Android Development] Shidapu:
Gonna give this recovery a second chance now :)

Bought myself a new 32GB SDHC card, and have been having strange crash reboots in 3.0.2.6 CWM when trying to flash roms with rom manager :P

Will report back later on my findings :)
[Desire HD Android Development] g3ismeee:
I have flashed about a gazillion items with this recovery module now without a single bug or hint of a failure. I hope it works as well for you. Good luck.
[Desire HD Android Development] cwhitney24:
+1 on that. The past 2 days I've been in a testing mood. Flashed a couple radios, 3 rils, 2 roms, did a back up on all, flashed lords daily kernels lol. No issues!!!! :)
[Desire HD Android Development] Shidapu:
well the 32GB Micro SDHC card i bought was fake and hacked, bought another 32GB card from a retailer in hopes of having no issues, backing up my stuff as we speak, will try the recovery once again when im done.

I'll report later.
[Desire HD Android Development] a user:
yep, for me also perfect. since i offer my own rom i use more than anything else Oo
[Desire HD Android Development] aamadorj:
I've been using this recovery for about three weeks and it has worked fine all the time. I think it is a great recovery for the Inspire 4G.
[Desire HD Android Development] Onepagebook:
So amazing, thanks a lot,

Just quick question here:

how do I capture the screen under recovery?

TIA
[Desire HD Android Development] cwhitney24:
I downloaded to my computer the sdk tools I think it was. Then used ddm under the tools to take a screenshot from the computer...I'm not infront of my computer so I may have just murdered the names if the.programs lol.
[Desire HD Android Development] Onepagebook:
Thanks a lot Sir, I do find the "ddms.bat" under the tools of sdk folder,

but the only question left is how do I use it (just double click or?) and where the screen picture path I can find it?

Thanks again for the answer:)
[Desire HD Android Development] cwhitney24:
Yup plug up your phone then double click that. Once it pulls up select the phone on the left the look towards the top for the screen capture. It will save it to a folder (can't remember name) but it will pop up. This would be alot easier if I had my laptop with me lol
[Desire HD Android Development] madmaxx82:
Thanks all of you for this amazing feedback! This is motivating for spending the whole day on coding for "next" :D

thank you!
[Desire HD Android Development] madmaxx82:
New version, more theming options

Because the next major version will take *at least* an additional week to be ready and will be a Beta when it arrives,

as it will be *quite* different to any previous version, here is a little unsupported update of the soon to be outdated code used in v2.x

It's not the update with promised changes/additions, but introduces more theming options and some little improvements.
​

Changelog v2.1.2

Improvements

:

Startuptime when there were themes with lots of different icons improved:

Except of the main background image, all images are loaded in the background after the recovery is ready.

-> so you can use it already even if the theme contained big background images which slowed down startup time even more on the Desire in previous versions.

Startup delay will be improved further, but this won't happen anymore for v2.x.

Yaffs2 partitions and their remaining free space values are now displayed too.

Filesystem info is now written to /cache/4ext/vol_info for any scripts that might want to check it.

New theming options

:

It's now possible to define a background image for any menu_item and its corresponding category.

While the user moves up/down any menu_items in main menu the background image changes "on the fly" to represent the item.

Menu item in 4EXT menu to reload the current theme.. so no restart is necessary any more when you change themes.

Of course the flashable zip of the theme must not reboot recovery, because it would render that option useless ;)

​

This version is neither stable nor unstable.

Not much has changed so I hope it's as stable as 2.1.1b or 2.1.0 final, but this must be evaluated by you ;)

md5sum: 42bf139a4faf22fa1e88f7c0620a361f 4EXTRecovery_v2.1.2_ace.zip

md5sum: 4e5dc8ce6dd61596358c8b89594de867 4EXTRecovery_v2.1.2_ace_OneClick.zip
[Desire HD Android Development] LorD ClockaN:
Grrat stuff! Now waiting for whiskey to make themes :)

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] madmaxx82:
Right!

Whiskey, where are you?
[Desire HD Android Development] LorD ClockaN:
Flashed 2.1.2 via recovery and now it doesn't want to enter recovery.

It shows recovery for a fraction of a second and than it just reboots..

No time for logs, need to run.. just wanted to let you know

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] sweety1:
same here. get back to 2.0.1b
[Desire HD Android Development] Jake33108:
+1, I'm going to flash CWM from ROM manager, and re-install 2.1.1b

Will help with logs later if I can but I have class in less than an hour

Quick edit: I'm bac to 2.1.1b no problem, it even still has my theme!
[Desire HD Android Development] razor 116:
Same Here.
[Desire HD Android Development] mattiadj:
In the latest version is supported sd ext for desire hd?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] SAPPH1RE:
Yes, it is supported.
[Desire HD Android Development] :
Amazing recovery, much better than the previous one I had, thanks guys!
[Desire HD Android Development] nteeb:
+1,I tryed and it's perfect, far better then my previous, 3.0.2.8ext4.

Thanks mate... :)
[Desire HD Android Development] mero01:
Dont seem to have a "4ext" folder ?

edit ...

dw :P
[Desire HD Android Development] madmaxx82:
Thank you very much for all your positive feedback :)

In the next days I won't have much time due to work, but please report any issues you might find immediately and also if you have any suggestions.

Thnx!
[Desire HD Android Development] mattiadj:
Recovery says me that my sd card fat32 partition is not correctly aligned.

How can I align it? I lost something if I'll align it?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] madmaxx82:
Yes to make it aligned to 4k sectors you need to repartition it.

You can use the partition menu for this in the recovery. It will perfectly align all partitions you create with it.

So when you do this step, select to start from scratch rather than leaving fat32 untouched..

And yes, you will lose your data on your fat32 partition. You need to save them before you do that!
[Desire HD Android Development] oxlong27:
My apologies I somehow missed that. Got it now. This is really awesome thank you.
[Desire HD Android Development] madmaxx82:
No need to apology, didn't mean to be harsh or something :)
[Desire HD Android Development] timstanley1985:
What are the disadvantages of an unalligned SD partition. Your recovery says mine isn't aligned but I'm not experiencing any problems with using the partition
[Desire HD Android Development] madmaxx82:
No there are no problems with that, but you get a hit in performance if it's not aligned to the block/sector sizes of the physical medium.
[Desire HD Android Development] timstanley1985:
A big performance hit or are we talking a couple of percent?
[Desire HD Android Development] claude96:
great work , it's detecting every thing correctly so far , but is it safe to use it to format the fat32 partition of the sd card ? cos I see that you mentioned that it doesn't go near it ! (or is it because of the problems the old cw_recovery had ! ) ,and plz keep all the current options in the final version , specially the customizable colors and backgrounds and the less yeses , also one more thing if possible ( I'm sure it was asked like a million times before ) but is there any chance for a bigger font size ! thanks a ton .
[Desire HD Android Development] madmaxx82:
worst case -> best case CAN make a difference of ~200% :)

The problem is that if you want to really have the maximum possible you would also need to align the fat32 filesystem which isn't straightforward at all like it is with ext4 (the recovery does align ext4).
[Desire HD Android Development] a user:
non youe would observe in practice with a smartphone. performance issues due to false alignment are only observable on high io, which you would only have on desktop pcs or servers, but never on smartphones.

p.s. new user here. awsome recovery. i am very impressed. all the stuff i was ever missing ;)

edit: i heavaly contradict my previos post! for a smartphone this will never have any practical influence. and for the fat32 not at all anyway!
[Desire HD Android Development] madmaxx82:
What do you mean by "cos I see that you mentioned that it doesn't go near it !" ?

I could make font sizes customizable like colours, but this would break ALL formatting :(
[Desire HD Android Development] madmaxx82:
Thnx

No, not only desktop pcs and servers.. if you refer to hdd/sdds.. it makes a HUGE! difference for usb sticks for example
[Desire HD Android Development] a user:
you misunderstood me. i said it makes no observable difference for smartphone like usage!

yes it makes differneces on usb sticks, but not if a smartphone is using the usbstick as its storage! the overall io usage of a smartphone on sotrages iis not getting obervable influenced of misalignments.
[Desire HD Android Development] Spyr0s:
Excellent job, downloading now.

Why huge difference dude? SD cards have no moving parts, aligment or defragmentation procedures lead to many reads and writes and that makes your sd media to die quicker.
[Desire HD Android Development] madmaxx82:
Ouch!

Sorry!

Will correct in a minute..

No worries, nothing got damaged, it just auto reboots.
[Desire HD Android Development] Jake33108:
No problems, this kind of stuff happens. That's why we're here to test it for you!
[Desire HD Android Development] madmaxx82:
Okay, corrected :)

Sorry again!
[Desire HD Android Development] Jake33108:
Much better! Looking great now.
[Desire HD Android Development] Diamondback:
So tested your Recovery now quite a few days with Unity and all works well so far :)

Great work man :)

A little idea though: As we can use the back key...Would it be possible to use the other ones too? For scrolling? I guess my volume rocker is quite unhappy about me being a dev... :D

And as the buttons are just an extended touchscreenarea, what about scrolling gestures?
[Desire HD Android Development] DanteGR:
You are human after all mate!

You made a mistake :D

Thanks for your great recovery once again!

Works flawlessly :)
[Desire HD Android Development] madmaxx82:
Yes the volume keys would be easily supported, just need the event types and codes. As I don't have a DHD maybe someone can assist me..

Edit: didn't even know you can't use them.. working on IS.

This hasn't priority now though as I need to work on the next release..

Just wait for the big update ;)

Thanks :)
[Desire HD Android Development] Diamondback:
Not sure if you understood me right, the volume keys work of course, but i want the other soft keys to work :) like 'Home' for 'up' and 'Menu' for 'Down'.

If you need any assistance with that, just contact me :)
[Desire HD Android Development] madmaxx82:
Was a "typo" I know what you mean.. this works on the IS.. didn't know it doesn't on the DHD.

But again.. this code is already outdated, I won't put any more work into v2.

Next version will be something else.. when it's ready, then I'll look into that "soft" keys issues. Still so much to do.

Thnx for your offer, might do that ;)
[Desire HD Android Development] tmh:
I'm using the 2.1.0 version, and in that one, you can use Home and Menu just fine to scroll and Search to select...
[Desire HD Android Development] madmaxx82:
Thnx! Interesting. Should work in any newer version then too.

Which one are u using Diamondback2010?
[Desire HD Android Development] Shidapu:
Reporting back.. and quoting myself hehe :)

Well, problems still there, but im not suspecting SD cards anymore.. Neither this Recovery really, its same on the CWM (Input any version)..

So i've created my own thread in the hidden Q&A Section wich nobody reads..

http://xdaforums.com/showthread.php?t=1202951