Can I restore a TWRP backup of my /data partition to a different device? - ONE Q&A, Help & Troubleshooting

Hello, I have a Oneplus One whose screen seems to be on the verge of death. The screen is constantly artifacting and flickering and turning off so much it's basically unusable. I was able to make a backup of the /data partition using TWRP recently before this occurred and I managed to pull my music and photos and other important files using ADB. I already performed a screen repair on this phone a while ago (likely the cause of the current issue) and I think I'm going to just get a new phone, likely the Oneplus X. Now I'm wondering if the backup of my /data partition from my OPO will restore nicely on a different device. If not, is there any way I can make a backup of my apps and app data on my OPO with only ADB and no root that will easily transfer to a different device?

Rallph said:
Hello, I have a Oneplus One whose screen seems to be on the verge of death. The screen is constantly artifacting and flickering and turning off so much it's basically unusable. I was able to make a backup of the /data partition using TWRP recently before this occurred and I managed to pull my music and photos and other important files using ADB. I already performed a screen repair on this phone a while ago (likely the cause of the current issue) and I think I'm going to just get a new phone, likely the Oneplus X. Now I'm wondering if the backup of my /data partition from my OPO will restore nicely on a different device. If not, is there any way I can make a backup of my apps and app data on my OPO with only ADB and no root that will easily transfer to a different device?
Click to expand...
Click to collapse
You can make a data backup..but unless you install exact android version (e.g from 8.0 one plus one to 8.0 One plus x) on other phone you might face minor problems..
Or you can use pc software like mobogenie/moborobo to make your backup

dmilz said:
You can make a data backup..but unless you install exact android version (e.g from 8.0 one plus one to 8.0 One plus x) on other phone you might face minor problems..
Or you can use pc software like mobogenie/moborobo to make your backup
Click to expand...
Click to collapse
Ok, in that case would you happen to know where I could find a build of CM13 (Android 6.0.1) for the OPX? If not, do you know if a build of stock Android 6.0.1 would still work? CM shutting down hasn't really made things easier, and Lineage OS doesn't host CM13 builds for the X.
My plan is to flash 6.0.1 to the X as well as root it so that I can backup all the apps using titanium backup, and then wipe the phone again and do a clean install of LineageOS and restore my apps.

Rallph said:
Ok, in that case would you happen to know where I could find a build of CM13 (Android 6.0.1) for the OPX? If not, do you know if a build of stock Android 6.0.1 would still work? CM shutting down hasn't really made things easier, and Lineage OS doesn't host CM13 builds for the X.
My plan is to flash 6.0.1 to the X as well as root it so that I can backup all the apps using titanium backup, and then wipe the phone again and do a clean install of LineageOS and restore my apps.
Click to expand...
Click to collapse
I have no idea.. but you can google that...also check the one plus x thread
Recommend--The best option and easiest for you would be using an android desktop manager like moborobo/mobogenie... Give that a try..

Better use Titanium Backup. It's confirmed that it works

Related

[Q] Dual, Tri, or Quad-Boot?

