4EXT Recovery Classic v2.2.7 RC5 | TAR BACKUPS | Convert FS | Romname -> Backupname

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
4EXT Recovery Classic v2.2.7 RC5 | TAR BACKUPS | Convert FS | Romname -> Backupname



Quick note about themes:



Available themes as of Oct/17:
Themes by GuestK00388
Themes by Apaquette420
Themes by Whiskey103
Themes by Amresh
Themes by Apaquette420
Themes by CWhitney24
Themes by DaMyth
Themes by Blindndumb

To uninstall any "flashed theme" and to revert to your own custom settings you had before flashing, just use this Theme Uninstaller in recovery.
It will clear any theme you might have flashed and revert to your own custom settings you had before flashing that theme!





THANKS:


All credits and my deepest respect go to Koush for his extremely great code!
Without him 4EXT Recovery wouldn't have been possible!
Biggest thanks possible go to Sebastiaan15 for his brilliant ideas and who spent whole weeks testing my buggy code with his Desire :)
Without you I could never have made it!!!

So BIG THANKS to SEBASTIAAN15 and KOUSH for his hard work with CWMR !!! :)
Many credits to the Desire S community ( especially to loveboatcaptain - LBC Mod Android Development and Marylandcookie ) for testing, very nice ideas, feature suggestions and helping to get the code running on the Desire S!
Special big thanks to RAVENNA from android-hilfe.de board for hours of testing for the Desire!
BIG Thanks to Hussainmushahid who helped me a lot spending much of time with solving a bug I could not reproduce on my device.
And many thanks to all users who reported and helped to identify problems ( can't any longer list all of you here since the list has grown too large :D )!


Even more thanks to people who 've bought me some beer :) YOU ROCK!! ZEEKIZ, A USER, PHILOS64, STEVEATHOME, PREACHER65, BEN_PYETT, ULTRA DROID, PTR_HAMILTON, BEANBEAN50, SEBASTIAAN15 and LOVEBOATCAPTAIN



v2.2.6 RC4 Released: Oct/01



  • Rare Superuser problem when tar backups were enabled (disabled by default) was fixed.
  • Converting partitions between ext3 and ext4 without data loss now correctly calculates the space needed to successfully complete the operation
  • New option: check and optionally repair the file system on your sdcard (fat32)
  • Removed duplicate format cache option inside the format menu (wipe cache does the same)
  • When formatting fat32 it will now save your 4ext.prop settings and restore them afterwards
  • Changed partitioning of the sdcard to not use LBA mode for new fat32 partitions as requested by Ghiki
  • Added new size option (128mb) to the partitioning menu per request
  • Parted is no longer used to format fat32 in the partition menu
    -> This solves a bug where sometimes the creation of the fat32 file system failed and produces better quality results​
  • 4EXT Recovery themes should now stay when formatting /system or flashing new roms
  • New option: format /sdcard fat32
  • New 4EXT Recovery Control API because I'm forced to drop "extendedcommand" (see App for the reason why)
    enables file names and directories to include spaces for installations​

    calculates needed space to complete a full or advanced backup at the beginning of the backup.​

    This ensures that you are not left with a non working backup.​
  • Size for recovery greatly reduced



New 4EXT Recovery Control Features


  • Please see www.4ext.net for more.
  • Fix permissions
  • Calculate real values for the space needed to create a new full or advanced backup

    Advanced Backups: While you are selecting / deselecting partitions, it will display and update the currently needed space to complete that custom backup set.
  • As an example, the following would be possible to do in just one session:
    Restore a backup, set to create a backup / advanced backup before the restore,
    format all partitions with a file system of your choice before the restore process starts,
    flash additional zip files afterwards, fix permissions and select to stay inside recovery or to reboot automatically once all actions are complete.​



Features: Use 4EXT Recovery Control or Recovery Updater for complete Changelogs and Known issues!

not all features may be relevant for all devices



Displays additional information:
  • Identifies your current rom and displays its name
  • Current filesystems on your partitions
  • Free space remaining of all of your volumes
  • Current battery charge level

Backup | Restore:
  • Correctly calculates free space needed to complete a backup ( version > 2.2.6 RC4 )
  • Tar backups (can be switched on or off)
  • Complete CWMR5 compatibility
  • All Backups you create will be named after your currently installed Rom for easier identification.
  • Never unwillingly get "downgraded" to EXT3 again
  • Always restores backups using the file systems you HAD on your partitions at the time of creation!
    -> all partitions formatted with ext4 at that time, will be restored to ext4. The same is true for ext3.​
  • You can manually change any existing Backup to ext4 or ext3
    -> so that after a restore, all partitions and up with the file system you wanted!​
  • Advanced Backup: backup only a single partition
  • Convert any of your partitions to EXT4 or EXT3 without data loss.

Formatting:
  • When you wipe or format it will always use the same file system you currently have.
    -> but you can change that​
  • When you format ext4 it will always create an aligned file system
  • Correctly identifies unformatted sd-ext partitions
    -> if it finds one it displays a warning and suggests you may format them by visiting the 4EXT menu​
  • Filesystem check and repair option in advanced menu

Partitioning:
  • Alignment check of your partitions
  • Full support for up to 2 sd-ext partitions + swap (Backup/restore/format/convert, fsck, et.c.)
  • (RE-) Partition your sdcard for sd-ext without removing your fat32 partition.
  • All partitions created with 4EXTRecovery will be perfectly aligned to 4k

Installing:
  • Integrated md5sum checking option


Themes:
  • Customize all colours used throughout recovery
  • Use your own icons, background images, progress bars.. more to come.
  • Assign different backgrounds to different menu categories (version >= 2.1.2)
  • Create a flashable zip for others to flash your theme.

Menus:
  • Most popular menu items rearranged
  • Format menu
  • Power Menu + option to reboot into bootloader
  • Less "No's" in confirmation dialogues
  • Changed Advanced Restore: first select what you want to restore, then select the backup
    -> Useful for restoring from "Advanced Backups"​

4ext.prop:
  • Configuration file on your sdcard where you can set options to be used by 4EXTRecovery
  • Change all settings conveniently with 4EXT Recovery Control
  • Many more options to come
  • Share your settings / themes by packing your config into a flashable theme

Other stuff:
  • USB Storage Autostart (must be switched on)
  • Mount usb storage exposes all partitions on your sdcard to the os (not just fat32)
    -> you could even partition your sdcard from your PC while connected via USB​
  • Switch haptic feedback on/off
  • You don't need to reboot recovery if you transferred a file to show up in the install menu.
    -> This bug affected only some users with either CWMR or previous versions of 4EXT.​
  • Button backlights (Desire S, Desire HD and Incredible S only)




Download:


  • All downloads are now available through 4EXT Recovery Updater. It's free, no ads, no tracking, no nothing, don't worry :)
    .. and of course via 4EXT Recovery Control
  • This ensures that your downloads are ok by automatically verifying md5sums and that known issues and changelogs are easily accessible
  • It also notifies you when there are any new critical bugs found
  • Recovery images will be uploaded for download soon too, but they can also be acquired easily by using Updater or Control.
  • You can for example just download a recovery.zip containing the image. The download will be automatically verified for correct md5sums!



