back up entire ROM using twrp - Xiaomi Redmi Note 7 Pro Questions & Answers

how to backup the entire custom rom using twrp, I see a number of options there where on choosing the most of them the size of backup gets to 10gb.

Related

[Q] Nandroid or CWM

I typically use CWM to back up my phone before flashing a new ROM.
I have been reading about Nandroid and dont see an advantage to using that over CWM, however most the devs say to use Nandroid to back up your phone.
Is there a reason/advantage to use Nandroid over CWM that I'm not seeing?
Technically, Nandroid does a little bit better job of backing up absolutely everything, and it would be a good idea to have at least one full, nice backup of your phone for if things go horribly, horribly wrong.
That being said, I just use CWM to backup everything every time I'm going to flash a new ROM, and I never have problems. (I'm a habitual ROM changer) You should be ready to flash CWM with Odin in case your recovery gets corrupted, but I don't see any reason not to trust it.
I thought nandroid backup was backup in cwm. I learn new things everyday. Maybe that's my md5 mismatch problem when I try to restore a backup.
Sent from my SAMSUNG-SGH-I727 using xda premium
GooSe275 said:
I typically use CWM to back up my phone before flashing a new ROM.
I have been reading about Nandroid and dont see an advantage to using that over CWM, however most the devs say to use Nandroid to back up your phone.
Is there a reason/advantage to use Nandroid over CWM that I'm not seeing?
Click to expand...
Click to collapse
Using CWM to back up your phone is a nandroid backup. Are you referring to using Rom Manager to backup your roms? If so, it is still creating a nandroid backup. View the screen as your back up begins and you will see that it is creating a nandroid backup.
Im asking myself the same question ... I use this backup methode: http://forum.xda-developers.com/showthread.php?t=1390771
- Is it also creating a nondroid backup ?
- When I look at my backupfiles, how can I check it ?
- as this backup does not seem to backup all files ... is there another backup doing a real image or at least
Pls see the jpg of the .zip I made from the CWM backup dir on SD card...
gggg said:
Im asking myself the same question ... I use this backup methode: http://forum.xda-developers.com/showthread.php?t=1390771
- Is it also creating a nondroid backup ?
- When I look at my backupfiles, how can I check it ?
- as this backup does not seem to backup all files ... is there another backup doing a real image or at least
Pls see the jpg of the .zip I made from the CWM backup dir on SD card...
Click to expand...
Click to collapse
That certainly looks like an official nandroid backup to me.
Sent via Tapatalk 2
Backups
Just a word of caution that some of the other Senior Devs I have talked to about this say to stay away from using Rom Manager for things if you can. It is better and safer to boot into recovery and do things via CWM or TWRP or whatever your Recovery of choice is...
I know Rom Manager might be good for somethings but trusting your backup to anything other than CWM is not something I would do.
Also, Nandroid Backup and the Backup setting in CWM is the same thing.
Keep in mind it won't backup internal storage. "emmc"
Boot
Recovery
System
Data
Cache
Sent from my SAMSUNG-SGH-I727 using xda premium
i have little Linux knowledge ... is there a way to copy all the missing directories / partition ... eg. using ADB / busybox ???

[Q] about nonandriod and cwm backup question

i have read many before i post here. but i am noob and with a bad understanding brain.
my question is what is the nonandriod or cwm full backup and restore used to? fror example, after i backup, i flash my Phone from ucla3 to ics roms. then if i want to come back to the stock rom before flash. i need to find a stock romto reflash with odin or i can just do that with nonandriodrestore. the full restore for everying or just build , what about base and kenal? if i need reflash stock rom with odin anyway , why it is recommend full backup before flash. please give me an example to explain. thanks in advance
Nandrorid is like a snapshot of your phone's operating system state. Restoring a nandroid gives you a return to the way you booted and ran your phone's android version at the time of back up.
Not included are the modem or radio and the recovery image (like CWM or stock 3e). Those you can flash separately to change. User data held in phone storage after the backup must be saved offline (externally) before restoring. For me it means latest call logs, contacts and sms.
The nandroid restore wipes phone storage and recreates the standing configuration you backed up, like reimaging a raw PC hard drive Partitions, file systems, boot resources and data are all (re)applied in the process.
pc103 said:
Nandrorid is like a snapshot of your phone's operating system state. Restoring a nandroid gives you a return to the way you booted and ran your phone's android version at the time of back up.
Not included are the modem or radio and the recovery image (like CWM or stock 3e). Those you can flash separately to change. User data held in phone storage after the backup must be saved offline (externally) before restoring. For me it means latest call logs, contacts and sms.
The nandroid restore wipes phone storage and recreates the standing configuration you backed up, like reimaging a raw PC hard drive Partitions, file systems, boot resources and data are all (re)applied in the process.
Click to expand...
Click to collapse
you means if i use custom sky ics now and i do a nandrorid restore, i can not go back to GB 2.36??(if i have done a nandrorid backup for 2.36 before i install the sky ics??)
You can but you'll need to flash the la3 radio first.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

[Q] What is the best way to backup and restore settings?

I'm not talking about apps, as I usually like to install each app fresh, or I use Rom Toolbox/Carbon to restore the apps. I mean all the system settings, DashClock layouts etc.
When I switch roms, I like to do a full format/factory restore, which wipes everything except sd card and then install. I use Nova launcher and it restores the homescreen layouts but a lot of the times the apps/settings don't restore correctly.
I was going to post a similar question. However, i was gonna ask how to save the phones entire state (apps, settings, everything) when flashing a new rom.
I just don't wanna have to spend the time re-downloading every single app and configuring everything every time beanstown has a new build.
Sent from my BLACK SCH-I535 using xda app-developers app
There is an app called Easy Backup that backups everything on a cloud storage site.
ECrispy said:
I'm not talking about apps, as I usually like to install each app fresh, or I use Rom Toolbox/Carbon to restore the apps. I mean all the system settings, DashClock layouts etc.
When I switch roms, I like to do a full format/factory restore, which wipes everything except sd card and then install. I use Nova launcher and it restores the homescreen layouts but a lot of the times the apps/settings don't restore correctly.
Click to expand...
Click to collapse
If your using CWM recovery you can restore just the data from your nandroid backup (you do a nandroid backup before you flash right?). In recovery go to advanced restore, choose your nandroid backup and just restore data, nothing else!.....Been doing that on Synergy and CR after a clean flash and each time this method has restored all my apps/settings/wallpaper/screens flawlessly. YMMV because I use TW not those other launchers.
RocKKer said:
If your using CWM recovery you can restore just the data from your nandroid backup (you do a nandroid backup before you flash right?). In recovery go to advanced restore, choose your nandroid backup and just restore data, nothing else!.....Been doing that on Synergy and CR after a clean flash and each time this method has restored all my apps/settings/wallpaper/screens flawlessly. YMMV because I use TW not those other launchers.
Click to expand...
Click to collapse
I'm on jellybeans build 18 with TWRM and i don't know what a nandroid backup is. Help.
Sent from my SCH-I535 using xda app-developers app
echodeluxe said:
I'm on jellybeans build 18 with TWRM and i don't know what a nandroid backup is. Help.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Nandroid backup is simply a backup made in one of the recoveries (TWRP or CWM), sorry can't post links yet, just do a google search on "nandroid backup". Essentially nandroid backup makes a backup of almost everything that is OS related. I don't see that TWRP allows you to do an "advance restore", but CWM does. I've been using CWM from the my flashing beginning, so don't know much about TWRP.
Also go to youtube and search "backup with TWRP" to be shown how to do it.
You can use TiBu to restore just data as well, (although I don't do it that way anymore - CWM advanced restore is much easier).
If your flashing you will want to learn how to do some kind of backup in order to recover from catastrophe, backups are your friend.

Backup and Restore

What do you guys typically do when you try out new ROMs and want to do a clean flash and get back up and running quickly?
1. Restore via Google
(Very slow to redownload everything, doesnt restore everything)
2. Sony Backup/Restore
(Sometimes Restore doesnt work)
3. Titanium Backup
(This is what I currently do, but can also be extremely slow)
4. Titanum Backup (creating update.zip for use in TWRP)
(Backup only seems to allow backup to internal storage so I run out of space)
5. Something Else
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Envious_Data said:
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Click to expand...
Click to collapse
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
eng3 said:
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
Click to expand...
Click to collapse
I think i made a bit of a typo there
when going to flash
- backup
- wipe
- flash rom
- flash gapps if needed
when going to restore
- wipe (cache, art cache)
- restore
I'm sorry, I still don't understand.
1. You backup (system, data, etc)
2. wipe
3. Flash rom (which writes new rom to system and data)
4. Then you restore your backup, which now overwrites system and data, thus erasing the new rom you just flashed
I need a way to restore apps and app data while keeping the new rom, otherwise it defeats the purpose

Saving settings and data while updating LineageOS

So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
heybaybee said:
So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
Click to expand...
Click to collapse
Boot into TWRP, select the Backup option, then select "advanced", select the data partition but do not select any other partition, swipe the slider to start the backup. When the backup finished, move the backup file to external sdcard or PC if you don't have external sdcard.
When you flash your ROM(do not store your ROM and gapps in your internal storage, store it on external, if you, don't have external, store it in your internal but don't wipe your internal when you do your wipes), wipe system, data, cache and dalvik cache then flash your ROM. After the ROM finishes, while still in TWRP, you can either go ahead and restore the data backup that you created or you can reboot into system to let the ROM do its initial load then immediately power off, reboot into TWRP, select Restore, then restore the backup of your data partition and reboot the device. I would let the ROM boot then go back to TWRP and then restore the data.
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
heybaybee said:
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
Click to expand...
Click to collapse
1) no downside, it restores all settings, apps and app data to exactly what you had before flashing the update.
2) no downsides, it is just that letting the ROM boot first then going back and restoring the backup reduces chances of things being buggy after the update.
I recommend that you boot into TWRP, select Backup and make a full backup of everything except for internal storage. Then, when you flash your ROM then let it boot then go back to TWRP, select Restore, then select "advanced restore" then select only the data partition and none of the others(this will restore only the data partition from the backup and not the others), then swipe the slider to start the restore process then reboot the device.
The reason I say to create a full backup of everything is so that you have a working backup to restore if something goes wrong with the update process. It gives you a restore point to go back to so you can troubleshoot what went wrong then try again. And if everything goes right with the update, you won't need to restore the whole backup, you can just do the advanced restore and restore only the data partition and then you should be where you want to be.
I don't know if this will backup and restore your SMS/MMS text messages, you may need to backup/restore those via one of the SMS backup and restore apps in the PlayStore, there are several that can do this.
Thank you again.
Does this backup work for migration between any custom ROMs let's say from LineageOS to PixelExperience or only between versions of the same ROM like from Lineage 18 to 19?
Is it possible to migrate the same set of settings and data from stock ROM with locked bootloader to a custom ROM?
Sincerely

Categories

Resources