Backup app data without root? - Google Pixel 2 Questions & Answers

This is the first time I have bought a phone without a known method for rooting. I have always used Titanium Backup to backup and restore apps+data whenever I bought a new phone but unfortunately without root, this won't work. Can some one suggest another method to transfer app data from my Oneplus 3T to Pixel 2? I tried Helium but it shows "Backup Disallowed" for several of my installed apps.

Did you try using the data transfer process that is part of the initial setup on the phone? It walks you through connecting a cable between your old phone and new one and then is supposed to transfer everything.
That said, people have had extremely inconsistent results with this. I've seen people say it transferred everything no problem. Others that it didn't work. For me in transferred a lot of phone settings, but not all, wifi passwords, but not contacts or calender data; and all it did with apps was redownload them from the store and not transfer the actual data and settings at all. I had to redo settings myself, manually copy data that was on the sdcard partition, and for any apps that had a feature to export their settings to a file and then reimport them on the other phone I did that by hand.
The other possible option that I'm aware of is to use the settings on your old phone that allows Google to backup your app data to the cloud and then sync it on the new phone. I did not do that, because I don't want Google to have all my personal information. But perhaps that works. I have the sense that the whole data transfer process works best when you just let Google invade your soul as deeply as possible, because that's what they are really after.
But those less than optimal options aside, I think that transferring app data without root is pretty much impossible, since most of it resides in the /data directory which is not accessible without root.
Yeah, this sucks. Personally this is the first and last time I will buy a device at the moment of release, before root is available.

Edit: Never mind, I see you already tried Helium

