yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] madmaxx82:
You can override flashing CWMR in rom manager, but maybe the easiest thing to do is: let it flash CWMR once, then reflash 4ext.

After that it won't replace 4ext again.

WOW! You did some 1st class work there! Thank you VERY MUCH!

If you want it wouldn't be bad to post about your new themes also in the other 4ext threads so ppl using other devices are aware they exist.

Fantastic job! Please keep up that great work!
[Desire HD Android Development] ein777er:
Dear Silvio!

http://xdaforums.com/showthread.php?p=16416612&highlight=clockworkmod.rar#post16416612

search post from pekas, [Fix] Show your correct current recovery in Rom Manager app

give it a try :-)

it worked for me.

regards
[Desire HD Android Development] mapester:
Nice themes and working perfectly with the new version of this recovery
[Desire HD Android Development] andreasy:
Thanks for fixing this. Now I don't see those errors while charging in off mode but I don't see any animated battery either. Now, I don't remember very well so forgive me for this but wasn't it supposed trip display the battery animation?
[Desire HD Android Development] madmaxx82:
At least not with CWMR 4.0.0.5 and below (and a bit above :D ).

They recently changed the way this works and there are also new icons. So it's possible that you get to see something now, although I have never looked into how that works as it's nothing that touches 4ext code.

The reason for the error messages was my build env and not source code.

4EXT is still based on 4.0.0.5. (I'll update to latest base code in a future version)
[Desire HD Android Development] Wolf:
Thanks. The missing battery icon issue has been solved. Again, fantastic job on the recovery.
[Desire HD Android Development] madmaxx82:
Thank you very much :)
[Desire HD Android Development] Rumz786:
Hi, I seriously don't understand the difference between CWM recovery and this recovery, and what is exactly ext3 and ext4?
[Desire HD Android Development] drewdatrip:
http://en.wikipedia.org/wiki/Ext4

http://en.wikipedia.org/wiki/Ext3

This recovary makes thins abit more streamlined and removes the many "no" for flashing which reduces times for the Rom geeks such as myself

There are numerous other perks that are listed in the OP

Drew
[Desire HD Android Development] g3ismeee:
X100.......
[Desire HD Android Development] anko184:
Hi nice job with the recovery, keep it up.

BTW i remember that the official HTC recovery had an image showing when the phones was charging offline...

Can you implement that feature?
[Desire HD Android Development] sageandonion:
I think most of us would prefer a blank screen when charging offline or a selectable option maybe?
[Desire HD Android Development] fogbav:
Joho ... just a suggestion ...

wouldn't it be nice to compress the backups ? Rar'ing the Backups afterwards brings up a compression of over 50 % ...

Maybe it would be cool to integrate compresion option into the recovery ....

Thank you very much for this nice recovery

Greetings
[Desire HD Android Development] drewdatrip:
Successfully flashed a kernel in RC2, however one thing i noticed is that my bat was charged to 100% but it showed 0 in recov

Drew
[Desire HD Android Development] cstayton:
Not sure this has been asked before or not but i couldn't find it by searching, but in v2.1.3RC2 it always says battery is 99% charged never says 100% or full no matter how long the phone has been plugged in for.

If this has been posted before feel free to tie me down and kick me.....LOL
[Desire HD Android Development] cstayton:
Also v2.1.3RC2 locked up solid trying to do a backup, had to pull the battery to recover.
[Desire HD Android Development] madmaxx82:
This is the first report about such a problem!

When did that happen? Backup initiated by rom manager or in recovery?

Where/when did it "hang"?

Is your sdcard ok? fat32 partition ok?

Filesystem check?
[Desire HD Android Development] memnoc:
Madmaxx mate is it your recovery compatible with LG 3D optimus dual?

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] madmaxx82:
Might come with an update ;)

Yes, but time needed for a backup would increase drastically.

Will look into how to decrease space anyway though.

That's probably because the battery often isn't really completely at 100% when you boot into recovery. Battery status is only measured when you boot into it and isn't updated later on.

Will change though too ;)
[Desire HD Android Development] madmaxx82:
Maybe in the future ;)

I still have that stop in supporting more devices.

Need between 1-2 weeks to even start with supporting more. First priority is the Sensation, then other htc devices though.
[Desire HD Android Development] memnoc:
Ok mate Thanks;-)

