yashsingh1/xdaforums huggingface dataset:
[HTC Incredible S] madmaxx82:
Updated with latest recovery. Added sd ext support for ext4 partitions on sd (ext3 on sd isn't supported yet, but I wonder who would need that).

The recovery should now also be compatible with scripts that check for either "incs" or "vivo", since "vivo" is more accurate :D (up until now only "incs" worked and all updater scripts that used a check, checked for incs)
[HTC Incredible S] madmaxx82:
Released a little modded version for ext3 <-> ext4 issues et.c. Extremely beta, but should be able to help you out if you got "downgraded" to ext3 ;)

Known bugs left, please only flash if you can take the risk! Thanks for any bug reports :)

Edit:

tested:

backup/restore of mixed ext3 and ext4 partitions, backup/restore ext4 partitions, migrating ext3->ext4, wiping data/cache

Good night everyone :)
[HTC Incredible S] MarylandCookie:
@madmaxx82

Can we get this for the Desire S possibly?
[HTC Incredible S] madmaxx82:
Yes, but Beta1 while it works for some aspects, isn't very useful yet. Currently changing 90% of the code. Hope I can release something better tonight :)
[HTC Incredible S] madmaxx82:
Updated..

Features of this RC1:

display whether your partitions are formattet ext3 or ext4

convert all your partitions between ext3 <-> ext4 with one click.

select any existing backup set that you want to "mark" as being ext4 or ext3. -> On the next restore it will have the file system you wanted

dynamically detects whether your partitions are formatted with EXT3/EXT4 filesystems, rather than relying on a static file inside recovery.img where those values are fixed.

when you do a backup, it saves extra info about your filesystems inside a file in the backup folder

on restore, it tries to read that file. If it exists, the recovery is using this information to correctly format your file systems

if you wipe/format, the recovery uses the real filesystem that's currently on your partitions. -> If your /data is ext4, it will format ext4, while on ext3 roms it would format ext3.

known issues:

Sometimes doesn't backup/restore sd-ext..

Other issues: please tell me! :)

Edit: there are still bugs, so please be cautious. Thanks!
[HTC Incredible S] madmaxx82:
Known issues fixed, sd-ext compatible, et.c. -> released v1.0 :)

Yes of course, but after thinking about it: are you sure it could be of any benefit for the desire s ppl? I mean the desire s was always ext4 from the beginning and there were no ext3 roms at all, or am I wrong? So I guess the recovery you always had was never ext3 compatible and thus you also couldn't have been "downgraded" to ext3?
[HTC Incredible S] madmaxx82:
updated :)
[HTC Incredible S] madmaxx82:
Added button backlights :)

If anyne has any suggestions which keys they should trigger or have an idea for a useful quick shortcut to a recovery feature, please tell me :)
[HTC Incredible S] YANGHY:
Thanks for all your help!!

Now this recovery is getting better and better.

You are really Incredible, man!!
[HTC Incredible S] faf:
can someone please explain the thing with the lights to me?

slowly...
[HTC Incredible S] madmaxx82:
Hi, it's just button backlights at the moment :)
[HTC Incredible S] faf:
werent they always there?
[HTC Incredible S] madmaxx82:
Not inside recovery
[HTC Incredible S] madmaxx82:
Thank you very much for your kind words :)

But I really can't take any credits, as this is still 99,99% Koush's extremely great work. To take credits wouldn't be fair at all to say the least. Also the few additions I added are ridiculous!
[HTC Incredible S] madmaxx82:
Updated :)

Features | Fixes v1.0.3

Now dynamically detects if you have an sd-ext partition or not at startup

This hides sd-ext from the menus and prevents a (cosmetic) error message from appearing (couldn't format sd-ext et.c.)

Added menu items in the "ext3 <-> ext4" menu to explicitly format / wipe data EXT3 or EXT4 regardless of the filesystem currently on your partitions

(comes in handy if you install your first EXT4 rom, because your partitions are formatted EXT3 at that time.)​

Prints information on startup about which filesystem was detected on your partitions ( EXT3 or EXT4)

..Together with a help text telling that because your current partitions are EXT3/EXT4, the wiping/formatting functions will use that filesystem and

that you could change that in the ext3 <-> ext4 menu​

If it detects EXT3 partitions it will tell you that you might want to convert them to EXT4 if you are already using an EXT4 rom and that

if you are going to install an EXT4 rom you might want to explicitly wipe EXT4 through the same menu​

If you restore a backup you didn't create with 4EXTRecovery, so without any additional filesystem info, it will print a warning,

that the backup will be restored using the filesystem currently on your partitions and that you might

want to explicitly set the correct filesystem for this backup in the ext3<->ext4 menu if this should be wrong.​

(for example if your current filesystem is EXT4 and you are restoring an EXT3 backup not created by 4EXT)​
[HTC Incredible S] madmaxx82:
(non critical) Bugfix Release v1.0.4

There was bug if you used the new feature introduced with v1.0.3 yesterday

to wipe data regardless of the filesystem you currently have:

The feature to explicitly wipe EXT4, regardless of which filesystem you currently have on your partitions,

which was introduced in 1.0.0.3 worked the opposite: it formatted ext3 instead of ext4

The usual 4EXTRecovery feature (since 1.0.0) to always format/wipe with the same filesystem currently found on your partitions:

-> So that you don't lose EXT4, once you have EXT4,

worked as usual

.

It was just the new feature where you can wipe data using a different filesystem (not currently on your partitions) that was wrong.

I'm sorry for that!
[HTC Incredible S] madmaxx82:
If you used that feature, there was no big harm, as your rom would still work as usual, but you should use the function in the ext3 <-> ext4 menu to convert to ext4 again!

The recovery will tell you when you boot it, that it detected ext3 partitions!
[HTC Incredible S] AndroidMobileNZ:
Error

Has anyone received a Status 7 error when trying to flash? A friend of mine got it.

Stand down, he sorted it :)
[HTC Incredible S] Hawkysoft:
usefull shortcut?

the search button or volume button when you passed the htc logo.... this is do'able, we had it on the sony x10 as well
[HTC Incredible S] telectroguy:
@mike what's the difference between the first 2 zipfiles and the last 5 (1.0.1 to 1.0.5).

I can understand that the last five can be flashed from recovery . But still confused .which order should I install then mine will be a newly s off IS...2.3.3..HELP...:)..
[HTC Incredible S] telectroguy:
Oops addressed to the wrong person its @madmaxx82
[HTC Incredible S] knightrocker:
U need to install only one ... the latest ...

If u have doubts which is the latest ... its the one at the bottom of the list :)
[HTC Incredible S] telectroguy:
thx , but the last one doesn't have auto install scripts , how can i flash one of those . a little how to should help me

1. I S-OFF using Alpharevx

2. I download 1.0.5 and then im stuck ???? :(
[HTC Incredible S] madmaxx82:
I'll add them again. Wait 5-10mins please.
[HTC Incredible S] madmaxx82:
Okay added one for 1.0.5. Please tell me if it worked ;)
[HTC Incredible S] madmaxx82:
Morning Hawky ;)

What exactly do you mean? Didn't get it :D

What should the search button do?
[HTC Incredible S] doctorsax:
Sounds to me like you're missing a step or two - did you also root your phone using Gingerbreak or SuperOneClick?
[HTC Incredible S] telectroguy:
Hmm...NOP i haven't rooted.

1.s-off the phone

2.Temp root using gingerbreak / super one click

3.use the one click script for 1.0.5

please correct me if im wrong . if possible can anyone please post how to flash recovery after s-offing . from within phone and also how to flash from boot loader.it should help others like me also.lol :)
[HTC Incredible S] doctorsax:
There's already a massive guide to rooting/flashing custom recoveries in the general section:

http://xdaforums.com/showthread.php?t=1036581
[HTC Incredible S] madmaxx82:
If you have temp rooted with gingerbreak, then you should root it completely to get su, because after you got the temp root your phone will run very unstable. U need to reboot after you rooted with Gingerbreak exploit (also when you only did a temp root)

Edit: but if you used either Gingerbreak, SuperOneClick or the script "rungingerbreak" then you shouldn't only have temp root.

SuperOneClick pushes su and Superuser.apk, Gingerbreak.apk does the same and rungingerbreak also does it..

Edit2: and yes what you posted are the right steps. But not just "temp root" :)
[HTC Incredible S] madmaxx82:
Release v1.0.6

nearly 2 hours of intensive testing

Improved restoring of backups not created with 4EXTRecovery:

previously you HAD to set the filesystem type for older backups in the ext3 <-> ext4 menu!

Now, if it doesn't find 4EXT info for a particular backup, it prints a warning message and defaults to EXT3 (for compatibility).

So for these backups not done with 4EXT, the behaviour is exactly the same if you had unmodified Clockworkmod Recovery installed!

It also tells you that if EXT3 wrong, you can set the filesystem manually to EXT4 for that backup in the menu and restore again.