I'd like to quad-boot my Nexus 5 with Android, Ubuntu Touch, Sailfish, and Firefox OS. Can this be done? I would also happily settle for tri-boot or dual-boot. What is the best way to go about this? My phone is not rooted (yet).
Multirom, probably
Thanks, I've been researching this all morning and I've come up with a couple problems.
There doesn't seem to be a way to do a full backup of the stock phone. A Nandroid backup would be perfect but in order to do that, custom recovery must be installed which requires unlocking the bootloader which wipes the phone. One of MultiROM's features is "Boot from USB drive attached via OTG cable". Can I do that and leave the phone's internal memory 100% untouched so I don't have to unlock the bootloader and wipe the phone?
It sounds like MultiROM itself requires custom recovery so I won't be able to receive OTA updates for an Android booted from MultiROM. Does that mean I will have to wipe Android each time I want to update it?
I don't think there would be any need to root the phone in order to set up and use MultiROM, correct?
You do have to unlock bootloader.
Think you are trying to run before you can walk. With 4 roms where would you store apps as well for them all. Most of those have little support anyway
SENT BY ENTANGLEMENT
Aren't apps written to the ROM are you're using the OS like the rest of the user data?
Lack of support is OK.
Can I leave the phone's memory untouched and install MultiROM on a USB stick? I would think custom recovery would be required in order to boot from USB which would require unlocking the bootloader which wipes the phone.
You do have to unlock your boot loader and root your device for multirom to work,
Just back up your data and restore it after you finish the process.
I currently have an N5 with multirom installed and can boot
4.4.4
Dirty Unicorns 5.1.1
Pure White 5.1.1
Ubuntu Touch
FirefoxOS
The storage space is shared on android roms so you can view your file downloads, music and videos. You can view on Ubuntu Touch
The apps are separated by the Roms, so you can install the same app on each rom with different settings.
I have a 32 GB N5 with 580 songs, Copilot GPS app + data on the 4.4.4 rom, and a 2 TWRP backups (one for original 4.4.4 and one for the multirom) I still have 7.96 GB left of storage
qnc, the problem is there is no way to do a full backup without first unlocking the bootloader which wipes the phone. There are various backup techniques available but none of them restore your phone exactly as it was like a NANdroid backup/restore does.
Android shouldn't need to be rooted in order to install MultiROM. That can be done from the command line with the phone connected to a computer via USB.
Have you tried Sailfish OS? That's the one I'm most excited about due to their Android app compatibility layer.
xdadevelopersrocks said:
qnc, the problem is there is no way to do a full backup without first unlocking the bootloader which wipes the phone. There are various backup techniques available but none of them restore your phone exactly as it was like a NANdroid backup/restore does.
Android shouldn't need to be rooted in order to install MultiROM. That can be done from the command line with the phone connected to a computer via USB.
Have you tried Sailfish OS? That's the one I'm most excited about due to their Android app compatibility layer.
Click to expand...
Click to collapse
Ahh understood. I missed the full backup.
I only worry about SMS/MMS backups and pictures. I don't worry about app data.
Question what data would be lost if a full backup is not done?
I have not tried Sailfish OS, I will look into it to see what it is.
qnc said:
Question what data would be lost if a full backup is not done?
Click to expand...
Click to collapse
Google Authenticator stuff for one thing. But in general the point of a full backup for me is I don't have to think about it and I won't be surprised after the restore.
qnc said:
I have not tried Sailfish OS, I will look into it to see what it is.
Click to expand...
Click to collapse
It's created by the former Nokia OS team in Finland. You can actually run Android apps inside the OS.
xdadevelopersrocks said:
Google Authenticator stuff for one thing. But in general the point of a full backup for me is I don't have to think about it and I won't be surprised after the restore.
It's created by the former Nokia OS team in Finland. You can actually run Android apps inside the OS.
Click to expand...
Click to collapse
I see, I don't use Authenticator much, if at all.
I'm guessing that I probably don't since I don't worry about it. I change ROMs on my phone so much it would probably be a hassle for me.
Sailfish OS sounds very cool I will look at it and flash later today.
qnc said:
I see, I don't use Authenticator much, if at all.
I'm guessing that I probably don't since I don't worry about it. I change ROMs on my phone so much it would probably be a hassle for me.
Click to expand...
Click to collapse
So when you want to update a stock Android install, you have to backup/restore since you're using third-party recovery/bootloader?
Please let me know how you like Sailfish if you get a chance.
no i dont have to back up and restore for upgrade
since i upgrade manually i just flash everything except userdata image. i get the upgrade without deleting data.
also i flashed sailfish OS. it is really smoorh.
gestures are killing ubuntu.
im posting in sailfish right now.
Nice, my Nexus 5 shows up today (right after the 5 o'clock free crack giveaway) so I'll be dialing in MultiROM over the weekend.
So you keep your userdata on a separate image? How do you do that?
xdadevelopersrocks said:
Nice, my Nexus 5 shows up today (right after the 5 o'clock free crack giveaway) so I'll be dialing in MultiROM over the weekend.
So you keep your userdata on a separate image? How do you do that?
Click to expand...
Click to collapse
It is just a matter of flashing each image individually.
I'm on my phone so I can't find the link, but there are directions on how to update while saving user data.
You just flash bootloader, recovery, system, boot, radio images and do not flash userdata image.
You systems is upgraded and you keep you user data and apps.
You then must root and ad back custom recovery, but thstcis pretty simple.
There are directions on XDA I just can't find link on my phone right now.

[Completed] Can I backup my android phone apps and app data from the custom recovery menu?

I was using latest cyanogenmod versions on my Moto g safely for the past 2 months or so. Today after trying to restart my device it got stuck on the boot animation. I am fairly confident that I can simply reinstall the OS to fix this issue however as far as I know, only media files will stay intact whereas apps and their data will vanish. If I understood correctly, the backup option through the recovery (CWM in my case) will backup entire ROM, so I tried using one available through "adb backup" command when phone is plugged in my PC. However it asks me to unlock and confirm it on my phone so I guess the OS needs to be actually running for this. Is there another way?
XDA Visitor said:
I was using latest cyanogenmod versions on my Moto g safely for the past 2 months or so. Today after trying to restart my device it got stuck on the boot animation. I am fairly confident that I can simply reinstall the OS to fix this issue however as far as I know, only media files will stay intact whereas apps and their data will vanish. If I understood correctly, the backup option through the recovery (CWM in my case) will backup entire ROM, so I tried using one available through "adb backup" command when phone is plugged in my PC. However it asks me to unlock and confirm it on my phone so I guess the OS needs to be actually running for this. Is there another way?
Click to expand...
Click to collapse
Hello, and welcome to XDA! You could try a clean install again, and you might find that the phone boots, or you could try flashing another rom. One option would be to check the cm thread to see if others have had this issue and if it's now been fixed, or to ask for help. Did you download your rom from an XDA thread? If so, ask in that thread. If not, try this rom and see if it solves the problem: http://forum.xda-developers.com/moto-g/orig-development/rom-official-cyanogenmod-12-nightly-t2994749. You would need to register in order to post.
Good luck!

how to update without losing data.

hi, i am new to the samsung phones, i rooted my device. is there any way to update the firmware without losing any data and apps ?? currently i am at G955FXXU1AQDG indian rom and a new update G955FXXU1AQE5 is available. i downloaded that rom from sam-mobile. can someone tell me how to do it
online22naveen said:
hi, i am new to the samsung phones, i rooted my device. is there any way to update the firmware without losing any data and apps ?? currently i am at G955FXXU1AQDG indian rom and a new update G955FXXU1AQE5 is available. i downloaded that rom from sam-mobile. can someone tell me how to do it
Click to expand...
Click to collapse
AFAIK you can't. A rooted phone can't accept the OTA. You would need to Odin the stock firmware, update and then root again.
ggrant3876 said:
AFAIK you can't. A rooted phone can't accept the OTA. You would need to Odin the stock firmware, update and then root again.
Click to expand...
Click to collapse
its a long process:crying:
online22naveen said:
hi, i am new to the samsung phones, i rooted my device. is there any way to update the firmware without losing any data and apps ?? currently i am at G955FXXU1AQDG indian rom and a new update G955FXXU1AQE5 is available. i downloaded that rom from sam-mobile. can someone tell me how to do it
Click to expand...
Click to collapse
If you want to stick with the rooted stock ROM, my suggestion would be to backup your phone to the Samsung Cloud, then Odin the new ROM, then restore from the Samsung Cloud. You will get most of your stuff back, including screen layouts, widgets and apps.
If you use one of the fine ROMs by one of the XDA developers - they eventually usually come up with new versions that include the lastest bases, and many times, not every time, you can dirty flash it over your existing ROM and not have to restore much if anything. Of course, your experience may be different so make a nanroid backup via TWRP first.
Flame Red said:
If you want to stick with the rooted stock ROM, my suggestion would be to backup your phone to the Samsung Cloud, then Odin the new ROM, then restore from the Samsung Cloud. You will get most of your stuff back, including screen layouts, widgets and apps.
If you use one of the fine ROMs by one of the XDA developers - they eventually usually come up with new versions that include the lastest bases, and many times, not every time, you can dirty flash it over your existing ROM and not have to restore much if anything. Of course, your experience may be different so make a nanroid backup via TWRP first.
Click to expand...
Click to collapse
thanks for the help, i will stick to the stock rom and restore apps from titanium would be better i guess.
I updated my rooted S8+ by making a nandroid backup with TWRP first and then flashing the updated ROM (which will totally wipe your device and remove root).
After that I flashed the TWRP recovery again, formatted through TWRP, and then flashed no verity/Magisk etc. I booted into the system normally once just to be on the safe side and check that everything was looking good.
Lastly, I went back to TWRP and used my nandroid backup and the restore function to bring back just the Data partition and my phone was completely restored. All apps, settings, wallpapers, text messages etc etc where restored with 0 issues exactly how I left them.
Keep in mind that the data partition will not back up user data on the internal memory like pictures, videos and some downloads. You'll want to copy the contents of your internal memory to a PC or external memory and then copy them back and merge them with the new folders at the end. :good:
xeathpk said:
I updated my rooted S8+ by making a nandroid backup with TWRP first and then flashing the updated ROM (which will totally wipe your device and remove root).
After that I flashed the TWRP recovery again, formatted through TWRP, and then flashed no verity/Magisk etc. I booted into the system normally once just to be on the safe side and check that everything was looking good.
Lastly, I went back to TWRP and used my nandroid backup and the restore function to bring back just the Data partition and my phone was completely restored. All apps, settings, wallpapers, text messages etc etc where restored with 0 issues exactly how I left them.
Keep in mind that the data partition will not back up user data on the internal memory like pictures, videos and some downloads. You'll want to copy the contents of your internal memory to a PC or external memory and then copy them back and merge them with the new folders at the end. :good:
Click to expand...
Click to collapse
thanks for help...i will do the same.

Anyway to clean flash Android 10 stable without losing data?

Hey guys just wondering if anyone knows how to clean flash update to 10 stable from 9 without losing data? I want to try android 10 but don't want to lose all my data and if I use Titanium Backup, it usually messes up notifications when I restore my apps? Any help appreciated !
Doing a clean flash is losing data, u will want to dirty flash
https://forum.xda-developers.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414
Bradl79 said:
Doing a clean flash is losing data, u will want to dirty flash
https://forum.xda-developers.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414
Click to expand...
Click to collapse
Thanks, does dirty flashing slow the phone down at all?
valeriee said:
Thanks, does dirty flashing slow the phone down at all?
Click to expand...
Click to collapse
It can cause issues. Many advice never to do it but many do it and deal with what ever gremlins tend to happen.
valeriee said:
Thanks, does dirty flashing slow the phone down at all?
Click to expand...
Click to collapse
I have dirty flashed every single update since the phone has came out and no real issues yet. But the above post is correct it can cause some issues but u can dirty flash and if u come across any then clean flash but u should be good.
Bradl79 said:
Doing a clean flash is losing data, u will want to dirty flash
https://forum.xda-developers.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414
Click to expand...
Click to collapse
It really depends on which android/ oxygen OS you are updating to. If you are in 9.5.X and updating to 9.5.XX, then a dirty flash is ok. But if you are upgrading to Android 10/ OOS10, then it's better to clean flash
amirage said:
It really depends on which android/ oxygen OS you are updating to. If you are in 9.5.X and updating to 9.5.XX, then a dirty flash is ok. But if you are upgrading to Android 10/ OOS10, then it's better to clean flash
Click to expand...
Click to collapse
How did you keep your data when you clean flash? Or did you start over again? Thanks
valeriee said:
How did you keep your data when you clean flash? Or did you start over again? Thanks
Click to expand...
Click to collapse
It's impossible to keep your data on a clean flash unless you are previously rooted, have Titanium backup, did a complete backup, and saved that backup on a computer. Once you have clean flashed (and assuming you have rooted again), you can restore the data from the titanium backup. But.......if you are upgrading from 9.0 to 10.0, then it's not advisable to restore app data from titanium backup as the backup will have 9.0 data while you are on 10.0. It will lead to force closes eventually making you to uninstall and reinstall the apps.
P.S.: and if ever you figure out how to root 10.0 let me know
amirage said:
It's impossible to keep your data on a clean flash unless you are previously rooted, have Titanium backup, did a complete backup, and saved that backup on a computer. Once you have clean flashed (and assuming you have rooted again), you can restore the data from the titanium backup. But.......if you are upgrading from 9.0 to 10.0, then it's not advisable to restore app data from titanium backup as the backup will have 9.0 data while you are on 10.0. It will lead to force closes eventually making you to uninstall and reinstall the apps.
P.S.: and if ever you figure out how to root 10.0 let me know
Click to expand...
Click to collapse
I just downloaded the 10 file zip from oxygen updater and flashed it with twrp zip and magisk in twrp. Get root from this method
amirage said:
It's impossible to keep your data on a clean flash unless you are previously rooted, have Titanium backup, did a complete backup, and saved that backup on a computer. Once you have clean flashed (and assuming you have rooted again), you can restore the data from the titanium backup. But.......if you are upgrading from 9.0 to 10.0, then it's not advisable to restore app data from titanium backup as the backup will have 9.0 data while you are on 10.0. It will lead to force closes eventually making you to uninstall and reinstall the apps.
P.S.: and if ever you figure out how to root 10.0 let me know
Click to expand...
Click to collapse
IMHo Titanium backup is abandoned project. It was my favorite root app a while ago.
Now when I was migrating from OnePlus 6t to OnePlus 7 pro (same android version) I had lots of force closes after restoring data or no restore at all. Even OnePlus migration app did a better job. So I am actively searching for alternatves now
vukis said:
IMHo Titanium backup is abandoned project. It was my favorite root app a while ago.
Now when I was migrating from OnePlus 6t to OnePlus 7 pro (same android version) I had lots of force closes after restoring data or no restore at all. Even OnePlus migration app did a better job. So I am actively searching for alternatves now
Click to expand...
Click to collapse
Swift Backup
vukis said:
IMHo Titanium backup is abandoned project. It was my favorite root app a while ago.
Now when I was migrating from OnePlus 6t to OnePlus 7 pro (same android version) I had lots of force closes after restoring data or no restore at all. Even OnePlus migration app did a better job. So I am actively searching for alternatves now
Click to expand...
Click to collapse
Yeah I agree. I wasn't 100% it was abandoned but if that's the case, what a shame. That was a classic application that people have been using for years.
valeriee said:
Thanks, does dirty flashing slow the phone down at all?
Click to expand...
Click to collapse
I did a local install from 9 to 10 using the full download package.
No issues. I like to walk on the wild side though.
I always dirty flash via local upgrade.
vukis said:
IMHo Titanium backup is abandoned project. It was my favorite root app a while ago.
Now when I was migrating from OnePlus 6t to OnePlus 7 pro (same android version) I had lots of force closes after restoring data or no restore at all. Even OnePlus migration app did a better job. So I am actively searching for alternatves now
Click to expand...
Click to collapse
i'm still on OnePlus 6 [OP6] (it's the last model, with headphone socket )
and i have huge love for Titanium Backup [TiBu], however i have read that it's kind of broken for Android 10
for those migrating to OP7 or to Android 10, it did not work properly, etc.
there are ways to prevent TiBu to avoid "no restore", e.g. in "App Processing Mode" to play around with options called 'AUTO, Indirect' or 'INTERACTIVE').
there alternatives which are gaining more popularity to TiBu
oandbackup [F-Droid]
-- https://f-droid.org/de/packages/dk.jens.backup/
Swift Backup [Google Play]
-- https://play.google.com/store/apps/details?id=org.swiftapps.swiftbackup&hl=en_AU
^ this apparently needs you to stay logged into Google Play
metaxda said:
Swift Backup [Google Play]
-- https://play.google.com/store/apps/details?id=org.swiftapps.swiftbackup&hl=en_AU
^ this apparently needs you to stay logged into Google Play
Click to expand...
Click to collapse
I already switched using swift backup. Developer is very active and supportive in telegram. But I didn't had a chance for testing it with a phone migration yet.