4EXT Recovery Control


For a list of its many features, visit www.4ext.net

Some examples :
  • Flash as many zip files you want in one go
  • Automatically calculate and display the md5sums of all zip files you are going to flash
  • Check your backups' health to ensure they will restore later when you need them, by verifying their md5sums!
  • Optionally, but highly not recommended:
    If md5sums don't match but you REALLY NEED that backup BADLY, you might want to restore it anyway.
    You can you this app to fix the md5sums of a given backup to "forcefully" restore it!​
  • Calculate real values for the space needed to create a new full or advanced backup

    Advanced Backups: While you are selecting / deselecting partitions, it will display and update the currently needed space to complete that custom backup set.​
  • Identifies and adds your romname so you don't need to type so much when chosing a meaningful name for your backup
  • As an example, the following is possible to do in just one session:
    Restore a backup, set to create a backup / advanced backup before the restore,
    format all partitions with a file system of your choice before the restore process starts,
    flash additional zip files afterwards, fix permissions and select to stay inside recovery or to reboot automatically once all actions are complete.​
  • Much, much more! See www.4ext.net :)


Recovery theming
  • Uninstall and Install themes with live preview and the option to change their colours without the need to reboot into recovery.
  • Change all colours with live preview and a nice colour picker.





 
Last edited by a moderator:

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
Strange thing. My ROM 1.0.2 with full EXT4 wont boot as long as this recovery was not flashed.
Yes, it doesn't work with m-deejay's rom either without that recovery.
But I don't find that so strange.. when you format ext4 in your updater script and later in the script mount the partition ext4, it wouldn't be possible, since the kernel couldn't mount a ext4 partition..
But with m-deejay's kernel as "recovery kernel" it works ;)

When could we test your rom? ;)
 

mike1986.

