4EXTRecovery v2.1.x FINAL | STAY @EXT4 | Convert | Aligned Partitioning 3x (ext|swap)

Bobbaone

Bobbaone

Erfahrenes Mitglied
31
madmaxx82 schrieb:
attachment.php
attachment.php

Quick note about themes


Available themes as of Jul/20:
Themes by Whiskey103
Themes by Amresh
Themes by Apaquette420
Themes by CWhitney24

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:

The 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!!!
All credits go to Koush for his extremely great piece of code.
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!!! PTR_HAMILTON, BEANBEAN50, SEBASTIAAN15 and LOVEBOATCAPTAIN

4EXTRecovery v2.1.1b


v2.1.1b Released: 7/24


  • Bugfix: Due to a bug there was one very strange size option to choose from in the partitioning menu.




v2.1.1 Released: 7/24


  • Just a very small release before the next major one.
  • Added additional sizes for partitioning, some users appear to need badly
  • Added "reload theme" in the 4ext menu, most useful for themers to eliminate the need of rebooting for changes to take effect.
  • Of course you'd need to remove the last line that automatically reboots recovery after flashing in the updater-scripts of the theme zip files.




Features: see "Recent changes" for a complete changelog

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:
  • 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.
  • 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
  • Many more options to come
  • Share your settings / themes by packing your config into a flashable theme

Other stuff:
  • 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​
  • 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)


What it is:

CWMR if it is compatible to both EXT3 and EXT4 will get your partitions "downgraded" to EXT3 again whenever you:

  • Restore a backup
  • Wipe data
  • Format

That's because how it works WHEN it's compiled to be both: EXT3 and EXT4 compatible.
You wouldn't notice when you get "downgraded" to EXT3 again, because EXT4 is backwards compatible to EXT3.
So your EXT4 Rom and everything would continue to work, but slower.

In 4EXTRecovery, I added some code that prevents that while staying compatible to EXT3 roms.
It also allows you to convert your EXT3 partitions or your existing backups to EXT4 without losing data + many other features


Recent changes



v1.1.1 RC1 Released: 6/20


  • UPDATE: This version is now marked as stable! > 6200 Downloads and no bugreport. I didn't change its name so it will still identify as RC1, but it is stable!
  • Added an Advanced Backup menu, to backup only certain partitions
  • All wipe and format options now in one "wipe / format menu"
  • Fixed some wrong text that appeared in v1.1.0 Beta
  • Changed behaviour in the Advanced Restore menu.






v1.9.0 RC1 Released: 7/04


  • Most of the code rewritten to be compatible with (hopefully) most htc devices
  • Aligned Partitioning
  • Full support for up to 2x sd-ext + swap
  • New filesystem check/repair option
  • Md5sum checking
  • Powermenu
  • Extracts name of currently installed rom
  • (name backups after curr. installed roms still in testing -> soon)
  • Reordered most menus
  • ...






v1.9.0 RC2 Released: 7/04


  • Fixed wrong displaying of partitions





v1.9.0 RC3 Released: 7/05


  • Changed detection of sd-ext and swap partitions to also identify swap correctly if there are unformatted sd-ext partitions.
  • If unformatted sd-ext partitions are detected it prints a warning and tells you that you may format them in the 4EXT menu
  • Speed up booting of recovery
  • Fixed wrong output of text showing sd-ext2 as formatted ext4 no matter what (only text output was wrong, functionality was ok)





v1.9.1 RC1 Released: 7/06


  • Added an option in partitioning to leave fat32 partition as is, so you don't lose data. Please use with caution as it has not been tested THAT much.
  • Added alignment checking: Check if your partitions are perfectly aligned
  • Fixed a rare bug where recovery wouldn't detect sd-ext partitions as formatted on reboot







v2.0.0 BETA Released: 7/06


  • Backups now named after current date/time + name of rom (if found and suitable for a filename)
  • You can now select the colours used to draw the menu yourself
  • Added Battery percentage to output after recovery boot







v2.0.0 RC1 Released: 7/08


  • Much improved rom name detection.
  • Fixed: md5sum checking when path was very long
  • Some other minor bugfixes




v2.0.1 RC1 Released: 7/08


  • Added 2 new colour categories for customizing
  • No config upgrade code (will change in the future)
    --> so please delete 4ext.prop :)





v2.0.2 RC2 Released: 7/09


  • Added options to replace any pictures found in the recovery with your own
    --> configurable in 4ext.prop file.
  • Improved backup name generation after currently installed rom to prevent errors. Probably and hopefully all bugs regarding this feature are now solved.
  • Fixed an issue where 4EXTRecovery might have had issues detecting the file system on sd-ext2 -> thus displaying as not formatted
  • Fixed an exception
  • Fixed a very rare occurence where some partitions didn't show up
  • Option to turn off the creation of backup names with rom names
    -> might be necessary for chinese and other foreign speaking countries with a more complex character set. as I didn't have the possibility to try any of those character sets.. please contact me via PM and report back.
    This option can be set in 4ext.prop!
  • New config version, please delete 4ext.prop


v2.0.2 RC2b Released: 7/09


  • Reduced size of the kernel because some people couldn't flash 2.0.2 RC2
  • Corrected text about battery charge level thanks to keyra74 for reporting






v2.0.3 RC1 Released: 7/12


  • now all partitions you might have on your sdcard are exposed to the operating system using "toggle usb storage"
  • button backlights for the Desire HD added
  • file system check / repair now for all devices (sd-ext partitions only)
  • reduced startup time
  • removed format options from "mounts & storage" menu
  • improved handling of custom images (now they reappear after returning to the main menu)
  • installing custom icons is now easier: you don't have to set those options anymore:
    -> it's enough to have those icons in your icons folder and they will be used
  • flashable themes coming -> new setting in 4ext.prop
  • if a theme was flashed it will take precedence over any icons you might have put into your icons folder on the sdcard
    -> to override that, set bitmaps.usericons.sdcard.force = yes
  • the last character of folder names of backups of roms with spaces in their names isn't cut anymore.
  • included fix for unyaffs by LinoBarreca. Thanks to LinoBarreca and dnlilas who pointed me at it!
  • lessened the chance of aborted installs due to data still held in cache after copying a new zip file to sd.



v2.0.3 RC1 Released: 7/12


  • The startup delay was too little for some devices to correctly detect the formatting of some sd-ext partitions..
    -> anyone who experiences a problem where recovery tells you that one of your partitions wasn't formatted and you are sure it is, please upgrade!




v2.1.0 RC1 Released: 7/14


  • Background image for toggle usb storage added. You can customize it like any other icon
  • It's now possible to use the recovery to only create an aligned FAT32 partition without the need to also create partitions for sd-ext.
  • It's now also possible to distribute all your settings in 4ext.prop (there aren't much yet) via a flashable zip.
    -> For example a rom maker or another flashable could choose to tune the settings for formatting ext4 for sd-ext partitions.
  • 4ext.prop: you can turn on an option that displays what parameters the recovery is using to format sd-ext partitions.
    -> As soon as you have defined any and the recovery formats a volume, you will get messages printed on the screen telling you about what it's doing and what parameters are effectively used.
  • The current version of 4EXTRecovery is now written to /tmp/4ext_version.
    -> this allows roms which include it to check for your current version on install and if your version was found to be greater, to not grade you down.
  • You can now share your themes (custom colours, backgrounds, and any other icon that might appear on recovery like the progress bar, error, et.c.) with others by creating a flashable zip: details below/will follow
  • Displays free space remaining of all your volumes
  • 4ext.prop: Configure all mkfs and/or tune2fs parameters recovery uses whenever it formats sd-ext volumes.
  • 4ext.prop: Once there are any flashable zips that alter your custom themes/settings you may have defined in your 4ext.prop on the sdcard, you can force 4EXT to still use YOUR options defined in your 4ext.prop on the sdcard instead of the ones that might have been "flashed" to your device.
  • Bugfix: Files you transfer from your PC to your sdcard by using the "toggle usb storage" function now appear immediately in recovery to use.
  • Bugfix: If there were "none-primary" partitions on your sdcard, they weren't detected by 4EXT
  • Bugfix: Since 2.0.3 RC1 there was an issue backing up some roms, this is now fixed.
  • 1 or 2 more little bugfixes that have been reported I have forgotten. I'm sorry, but my brain seems to lack fuel :D
  • So many people hated my default colours so I changed them to something more bright.. if you hate that too, you really should take a look at 4ext.prop and change them to whatever you like.
  • 4ext.prop: regarding the feature introduced in last version (all partitions on your sdcard being exposed to the OS when using toggle usb storage):
    -> you can now choose to only expose fat32 partitions to the OS.




