[Q] RedWolf restoring only the system partiton? - Xiaomi Redmi 4X Questions & Answers

Hey everyone, so I have REDWOLF recovery on my 4X and I want to backup my MIUI ROM before flashing any custom ROM's, but since the MIUI backup is quite large (13GB!), I am executing the backup from my PC using adb.
I done the backup using
Code:
adb backup --twrp
, which seemingly backed up everything, but when I go to restore using
Code:
adb restore backup.ab
, it only restores /system. And I'm quite positive it didn't just backup /system since the file is 13GB large and /system is only ~2GB.

Related

[Q] Just flashed new ROM

Hi guys,
I just flashed a new rom -Stocklite 7.1
This is my first attempt at flashing a ROM so bare with me.
I created a Nandroid backup prior to flashing and I also copied the entire contents of the SD card over to my computer.
I am using Link2SD and an ext partion as well.
Flashed succesfully. However none of my previous apps / data show up, this was slightly unexpected. I attempted to peform a nandroid data only backup to get these by going to recovery mode then advanced data only restore.
But i got an md5 mismatch.
Basically.
I am trying to restore my apps / data and I want to keep the stocklite 7.1 ROM. NOT a full restore.
Any help?
I recommend using titanium backup for backing up your apps. But, you can probably get user apps by coppying/flashing them to where they belong.
Options:
1 go back to stock rom by restoring your stock backup, make a backup using titanium backup, flash stock lite, install titanium backup, restore your apps. To succesfully restore your stock nandroid backup use te ext4 manager app, convert system to rfs, go to recovery, restore.
2 - open your stock backup on your computer with unpacking or iso software (like 7 zip), extract your user apps (apk files), create a flashable zip to flash them to data/app, system/app as needed. You can also flash their libs and data files to data/data and dalvik-cache to data/dalvik-cache. That should restore user apps and their data to internal memory if you don't want to use titanium backup.
You lost all your data..you should have a taken app backups with Titanium Backup,Nandroid isn't enough.
MD5 mismatch is showing up because you changed the name of the backup folder ..
You can open the backup manually, and get all the data.It might or not work,that would depend oon your luck
Thanks for the posts guys!
I just wasn't thinking. I had already taken a titanium backup full backup so thats' all good!

TWRP Backup Restore-All Partitions

Hi, I have flashed latest stock with rootable kernel, DRM Restore & SU zip installed. Took backup all the partitons using TWRP 3.0 Recovery.
If I want to restore the backup, can I restore all partitions? or Only few like System, Data & Caches?

After making a backup in TWRP I can not recover the data

Friends. I made backup by recovery now when I try to recover I do not want to restore the System partition. Error: Can not restore System --- mounted only for reading.
Do you have any ideas?

Question How to Backup Custom ROM?

I try different roms time to time on my redmi note 10 pro and using ArrowOS as my daily driver. I want to backup this ROM using TWRP and can see many partitions for backup, do i need to backup all partitions? Last time when i backed up arrowos(all partitions) and tried to restore, super partition didn't copy and ended up in bootloop after restore, so this time I want to make sure i perform right steps. Do i need to remove passwords before backup?
Can anyone, who have tried, help?
Keep the copy of ROM zip after flashing the ROM & backup all your apps using titanium backup or migrate backup or swift backup or app manager etc.
Whenever you want to restore just flash the ROM & restore the apps again with the app you used for creating backup.
Alternatively, if you don't want to setup ROM again, you can backup data partition. For restoration you'll have to flash ROM zip & restore data partition.

TWRP Nandroid Backup and Restore with or without Root Status

Hi, I am new to this forum and also new to Rooting and Flashing.
Recently I rooted my Samsung Galaxy M20 device with Magisk after flashing TWRP Recovery with Odin.
Now I want to take a nandroid backup (full rom backup along with all system settings and apps data).
1. On Backup menu of TWRP, should I select only ''boot'', ''system'' , ''data'' or ''System Image'' along with these?
2. And as I am taking the backup after rooting, will the backup include root access? I mean if I restore the backup later, will then the rom be kept rooted?
3. Is there a way to backup rom with keeping root access for my device?
(I rooted the device by flashing magisk with TWRP. Before that I flashed a zip file ''disable dm verify''. I actually followed a youtube video.)
Maybe your best anwer is here .... official TWRP website.
A nandroid backup gives you back the exact status of the moment of backing up.
In your first backup, backup everything except recovery .... and place this on your external sd-card. Depending on your version of TWRP you might be able to backup a system image (and if so ... then this is your best choise) and if you don't see that choise then backup boot, system, and data . Be sure to have chosen the right and latest TWRP for your phone.
Keep in mind that not all data are backed up, especially not the data on your internal sd-card. (make a backup of them separately !)
Make sure that an external sd-card is added to your phone !

Categories

Resources