How do I restore a TWRP backup. - Samsung Galaxy S10 Questions & Answers

If anyone would kindly tell me.
Currently my phone has a network problem where data disconnects every 5 minutes or so them reconnects again a few moments later. Network settings restore didn't work so I want to restore a backup I made a few months ago.
I know data couldn't be backed up earlier and can't be restored, but I'm only wanting the system, but I'm not sure how to go about it.
Should I wipe system then restore or just dirty flash system over top? Will the current data partition be affected in any way?
Phone is rooted with Magisk.
I'm planning on reinstalling many apps and their corresponding system/storage data using O&backupX afterwards as well.

Bump

It's been a long time since I restored a TWRP image, but I basically erased the phone then flashed the backup data over. IIRC, this didn't really work for me back then, as it left me with a non-working phone, so I gave up on restoring backups at all and just migrated data myself from the backup folder. In other words, I'd say you should reflash the ROM you want "fresh" and then just pull data from the backup as needed. But you can certainly try the restore first... you might have better luck than I had.
I think a wipe/erase is important as the backups aren't bit-wise images... back then, it was just file-copied over. For this reason, any stray files would not be removed with a dirty flash. It could work, in theory, but it is cleaner to wipe first, of course.

schwinn8 said:
It's been a long time since I restored a TWRP image, but I basically erased the phone then flashed the backup data over. IIRC, this didn't really work for me back then, as it left me with a non-working phone, so I gave up on restoring backups at all and just migrated data myself from the backup folder. In other words, I'd say you should reflash the ROM you want "fresh" and then just pull data from the backup as needed. But you can certainly try the restore first... you might have better luck than I had.
I think a wipe/erase is important as the backups aren't bit-wise images... back then, it was just file-copied over. For this reason, any stray files would not be removed with a dirty flash. It could work, in theory, but it is cleaner to wipe first, of course.
Click to expand...
Click to collapse
Hi, thanks for replying.
I guess I wanted to try migrate current app settings with the older backup but realize this may cause problems. I'll try wipe system and cache, then restore them from an earlier backup then restore apps and their data selectively. Cheers!

Related

Saving a ROM's backup to my computer

I want to clear my phone completely back to bare-bones 2.1. I do want to save my last good set up with froyo, so;
1) Is it a good idea to do a complete restore.
2) Is it better to leave the phone as is (leaving b/u in tact) or can I save the last b/u to my computer? If so how (Tibu, ROM Man???). How would I return this file back to the phone if necessary?
I never do any more backing up than Titanium Backup of apps. I know clockwork recovery can make a nandroid backup. It saves it to a folder on the internal sd card (Clockworkmod I think) and you could copy that to your computer. Then copy it back if you want to restore. The feature is there, I assume it works, but I have never personally done it. You could do all this through clockwork recovery, make the back up, and restore later if you want. You can leave the backup on your phone after you go back to stock, odin will not clear it off unless you do a "Master Clear". Then you would just have to reflash clockwork recovery, and you could restore.
I've transferred both tibu and nandroid (rom manager) backups to my pc and then restored from them after a master clear by copying them back to the phone from the pc. With the nandroid backup, you have to reinstall the rom first, and it must be the same rom you backed up.
Sent from my SAMSUNG-SGH-I897 using XDA App
Good advice thanks:
quarlow said:
I never do any more backing up than Titanium Backup of apps. I know clockwork recovery can make a nandroid backup. It saves it to a folder on the internal sd card (Clockworkmod I think) and you could copy that to your computer. Then copy it back if you want to restore. The feature is there, I assume it works, but I have never personally done it. You could do all this through clockwork recovery, make the back up, and restore later if you want. You can leave the backup on your phone after you go back to stock, odin will not clear it off unless you do a "Master Clear". Then you would just have to reflash clockwork recovery, and you could restore.
Click to expand...
Click to collapse
and
creepyncrawly said:
I've transferred both tibu and nandroid (rom manager) backups to my pc and then restored from them after a master clear by copying them back to the phone from the pc. With the nandroid backup, you have to reinstall the rom first, and it must be the same rom you backed up
Click to expand...
Click to collapse
I was thinking this was the case. My only concern is on the re-install, would I be correct in my asumption, that not only would I need the rom installed but the theme as well?
tomween1 said:
Good advice thanks:...would I be correct in the thought that not only would I need the rom installed but the theme as well?
Click to expand...
Click to collapse
Disclaimer: I've not tried it. A nandroid backup restores everything in the rom plus apps, but not the kernel, so it should restore your theme and your apps. In that case you may not even need the tibu.
Sent from my SAMSUNG-SGH-I897 using XDA App
creepyncrawly said:
Disclaimer: I've not tried it. A nandroid backup restores everything in the rom plus apps, but not the kernel, so it should restore your theme and your apps. In that case you may not even need the tibu.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Well it's done, we'll see how it goes when I need it
I think the trick is having a working base rom and it being the same as the backup. Id be curious to try restoring a previous version of the same rom. How bad could it get?
Sent from my GT-I9100 using XDA App
Want to know about backing up roms and restoring them
I want to know wheter we can backup a rom of one mobile and restore it in other mobile. please answer asap.
Abhishek1008 said:
I want to know wheter we can backup a rom of one mobile and restore it in other mobile. please answer asap.
Click to expand...
Click to collapse
That may not be a simple question to answer with any certainty. I would not even consider attempting it unless both phone models are exactly the same, you didn't say for sure that this is what you were meaning. If the models are the same: insure they have the same bootloader and modem installed. Then I still would not do it unless the ROM on the second phone is comparable to the ROM you are moving to it. The reason for this caution is that partitioning schemes are not the same on all ROMs, it can even change in a newer version of the same ROM.
dawgdoc said:
That may not be a simple question to answer with any certainty. I would not even consider attempting it unless both phone models are exactly the same, you didn't say for sure that this is what you were meaning. If the models are the same: insure they have the same bootloader and modem installed. Then I still would not do it unless the ROM on the second phone is comparable to the ROM you are moving to it. The reason for this caution is that partitioning schemes are not the same on all ROMs, it can even change in a newer version of the same ROM.
Click to expand...
Click to collapse
This :good:

[Q] Laggy/Sluggish Response

Ok. I'm rooted, running decrapified 1.1 My issue right now (one of 3) is that some times, ok a lot of times, I'll try to click an icon, or activate the phone or whatever and it will take a long time before anything happens. By long time, I mean at least 30 - 45 seconds. This is my second REVO, so I'm wondering if its just a device thing or if I have something that is jacking my system. I have restored apps via Titanium, but never system data. I'm at a loss here, and while its past time to return my phone, it, along with the other two major issues is getting to be a major pain in the arse.
Any thoughts anyone? Could something that I backed up in Titanium have a corrupt file or something?
I truly appreciate any and all help.
Thanks All
Here's something quick to try:
make a nandroid backup of your phone through Clockwork
from within clockwork, wipe data
reboot your phone and use the phone without restoring your data (link your market account, and sync your apps from market + contacts, but don't restore any backups)
If the phone works fine after that, it was just simply a data corruption issue. I've had that happen MANY times on my tester Revo.. things would just get wonky on it.
If the phone is still having problems after wiping data, come to the #lgrevolution IRC channel on freenode, I can help you on there.
thecubed said:
Here's something quick to try:
make a nandroid backup of your phone through Clockwork
from within clockwork, wipe data
reboot your phone and use the phone without restoring your data (link your market account, and sync your apps from market + contacts, but don't restore any backups)
If the phone works fine after that, it was just simply a data corruption issue. I've had that happen MANY times on my tester Revo.. things would just get wonky on it.
If the phone is still having problems after wiping data, come to the #lgrevolution IRC channel on freenode, I can help you on there.
Click to expand...
Click to collapse
Thanks TheCubed!! I figured that would fix things, but it always helps to have a back up opinion. You are spot on. So far so good. I've deleted all old titanium backups so I don't run into this problem again..

[Q] Stupid Question

I've rooted my phone and I want to get the new MaximusHD ROM (4.3, HTC Sense, Rooted)
How can I replace my ROM while preserving my data (WhatsApp messages, pictures, etc)?
I am sorry but I am coming from the world of Apple and iTunes did everything for me. Android is a totally new beast!
Use titanium Backup from playstore
Sent from my HTC One using xda premium
Philipp_94 said:
Use titanium Backup from playstore
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Thanks
I downloaded the software.
What do I do? There are so many options. I don't need to backup the apk because I can redownload it from the Play Store.
All i care about is my user data.
Can I flash my ROM without losing data?
wirelessrevolution said:
Thanks
I downloaded the software.
What do I do? There are so many options. I don't need to backup the apk because I can redownload it from the Play Store.
All i care about is my user data.
Can I flash my ROM without losing data?
Click to expand...
Click to collapse
What do you mean by user data?
Pics music videos etc, basically anything in your SD card will be saved.
I think.
App data, you need to backup the whole app. That's how Ti backup works. You can't download the app form play store and apply your user data to it.
EDIT: just make a nandroid. Then backup whatever you need. If the restore fails, then you have something to fall back on.
Sent from my HTCONE using xda app-developers app
sauprankul said:
What do you mean by user data?
Pics music videos etc, basically anything in your SD card will be saved.
I think.
App data, you need to backup the whole app. That's how Ti backup works. You can't download the app form play store and apply your user data to it.
EDIT: just make a nandroid. Then backup whatever you need. If the restore fails, then you have something to fall back on.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Thanks but I have no idea what a nandroid is or how to do it.
wirelessrevolution said:
Thanks but I have no idea what a nandroid is or how to do it.
Click to expand...
Click to collapse
Go to TWRP (personal favorite) or CWM.
Then, back up EVERYTHING.
Except media. But I'm not sure that's actually an option lol.
Oh yeah no need to back up the cache or the recovery either.
I believe CWM doesn't let you choose, you just hit back up and it backs up what it needs to.
Note: you can not selectively restore from a nandroid very easily. It is meant to be sort of a time machine, so if something screws up, you just restore your phone back to how it was.
Sent from my HTCONE using xda app-developers app
Dirty vs Clean install
sauprankul said:
Go to TWRP (personal favorite) or CWM.
Then, back up EVERYTHING.
Except media. But I'm not sure that's actually an option lol.
Oh yeah no need to back up the cache or the recovery either.
I believe CWM doesn't let you choose, you just hit back up and it backs up what it needs to.
Note: you can not selectively restore from a nandroid very easily. It is meant to be sort of a time machine, so if something screws up, you just restore your phone back to how it was.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Yeah, TWRP lets you back up all your info. You can pick and choose and it lets you back up the current rom, so if you have issues you can go back to it. Copy that folder to a computer, because what you want to do is a dirty flash and might run into problems. It's best to flash by wiping clean and then replacing or you run into problems with the rom with some of the data.
Just my opinion.
My advice would be to read a lot more about how nandroid backups work and about how backup apps like Titanium Backup work as well before trying anything.
That being said the above advice about doing a nandroid from recovery is a must, especially if you're new to the android world and aren't sure what you're doing. The nandroid is your fail-safe in case anything goes wrong. It will allow you to restore your phone back to exactly how it was when you did the backup.
As far as bringing the app data that you want into your newly flashed rom, this is what I do:
1. Have a rooted device
2. Download Titanium Backup (I bought the pro version, I think you need it to do batch backup/restore)
3. Batch backup all user apps (I also backup my call log and sms/mms messages)
4. Reboot device to recovery and perform a nandroid backup
5. Flash new rom
6. Wipe data/Factory reset
7. Reboot into new rom
8. After doing all the initial device setup (google account, etc.) install Titanium Backup and restore all missing apps NOTE: RESTORE ONLY THE APPS NOT THE DATA!
9. Now this is the part that I do that technically isn't recommended because restoring data can cause issues but it's the only way I've found to restore app data that otherwise can't be restored. Do a batch "restore all apps and data" but select "data only" and "deselect all" and go through and manually select only the apps you really need to restore the data (this can also be done manually through Titanium but I still use the batch function). Also I restore the call log and sms/mms at this step.
Hopefully this helps. Best advice I can give you though is before you do anything, make sure you understand all of the steps completely. I've lost everything too many times because I didn't know what I was doing.
bluetint said:
As far as bringing the app data that you want into your newly flashed rom, this is what I do:
6. Wipe data/Factory reset
8. After doing all the initial device setup (google account, etc.) install Titanium Backup and restore all missing apps NOTE: RESTORE ONLY THE APPS NOT THE DATA!
9. Now this is the part that I do that technically isn't recommended because restoring data can cause issues but it's the only way I've found to restore app data that otherwise can't be restored. Do a batch "restore all apps and data" but select "data only" and "deselect all" and go through and manually select only the apps you really need to restore the data (this can also be done manually through Titanium but I still use the batch function). Also I restore the call log and sms/mms at this step.
Hopefully this helps. Best advice I can give you though is before you do anything, make sure you understand all of the steps completely. I've lost everything too many times because I didn't know what I was doing.
Click to expand...
Click to collapse
Question:
Why can't he restore apps and data together? I've anyways done that, and it's seemed to have worked for me. Maybe I just didn't notice any lost data?
Also. Restoring with the free version is a pita because you have to give it permission for every app individually.
Just saying.
And you do not need to wipe your media, but I recommend that you back it up.
Also: WOAH WOAH WOAH. Did you just tell the OP to flash a ROM, THEN wipe?
I'm pretty darn sure you should not do that.
Sent from my HTCONE using xda app-developers app
sauprankul said:
Question:
Why can't he restore apps and data together? I've anyways done that, and it's seemed to have worked for me. Maybe I just didn't notice any lost data?
Also. Restoring with the free version is a pita because you have to give it permission for every app individually.
Just saying.
And you do not need to wipe your media, but I recommend that you back it up.
Also: WOAH WOAH WOAH. Did you just tell the OP to flash a ROM, THEN wipe?
I'm pretty darn sure you should not do that.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
The reason I say not to restore data for every app is that not every app needs it's data restored to get everything back (i.e. Google Hangouts, Facebook, Twitter, etc.) and I've always been warned that restoring data can cause issues. So my reasoning is the less I restore the better.
And I know using the free version of Titanium Backup is a PITA, that is why I said I use the paid version.
I never said to wipe media (I assume you mean the virtual sdcard) I said to wipe data/factory reset (the name of the option in CWM)
And there is nothing wrong with wiping after a flash. The wipe gets rid of user apps/data, anything installed with the rom is fine. If I'm mistaken, I apologize. However, I have never had an issue wiping after a flash.
If the OP doesn't want to follow my advice that's fine, I was simply describing what I've been doing on various devices for the last couple of years.

TWRP Restore - no data restore

Hi, looking for some help if someone would be kind enough.
I wanted to try out Cyanogenmod. I made a backup in TWRP. Installed CM and played around for a while. Decided to go back to stock. Went to restore and the restore fails on data. I decided to see if everything else restores, so I unchecked data and everything else went fine. It's only the data that will not restore.
Anyone have any idea why that might be? I'd like to get everything back if possible. I read on another site I might be able to pull the TWRP backup and restore with titanium backup. Gonna look into that.
Any help would be appreciated, thanks.

Reset Phone to Factory Settings

My phone's vibrate does not work anymore, and I believe it to be a hardware defect.
Is there any easy way to backup my data AND reset my phone back to factory settings? I have xnote 4.3 dual booting next to the stock 4.3 using safestrap.
No, I have not tripped the warranty void flag.
Your in Development thread. This should be in Q&A
FireKatV17N3...(FireGearV16).."ITS A GO FELLAS"
DrShenanigan said:
My phone's vibrate does not work anymore, and I believe it to be a hardware defect.
Is there any easy way to backup my data AND reset my phone back to factory settings? I have xnote 4.3 dual booting next to the stock 4.3 using safestrap.
No, I have not tripped the warranty void flag.
Click to expand...
Click to collapse
You have four options:
1. Use safestrap to back up "data" only. And that only works if you're going to be using the same rom after factory resetting your phone.
2. Titanium back up app. Backs up everything you have. Once you're done your factory reset, restore. This might cause some issues if you restore the apps with their data. Try restoring apps only.
3. Helium app. It does the same thing titanium does, but with a very little chance of issues and it's easier to use.
4. Ask the mods to move your thread to where it belongs, because this is for the big guys only (developers....). lol
From my Allianced Note 3!
K-alz said:
You have four options:
1. Use safestrap to back up "data" only. And that only works if you're going to be using the same rom after factory resetting your phone.
Click to expand...
Click to collapse
Not even the same version ROM. I've backed up 4.4.2 data and restored it to Note 4 Evolution and to 4.4.4 stock.
2. Titanium back up app. Backs up everything you have. Once you're done your factory reset, restore. This might cause some issues if you restore the apps with their data. Try restoring apps only.
3. Helium app. It does the same thing titanium does, but with a very little chance of issues and it's easier to use.
Click to expand...
Click to collapse
Good choices if you don't have SS, but a SS data backup does everything in one shot, and with 4.3, installing SS (root, install Busybox [very important, or you'll drive yourself crazy], install SS) is kind of trivial. I spent last week on a new hobby - bricking my phone. (Not intentionally, but I bricked it about a dozen times playing with ROMS.) Back to stock rooted 4.4.2, Busybox, SS, restore data, wash, rinse, repeat.
BTW, make one system backup also. Then you don't have to Odin back to stock. (And keep your backups on a computer and, if you have toe space, on a cloud account. "Too many backups" is words that have no meaning.
Thank you Hashcode. I wish you were still able to keep SS updated. I'm on 4.4.2 because it's too much hassle to flash a 4.4.2 kernel, back up my data and flash a 4.4.4 kernel every time I think I should do a fresh backup.
I dun goofed.
I flashed the stock mj5 rom on top of safestrap, and checked "NAND Delete All" in odin thinking that it would delete all my apps like in itunes.
That was not the case, and my phone will no longer boot. How can I get safestrap removed from my phone while also allowing my phone to boot again?

Categories

Resources