v2.1.0 RC2 Released: 7/19


  • Fixed a very rare bug where certain backups didn't restore. They restored properly with any previous version but not with 2.1.0 RC1. Now solved!
    Big thanks to Hussainmushahid for helping me with a lot of testing, because I could not reproduce it on my own device until today.
  • To fix this as fast as possible it was necessary to remove the feature to specify your own mkfs.ext4+tune2fs parameters for sd-ext in 4ext.prop.
    -> will be re added in the next version.
  • Improved toggle usb storage syncing
    This is now similar to a final version, but don't want to call it "final" as long as it hasn't been used for at least 1 week



v2.1.0 Final Released: 7/20


  • Changed: likelihood of /system being mounted now the same as in CWMR, because there are some lazy scripts that don't unmount /system before formatting which results in chaos.
  • Enhancement: a bug in CWMR and 4EXT caused files transferred via toggle usb storage to not show up immediately afterwards in the install menu.
    This was the case for SOME users, the majority had no problem with that.
    Those users had to reboot recovery for the files to show up.






For changing colors or graphics take a look into the folder "4ext" on your sdcard and open the file 4ext.prop.

Thanks to Euphorie from ARHD Team: here is a great link to help you mix and customize your colours:
Html Hexadecimal And RGB Color Code Generator






Download: fake flash version below




Desire GSM:
  • Final: 4EXTRecovery v2.1.0 Final
    -> Use this to flash via fastboot or Android Flasher
    md5sum zip: f9a2b7cbbc9ca67d5a9fd76109d25e63
    NOTE: Always take a look at known issues!

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

    md5sum zip: 170785457774834c7ae58e331d6f4ab4
    NOTE: Always take a look at known issues!

  • Final: 4EXTRecovery v2.1.0 Final OneClick flashable
    -> This might not work for some and it wasn't tested on the Desire. It won't kill your phone, but just might not work.
    Download and extract on your pc to flash while your phone is fully booted (not in recovery) see note below on how to do it.

    md5sum zip: b6a3085e1ca34d808439b1f6ada6c915
    NOTE: Always take a look at known issues!

Desire CDMA: (please send me some PB99IMG.zips to gather CIDs, so I can provide you with a PB99IMG flashable)
  • Final: 4EXTRecovery v2.1.0 Final
    -> Use this to flash via fastboot or Android Flasher
    md5sum zip: 171ba11afa832a4cfef8743731e6a50c
    NOTE: See known issues

  • Final: 4EXTRecovery v2.1.0 Final OneClick flashable
    -> This might not work for some and it wasn't tested on the Desire. It won't kill your phone, but just might not work.
    Download and extract on your pc to flash while your phone is fully booted (not in recovery) see note below on how to do it.

    md5sum zip: f4038966a29010f8af6349b2e028d1c4
    NOTE: Always take a look at known issues!

Desire GSM & CDMA:

BIG THANKS TO GHISY & BEANBEAN50: there's now a fake flash version available for those that either want to keep their original recovery, or to be able to use rom manager.

To install it you need to replace update.zip on your sdcard with this one.
But you also need to replace any recovery-xxx.zip files you may find in any subdirectory inside your clockworkmod folder!
If there are none of those files you may need to install recovery from out of rom manager first and then replace the files.
Updated: beanbean50 explained that after you replaced all the files, you may need to run rom manager to install recovery once again. It will then "install" 4EXTRecovery instead of CWMR (although it will still display "CWMR <version>" inside rom manager)