Inviato dal mio Desire HD usando Tapatalk
[Desire HD Android Development] g3ismeee:
I love this thing, but this never reads 100% even after plugged in all night. Have you ever seen it read 100%? I never have and I religiously flash when current draw on the battery is 0 amps plugged in....I see it stops charging some seconds while it is booting into recovery...so technically, you are right it will never be 100% it will be some .000% below full charge :p.
[Desire HD Android Development] madmaxx82:
Hehe thnx.

You said exactly what I meant.

And yes, I have seen 100% but extremely seldom :D
[Desire HD Android Development] cstayton:
turns out had a bad sdcard, thanks works great now
[Desire HD Android Development] Highlander11:
Bug Report

I am having some weird behaviour using 4EXTRecovery for Backup and Restore (currently using 2.1.3 RC2). I have experienced this also in the past with 4EXT 2.1.0, but thought it was something that I did wrong... now it is just TOO MUCH of a coincidence :(

I am using Leedroid V3.3.3 ROM with A2SD+ on sd-ext (EXT4). My partitions are all formatted as EXT4 (data, cache, sd-ext), except obviously for the FAT32 partition on the 32Gb SD card.

After the initial backup everything seemed fine. The restore also went fine and the ROM booted up OKand the apps on the sd-ext partition were "activated" without problems, being called by the A2SD+ script.

Then I thought to add a theme to 4EXTRecovery (the same as the previous time that things went haywire). I flashed the theme (as well as the "old" Android Market), but after a reboot the ROM would not read the sd-ext apps anymore. It does however read the apps when I go into 4EXTRecovery and manually mount the system, data and sd-ext partition, but then the "main part" of the screen stays blank after boot-up - as if the system freezes. The indicator bar at the top is alive and shows all background apps and the battery meter, though!?!?!?! I then have to pull the battery to power off, as the DHD is unresponsive. The power button only switches the screen on and off.

Subsequent Restoration attempts of the same Backup (that WORKED before) does not change the situation. All I can see as an option out, is to reinstall the ROM (as an "upgrade"), the A2SD+ script, as well as all the Lockscreen and 3D Rosie stuff. Something seems to be screwed up as far as mounting of partitions is concerned, after flashing the 4EXTRecovery theme.

Surely it is not supposed to work like this?

It seems that flashing the 4EXTRecovery theme does the damage, HOW exactly is beyond me... :confused:
[Desire HD Android Development] Jake33108:
Maybe since it's just a recovery issue you could flash CWM from ROM Manager and then try to restore with that and re-flash 4ext. Maybe your download for the theme got corrupted or something and caused issues.
[Desire HD Android Development] Highlander11:
There is nothing wrong with the theme (no corruption) - I had the same issues with another theme the previous time that I've mentioned. The theme works fine after flashing... But I'll try your suggestion nevertheless, once I've reinstalled the whole shebang (as I can't get into the ROM at the moment) :eek:
[Desire HD Android Development] madmaxx82:
Well ,it's also beyond me if we take into account that this also happened to you on 2.1.0, because back then, the only thing " flashing a theme" did was to create a folder named 4ext with icons and a textfile on the system partition.

I can't think of any reason how that could possibly screw up your rom?

The new themes do basically the same, but put that folder onto the /data partition, because it makes more sense there.. and you wouldn't need to reflash it all the time when you installed a new rom that didn't require you to wipe everything..

I don't want to tell you that I don't believe what you say, it's just really weird.

There have been 10 thousands of downloads between 2.1.0 and rc2 and noone ever reported that a theme he installed screwed his installation.

I will remember your report and if someone else reports the same, I'll look into that. But now, I can't imagine any reason why creating a simple folder with a few icons could do that.
[Desire HD Android Development] madmaxx82:
Hmm can you give me a link to that theme?
[Desire HD Android Development] BumAround:
HELP! :eek::eek::eek:

On my Desire HD, I flashed your v2.1.3 RC2 successfully (from the previously CWM 3.0.28 EXT4 version).

I started out by converting my backup to ext4 because the Advanced Menu /File System Check said something about it. It ran OK.

Then from within the Advanced Menu/Check partition alignment, it detected that my fat32 partition wasn't perfectly aligned, thus I re-partitioned it with the option to 'save' my fat32 intact, skip the first two option (something about 1st sd-ext partition, then swap or something, skipped both). I ran OK according to the screen. It ended okay with NOTICE: A new version of 4ext.prop is available! Your old 4ext.prop has been renamed!

