4EXT Recovery Classic v2.2.7 RC6 | Convert | Aligned Partitioning 3x (ext|swap)

Status
Not open for further replies.
Search This thread

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
www.4ext.net
That was some quick reply and support. Cleared all partitions and flashed 2.2.6RC4 with fastboot commander. Restore is running as I type. You deserve more app purchases in the market. I would still like the img on my pc thou:D

Thank you :)

I will add those links as soon as possible!

BTW: I know this is no real alternative, but you can download all versions and save them to your sdcard with the app too ;)
And there is also a setting to always save the recovery.img additionally to your sdcard when you flash a new version.
 
Last edited:

VekiCRO

Senior Member
Aug 4, 2011
216
32
Hi
On the screenshots in the first post you can see informations about system,data and cache partitions but i can see only informations about sd-ext and sd card partitions?
I am running the latest version 2.2.6 RC4
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
www.4ext.net
Hi
On the screenshots in the first post you can see informations about system,data and cache partitions but i can see only informations about sd-ext and sd card partitions?
I am running the latest version 2.2.6 RC4

That's because those screens are from Incredible S and Desire HD.
Yaffs2 partitions are currently not displayed inside recovery.
I still have to add that info. They were left out long ago wehn 4ext only displayed the specific file system types of partitions without any data about capacity or free space.
Back then it didn't make sense to print info about system data and cache on the devices with yaffs2 partitions, since the file system cannot change.
I didn't have time yet to include that. Will be done in the next or one of the next updates
They are however displayed inside the app.
 
  • Like
Reactions: bmonster

thanito

Senior Member
Jul 10, 2008
1,266
238
I try to flash it via android flasher like I do every time (same with 2.1.3), but I get the following error:
The file "recovery.img" already exists/ followed by the above:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The file 'recovery.img' already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at AndroidFlasher.Log.run()
at AndroidFlasher.Log.timer1_Tick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AndroidFlasher
Assembly Version: 2.0.5.0
Win32 Version: 2.0.5.0
CodeBase: file:///C:/Users/Tanito/Desktop/AndroidFlasher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
www.4ext.net
I try to flash it via android flasher like I do every time (same with 2.1.3), but I get the following error:
The file "recovery.img" already exists/ followed by the above:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The file 'recovery.img' already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at AndroidFlasher.Log.run()
at AndroidFlasher.Log.timer1_Tick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AndroidFlasher
Assembly Version: 2.0.5.0
Win32 Version: 2.0.5.0
CodeBase: file:///C:/Users/Tanito/Desktop/AndroidFlasher.exe


Please ask in the android flasher thread, obviously "the recovery.img is already there" :D
I can't support any errors of applications I didn't write or even use, as I don't know anything about them.
Why not just flash using the app or fastboot if you have trouble with your installation of android flasher?
 
Last edited:

thanito

Senior Member
Jul 10, 2008
1,266
238
Please ask in the android flasher thread, obviously "the recovery.img is already there" :D
I can't support any errors of applications I didn't write or even use, as I don't know anything about them.
Why not just flash using the app or fastboot if you have trouble with your installation of android flasher?

Well i might go with the recovery updater:p

Sent from my HTC Desire using Tapatalk
 

sprooty

Member
Mar 11, 2011
11
1
London
no journal

Hi

Very happy with your recovery (and your shiny new app!), quick question though:

Does android (and 4ext) support ext4 modes other than journalled, ie ordered or writeback?
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
www.4ext.net
Hi

Very happy with your recovery (and your shiny new app!), quick question though:

Does android (and 4ext) support ext4 modes other than journalled, ie ordered or writeback?

Thank you :)

Yes it does, however 4ext always formats with journaling.
There are already settings inside the app and in 4ext.prop to enable fully customized format parameters also for tune2fs.
They are however not supported yet by recovery.
This will most probably be in the next update :)

Until then you need to use a script or do it manually after each restore or format (all recoveries format the partitions that are to be restored when you restore a backup)
 
  • Like
Reactions: sprooty

Bingley

Senior Member
Jan 6, 2011
1,071
186
Netherfield
Hi,
Odd thing happening here on 2.2.6 rc4:
Partitioning sd card removing all previous partitions, for 1st sd-ext any size except 512 works: after selecting 512, skip, skip, yes: it says formatting sd card completed sucessfully; after selecting either ext3 or ext4 appears to have worked, only print partition info lists just:

sdcard fat32 (null) 7gb free - no ext4 partition is created. sd-ext does not appear in advanced backup, either.

This only seems to be happening on 512 size though - odd!
 

madmaxx82