Neues Recovery, werde mir das die nächsten Stunden mal draufklatschen, da ich mit Clockworkmod sehr unzufrieden bin.... bin gespannt obs gut ist, schaut schonmal gut aus und xda´s mögen es auch.
 
Zuletzt bearbeitet:
Also ich habe nun die 2.1.1.b drauf und bin völlig überrascht. Sehr gutes Recovery, bin mal weiter testen, grüße.
 
weil er geschlossen ist....
 
Ähm... Den habe ich heute geschlossen, nachdem ich das geschrieben hatte. Da gab es deinen neuen Thread schon ... Nun ja, egal nun.
 
  • Danke
Reaktionen: Bobbaone
Gibt es eine Möglichkeit das Recovery ohne S-OFF drauf zu bekommen? Unrevoked mag nicht.
 
S-OFF machst du doch mit dem Alpharev-Tool und nicht mit unrevoked. :huh:
 
Vielleicht ein bisschen unverständlich geschrieben: Mit Unrevoked hab ich z.B. Amon-Ra geflasht. 4EXT will damit nicht. Nun frage ich mich ob es eine andere Möglichkeitgibt als über Fastboot (mit S-OFF) dieses Recovery drauf zu bekommen.
 
2.1.3 ist da
 
  • Danke
Reaktionen: blur
Wie installiere ich das genau? Einfach wie die Rom's "ZIP von SD installieren"?
 
Am einfachsten geht das mit dem Androidflasher, oder aber per ADB.
Aber Du benötigst S-OFF dafür!
 
  • Danke
Reaktionen: madmaxx82
S-Off habe ich bereits. Was ist Androidflasher und wie funktioniert der?
 
Du gehst in dein Bootmenü. Schließt dein Handy an pc. gehst in deinen adb ordner rein, auch da wo fastboot.exe liegt. dann machst du

fastboot erase recovery
fastboot flash recovery recovery.img

fertig.
 
  • Danke
Reaktionen: madmaxx82
Das Recovery ist echt gut nur braucht immer bei mir etwas Zeit um zu starten bzw. es kommt erst ein schwarzer Screen und dann 1-2 Minuten später kommt das Recovery erst :D
 
MarciWoi schrieb:
Das Recovery ist echt gut nur braucht immer bei mir etwas Zeit um zu starten bzw. es kommt erst ein schwarzer Screen und dann 1-2 Minuten später kommt das Recovery erst :D

Danke!

Ja, das ist schlecht, wer will schon ewig warten.. wird in einer neuen Version behoben!
Übrigens: update ist da.. aber kaum der Rede wert, das nächste größere Update kommt erst in 1-2 Wochen.

Fixed: Fehlermeldungen über fehlende Icons wenn das Gerät geladen wurde, während es komplett ausgeschalten war (Desire war davon aber ohnehin nicht betroffen)
Und eventuell für Rom Builder interessant: die aktuellen Infos über die verschiedenen Partitionen und deren Dateisysteme können einfach von /cache/4ext/vol_info ausgelesen werden. War zwar schon in einer vorherigen Version, aber jetzt überleben diese Infos auch das Formatieren der Cache Partition ;)
 
Zuletzt bearbeitet:
Hat das Jemand schon via HBOOT geflasht ?
 
Glaub ich mal nicht, da die meisten s-off haben. Ich hab aber mal bei XDA was gelesen, dass es teilweisegehen soll. Try it
 
Da kann auch nichts schief gehen ?
Weil ich bin ja noch S-ON. Bei meinem alten Handy war das einfacher,dass war von Anfang an S-OFF ! Per Fastboot war immer am einfachsten.
 
Mit den neuen tool von Alpharev geht das auch recht schnell und vorallem einfach.
Ich meine jetzt s-off
 
Kann man mit diesem Recovery auch den USB-Brick beheben ?
Soll ja mit RMD Recovery gehen.

Hat da jemand mal eine Aussage dazu ?
 

Ähnliche Themen

D
Antworten
3
Aufrufe
1.467
DJ Volkan
D
M
Antworten
93
Aufrufe
13.536
maikD
M
Soulfly999
Antworten
471
Aufrufe
53.330
ulixes
ulixes
Zurück
Oben Unten