TWRP Nandroid Backup and Restore with or without Root Status - Samsung Galaxy M20 Questions & Answers

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 !

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!

[Q] Titanium Backup

Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Skanin said:
Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Click to expand...
Click to collapse
Reinstall TiBU from the Play Store after you installed the custom ROM. In TiBU, locate the backups you've made (preferably in a safe location on your external SD) and restore the apps/settings you want. Be careful though, because not all settings/apps will work on a different ROM.
Please visit the TiBU website for further info:
http://www.matrixrewriter.com/android/
With TB Pro you can generate a CWM flashable TB install ZIP
What I do :
- TB backups are on a SDCard
- TB backups are copied on an external HDD from time to time and always before Rom upgrade
- TB flashable ZIP is generated at every TB update and ZIP copied to external HDD
Doing this allows me to update Rom without stress. I always also do a Nandroid backup just in case
One may say I'm paranoid but doing this way I never lost any data or software and always restored from a crashed Rom update
BTW : always remember TB needs root so this is a prerequisite !
Skanin said:
Hi guys!
Yesterday I unlocked my bootloader, installed CWM and SuperSU. Today I installed the Titanum backup and started backuping. Now I wonder how to restore the backups if the app was deleted once? Let's say I want to install a custom ROM and it wipes all my data. How can I restore the backups I did today?
Click to expand...
Click to collapse
/storage/sdcard0 (Internal)
/starage/sdcard1 (SD Card)
By default TB puts backups in /sdcar0/TitaniumBackup. If you uninstall TB your backups will remain making it a great tool when wiping/switching ROMs. Once TB is re-installed it will read your backups from that folder and you will be able to perform restore functions within the app.
If you do a factory wipe (aka full wipe) in TWRP (not sure about CWM) neither /sdcard0 or /sdcard1 will be touched.
As @Howell has pointed out there are many ways to backup your backups, and restore backups. TB has many options and ways to backup/restore your data. Similar to Howell, every couple weeks I will copy both /sdcards to my computer for safe keeping. If you buy the pro version (recommended) then you can schedule backups, and have more than one backup of an app - I have found multiple backups useful if an update to an Xposed module breaks certain functions since they aren't always device specific.
Typically I do not backup any system apps or data because as @Don MC pointed out these don't always restore properly when switching ROMs (even if it's an update to the same ROM). SMS/MMS data is an exception I guess. I have a few system apps such as my lockscreen.apk and SystemUI.apk backed up, but only because they conflicted with some Xposed modules.

[q] cwm backup

if i back up my rom from cwm revocery menu then my installed mods and apps are backup too or not ??
i want to take full backup of my rom and mods and apps and the data !
what am i got to do for this kind of backup ??
iman-dva said:
if i back up my rom from cwm revocery menu then my installed mods and apps are backup too or not ??
i want to take full backup of my rom and mods and apps and the data !
what am i got to do for this kind of backup ??
Click to expand...
Click to collapse
When you backup the rom, everything will be backed up. However, using a backup made by cwm will technically not backup your applications for you. While they will be there if you restore the backup, you won't have access to them if you go to a new rom or ftf or whatever it is that you are trying to do.
Titanium Backup is a great tool to backup your apps. It does both the app and the data, so it's pretty convenient. Personally, I like to make sure that the backup folder is somewhere on my sd card.

How to move your data after ROM installation

Hey Guys ,,
is there any way to move a backup data to the ROM
i have ATT note 3,, i did backup using safe strap and after x note ROM instillation i tried to do restore data but it failed,,,any solution
I believe the Safestrap backups are similar to just TWRP or Nandroid backups.
They'll save the entire partition as is, to restore back to that state at a later date.
They aren't good for, say, moving all your apps and appdata to a new Rom.
For that, you should use Titanium Backup or a similar backup manager like Helium.
Then back up just the apps and appdata (not system apps, since they'll often conflict with the new rom) to your SDCard, and restore them when on the new app.
Sorry, it doesn't help when you've already done the TWRP backup and flashed a new rom.

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.

Categories

Resources