You really should upgrade :)
[HTC Incredible S] MarylandCookie:
Thats possible too. But i think by flashing some ROMS some users may have been downgraded to EXT3 which why i was wondering if it would be possible to use this on a DS and see the layout. Also out of interest do you know how to format Boot to EXT4? I did mine to EXT3 by mistake and for the life of me cannot format it to EXT4 :(

Also do you have github for source?
[HTC Incredible S] madmaxx82:
Boot? Are you serious? Don't you mean system?

Boot isn't ext3 nor ext4.

Regarding a port:

I took a look at recovery.fstab of the saga and it seems that it indeed would restore backups to ext3 and wipe/format ext3

Could you try that out?

Boot into recovery

open an adb shell

and don't specify the device, just type

mount /system

then type mount

look for the line with /dev/block/mmcblk0p25 and tell me what filesystem you see

You can do the same with /data and /cache (but /cache should already be mounted anyway)

If they show as ext3, I'd be happy to port it.
[HTC Incredible S] MarylandCookie:
Is this what you are after?

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

Also i did the following in a script and it worked which funnily enough makes me think i formatted my Boot to ext3.

ui_print("Formatting Boot...");
format("ext3", "EMMC", "/dev/block/mmcblk0p22");

However when i try:

ui_print("Formatting Boot...");
format("ext4", "EMMC", "/dev/block/mmcblk0p22");

I get a STATUS 1 ERROR :confused:
[HTC Incredible S] madmaxx82:
Did you restore boot.img after you did that? :D

Can we meet on irc ?
[HTC Incredible S] MarylandCookie:
Restore boot.img from where lol.. i didnt make a backup i went in Cold Blooded :D

But yeah, i did write a boot.img which was within a custom rom.
[HTC Incredible S] bahaddin:
doesnt work : constantly get an error,, -instalation aborted -status 7 current clockword 4 0 0 2
[HTC Incredible S] madmaxx82:
Where did you get this clockwork 4.0.0.2 from?

build prop must only be vivo then on this one..

Use the OneClick version to install it.. the recoveries in this thread all allow flashing of roms with both either vivo/incs
[HTC Incredible S] bahaddin:
I think installing the recovery mode
[HTC Incredible S] madmaxx82:
What did install it?

If this just accepts "vivo" then you will have trouble installing some of the other custom roms.

Flash it by using the OneClick version..
[HTC Incredible S] madmaxx82:
I will alter the updater-script and upload a new version in case this happens to someone else too..
[HTC Incredible S] bahaddin:
I get an error in both
[HTC Incredible S] madmaxx82:
Ok, I think I misunderstood you. When do you get this error? What do you do when you get it?
[HTC Incredible S] bahaddin:
recovery mod-install zip from sdcard-choose zip from sdcard-4extrecovery v1.0.6 modded CWMR: ASSERT FAİLED : getprop ...... (status7) installation aborted
[HTC Incredible S] madmaxx82:
Ok so you get the problem when you try to flash the recovery.

I uploaded a corrected version, that flashes on recoveries that only accept vivo too.

Just redownload and try again.

Please tell me if you have had success.

BTW: How did you end up with this Recovery on your phone? Is this installed by AlphaRevX?
[HTC Incredible S] bahaddin:
Thank you for helping, I installed
[HTC Incredible S] madmaxx82:
Great, have fun :)
[HTC Incredible S] madmaxx82:
Updated :)

Some new features..
[HTC Incredible S] Hawkysoft:
it should kill all teddybears on earth, and burn em ^^

to start up the recovery offcourse mate, thought u were looking for a new option to start it up...

i know there is an possibility when you actually passed the normal brand logo 'HTC' in this case

that you could hold a button to pop into recovery...

This has been done on several phones like the 'Xperia' series from sony (custom work) i think zhidu* something was responsible for this, maybe you should contact him for that if you dont know how to do it tho
[HTC Incredible S] madmaxx82:
:D

Hmm but that would mean you would either need to modify the bootloader (:eek:) or boot.img of your current rom..
[HTC Incredible S] jonata:
sorry for my 2 question :

1) I'm now with 4EXT recovery 1.06 modded CWMR ver 4.02, need update to remain in EXT4 if I want make a beckup ?

2) the only way to start recovery is power-off and then power-on with vol- ? or can I use app/widget like quick boot ?

tks for reply
[HTC Incredible S] madmaxx82:
Hi!

You can stay on 1.0.6 no problem.

All backups you create with 1.0.6 will get additional info stored in the backup folder about which filesystems you had when you created that backup.

So if all your partitions are EXT4, you create a backup and you restore that backup later, all partitions will be restored with EXT4.

However if you have EXT3 partitions and create a backup, those partitions will be restored as EXT3.

The recovery tells you if you have any EXT3 partitions wehn you boot into it.