Stops receiving or making calls

Having weird issues with a Pixel 3 were it will stop making or receiving calls. I can clear the cache and reboot and that often works but I am unsure how many calls I may have missed. Text still works the entire time. I am on the latest Android 11 build with an unlocked bootloader and magisk installed just the restore data with Titanium Backup from previous phone. Not a fan of all the stupidness that got changed/added with Android 12. Willing to try custom roms if that is the right direction. Any thoughts?
toasterboy1 said:
Having weird issues with a Pixel 3 were it will stop making or receiving calls. I can clear the cache and reboot and that often works but I am unsure how many calls I may have missed. Text still works the entire time. I am on the latest Android 11 build with an unlocked bootloader and magisk installed just the restore data with Titanium Backup from previous phone. Not a fan of all the stupidness that got changed/added with Android 12. Willing to try custom roms if that is the right direction. Any thoughts?
Click to expand...
Click to collapse
If you restored data from Titanium Backup, that may be your problem. Titanium Backup has not been updated for two years, and does not work well with newer versions of Android. The restore part caused the most problems. TB has pretty much been abandoned.
dcarvil said:
If you restored data from Titanium Backup, that may be your problem. Titanium Backup has not been updated for two years, and does not work well with newer versions of Android. The restore part caused the most problems. TB has pretty much been abandoned.
Click to expand...
Click to collapse
Thanks for the response. I noticed it had not been restoring apps for a while so I just resorted to restoring mostly game data with it. Wondering if I use Easy Backup & Restore to save my data then wipe and reinstall OS and apps then restore data if that would fix it.
toasterboy1 said:
Thanks for the response. I noticed it had not been restoring apps for a while so I just resorted to restoring mostly game data with it. Wondering if I use Easy Backup & Restore to save my data then wipe and reinstall OS and apps then restore data if that would fix it.
Click to expand...
Click to collapse
It is certainly worth trying. I don't know anything about Easy Backup - I use Swift Backup, and have successfully restored data from one phone to another using it. It might depend on what Android version was on your old phone, though. I recall reading somewhere that restoring data from different Android versions could cause problems.
dcarvil said:
It is certainly worth trying. I don't know anything about Easy Backup - I use Swift Backup, and have successfully restored data from one phone to another using it. It might depend on what Android version was on your old phone, though. I recall reading somewhere that restoring data from different Android versions could cause problems.
Click to expand...
Click to collapse
Finally got around to trying this after replacing the loud speaker on another Pixel 3. Seemed to work well. We will see if this solves the call problems.

Categories

Resources