The phone rebooted okay.

BUT I ended up with E:/Can't mount /sdcard :eek:

The phone won't detect the sdcard. :eek::eek::eek:

Edit1: After the procedure, Advanced Menu/File System Check will yield a message "Currently no options available".

Edit2: taking out the sdcard and putting it into my laptop's usb port (win7) that usually reads anything, won't read the card anymore. It's undetected. :eek:

What to do now?
[Desire HD Android Development] Highlander11:
Here it is (Amresh's 4EXT_Theme_Htc_Qb Green): http://www.multiupload.com/IN8VR5VZF4

Anyway, the reference to 4EXT 2.1.0 is from memory, so that could be wrong :o

Very few people seem to be using A2SD+ so I think that you'll be waiting a while for another report of this nature. Best would be to set up a test case, if you are serious in trying to duplicate the problem. Or believe what I am reporting ;) But that WOULD be a tall order... :D:D

I flashed CWM 4.0.1.4 last night and used that to restore the SAME backup that would not restore FUNCTIONALLY with 4EXTRecovery - and it WORKED, to some extent. At least I can can get into the ROM. The only part that does not work, is that the apps on the sd-ext partition still do not load (via the A2SD+ functionality). I will figure out that part today.

There seems to be a core difference between the Restore functionality between CWM and 4EXT, though (in this case), as the same backup restored using the different Recoveries render different outcomes...

Believe me, I was just as surprised by the fact that flashing a 4EXT theme could cause this (if it is in fact the cause)! I do believe that it however does NOTHING to the ROM, but it has all to do with the way in which the partitions are mounted at startup/boot-time...
[Desire HD Android Development] Highlander11:
With all due respect, I think that the REAL issue is being missed: the purpose of the Backup function is to be able to Restore the phone to the the EXACT same state at a later stage, irrespective of what happened in the meantime. In this case, it failed to do so.

The reasons for the failure to do so can be investigated if required - I am merely reporting the fact that the Backup and Restore functions failed to restore my phone to a "happy state". :confused:
[Desire HD Android Development] madmaxx82:
The option to "save my fat32 partition" vs "start from scratch" is only meant for altering sd-ext partitions which you obviously don't have.

You cannot save your fat32 partition AND change it!

You can use TestDisk which should find your old partition and be able to restore your sdcard!

I really hope so and wish you good luck. Most often this works great!

If the application is too complicated you can use any other disk recovery software.

As long as you only repartitioned.. so as long as you didn't WRITE to your sdcard afterwards, you should always be able to restore it completely (as long as there is no hardware malfunction)!

You forget that the ppl on the Desire use sd-ext all the time!

First you said 4EXT was able to restore the backup, but after booting, rebooting into recovery, flashing the old market and flashing a 4ext theme your rom wasn't ok anymore.

Official CWMR also didn't restore your phone to a proper state anymore.

I really don't know what's wrong with the sd-ext script and recovery themes.

If I get another report like that I'll investigate.
[Desire HD Android Development] madmaxx82:
This is simply not possible to 100%, because that would involve partitioning your sdcard to the state you had when you created the backup.

But then you would lose your backups obviously.

4EXT is one step into that direction though in that it saves the info about your file systems you had when you created the backup and a restore will always get you the same file system "types" on your different partitions you had when you created it back.

In CWMR it's simple: restore to.. ext3.
[Desire HD Android Development] Highlander11:
I STILL think it is something else that we are missing here - I did NOT change the partitions or sizes. I feel that a little thought needs to go into this... will see what I can come up with... :rolleyes:

Obviously the information and data in the Backup did not change. Something I did after the initial Restore changed some state on the phone to render the Backup semi-inoperable when using 4EXTR to Restore it.

And by the way - I have a HTC Desire as well (the wife's), so I am well aware of the use of sd-ext there. ;)

The crux of the matter is that 4EXTR could not restore the Backup to a working state, while CWMR could, to some extent - it is only the A2SD+ functionality linked to the sd-ext partition that is amiss. The question is: what is being done differently between the two?

I will get into contact with Lee (developer of LeeDroid ROMs) and get his opinion, as he might be able to shed more light on the A2SD+ functionality...

I am only trying to help make an already great Recovery even better by trying to figure out what has happened here ;)
[Desire HD Android Development] madmaxx82:
Thnx ;)

