Android backup to Computer to restore later - Android Q&A, Help & Troubleshooting

As the title suggests i'm looking for a good solution to backup everything major to my PC to restore at a later date to a new phone. I want this like sms messages and what not. Any help is appreciated.

May be this tool is for you:
[TOOL][ADB][WIN]Android Partitions Backupper / Cloner
Hi all, wrote a Windows CMD script that backups / clones partitions of an Android device via ADB because I wasn't content with any 3rd-party APK what claims to do this job. The backups /clones are stored on Windows computer as...
forum.xda-developers.com

Related

[Q] Trying to Restore Apps with Data (.bak) to cm 10.1

Hello;
This was my first time installing a Rom. I was fed up with my phone responding slowly and in time jams.
1-The first thing I did was install cwm recovery v6.0.2.7.
2-Then use the S3 tool kit available in xda to make a backup of all except system apps and internal storage data and it was stored in a .bak file. So that games and other apps keep their info as it is a hassle to start from the beginning.
3-Installed CM 10.1 nightly used in the instructions provided here.
All is okay up to here.
4-Tried to restore apps and app data through S3 tool kit but it won't display the data in the phone. I did enable the usb debugging on the cm10.1 (by pressing 7 times on the build name to enable the developers option and enabling usb debugging). I had the same problem when trying to do the backup in step 2, but it connected through the adb mode. This problem is that when ever I connect a device via usb windows installs the driver so every time I connect my phone windows installs the drivers.
5- When step 4 did not work I tried to restore using Holo Backup but no use no able to connect through to adb mode.
I can access the phone storage but I believe the appropriate drivers are not running when using the restore programs even though they are installed.
So the questions are:
1- Is there a way to fix the connection to be able to use S3 unified tool kit or if any one has dealt with the same problem?
2- Is there a way to restore the .bak file via cwm recovery?
3-For future use; An app or program that can be stored in the phone to avoid the use of a PC. The app or program would back-up contacts, sms text, apps and app data into the virtual sd or cloud to avoid deletion when "wipe data/ factory reset" after installing a rom.
I look forward to your replies.
Thank you.
What drivers do you have? Have you tried Universal Naked Driver? That's the only way I could get adb to work on mine when running CyanogenMod
wststreet said:
What drivers do you have? Have you tried Universal Naked Driver? That's the only way I could get adb to work on mine when running CyanogenMod
Click to expand...
Click to collapse
The image below shows the Drivers I currently have.
I used to have a lot more but a majority of them were copies of the same driver.
I had 2 other Samsung drivers but I also deleted them. According to an article that stated a fix to the problem is to uninstall all usb drivers except mouse and keyboard and reinstall the usb drivers of the device desired, but no success.
sub-80 said:
The image below shows the Drivers I currently have.
I used to have a lot more but a majority of them were copies of the same driver.
I had 2 other Samsung drivers but I also deleted them. According to an article that stated a fix to the problem is to uninstall all usb drivers except mouse and keyboard and reinstall the usb drivers of the device desired, but no success.
Click to expand...
Click to collapse
I tried to install the universal naked driver but no success. I followed the instruction went into the device manager and under the samsung android phone was the samsung android ADB interface which I uninstalled and checked the delete part. The pc requested to restart which I forgot to turn off the the internet which resulted in the driver being installed once it restarted. Tried a second and third time with no internet but when I uninstall and check the delete marker the pc does not ask to reboot. And if I try to update the driver with VND it notifies me that it is up to date.
Any solutions?
sub-80 said:
I tried to install the universal naked driver but no success. I followed the instruction went into the device manager and under the samsung android phone was the samsung android ADB interface which I uninstalled and checked the delete part. The pc requested to restart which I forgot to turn off the the internet which resulted in the driver being installed once it restarted. Tried a second and third time with no internet but when I uninstall and check the delete marker the pc does not ask to reboot. And if I try to update the driver with VND it notifies me that it is up to date.
Any solutions?
Click to expand...
Click to collapse
Tried ADB wifi but no success the pc says that there are no adb devices.
Also tried PDANet+ to install the drivers but software does not see the s3.
s there a way to restore the .bak file via cwm recovery
tried changing the file name by removing the .bak
jje
JJEgan said:
s there a way to restore the .bak file via cwm recovery
tried changing the file name by removing the .bak
jje
Click to expand...
Click to collapse
removed the .bak extension and placed it in the download folder of my virtual sd folder and pressed restore on cwm but nothing happened.
Could be because the backup is password protected?
Also tried to restore the file via titanium backup through the extract simple adb with and without the extension but only says analyzing file and remains that way for hours.

[Q] How to save adb backups directly on phone's sdcard?

I would like to save adb backups on the phone directly, on the sdcard, without having to even connect it to the computer. I've tried with Terminal Emulator doing a loopback adb connect but no way, I have no further idea.
Please anyone can help?
Some manufacturers like Sony or LG provide their own app, so you can make a backup to the internal or external sdcard. Note that applications with android:allowBackup="false" on the AndroidManifest.xml won't be backed up.
Nexus devices and android stock don't support that feature.
[GUIDE] How to enable adb backup for any app changing android:allowBackup

RESTORE data from Android backup or via ADB