If you have EXT3 partitions you should: convert them to EXT4, or wipe them explicitly EXT4 (if you don't care about losing your data)

If you already have a backup, where you had EXT3 partitions, you can also set this backup manually to EXT4.

All of this can be done from the "ext3 <-> ext4" menu.

2) you can use this recovery like you would use the official recovery:

You can use any "reboot into recovery" option, you can use rom manager to reboot into recovery or to flash zip files. Just don't use rom manager to download and install the official recovery as this will overwrite 4extrecovery..
[HTC Incredible S] jonata:
tks for reply, give you reputation ...

I'm with revolution 1.0.2 (ext4) so my backup and restore are in ext4.

happy to know that I can use apps to reboot in recovery directly :)

My compliments for your work,
[HTC Incredible S] madmaxx82:
Thank you very much for your positive feedback :)
[HTC Incredible S] grigi:
button light

Hi! I have big problem. After using AlphaRevX and 4EXTRecovery i flash new rom. But my "hardware" buttons dont light. When i turn on the phone buttons dont light, after boot to system dont light.

BUT when i am in 4EXTRecovery -> buttons light. Can somebody help me with this problem?

Thanks for reply
[HTC Incredible S] madmaxx82:
4EXTRecovery does the lighting differently.

You must have flashed a rom with CRT animation. CRT animation always caused the button lights to stop working in any rom.. But this bug was recently fixed I think, look through the thread of the rom you installed.
[HTC Incredible S] twics:
nice work

I just flashed via recovery your 4EXTRecovery v1.1.1 RC1 all went smoothly thanks very much! for your work.
[HTC Incredible S] baste07:
thanks! i'll flash this newer version once it's tagged as stable release.
[HTC Incredible S] twics:
I use quick boot its alot quicker hence the name:D
[HTC Incredible S] madmaxx82:
Updated first post.

Marked 1.1.1 as stable :)

Didn't change its name though and will still identify itself as RC1.
[HTC Incredible S] Hawkysoft:
or instead of rewriting that, make a patch? ;)

c'mon you can do it :-p

dont be lazy on me now bro, lol
[HTC Incredible S] telectroguy:
I'm using 1.6. 0 when using the while Battery stats in advanced in recovery mode nothing happens. if don't see anything that the process has been comoleted. Is it working..
[HTC Incredible S] madmaxx82:
Hi,

It should, but please upgrade to 1.1.1.

There you have a wipe menu with all the wipe options.. 1.0.6 is outdated..

I will remove it from first page soon.

BTW: will soon release 1.1.2 based on CWMR 4.0.0.5 and maybe one or two additional features ;)

At the moment still doing tests to ensure 1.1.2 will be stable.

If anyone would help me in testing by just using it before I upload it, please send me a pm :)
[HTC Incredible S] baste07:
Thanks bro, flashed it already. no hassel
[HTC Incredible S] Cardiiiii:
Flashed latest recovery with no issues. Great job. Thanks.
[HTC Incredible S] :
Can I simply restore my apps and their data to a new ROM simply using the "restore data" feature instead of using titanium backup?
[HTC Incredible S] telectroguy:
Flashed it. Good. Didn't use it yet. Will report if I find any. And what is the difference between format and whipe. Confused me a lot. And why isn't there a whip system option.
[HTC Incredible S] baste07:
you can, that's what i do. but i usually just restore the app not with the data.
[HTC Incredible S] madmaxx82:
There is actually not much a difference ;)

Wipe usually refers not just to a partition, while format refers to a certain partition.

For example if you select Wipe data/factory defaults or how it's called, it will format /data, /cache, and /sdcard/.android_secure

If you select Wipe dalvik cache, it will remove the dalvik cache on all partitions where it COULD exist. Because there are roms that use the cache partition for the dalvik cache (/cache/dalvik-cache), and there are also many that use (/data/dalvik-cache).

But you are right.. it's a little confusing..
[HTC Incredible S] madmaxx82:
It's difficult to say.

If the roms are compatible you can, if not you shouldn't ;)

For example if you want to change from Virtuos Unity to Android Revolution and Mike says you need to wipe before installing his rom when you had Virtuos Unity installed before, then you should not!

Titanium is one level higher. You can use it to just restore your user apps and that's ok most of the time.. while restoring data of system apps between roms is again something that doesn't work everytime and can mess things up..

@Cardiiiii and baste07: thank you very much! :)
[HTC Incredible S] John Anderton:
I think I broke something.. need help :p

I was flashing CM7 last night and backed up my system and then formatted system, cache and data as I was told to do. I did a factory reset and flashed my ROM. All was good :) CM7 runs like a charm.