Senior Member
Mar 11, 2009
38,830
77,116
0
XDA-Developers
android-revolution-hd.blogspot.com
Yes, it doesn't work with m-deejay's rom either without that recovery.
But I don't find that so strange.. when you format ext4 in your updater script and later in the script mount the partition ext4, it wouldn't be possible, since the kernel couldn't mount a ext4 partition..
But with m-deejay's kernel as "recovery kernel" it works ;)

When could we test your rom? ;)
Any minute I guess ;)
 
  • Like
Reactions: shiningarmor

jkolner

Senior Member
Sep 8, 2009
2,674
836
193
Aalborg
Im a bit confused now...
Can you flash Android Revolution HD 1.0.1 ROM that needs EXT4 support with this?
I thought that you need ClockworkMod Recovery 3.2.0.0 and not 3.0.2.6 that comes with Rom Manager v4.3.0.1.

Have i understod this corect that "3.2.0.0_EXT4_unofficial_revB.zip" works with Rom Manager v4.3.0.1?
I ask because in another thread the say that Rom Manager will never work with EXT4 CMR.
 
Last edited:

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
Im a bit confused now...
Can you flash Android Revolution HD 1.0.1 ROM that needs EXT4 support with this?
I thought that you need ClockworkMod Recovery 3.2.0.0 and not 3.0.2.6 that comes with Rom Manager v4.3.0.1.
Sorry ;)

The attached file on the bottom of the post is the official recovery in case someone wants / needs to revert back and cannot boot into his system to use rom manager.

The 3.2.0.0 with Ext4 is at the top of the post ;)
 
  • Like
Reactions: jkolner

jkolner

Senior Member
Sep 8, 2009
2,674
836
193
Aalborg
Sorry ;)

The attached file on the bottom of the post is the official recovery in case someone wants / needs to revert back and cannot boot into his system to use rom manager.

The 3.2.0.0 with Ext4 is at the top of the post ;)
No - it's me that are sorry, because i should have figured that out my self!
Thanks madmaxx82 for your great work and quick respons ;-)
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
Updating now... just out of curiosity, what is the update for?
Previously I wanted to be able to restore an ext3 nandroid with this recovery version, but this resulted in recovery formatting /data and /cache Ext3 too (when invoked by the user through the menu. Formatting ext4 through updatescripts when installing roms worked fine).
But because many people use that feature it would mess things up if they wiped when they had an EXT4 rom installed.

This version is now EXT4 only.. so you can wipe, format, backup/restore any ext4 rom. But it should be incompatible with ext3 backups/roms.. I'll test it once again, but I don't think it will work.. so you'd need to revert to the official clockworkmod recovery when you decided you wanted to restore a nandroid from an EXT3 rom...
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
No - it's me that are sorry, because i should have figured that out my self!
Thanks madmaxx82 for your great work and quick respons ;-)
Thank you, but there isn't really much you could thank me about.
All thanks go to koush and m-deejay for the kernel.. compiling and altering a file is something everyone can do :D
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
This version is now EXT4 only.. so you can wipe, format, backup/restore any ext4 rom. But it should be incompatible with ext3 backups/roms.. I'll test it once again, but I don't think it will work.. so you'd need to revert to the official clockworkmod recovery when you decided you wanted to restore a nandroid from an EXT3 rom...
Although I don't understand that..
if it#s just a dd if=bla.img of=/dev/bla it shouldn't matter at all and the recovery shouldn't even be aware which fs it is... strange.. testing again now, maybe something else didn't work when trying first.
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
Although I don't understand that..
if it#s just a dd if=bla.img of=/dev/bla it shouldn't matter at all and the recovery shouldn't even be aware which fs it is... strange.. testing again now, maybe something else didn't work when trying first.
hahaha, don't know what went wrong the first time..
Ok, confirmed it doesn't matter.. but now the problem would be if someone reverted back to an ext3 rom and then later would use the wipe function.. testing that now.. my guess is that recovery would format them ext4 now which would be NOT good, to say the least :D
 

vido.ardes

Inactive Recognized Developer
Aug 22, 2008
1,695
1,635
0
UK
I might be off base here, but doesn't the update script of the ROM chose the fs in the format, so it doesn't matter what the wipe does, the update script changes it anyway?
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
0
www.4ext.net
Yes, but if the user decided to manually wipe using this modified recovery after installing an ext3 rom..
Okay this works!
I guess it's because ext3 is partially forward compatible to ext4 when ext4's extents feature isn't used..

From Wiki:

"The ext3 file system is partially forward compatible with ext4, that is, an ext4 filesystem can be mounted as an ext3 partition (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost."

So, as it seems, I haven't found any bugs yet, you can do anything with it..

Updating first post