TWRP Backup question - Xiaomi Mi 5 Questions & Answers

HI,
I did a TWRP backup and then copied the file to my PC. After installation of a new ROM It seems this is not the way to copy a TWRP Backup to your PC.
Anyone know if I can reinstall from the files I copied from the phone?
Cheers

twrp backup is used to backup your current rom to restore when something went wrong. It backup the whole rom. It is not something you restore after flashing new rom.

Related

ClockworkMod Recovery error restoring my original nandroid backup

I created backup for my original 2.3.4 ROM in the ClockworkMod Recovery. After installed CM 7.1. The original ROM backup doesn't work in the recovery backup and restore menu's. I Started the phone, and the phone is restart all time.
What's the problem?
I need Original ROM.
Only smartflash?
Copy the attached file to your sd-card, install it from CWM, and then restore your backup.
I created some backups in the CWM Recovery --> Restore Backup --> Backup.
The Backups doesnt works.
ive had this happen to me too and figured out that, at least in my case the emmc and sd card got swapped, making it impossible for CWM to find the backup. also, there was an issue regarding a touch recovery version having problems with our phones.
everest140 said:
I created some backups in the CWM Recovery --> Restore Backup --> Backup.
The Backups doesnt works.
Click to expand...
Click to collapse
Did you try TrymHansen's post already?
Can you post a copy of /cache/recovery/last_log
everest140 said:
I created backup for my original 2.3.4 ROM in the ClockworkMod Recovery. After installed CM 7.1. The original ROM backup doesn't work in the recovery backup and restore menu's. I Started the phone, and the phone is restart all time.
What's the problem?
I need Original ROM.
Only smartflash?
Click to expand...
Click to collapse
TrymHansen said:
Copy the attached file to your sd-card, install it from CWM, and then restore your backup.
Click to expand...
Click to collapse
TrymHansen's solution should work. CM7 uses ext4 and stock uses ext3.
everest140 said:
I created some backups in the CWM Recovery --> Restore Backup --> Backup.
The Backups doesnt works.
Click to expand...
Click to collapse
Same here I made a backup with 5.2.0.8, then flashed new BB, then MD5SUM mismatch when restoring...
Plus some strange behavior of the phone, I even thought it was bricked, impossible to reboot in smartflash mode, and finally rebooted alone in recovery.
Had to made a fresh reinstall. Grrrr....

[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!

[Q] Restoring nandroid from pc - not recognised?

I did a nandroid backup.
Copied it to pc.
Did a full wipe of phone.
Messed about with new rom but didn't like it.
Hooked phone to pc and copied the nandroid to sdcard/clockworkmod/backup (manually creating the backup folder)
Booted into recovery - no restore available.
I did a backup from recovery as a test.
Booted up, hooked phone to pc and cannot see the newest backup location from internal storage.
Back into recovery and I can see the test backup but not my actual backup.
I've done nandroid backup and restores dozens of times and have never come across this.
What am I doing wrong?
did you put the backup in the same file that the test backup is in. i dont think you can manually make a backup folder as the recovery makes it when you make a backup. i could be wrong because i always leave my backups on my phone
Did you just copy the files, or did you put the files into it's own folder within the backup folder?
skinsfanbdh said:
did you put the backup in the same file that the test backup is in. i dont think you can manually make a backup folder as the recovery makes it when you make a backup. i could be wrong because i always leave my backups on my phone
Click to expand...
Click to collapse
I wondered if manually creating the backup folder was the issue so I deleted it and then created a backup in recovery. The issue is that the backups creating inr ecovery are not visible on the pc when I look.
ArmedandDangerous said:
Did you just copy the files, or did you put the files into it's own folder within the backup folder?
Click to expand...
Click to collapse
I copied the file so it was placed like so:
sdcard/clockworkmod/backup/2013-05-29.15.31.41
I can see the backup files using Root Explorer from the ROM I was testing.
They're in /mnt/shell/emulated/clockworkmod/backup which should be the same as sdcard/clockworkmod/backup on the pc, right?
I'll try copying the backup to sdcard/Download on pc then move it to the mnt/shell etc folder in root explorer.
ok, copying to download folder from pc to phone then copying from download folder to the backup location on phone worked.
no idea why sdcard/clockworkmod/backup is not recognised in CWM recovery anymore.
I did update to the 6.0.3.1 version recently so maybe that's why.

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