I went back into CWM today morning to backup my CM7 in good state. I can't :(

It keeps saying..

I really want to run a backup. Help?

Would this be because I went into ROM Manager and it asked me to install CM (which IMO, I already had)? Should I simply reinstall CWM and then flash the CWM 4EXT patch over that?
[HTC Incredible S] telectroguy:
Reflash... 1.1. 1revovery and try again
[HTC Incredible S] telectroguy:
Mike, dose 1.1.1. Clears the current recovery before getting flashed or it flashes on top? . I think it's better to clear current recovery before flashing.
[HTC Incredible S] baste07:
did you try removing and inserting back the SD card
[HTC Incredible S] telectroguy:
Sry, it's not mike its max. :)
[HTC Incredible S] John Anderton:
Flashed CMW from http://xdaforums.com/showthread.php?p=14693680 and it stopped giving me any issues.

I guess the base package needed to be reflashed so it would make entries into the cache again to fix my issue.

While I was at it, I updated to 1.1.1 from the first post. Happy to have my recovery back :)
[HTC Incredible S] madmaxx82:
Hi,

The Problem is that CWM from Rom Manager will flash a non ext4 compatible recovery which also doesn't flash cm7.

When you are on 4extrecovery and flashed cm7 or another ext4 compatible rom, and you later "downgrade" recovery to something not ext4 compatible, recovery can not access /cache since it's an ext4 partition.. in fact it can't access ANY partition, since it cannot "read" ext4..

Other than that CWMR from rom manager also does NOT flash cm7..

That's why attn1 also says it's crap :)

After you upgrade to any ext4 recovery and rom, DON'T install the version from market!

If you did, just reflash 4ext and everything will be fine :)
[HTC Incredible S] madmaxx82:
Glad you got it working :)

Yes, when you flash a new recovery, it overwrites the whole recovery partition!

So yes, it "clears" the previous recovery..
[HTC Incredible S] John Anderton:
I was first of all disappointed that ROM Manager didn't just let me use the software "assuming" I have CWM :( I mean, it should have asked me if I have it first.. or may be I missed something.

Secondly, if it did overwrite my previous recovery, why did it start crying about nothing being there in the cache folder? :( I would hope it would write that too while installing a new recovery.

Anyway, I like my regular way of flashing things on. Copy files to SD, hold power button, reboot to recovery and select file to flash.

I might get rid of ROM manager (unless someone tells me that it will tell me when new nightlies are released and download it directly on to my phone) :P Of course, that would need premium.. not sure it's worth it but still, the question exists.
[HTC Incredible S] baste07:
i had installed rom manager before i updated to madmax's recovery 1.1.1

and now i'm just using ROM Manager to reboot into recovery mode.
[HTC Incredible S] John Anderton:
In case you don't know (ignore if you already do :P), ARHD and CM7 (may be even other ROMs, haven't tried out any other) allow you to reboot to bootloader directly.

Long press your power button and you should get a menu of options in these ROMs. Press reboot and you will see

a) In ARHD -> reboot, hot reboot (reboot using fastboot), bootloader and recovery

b) In CM7 -> reboot, bootloader and recovery

:)
[HTC Incredible S] madmaxx82:
That's strange. Really.. I use it quite seldom, but it works for me..

It should have asked you to confirm your device.. when it does that it installs CWMR.. I don't really know how it determines if you have it installed, but probably after you did it once, it won't install it next time (it doesn't for me), although you've replaced it.

Just try it out.. if it asks you to confirm your device, then just hit the back button :)

That's actually a separate partition.. recovery is on mmcblk0p21, while cache is on mmcblk0p27.

So it overwrites recovery, but not cache.. it's just that CWM uses the cache partition for things like communicating with rom manager copying the log et.c.

So it wants and tries to use cache for its operation and complains..

I think you should keep it. Also I'm sure the CWMR it installs will be upgraded sooner or later :)
[HTC Incredible S] baste07:
i know. and also, it's not in the base ARHD ROM, you have to install the advance power options mod
[HTC Incredible S] John Anderton:
Oh, didn't know that. Just knew it came as part of those ROMs. Nice to know the name of the mod which allows us to do that :)

Well, it did ask me for my device.. I might have screwed something up. Doesn't matter. I reinstalled the CWM I had which worked fine. There after, I took today's CM7 nightly and asked ROM manager to flash it in. Worked like a charm (yes, I was already on CM7 Nightly 1 and went to Nightly 2. Already had taken a backup of Nightly 1 earlier in the day :))

So, as far as I'm concerned, I have the latest CWM with Ext4 support mod patched in and ROM manager is doing it's job. All is good in the world(? unless I did something wrong :P)