Android Debug Bridge is what you're looking for. In short: enable USB debugging, install ADB, connect to computer with USB.
You can backup an app with:
adb backup -f backupfileonyourcomputer.ab packagename
You can get the packagename from the address bar if you check the application page on Play Store in a browser.
Restoring an app:
adb restore backupfileonyourcomputer.ab
You could backup all apps at once, but then can only restore the whole bulk later. (Possible to extract apps, but it's tedious)
If you need more details just search for adb backup.
Cloud save is also working really well, as stated above, but some apps don't support it. I use adb to move those from one device to another. Finally some apps have backup disabled by the developers, well.... no luck if you have some of those.

Related

[Q] How do I modify my backup and restore manifest?

Hi xda,
Though my thread title may be a little vague and might supposedly be better asked on google or android per se, just patiently read along as I try to explain my dilemma in more detail.
For ICS users, we all know the convenience of the "backup & restore" feature. Everything from wifi passwords, contacts, and installed apps will be magically restored when you install a new firmware on your phone with a full data wipe. And for us flash junkies, that indeed is really convenient.
But even though I have come to love such feature, I've noticed a few quirks as I was using it over time. The backup manifest or shall I say, the list of backed up data gets cluttered as you continue to backup data over time. This leading to a point where my backup data is now so messed up, whenever it auto restores once again, I see previously uninstalled apps back again and duplicate contact entries. So messed up, that I've decided to stop using this much loved feature and just manually backup my contacts, and re-install apps.
So, I am looking for some solution that I might be somehow able to manually edit that current backed up list (over at google or wherever it's stored), and update which will be restored if ever I flash my phone again. Or wipe that list clean and overwrite it with my current phone state.
Sorry for the long post but I've done my googling and forum searching beforehand only to no avail.
You can forgo that feature entirely and use titanium backup instead, for backing up your personal app data...
Titanium acts a little twitchy when restoring system apps and data across roms with different bases...
Your best bet would be to backup your downloaded apps with titanium, backup contacts and msgs (and call logs) from other market apps (I use go backup)...
For bluetooth and wifi access points, I haven't found anything that is truly cross compatible among roms...so better of you just write it down somewhere and refer that later...
Typed using a small touchscreen

Backing up a Pixel 3a

What's the best way to backup a Pixel 3a?
I do NOT want to use google drive, google already has enough information about my device, they don't need my backups too.
I tried the adb backup way however it failed to restore correctly and was a mess. What's my other options?
Device is rooted fyi.
I always use Titanium Backup for apps. Worked well for me every time, even with different phones and android versions. Titanum is also able to sync the backups with google drive after encrypting them.
For full backup: TWRP
For Pictures and other folders: FolderSync Pro with private NAS
There is pretty much only Titanium as viable option when it comes to backing up apps. Other apps aren't as complete and don't come with compression.
If you just want to back up files just use any cloud storage or copy to your own server/computer

Whats the best way to do a full backup and flash it to a new Pixel 3a XL?

I recently messed up my current Pixel 3a XL trying to do some repairs on it (I'd rather not discuss it :crying:). I am probably just gonna end up biting the bullet and getting another one.
But here's where the problem comes in... If I could, I would like to do a full backup of my current Pixel and then just flash it all over to the new one once I get it. That'd make set up the easiest. But I dont have a working screen on the old one. So how would I go about doing that? I would also prefer if I didn't root the new one, so I could keep google pay and all that without having to mess with magisk or anything...
Should I just suck it up and deactivate/move 2FA and stuff by hand?
@Zombtastic if you are doing a backup to e.g. Google drive, you can easily set up your new device from an existing device and almost all of your apps and settings can be restored automatically ... beside those settings where the developer decided to not allow backup of the data / settings.
You can also do a ADB backup of your device as long as you have adb enabled on your device. With this option you can also backup the content of your (internal) sdcard but it has the same restrictions as the cloud backup: if a developer of an app decides to not allow backup of data and settings, nothing will be backed up.
All other solutions need root access and you can e.g. use something like Titanium Backup or the tools I am currently developing (https://forum.xda-developers.com/an.../tools-anddisa-backup-restore-tools-t4016617) ... but as they are still in an early stage and you do not have a working screen, it's on you whether you would like to try.
AndDiSa said:
@Zombtastic if you are doing a backup to e.g. Google drive, you can easily set up your new device from an existing device and almost all of your apps and settings can be restored automatically ... beside those settings where the developer decided to not allow backup of the data / settings.
You can also do a ADB backup of your device as long as you have adb enabled on your device. With this option you can also backup the content of your (internal) sdcard but it has the same restrictions as the cloud backup: if a developer of an app decides to not allow backup of data and settings, nothing will be backed up.
All other solutions need root access and you can e.g. use something like Titanium Backup or the tools I am currently developing (https://forum.xda-developers.com/an.../tools-anddisa-backup-restore-tools-t4016617) ... but as they are still in an early stage and you do not have a working screen, it's on you whether you would like to try.
Click to expand...
Click to collapse
If you've done a full backup (which you should do before making a major change to ANY device), simply restore from that backup; backups since Android 7 are not device-specific as long as you use the included backup utilities; instead, they are linked to your Google account. Before I got my Pixel 3a, I used both Google's own "generic" backup utilities and Samsung's backup utilities; thus I could restore from either. Since I crossed from the S7 to the Pixel 3a, I still can (for the rather odd reason that even Samsung's backup utilities are NOT tied to the phone - but to your Samsung account settings; the Samsung account settings are different from those used by Google). The generic backup utilities are included with Android 8 and later (thus Oreo, Pie, and Android 10).
PGHammer said:
If you've done a full backup (which you should do before making a major change to ANY device), simply restore from that backup; backups since Android 7 are not device-specific as long as you use the included backup utilities; instead, they are linked to your Google account. Before I got my Pixel 3a, I used both Google's own "generic" backup utilities and Samsung's backup utilities; thus I could restore from either. Since I crossed from the S7 to the Pixel 3a, I still can (for the rather odd reason that even Samsung's backup utilities are NOT tied to the phone - but to your Samsung account settings; the Samsung account settings are different from those used by Google). The generic backup utilities are included with Android 8 and later (thus Oreo, Pie, and Android 10).
Click to expand...
Click to collapse
Just in case anyone else stumbles on this like I did (just noticed the date.
You can't do a FULL backup with any of these methods AFAICT.
You can backup up all your apps that allow it and the data associated with them but not low level stuff like
radios boot image etc.
If you have backed up to the Google Cloud (your Google drive) it will restore lots of stuff automagically but you will still have the
same ... level of android, bootloader, radio, patch level even when the restore is completed.
Then you have to update everything and put in place any mods that you did.
Might be different with root apps which I am about to try.
Ulitimate Backup root or Titanium backup.
if you have TWRP installed that is by far the best and easiest way to get a FULL backup from what I understand.

Is oneplus switch enough to restore phone/data after doing an oem unlock?

I would like to unlock the bootloader on my phone and realize doing so will wipe the data. I am trying to find the best method to do a backup so the data can be restored as the phone is working beautifully at the moment. Is oneplus switch sufficient or do I need to do something else? I realize I'd need to copy the opbackup folder from the phone to a pc then restore the folder after the unlock.
I browsed the backup folder and I don't see where app specific data is being saved.
It doesn't restore app data so you can use OnePlus Switch to backup apps and your typical data then use Titanium Backup to restore your app data or both app data and apps.
HermitDash said:
It doesn't restore app data so you can use OnePlus Switch to backup apps and your typical data then use Titanium Backup to restore your app data or both app data and apps.
Click to expand...
Click to collapse
The problem is TitaniumBackup or any other USER app cannot access data (beyond their own) until the device is rooted. I can't root it till I can oem unlock it. I have it running just like I like so doing the oem unlock is not worth it to me at this time unless the data can be saved somehow.
famewolf said:
I would like to unlock the bootloader on my phone and realize doing so will wipe the data. I am trying to find the best method to do a backup so the data can be restored as the phone is working beautifully at the moment. Is oneplus switch sufficient or do I need to do something else? I realize I'd need to copy the opbackup folder from the phone to a pc then restore the folder after the unlock.
I browsed the backup folder and I don't see where app specific data is being saved.
Click to expand...
Click to collapse
I think you are right - no data. Much of what it does backup I think Google also does. Personally, I would not be concerned with texts or pictures or emails as they are all kept on servers in my case.I would be concerned with app settings - for instance, restoring all my email settings (I have numerous email accounts) and passwords and such is a chore. There is no simple way to backup and restore all those little things.
I do think that Switch backs up a few system settings like default sounds perhaps.
Well the "solution" I came up with wasn't 100% but it's close. When I setup my op7 pro it pulled alot of info from my old phone including all the GOOGLE PLAY apps WITH data. If you have another phone around you could "backup" to it and after oem unlock "restore" from it. That will get you all your google play apps with data. Used in combination with oneplus switch you'll get the REST of your apps, ringtones etc. Basically you'd have to reconfigure any apps you got from elsewhere such as Amazon, XDA or f-droid. There would probably be some system settings you'd have to redo also..specifically bluetooth for one.
famewolf said:
Well the "solution" I came up with wasn't 100% but it's close. When I setup my op7 pro it pulled alot of info from my old phone including all the GOOGLE PLAY apps WITH data. If you have another phone around you could "backup" to it and after oem unlock "restore" from it. That will get you all your google play apps with data. Used in combination with oneplus switch you'll get the REST of your apps, ringtones etc. Basically you'd have to reconfigure any apps you got from elsewhere such as Amazon, XDA or f-droid. There would probably be some system settings you'd have to redo also..specifically bluetooth for one.
Click to expand...
Click to collapse
Did you use another OP7 device or some other brand/model? The only sparedevices I have are old LGs currently if I was gonna play with that.
You should already have all critical data backed up on at least 2 hdds that are physically and electronically isolated from each other.
There's only two kinds of data users, those who have lost data and those who will.
blackhawk said:
There's only two kinds of data users, those who have lost data and those who will.
Click to expand...
Click to collapse
That was deep man. Can I quote u on that ?
jaggillararla said:
That was deep man. Can I quote u on that ?
Click to expand...
Click to collapse
Once you have lost a database you can.
Otherwise you don't rate it

Backup app data on non rooted devices?

Hey guys,
I want to update to Android 12 on my S21 Ultra. But since I'm not rooted, I can't use my lovely TitaniumBackup from back in the time.
Last time I made a backup, some people said not to use SmartSwitch because it's causing problems on the newer OS and may slow down recovered apps.
I also want to know if SmartSwitch saves all the app data such as settings inside of apps etc.
Are there any better options on backing up app data without root?
Greez,
skrippi
skrippi said:
Hey guys,
I want to update to Android 12 on my S21 Ultra. But since I'm not rooted, I can't use my lovely TitaniumBackup from back in the time.
Last time I made a backup, some people said not to use SmartSwitch because it's causing problems on the newer OS and may slow down recovered apps.
I also want to know if SmartSwitch saves all the app data such as settings inside of apps etc.
Are there any better options on backing up app data without root?
Greez,
skrippi
Click to expand...
Click to collapse
There are ways to backup app data for user apps without root but not ways to backup system data. Also, if you're switching from one device to another, backing up system app data would not be useful because restoring system app data from one device to another would probably cause issues. In this case, backing up only your user app data is what you need.
Here are two relatively simple methods.
1) You can connect the device to your PC, then use Windows file explorer to open the device's storage, find the Android/data folder, inside that folder you will find a folder in which each user app stores its data. Make a copy of all the folders that contain app data that you want to keep and dave them on your PC. Then connect the new device and use Windows file explorer to transfer those copied folders to the Android/data folder on the new device then reboot the device. This will transfer all data for each user app, including its internal app settings.
2) You can use the adb backup method, using the proper command to backup only user app data then use adb commands to transfer that data to the new device.
[GUIDE] Full Phone Backup without Unlock or Root
Like a lot of you, I have been putting off unlocking the bootloader on my Nexus because I didn't want to have to go through the hassle of backing up everything manually and restoring individual application data; logging back into apps; saving...
forum.xda-developers.com
You can likely safely use SmartSwitch to backup at least your homepage settings.
Apps it may or may not work when going between different devices or OS versions.
On my new N10+ running on 10 I inadvertently backed up the apps to be copied from my other N10+ running on 9. It worked, including the Goodlock physical navigation buttons migrated as well.
So if you're having issues after using SmartSwitch*, do another factory reset without it.
Otherwise it may work fine even with the apps going from 11 to 12.
I would go from the full tour...
Another Adroid mad scientist experiment
*always backup critical data redundantly to at least two hdds that are physically and electronically isolated from each other and the PC. SmartSwitch can fail miserably. Backup all critical data separately from SmartSwitch backup!!!
@skrippi
SmartSwitch is a tool provided by Samsung to transfer virtually all data you can think of from one Samsung phone to another Samsung phone via Wi-Fi.
Personally don't think it doesn't properly work: Samsung cannot afford such a disgrace.
xXx yYy said:
@skrippi
SmartSwitch is a tool provided by Samsung to transfer virtually all data you can think of from one Samsung phone to another Samsung phone via Wi-Fi.
Personally don't think it doesn't properly work: Samsung cannot afford such a disgrace.
Click to expand...
Click to collapse
Last time I used SmartSwitch it copied all my apps, but not the settings I made inside those apps which makes this program totally useless for me.
xXx yYy said:
@skrippi
SmartSwitch is a tool provided by Samsung to transfer virtually all data you can think of from one Samsung phone to another Samsung phone via Wi-Fi.
Personally don't think it doesn't properly work: Samsung cannot afford such a disgrace.
Click to expand...
Click to collapse
Lol, you never used Samsung Kies, it was much worse
skrippi said:
Last time I used SmartSwitch it copied all my apps, but not the settings I made inside those apps which makes this program totally useless for me.
Click to expand...
Click to collapse
Bare in mind the reason one is doing a factory reset is they lost control of the situation and can't troubleshoot the device effectively. It's meant to be a full nuke of user data.
Most app data isn't critical. Some of that data may be the root cause of the problem requiring the reset.
All critical data should already be backed up. Apps that don't support backup for their critical data shouldn't be used in the first place. Quality apps like PowerAmp, DIGI Clock and Color Note offer full offline backup support. Going through your other apps as you're setting them up refamilarizes you with them and allows you to correct setup mistakes made previously.
The goal of factory reset is to iron out the mistakes you made on previous loads.
This N10+ running on Pie has been factory reset 3 times (2 of those where boot loops). The last load was finally a clean one, after 22 months it remains fast, stable and fulfilling its mission with minimal maintenance. Any occasional problems since the reload were solved without a reset.
Stock Androids can be very stable and secure if you are careful what you load, and do regular maintenance as needed. I use Device Care, SD Maid, Karma Firewall, Package Disabler to do maintenance along with clearing the system cache. I never update the firmware and rarely update apps. I also keep installable copies of all apps and app updates (multiple versions) for repairs and reloading. I can do a full reload from my SD card with no internet access with no critical data loss. Intial setup with a full app load up takes about an hour.
If you put some thought into it a stock Android can be one of the best PCs on the planet. If you do a factory reset, be prepared and think it out beforehand.
Always redundantly backup critical data to at least two hdds that are physically and electronically isolated from each other and the PC. Verify the data is readable and all there. Never encrypt or clone data drives*!!!
Go for the clean load you missed on previous loads... that's the goal of a factory reset.
*If you use SmartSwitch make sure all critical data is backed up independently of SmartSwitch; folder by folder cut/paste.

Categories

Resources