But if you know that its used on the Desire as well, then I wonder why you said, that 4ext isn't used often for sd-ext..

And you are aware that CWMR restored your backup as ext3?

Might that be the reason why it worked "to some extent"?

You could try repeating that with 4ext, but first set the backup type in the 4ext menu for that backup to ext3..

This would be interesting.
[Desire HD Android Development] madmaxx82:
seriously.. please try that out.. this is the only difference to CWMR I can think of.

Strange though that neither CWMR nor 4ext could restore your rom to a complete working state.
[Desire HD Android Development] Highlander11:
Did I say 4ext isn't used often for sd-ext? :confused: There seems to be some misunderstanding. I believe I said few people are using

A2SD+

. One of the other options would be Data++.

Anyway, you make a good point about testing the Restore function with 4EXTR, with the partition type of the sd-ext partition set to EXT3 to mimic the functionality of CWMR.

Will let you know if I can get the ROM functional "to some extent" in this way in a while ;)

BTW: you can refer to the thread here for the help that I've asked Lee on the A2SD+ info: http://xdaforums.com/showpost.php?p=16950590&postcount=19503
[Desire HD Android Development] BumAround:
Thanks for the help madmaxx82.

Just want to clarify that your recovery here save and restore backup to ext4?

There was/is an "ext4" version of clockworkmod recovery available, I was using ver 3.0.2.8 (ext4) before switched to your recovery. What are the differences?
[Desire HD Android Development] Highlander11:
Partition types after Restore with CWMR 4.0.1.4:

system ext3

data ext3

cache ext3

sd-ext ext4

sdcard fat32

Partition types after Restore with 4EXTRecovery 2.1.3 RC2:

system ext4

data ext4

cache ext4

sd-ext ext4

sdcard fat32

@#@)#!@*(#$&*(@#$&(@#@(*@$#(%*$%(*$@&(@*$%(*@&#&^$%^#!

WELL, BUGGER ME, but now everything works again after the Restore and after rebooting!?!?!?!?!?!? The ROM is fully functional! The A2SD+ stuff are loading from the sd-ext partition :eek:

What I had to do was to re-flash 4EXTRecovery (obviously, as CWMR was installed).

I willl HAVE to re-create the scenario so we can figure out what has happened, but somewhere deep down I am too darn scared that I will not be so lucky again to get it working :D

If you want me to help to identify a possible problem, I am willing to troubleshoot as much as is required, though...

I can try to flash the 4EXTR theme again and see if the problems start again after rebooting, but I am RATHER reluctant. :rolleyes:
[Desire HD Android Development] Highlander11:
As feared, I could get the problem to manifest again, but I am still unable to get to the point to get to a working system again (even after repeating the previous steps exactly)... :mad::(
[Desire HD Android Development] madmaxx82:
:(

CWMR fails too?

Was this after you flashed the theme?
[Desire HD Android Development] Highlander11:
Yes, CWMR fails too. I am starting to think that flashing the theme has little to do with it - it is "something else" (yet to be identified).

I will keep testing the perturbations and combinations - SOMEWHERE a pattern is prone to show up :)
[Desire HD Android Development] Software Guru:
Morning, just installed the latest version using the One Click install went through with no issues whatsoever

Now another question is it better that all my partitions are EXT3 or EXT4 or does it not matter

Thanks
[Desire HD Android Development] Highlander11:
Partition type depends on what your ROM supports. If your ROM supports EXT4, that is the better option ;)
[Desire HD Android Development] madmaxx82:
I'm working on an app to support further development of 4EXTRecovery.

Currently most features are missing, but those few that already exist should work without issues.

At the moment you can use that "Alpha" to:

Install (Download and flash) any 4EXTRecovery version currently available for your device.

It will check md5sums et.c.

View their changelogs and known issues

Reboot into recovery

Planning to include more features during the next days..

This is still rough around the edges and as already said, most is missing.

But things already there should work without issues.

The file is linked on any download page. You can get it for example by visiting: 4EXT Updater

Please use with caution ;)