Retired Recognized Developer
Jan 17, 2010
4,287
4,563
www.4ext.net
Hi,
Odd thing happening here on 2.2.6 rc4:
Partitioning sd card removing all previous partitions, for 1st sd-ext any size except 512 works: after selecting 512, skip, skip, yes: it says formatting sd card completed sucessfully; after selecting either ext3 or ext4 appears to have worked, only print partition info lists just:

sdcard fat32 (null) 7gb free - no ext4 partition is created. sd-ext does not appear in advanced backup, either.

This only seems to be happening on 512 size though - odd!

Does this also happen when you reboot into recovery?
Maybe it shows your sd-ext then?

If there is a bug I must find and fix it, please can you repeat the steps you have made and then boot straight into your rom and immediately send me a bugreport checking the option to include the last recovery log?
 
Last edited:

Bingley

Senior Member
Jan 6, 2011
1,071
186
Netherfield
yeah hang on. I don't have the new .img spare and as it's only available via the apk I've gotta work out how to reinstall and boot this thing now as I was hoping to do it all via the cli/recovery
 
  • Like
Reactions: madmaxx82
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 102
    attachment.php
    attachment.php
    attachment.php

    attachment.php
    attachment.php
    attachment.php
    attachment.php

    Quick note about themes:




    Available themes as of Oct/18:
    Themes by pravus_nephilim
    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.









    Desire GSM :




    • 4EXTRecovery v2.1.3 RC2
      -> Download to flash through HBOOT. Put it onto your sdcard, rename it to "PB99IMG.zip" and boot into bootloader

      NOTE: Always take a look at known issues!


    Desire GSM & CDMA:



    6
    4EXT Recovery Touch testing

    Everyone who's online and would like to check out 4EXT Recovery Touch for the Desire, please join irc freenode #4ext_bravo

    It's final, but I'd like it to be tested before releasing it by a few users.


    If you don't have an irc client, just use the webchat:

    http://webchat.freenode.net/?channels=4ext_bravo&uio=d4

    See you there ;)
    4
    Hi everyone,

    I'm currently working on the next "bigger" release where I hope to include most/all the requests you've made, dropping parted completely, changing detection of volumes, improved startup time et.c. and some more features and theming options.

    For the meanwhile, here is a very small update, because some of you are in need of more different sizes for partitioning.
    There is also a new option in the 4EXT menu where you can reload your themes.
    This might be most useful for themers who don't need to reboot recovery all the time now just to see any changes they have made.

    You would need to remove the last line of the updater-scripts of the flashable themes, because this line reboots recovery automatically.

    Anyone who doesn't need that, really doesn't need to upgrade..

    Update: due to a missing "," :D there was a very strange size to chose from in the partition menu. Sorry, here is the fixed update:


    Desire GSM different versions, pick one of them:

    4EXTRecovery_v2.1.1b_bravo.zip, md5sum: 4c2c70f97286186b7296a510172fe93f
    extract and use AndroidFlasher or fastboot to flash recovery.img

    4EXTRecovery_v2.1.1_bravo_OneClick.zip, md5sum: e003d2b585e11c8b963e4b888bf21734
    extract, turn on usb debugging, start runme.cmd/runme.sh (windows user/linux user)

    PB99IMG_2.1.1_bravo.zip, md5sum: 2bb7e78ffdbf2c14be62218300f964bf
    rename to PB99IMG.zip and put it on your sdcard, start into bootloader and let it install

    Desire CDMA different versions, pick one of them:

    4EXTRecovery_v2.1.1_bravoc.zip, md5sum: 5561b36023aca4b90732f782a11fc845
    extract and use AndroidFlasher or fastboot to flash recovery.img

    4EXTRecovery_v2.1.1_bravoc_OneClick.zip, md5sum: df2f7293f6aa39adaa9d3dd9985ef9f2
    extract, turn on usb debugging, start runme.cmd/runme.sh (windows user/linux user)

    update.zip, md5sum: d631c869dd239326c13b145cdf62e554
    fake flash version for s-on users.
    4
    Thank you all very much :)

    Hi Madmaxx82
    why you don't add option set password into recovery for entry recovery?

    Because of several reasons:

    1. it doesn't make sense
    2. it's difficult to implement (where to store the password so that it doesn't get lost on flash/wipe/ et.c.. dump recovery.img, unpack, insert, repack and flash?)
    3. it makes the use of recovery very inconvenient.
    4. what about auto reboot into recovery, backup/restore/install and reboot initiated by rom manager or 4ext recovery control.. always enter a password?


    Why it doesn't make sense:
    Flash another recovery and everything is ok again.
    Flash an RUU, extract backups from sdcard..

    et.c et.c.

    You would need an implementation at the bootloader level that also prevents fastboot from working before it wasn't unlocked by some pin/password.

    Only then a recovery with password option would start to make some sense.