Can I know if I should backup system or system_image, and vendor or vendor_image?
And is there any value to backing up other partitions, or should I just do these ones?
"A full backup/restore of MIUI should consist of no more than:
* Boot
* Data
* System_Image (or System_root)
* Vendor_image"
Took this info from the OrangeFox recovery thread. Personally, I would also back up the /system partition
Related
malezRecovery_0.2.img
Here you can find my custom recovery wich works with both liquid 1.6 and liquid E 2.1 rom. It was originally base and Lickonn work.
The recovery images will not work on factory AAP, CSL or FET devices untill you do a full flash
An updgrade via acer download tools is needed. You will have to flash to an EMEA rom (thanks to Nova2.1 for his help)
Important notes to rom providers
In order to make your rom compatible with apps2sd, you need to add the lines in bold in the init.rc of your boot.img otherwise, system won't boot if apps are stored on the sd card ext partition.
chown system system /cache/recovery
chmod 0770 /cache/recovery
# APP2SD (Malez)
mount ext2 /dev/block/mmcblk0p2 /system/sd/ rw
mkdir /data/misc 01771 system misc
mkdir /data/misc/hcid 0770 bluetooth bluetooth
Click to expand...
Click to collapse
Community rom already provides 2 scripts
/system/etc/init.d/30apps2sd
/system/xbin/apps2sd
in LCR 1.1 they failed but might do the job soon.
Changelog V0.2.1 :
- nandroid updated to 2.2.2.2 (fixed backup when no ext2 partition and using standard recovery menu)
Changelog V0.2 :
Many changes in this release
- compliant to any 1.6 or 2.X rom
- added bart
- added free sd card partitionning tool
- updates bysybox to 1.15.3
- modified nandroid to 2.2.2.1 (personnal version)
-you can choose whick backup restore, now only the next one (in recovery utilities)
- add ext2 partiton backup by default (usefull when using app2sd)
- 1.6 and 2.1 compatible
- fs check and mount corrected
- ext2 / noext2 options added
- full rewrite of apps2sd (move or copy apps stored in your phone to your sd card)
- created sd2apps (move or copy apps stored in you sd card back to your phone (only in recovery utilities)
- fixed wype
- added bart script
- created back office recovery utilies which allow to do a lot more operation (to launch it, adb shell (enter) malez )
Recovery Utilities by Malez v0.1
[1] Convert ext3 > ext4 no data loss
[2] Fix Permissions 2.03 experimental
[3] Backup APPS on ext to FAT32
[4] Restore APPS from FAT32 to ext
[5] Partition SD 3 partitions (can set sizes)
[6] Fix auto-rotate problems
=====================
[7a] Move phone apps to sd card
[7b] Move phone apps to sd card (keep files on phone)
[7c] Move sd card apps back to phone
[7d] Move sd card apps back to phone (keep files on sdcard)
=====================
[8a] Run BART 1.0.1 Backup
[8b] Run BART 1.0.1 Restore
=====================
[9] Reset/delete Battery Stats
=====================
[10a] Backup Nandroid
[10b] Backup Nandroid (without ext2)
[10c] Restore latest Nandroid
[10d] Restore latest Nandroid (without ext2)
[10e] Restore specific Nandroid
[10f] Restore specific Nandroid (without ext2)
=====================
[q] Quit to Console Prompt
Boot me out of here! (reboot)
Enter Number>
- and more...
Click to expand...
Click to collapse
Initial release v0.1 :
Nandroid backup/restore only works with the acerLiquid E rom (I have tested of course) !!
Menu item explanation
- Reboot system now -> reboot in phone mode
- Apply sdcard:update.zip -> apply the update.zip file stored at root of the sdcard
- Apply any zip from sd -> apply any zip file (update format) from sd. A menu will le you choose which one
- Nandroid : backup -> perform a backup of all your system and data partition and also ext2 from sd (if exists)
- Nandroid : restore latest backup -> restore the latest made nandroid backup
- UMS on -> enable Usb Mass Storage so you can acces sd card as a usb key on you computer
- UMS off -> disable Usb Mass Storage
- Root current system -> root you system phone
- Remove root in current system -> remove root in you system phone. If an error occurs, choose install root before uninstalling it (Some roms auto root system on each startup so it might not be enough)
- Split sd for apps 2 sd -> create 2 partitions on you sd card : 500Mo ext + free left space fat). All data on sd are lost
- Move apps2sd -> move application from phone to sd card. You need compatible rom for this to work. If system don't boot after, it's not compatbile (see developper note in front of this post for info). To move apps back from sd card to phone, during boot failure, do "adb reboot recovery", then "adb shell" and "utility". Choose "Move sd card apps back to phone". Reboot
- Fix package uid mistmatches -> fixes permissions on Android data directories after upgrade
- Wipe data (factory reset) -> erase all you personnal apps and info. Sometimes needed after a system upgrade. May fix lots of instability problems. First boot takes a long time.
- Wipe dalvik-cache -> erase the dalvik-cache. First boot takes a long time.
- Copy recovery.log to sdcard. -> Copy the recovery log file to the root of your sd card so can see more detailes information.
If any of this comand failed, you can try to launch them via the utility menu. More detailed informations will be displayed.
To enter utility menu : adb shell (enter) utility (enter)
Download links
V0.2.1
http://rapidshare.com/files/358814947/malezRecovery_0.2.1.img
MD5 sum
909c6d08739cec3064ac0b9093d13b6a malezRecovery_0.2.1.img
V0.2
http://rapidshare.com/files/357929849/malezRecovery_0.2.img
MD5 sum
3003cb31c3859b898de1736599956a34 malezRecovery_0.2.img
V0.1
http://www.megaupload.com/?d=WNTQR36F
http://rapidshare.com/files/355642457/male...ery_2.1-0.1.img
MD5 sum
fb44320003c6b335df63b740208a287e malezRecovery_2.1-0.1.img
How to install
Boot phone in normal mode
adb reboot bootloader
fastboot-linux -i 0x0502 flash recovery malezRecovery_0.2.img
sending 'recovery' (4876 KB)... OKAY
writing 'recovery'... OKAY
fastboot-linux -i 0x0502 reboot
To enter recovery : adb reboot recovery
To enter recovery utilities :
- Connect usb
- boot in recovery
- from computer adb shell (enter) malez (enter)
If need any help, don't forget to copy recovery log to sd and send it.
Click to expand...
Click to collapse
Original thread by malez: MoDaCo
Just saw that 0.2.1 is released
http://android.modaco.com/content/a...com/303405/malezrecovery-v0-2-1-nandroid-fix/
I just arrived home, will update this later
Latest version added.
Thanks to malez!
is this working ok in donut too??
Yep, it does on both 1.6 & 2.1
I like this recovery, but why it don' t have wipe battery stats option??Is very very usefull!!!
Version 0.4.1 is out with many changes, see here for info (its includes wipe battery stats)
I can't post the link,
its in google code.google.com/p/acer-liquid-malez-recovery/
Hi, how i can remove this recovery?
Excuse me BrOw..
i've Acer Liquid E (512) Using The Official Froyo.
but when i try to install Malez Recovery, when my Phone Reboot and begin for installing MalezRecovery in recovery Mode, its always writen "fail" <in Red>
even in
- Malez 6.1.
- Malez 6.0
- Malez 5.3
my question is,
is this version work in My Acer Liquid E???
For details go to the official page here
http://code.google.com/p/acer-liquid-malez-recovery/
Changelog V0.6 :
- compatible with froyo leak
- backup / restoration of cache partition
- backup compression (take a long time to process but about 40% gain)
- can replace an existing backup instead of creating a new one
- ability to move using search button
- market unlock for froyo
- busybox updated to 1.18.0
- logs have been rewritten to be more verbose
Changelog V0.5.4 :
- compatible with latest updates from acer (fix backlight issue)
Changelog V0.5.3 :
- new kernel to fix adb/usb toggle access on 0.14 bin
- fixed/updated root (su 2.0.3)
- fixed remount (when using adb shell remount on stock rom)
Changelog V0.5.2 :
- fixed apply update zip when FORMAT needed
- added mount /system/sd for applying patch when apps are stored on sd
- added umount all fs in flash menu
Changelog V0.5.1 :
- fixed market unlocker
- fixed apply update zip when apps are stored on sd
- added new su + Superuser.apk
Changelog V0.5 :
- busybox updated to 1.16
- if busybox is already installed on system, it can now be updated
- when rooting a device, a remount script will also be added (use adb shell remount to remount /system in rw mode)
- fixed wipe dalvik-cache
- added wipe all except ext parition on sd
- new boot screen
- added convert ext3 to ext 2 for sd card partition
- nandroid updated to v2.2.2.4 (fix a bad print in logfile on restore)
- added nandroid backup remove from menu (to free space on sd without any computer)
Changelog V0.4.3 :
- re Fix the install busybox error when not able to umount system partition (so, so sorry. I apalogize)
Changelog V0.4.2 :
- Fix the install busybox and sqlite error when not able to umount system partition
Changelog V0.4.1 :
- fix wipe cache print error
Changelog V0.4 :
- Fully rewritten menu
- Modified malez menu
- Root/unroot a phone using 2 differents set of files.
- Diplay if current system is rooted or not
- USB mass storage is now a toggle
- Backup/Restore menu
- Nandroid backup with or without ext parition
- Nandroid restore selection (latest/selection/with without ext2 and other option in malez menu) Won't restore recovery by default but can be done in malez menu.
- Bart backup / Bart restore
- Flash/Test menu
- Test syntax of an update.zip file without installing
- Ignore signature check on a update
- Wipe menu
- factory reset
- Dalvik-cache
- SD card ext partition
- battery stats
- rotate settings
- cache
- Partition/repair SD menu
- Partition SD card (swap/ext/fat) with free size
- Repair ext filesystem
- Convert to ext3/ext4
- Other menu
- Apps/Dalvik/Data current status
- Move apps to SD
- Move apps + dalvik to SD
- Move apps2sd + dalvik + data to SD
- Restore apps/dalvik/data from SD to phone
- Unlock market on current system to access all apps
- Install busybox 1.15.3 to current system
- install sqlite to current system
- fixed nandroid v2.2.2.3 (own version) to cheack free space before backuping and enforce checkings before restoration
- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue. (This will not fix old corrupted Nandroid backups! Please make new backups!!)
- New mkyaffs2image binary
- New flash_image binary
- Nandroid menu options added (you can choose wich backup to restore)
- Many more features
- Other changes
QUOTE
Recovery Utilities by Malez v0.3
[1] Convert ext3 > ext4 no data loss
[2] Fix Permissions 2.03 experimental
[3] Backup APPS on ext to FAT32
[4] Restore APPS from FAT32 to ext
[5] Partition SD 3 partitions (can set sizes)
[6] Fix auto-rotate problems
=====================
[7a] Display apps2sd current status
[7b] Move phone apps to sd card
[7c] Move phone apps + dalvik to sd card
[7d] Move phone apps/dalvik/data to sd card
[7e] Move apps/dalvik/data back to phone
=====================
[8a] Run BART 1.0.1 Backup
[8b] Run BART 1.0.1 Restore
=====================
[9] Reset/delete Battery Stats
=====================
[10a] Backup Nandroid
[10b] Backup Nandroid (without ext2)
[10c] Restore latest Nandroid
[10d] Restore latest Nandroid (without ext2)
[10e] Restore specific Nandroid
[10f] Restore specific Nandroid (without ext2)
[10g] Restore specific Nandroid (with recovery, cache and ext2)
=====================
[11a] Root current system (mode 1)
[11b] Root current system (mode 2)
[11c] Unroot current system
[11d] Root status of current system
=====================
[12a] Unlock Market (auto detect)
[12b] Unlock Market 1.6
[12c] Unlock Market 2.1
[12d] Restore original Market
=====================
[13a] Install busybox
[13b] Install sqlite3
=====================
[q] Quit to Console Prompt
Boot me out of here! (reboot)
Enter Number>
Changelog V0.2.1 :
- nandroid updated to 2.2.2.2 (fixed backup when no ext2 partition and using standard recovery menu)
Changelog V0.2.1 :
- nandroid updated to 2.2.2.2 (fixed backup when no ext2 partition and using standard recovery menu)
Changelog V0.2 :
Many changes in this release
- compliant to any 1.6 or 2.X rom
- added bart
- added free sd card partitionning tool
- updates bysybox to 1.15.3
- modified nandroid to 2.2.2.1 (personnal version)
-you can choose whick backup restore, now only the next one (in recovery utilities)
- add ext2 partiton backup by default (usefull when using app2sd)
- 1.6 and 2.1 compatible
- fs check and mount corrected
- ext2 / noext2 options added​- full rewrite of apps2sd (move or copy apps stored in your phone to your sd card)
- created sd2apps (move or copy apps stored in you sd card back to your phone (only in recovery utilities)
- fixed wype
- added bart script
- created back office recovery utilies which allow to do a lot more operation (to launch it, adb shell (enter) malez )
- and more...
Initial release v0.1 :
Nandroid backup/restore only works with the acerLiquid E rom (I have tested of course) !!
Hi XDA, as most of you are aware, my phone's efs partition was corrupted through too many rom installations, I have recived a new Pixel XL as part of google's warranty and want to teach you how to properly backup your partitions using TWRP.
General steps (REQUIRED):
Download TWRP 3.2.0-0 image (link coming soon, for now just check any ROM forum)
fastboot boot it (fastboot boot *file path*)
Without Storage:
Skip the copying of /data/media steps and you will be fine!
With Storage:
Go into the file manager
navigate to /data/media
make a copy in /data
There should be a copied /data/media folder
click backup and refresh sizes, you will see that the data partition has increased significantly
backup all partitions ONE BY ONE (if one partition goes wrong, you don't have to erase everything)
Use a file transfer program (I use Air droid) to transfer this backup to your computer
TWRP 3.2.1.x oreo based please test
by MURALITHARAN
* Fixed all partitions mount
* f2fs fs supported
* builded from oreo source
WARNING :
* Please take impotant backup data of your internal sdcard before installing this twrp
* when boot this twrp first time it will ask decrpt data just press cancel and go to wipe do format ( it will also wipe internal sdcard + Data so take important backups)
* Once ext4 format done now u can do change the fs to f2fs but it will also wipe internal memory + data
* after data done do cache as f2fs
* now reboot phone thats all
Download Link
https://www.androidfilehost.com/?fid=890278863836283217
jd_dpgc said:
TWRP 3.2.1.x oreo based please test
by MURALITHARAN
* Fixed all partitions mount
* f2fs fs supported
* builded from oreo source
WARNING :
* Please take impotant backup data of your internal sdcard before installing this twrp
* when boot this twrp first time it will ask decrpt data just press cancel and go to wipe do format ( it will also wipe internal sdcard + Data so take important backups)
* Once ext4 format done now u can do change the fs to f2fs but it will also wipe internal memory + data
* after data done do cache as f2fs
* now reboot phone thats all
Download Link
https://www.androidfilehost.com/?fid=890278863836283217
Click to expand...
Click to collapse
FILE NOT FOUND!!!
Delete this thread.
I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom