Proper way to backup system, apps and settings - HTC One S

Since I just got stuck with a broken nightly on cyanogenmod I wanted to ask for a solid way to backup the system, apps and all settings of my device (which is a HTC one S ville).
I thought about backing up my cyanogenmod system with TWRP?
Is TWRP able to backup all the apps and app settings? Does it also include for exmple Tasker profiles?
What is a backup app like titanium for? Do I even need it if I back up frequently with TWRP?
Thanks in advance

The twrp backup is an exact image of all your partitions: cache, boot, system and data including the file system. It'll contain everything you have on your phone except sdcard. It's downside is that you cannot restore only a specific app or it's data, you have to restore all of them.
Titanium Backup on the other side, backups the apps and data and allows separate restore for each app.
If you do frequent twrp backups and you would restore everything at once, you don't need TB
Sent from nowhere over the air...

Rapier said:
The twrp backup is an exact image of all your partitions: cache, boot, system and data including the file system. It'll contain everything you have on your phone except sdcard. It's downside is that you cannot restore only a specific app or it's data, you have to restore all of them.
Titanium Backup on the other side, backups the apps and data and allows separate restore for each app.
If you do frequent twrp backups and you would restore everything at once, you don't need TB
Sent from nowhere over the air...
Click to expand...
Click to collapse
Agree TWRP

Related

[Q] What does nandroid backup contain?

Before people start coming in to flame me for using the search button, please let me clarify that i have looked into several threads on xda and none of them provided me with a clear cut answer of what i wanted to know.
I understand first of all is that nandroid backup is a complete image of what is on the phone which should include stuff like settings, sms, call logs, data etc. What i have not found, however, if they keep other files that are lying around in the phone. For example, most of my Nexus S consists of videos and music (7-10GB) and in separate folders that are not tied to any apps in particular. Hence, if they are included in nandroid backup i would not have sufficient storage to do so (reminder that Nexus S has 16 GB)
I have "accidentally" posted on the galaxy S forum of xda and someone pointed out that it backs up apps and data from the internal SD. As far as i know this is slightly different with Nexus S because i observed that most apps are already installed in the "external" SD portion of the data.
Overall, i'm just a little confused. Can anyone clarify this?
It is just apps and data. The sd card is i believe split so that it doesnt touch your music, videos, and images. It just takes care of the main system stuff like apps and settings. Hoped i helped
Sent from my Nexus S using XDA Premium App
But aren't most apps on the nexus S installed on the sd card section of the storage? At least they are under Settings->Application settings->Manage applications->USB Storage
For example my Gameloft games would be almost 1 GB in size so would that be backed up as well. I will end up with gigantic nandroid backups.
A nAnroid backup includes
.android_source - apps2sd information/apps stored on /sdcard
boot - boot image
cache - cache files stored on /cache
data - apps, dalvik other stuff on /data
recovery - recovery image
system - system apps, frameworks modules etc on /system
nadroid.md5 - md5 information
nandroids do not include anything on the /sdcard other than .android_source.
how to do it? by using CWM?? am i wrong or correct??
ciwek90 said:
how to do it? by using CWM?? am i wrong or correct??
Click to expand...
Click to collapse
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Maximilian Mary said:
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Click to expand...
Click to collapse
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid is basically all or nothing. There is an advanced restore which can restore only the partitions you want (like system or data), but it probably won't play nicely with a custom rom. Your best best is to use titanium backup for user apps & data, and perhaps some select system data like texts, bookmarks, and wifi settings. Check out the batch backup/restore options for user apps & data.
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
NOW i know it! Thank you so much @Maximilian Mary and @rentaric for helping me!
Nandroid = for backup/restore previous rom
Titanium = for backup/restore data & apps
Thanks again!
rentaric said:
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
Click to expand...
Click to collapse
Bro, does nandroid backup include the IMEI also?
heyimCHOLO said:
Bro, does nandroid backup include the IMEI also?
Click to expand...
Click to collapse
Some recoveries have this option buy many don't, just boot to your recovery and see if it is listed as an option, if not, then no
Your apps will still be on your sd card because your just restoring your operating system that you had with all of it settings it will show all of your apps you had but if you deleted it from the sd card when you try opening it it would say app not installed. Nandroid backup saves everything in settings and operating system apps will be on sd card. Some apps can be included in nandroid it just depends where they are located when back up is saved.

[Q] Backups and restore. Titanium and Nandroid.

I have few questions about backups:
Nandroid:
1) So when I restore from a nandroid backup what do I exactly restore. I restore the rom this means any .zip mods I installed are gone. Do I restore radio, kernel, firmware, hboot?
2) When I do nandroid backup what happens to applications and data?
Titanium
3) What exactly system data backup (batch) backups? If I want to backup my my settings and WI-fi pairings and sms and phone call history and maybe some other 2-3 little things. If I do system data backup I will backup these things but when I restore if my previous configurations had lots of bloatware would I get unwanted things on my new configuration and slow down my phone?
4) Backing all user apps backups only .apks it means it installs the applications again?
5)User apps+ data means it will reinstall the apps and include saves and settings and etc right?
6) I've heard when backing up apps it's better to skip data why?
Thank you!
1. If you restore a previous backup then your mods will be gone (if they were not in that backup). kernel & firmware restored; hboot & radio not.
2.They get backed up (but not the data from the SD Card - just internal memory).
3. What you select (in Batch you can select). You just delete bloatware using TB after restore.
4. Correct, for settings and data you need the APPS+DATA option
5. Right
6. To avoid any complication with newer/older firmware - I always restored with data, and had no issues.
Thank you!
I just didn't understand completly about nandroid backup and apps.
If I use my phone for 5 days and install 5 aps and do a backup then use it 6 more days and install 6 more aps. After I do a nandroid restore the 6 aps installed after backup are lost and from the 5 installed before backup the ones that are not on SD will be restored. Correct? And if this is correct the restored apps will be only apk or apk + data?
Nandriod backup is the backup of Whole System the things u flashed the boot animation the theme every bit of ur phone
while just titnaum backup just backups ur apps+data nothing Else
janarioo said:
Nandriod backup is the backup of Whole System the things u flashed the boot animation the theme every bit of ur phone
Click to expand...
Click to collapse
Except radio and hboot.
Sent from my HTC Pyramid using xda premium

Titanium Backup Restore Settings?

After I do a Factory Reset and Wipe Cache and Davlik Cache,
When I'm restoring Apps through Titanium Backup,
Which option won't mess up the system??
Restore Missing apps with data
Restore all system data
Restore missing apps + all system data
Restore newer versions of user apps
Restore all apps with data
??
I'm quite confused with this.
I do the missing apps + user data. This way if you load a new Rom and it already has apps you had previously Downloaded you dont have to reload them. Jumping from Rom to Rom with different bases though I always recommend reinstalling apps individually and then making a nandroid backup of that Rom in cwm recovery. I've ran into issues with titanium restoring data. so try it and if it doesn't act right then reflash and manually load apps.

[Q] Flashing ROM & Restoring Apps ect

If I flash a ROM and then want to restore all my apps and data, why should I use Titanium?
1. So I see that my google "Backup account" can backup my data and restore apps and there settings and data. So why use Titanium?
2. whats the difference between googles backup and Titanium's?
3. Can I use both together when restoring? I assume google will restore first and then I will restore from Titanium... Is there any reason to restore from google account?
4. And then there's TWRP and its backup: what I understand about this is if I do a backup before I flash Viper Rom then I can flash my backup if I want to return to my old ROM and it will restore the ROM and apps and all data (so I wouldn't need to restore from Titanium and/or google in this scenario?). Is this correct?
Thanks, smoka
the app data that is being talked about is rarely 3rd party app data.
http://www.howtogeek.com/140376/htg-explains-what-android-data-is-backed-up-automatically/
titanium lets you back up apps whenever you please it even lets you keep old copies around if for some reason there is something in an update you don't like.
your assumptions on TWRP are spot on however if you make a backup today and a month down the road you decide to flash back all your apps have data from a month ago and you loose all your new stuff.
Titanium also lets you extract data from a TWRP or CWM backup. at least on an M8 I've only gotten it to work if the backup is on the "internal sd card"
Titanium pro has a lot of additional features scheduled backups. you can sync to a google drive, dropbox, or box account. backing up only data/apps that have changed.
http://matrixrewriter.com/android/
also if you have backups of everything and all you have is a metered net connection you can reinstall the apps without dipping into whatever data pool you have.
n0ne980 said:
the app data that is being talked about is rarely 3rd party app data.
http://www.howtogeek.com/140376/htg-explains-what-android-data-is-backed-up-automatically/
titanium lets you back up apps whenever you please it even lets you keep old copies around if for some reason there is something in an update you don't like.
your assumptions on TWRP are spot on however if you make a backup today and a month down the road you decide to flash back all your apps have data from a month ago and you loose all your new stuff.
Titanium also lets you extract data from a TWRP or CWM backup. at least on an M8 I've only gotten it to work if the backup is on the "internal sd card"
Titanium pro has a lot of additional features scheduled backups. you can sync to a google drive, dropbox, or box account. backing up only data/apps that have changed.
http://matrixrewriter.com/android/
also if you have backups of everything and all you have is a metered net connection you can reinstall the apps without dipping into whatever data pool you have.
Click to expand...
Click to collapse
ok, so what if I do a Titanium backup and then use TWRP to restore from a backup "a month ago" and then will I still have my most resent Titanium backup to restore or will restoring the TWRP backup erase all my current data (titanium backup) on my phone?
thanks for you response
TWRP will not remove your Titanium backups unless you specifically tell it to wipe your sd card (sdcard2) or your personal data partition(sdcard1) depending on where you have it set to back things up to.
smokawhat said:
ok, so what if I do a Titanium backup and then use TWRP to restore from a backup "a month ago" and then will I still have my most resent Titanium backup to restore or will restoring the TWRP backup erase all my current data (titanium backup) on my phone?
thanks for you response
Click to expand...
Click to collapse
TWRP takes a snapshot of your system in time. I you do a TWRP nandroid, by default it will copy your /boot, /system, /recovery and /data partitions. Think of it like a restore point in Windows Restore - except better
Titanium Backup is more specific (and also or more limited): You use it for your apps and their data.
It becomes useful if you do a clean install as in: wiping your data partition.
Yes, you can also do a partial restore from TWRP and just restore the data partition of any given nandroid after a clean install, but since it's an image of your /data before the wipe it will also restore potential problems. Restoring with TiBu is somewhat "cleaner" since it re-installs your apps from a backup.
I make a nandroid of my system when I want to flash something new - a new rom or new mod - but I want to keep my option to return to my last working setup.
I use TiBu to reinstall my apps after a clean install.
Anyway - you can never have too many backups :laugh:
berndblb said:
TWRP takes a snapshot of your system in time. I you do a TWRP nandroid, by default it will copy your /boot, /system, /recovery and /data partitions. Think of it like a restore point in Windows Restore - except better
Titanium Backup is more specific (and also or more limited): You use it for your apps and their data.
It becomes useful if you do a clean install as in: wiping your data partition.
Yes, you can also do a partial restore from TWRP and just restore the data partition of any given nandroid after a clean install, but since it's an image of your /data before the wipe it will also restore potential problems. Restoring with TiBu is somewhat "cleaner" since it re-installs your apps from a backup.
I make a nandroid of my system when I want to flash something new - a new rom or new mod - but I want to keep my option to return to my last working setup.
I use TiBu to reinstall my apps after a clean install.
Anyway - you can never have too many backups :laugh:
Click to expand...
Click to collapse
What is TiBu?
Titanium backup.lol.
Sent from my Xperia Arc using XDA Free mobile app

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