Inspire users: Don't know yet if it will work for you.. I think it should, but please watch out when the confirmation dialogue appears asking you to confirm your device ;)
[Desire HD Android Development] c0de_junkie:
app works Kick A$$ on my DHD!!! I have flashed several version of 4ext and back to the RC build I was on before using this app and everything works PERFECT so far!!! can't wait for more updates to this!!:D
[Desire HD Android Development] madmaxx82:
Thank you very much! :)

Hope to improve and add missing features soon :)
[Desire HD Android Development] a user:
madmaxx82 ,

i have a question and amybe a feature request:

1. is it possible to repartion internal memory with your recovery, changing the sizes of the partition (especially for system and data).

2. if i make a backup with 4ext, then i manage to repartition my internal memory elsewhere - chaning partition sizes - then restoring partition with your 4ext... would that work? i mean would it work to restore the working rom on new resized partitions that way?

the reason i ask is that aosp rom are quite small and the very most of my system partition is empty. this would make more sense to have it in /data.
[Desire HD Android Development] madmaxx82:
Hi,

Restoring a backup to smaller sized partitions is no problem as long as the backup's data fit on them ;)

Regarding your first question, I'm not 100% sure about the Desire HD with changing the sizes of internal partitions, but I suppose you would need to change the hboot I'm afraid. Like it is done on the Desire.
[Desire HD Android Development] a user:
really? i tought just using fdisk to delete 25 and 26 (if i remember right) then recreating it with new sizes and finally setting partition ids again to the correct number 25/26

i hope i can get a script to try it out soon. and i hope i don't brick my phone Oo
[Desire HD Android Development] a user:
indeed, it seems to not be possible as i thought. all partitions have a second partition using the same sectors. so basically there are for nearly all partitions two ones that uses the same space/sectors.

fdisk does not allow me do this. so i would fail recreating this. they must have special fdisk ignoring this "error".

damn :(
[Desire HD Android Development] madmaxx82:
There are devices with internal memory which you can partition.. but this is then an internal sdcard. This is possible inside recovery.

For the system partition sizes to change I think you really need a custom hboot.
[Desire HD Android Development] a user:
to much hassle :P for such a tweak.
[Desire HD Android Development] samuel2706:
If you're managing to use 1gb of data partition, you're doing well mate :cool:
[Desire HD Android Development] a user:
only around 250mb free on /data Oo

edit: and my 32GB sdcard also has below 2GB free.
[Desire HD Android Development] :
The 4EXT Updater app is working like a charm :D No bugs to report so far on this end!

Thanks for the great work madmaxx82 :cool:
[Desire HD Android Development] L-ViZ:
hey guys, i got a new desire z

does anyone know if this would work on desire z? or is there a comparable version that is working on desire z. i really like this recovery :)
[Desire HD Android Development] madmaxx82:
Thank you both :)

Will support the Desire Z soon :)
[Desire HD Android Development] DaRk_dOg:
Hello madmaxx82,

Will you, by any chance, migrate CWM 5 code into 4EXTRecovery?

Regards, D_d
[Desire HD Android Development] madmaxx82:
Of course! I will always update the base code after some time to the latest "stable" revision..

For the next update I will do that, but only to the latest code that doesn't introduce new bugs..
[Desire HD Android Development] DaRk_dOg:
Thank you for your quick reply.

Well the reason I'm asking is because of some new and very interesting features like reduced backup time an backing up into .tar instead of yaffs.

As you said though, lots of bugs still need to be ironed out, like the offline charging bug which is back again. ;)

Anyways, 4EXT is still the best, keep it up!

Regards, D_d
[Desire HD Android Development] madmaxx82:
Thank you,

yes, tar backup is very interesting.. code was already there for quite some time, but it was needed to switch that feature on at compile time.

Will definitely integrate the new features!

But maybe not all at once, still need to implement the feature requests and support the other devices.
[Desire HD Android Development] DubelBoom:
im trying to download 2.1.3 RC2 with 4EXT Updater (APK) and every time i download i get an error that the MD5 is wrong.... help?
[Desire HD Android Development] madmaxx82:
That's strange, could it be possible that there isn't enough free space on your sdcard?

Although the error should be different then.

Can you try rc3?
[Desire HD Android Development] madmaxx82:
It might make a difference when recording HD video on lower end devices where any % of performance hit would make the video stutter more..
[Desire HD Android Development] a user:
there can be quite big performance impacts due to isalignment with sdds. this ahs nothing to do with moving parts though. fi you want details send me a pm. getting offtopic here.