Hi all,
Today I smashed my company phone - old Myphone Cube. I dont want to repair him, I will get newer BUT I want to restore my data.
I have there important photos on internal storage + ALL MY CONTACTS.
I tried everything with adb via stock recovery (update via ADB), which gives me ADB error: closed (no matter which version of adb I use.
In stock recovery is also an option "backup data", so I made an backup to sdcard. On sdcard in computer I see 3,5GB big file with .backup extension. I unpacked it via 7-zip and all I see is userdata_20100101_000113.backup. I cannot unpack it via anything.
Iam very lost. I tried many tools and stuff, but nothing helped me do something with ADB or this backup file. I also tried USB OTG to connect mouse, because LCD is still working, only touch doesnt, but this phone doesnt support OTG. I tried also My Phone explorer, but sadly, I dont have turned on USB debugging.
Iam playing with idea to buy digitizer for 10 bucks of ebay and do it this way, If any of those metods will not work.
Any ideas please?
Thank you, Martin!

Need help with ADB Backup

So, I was trying to get an ADB Backup for a friend. He has a non rooted Galaxy Note 9, and does not plan on rooting it. He wanted to know of any way of backing up all his apps+data. After some research I found out about adb backup. Now, we downloaded the universal adb drivers from clockworkmod, ran adb devices, detected the phone with adb authorized, and ran the following command:
adb backup "-apk -shared -all"
(Need double quotes on windows. Also, if I don't set -f and put file location, it creates a .ab file on its own in the current directory.)
The backup started on my phone, and it keeps getting stuck at "Shared Storage" I tried for individual apps too and even for them it gets stuck at shared storage.
Then I removed the -shared flag, and took a backup of VLC as a test, it was successful but there was no file created on the computer. I even tried setting a file location to see if that changes anything, but nothing happened. Please help!!
Also, if this method is dead, I would like to know of any better backup tools for non rooted users which backs up data as well.
kishore1998 said:
So, I was trying to get an ADB Backup for a friend. He has a non rooted Galaxy Note 9, and does not plan on rooting it. He wanted to know of any way of backing up all his apps+data. After some research I found out about adb backup. Now, we downloaded the universal adb drivers from clockworkmod, ran adb devices, detected the phone with adb authorized, and ran the following command:
adb backup "-apk -shared -all"
(Need double quotes on windows. Also, if I don't set -f and put file location, it creates a .ab file on its own in the current directory.)
The backup started on my phone, and it keeps getting stuck at "Shared Storage" I tried for individual apps too and even for them it gets stuck at shared storage.
Then I removed the -shared flag, and took a backup of VLC as a test, it was successful but there was no file created on the computer. I even tried setting a file location to see if that changes anything, but nothing happened. Please help!!
Also, if this method is dead, I would like to know of any better backup tools for non rooted users which backs up data as well.
Click to expand...
Click to collapse
I don't want any root solutions like titanium backup. I just want to know why it doesn't fully backup. Is it possible that google disabled this feature from android oreo onwards? Or is it because the drivers I installed was not correct? Please help.

Unable to connect with adb

Hi
Just got my A3. I'm unable to connect with adb to restore my backup. I enabled Dev options and USB debugging and when plugged into USB I get P notification icon and USB debugging connected message in notification. However
adb devices
shows nothing is connected. I notice there is no pop up asking if I want to authorize this computer which is iirc normally what happens.
adb can see my blu g6 phone so that's working. When I connect the A3 as a storage device, with no USB debugging, I can transfer files ok, so USB is working. I have a fresh Android studio install which should have the right sdk. I tried
adb connect <ipaddress>
and got "no connection could be made because target machine actively refused it" I did not refuse, because nothing popped up.
Have rebooted both phone and PC (windows 7)
Any idea what's going on? Thanks
Sent from my G6 using Tapatalk
Follow up: okay I figured out I need to install adb driver because A3 shows up in yellow in device manager. But I can't find a driver that works. I googled xiaomi A3 adb driver and downloaded like five of them from different sites and none worked. When I point windows to the folder where I extracted the driver it says could not find driver for your device.
I'm going nuts. Can someone point to a working driver for Windows 7?
Sent from my G6 using Tapatalk
These always worked for me. If they are not automatically installed for the device, follow the instructions in the video.
https://forum.xda-developers.com/showthread.php?t=2588979
Thanks. I figured out where I went wrong.
Instead of using the "browser file on my computer" and point it to where the driver is, I have to choose "let me select from a list" then "all devices", then select the Android composite adb driver. At least this works on Windows 7.
---
So I restored my back up, I got the pop up to confirm restore my data, and it seemed to run through the restore and took a while, but nothing changed. None of my app data was restored. All apps are still in newly installed state.
It did restore the data in SD storage, so my download folder etc got restored, which I could've done just copying to and from my PC.
What I really want is all the app data restored so I don't have to log back into all the different services and do all the settings again.
I did the back up with
adb backup -all -apk -shared -f allbackup.ab
Shouldn't that have worked?
Sent from my G6 using Tapatalk
From what I remember adb restore does not install *.apk back. It only writes back system and data files. So if you wanna all the app data restored - reinstall all apps manually before and then do adb restore.
On Windows you can sort of semi-automate that process in command prompt:
for %f in (C:\<your pak folder location>\*.apk) do adb install "%f"
Make sure though apk don't have spaces in their names or adb will complain.
qwertysmerty said:
From what I remember adb restore does not install *.apk back. It only writes back system and data files. So if you wanna all the app data restored - reinstall all apps manually before and then do adb restore.
On Windows you can sort of semi-automate that process in command prompt:
for %f in (C:\<your pak folder location>\*.apk) do adb install "%f"
Make sure though apk don't have spaces in their names or adb will complain.
Click to expand...
Click to collapse
I looked at adb logcat and there were a bunch of errors. Looks like it did try to restore app data but failed. Google back up already installed the apks back (except for the ones I side loaded) so that wasn't the problem. It's the app data (settings, etc) that I was hoping to get back
Oh well I just spent an hour setting my apps up again. I hear Google has already deprecated adb backup. Android needs a good non root desktop back up solution, not the cloud backup where you're at the mercy of Google and the individual apps to decide what get backed up.

Categories

Resources