How to backup adnroid app and data with adb - OnePlus Nord N10 5G Questions & Answers

I use PE custom rom and I have tried to backup app data without success. Adb commands works fine but when I have restored backup, I can't find any backup app icons on my phone. What I doing wrong?
adb backup -f app.backup -all -apk -nosystem
adb restore app.backup

The sad reality is that ADB actually listens to app manifests when they request that userdata not be backed up. It'll only restore the apps themselves, even if you encrypt the backup. To backup app data these days, you need root access and an app that can handle the backup/restore procedure via root.

Related

Backup apps

I want to install custom rom on my I9300 but I want to have all the apps which I now possess after installing custom rom too. Is it possible??
Sent from my GT-I9300 using xda app-developers app
Root, install titanium backup pro, backup, also do a nandroid backup in recovery, and backup your sd to computer.....and back up your efs with k tools, and backup that backup to your computer/cloud........there you go, all sorted and ready to flash!
You can also backup them using Samsung Kies.
Sent from my GT-I9300 using xda app-developers app
Nas Eiesefpi said:
You can also backup them using Samsung Kies.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
....if you trust that POS!
Yeah, it's called Titanium Backup or MyBackupPro
slaphead20 said:
....if you trust that POS!
Click to expand...
Click to collapse
Mine work fine. But recently it start to get slow finding my apps and the loading take like forever. Not sure if my 70+ of apps is too much or Kies is just useless POS. :sly:
Sent from my GT-I9300 using xda app-developers app
I would recommend a nandroid backup and apoextractor to restore apos from the backup..
Sent from Hell!!
There are a few ways of doing this:
Using Titanium Backup
Using the ADB
Using CWM Advanced Restore
1: Go into Google Play and download Titanium backup (From Titanium Track), make sure you are rooted, otherwise this won't work.
Do a batch operation, select the apps you want to back up, let it run and you're done.
2. Go to the Win8 - Help thread, which is in my description and download the Executables file, that has all the files you need.
Make sure you have USB debugging checked!
In the folder, where you installed the files to, (Win Vista/7) press and hold shift, while right-clicking (Then you can let go of shift).
Select CMD and type in the following:
For User apps (Only)
Code:
adb start-server
adb backup -apk -nosystem -noshared -all
For User apps + system apps
Code:
adb start-server
adb backup -apk -system -noshared -all
That will backup your apps, to your computer (File will be in the same folder as ADB executable/s)
To restore:
Code:
adb start-server
adb restore <path-to-file\filename.ab>
3. Back your phone up with CWM, when you're done, reset the device to original state (Factory reset) and boot up your phone.
Once it has rebooted, boot back into recovery, select advanced restore and choose data, that will re-install all your apps...
I recommend using 1 or 2, they are the safest, in terms of system health...
Hope I could help!
Rom Toolbox is another great app for this task imho, it has other cool tweaks too, some i dare not to change lol

Backup & Restore Data without Root?

Hi,
My dad just got himself a new phone and now it's my task to set him up with his apps on the new Phone.
My trouble is that I can't find a solution that back up App AND Data.
I have always had my phones rooted from Day 1 so i had an easy Titanium Backup+Restore and don't know about non-root methods.
Rooting is not really an option as my dad won't let me because he thinks it will break everything :
I searched and found Helium Backup which would be what i need, except that it only works on 4.x+
Do you know a Root-free backup&restore for the Transition from a
2.2 Motorola Defy
to a
4.0/4.1 Motorola Razr i ?
thank you in advance and thanks will follow
btw: why doesn't android simply backup all your data along with your contacts etc...?
There is a way to save your whole phone without root, you have to use adb.
Use this command:
Code:
adb backup –all -apk -shared –f c:\backup.ab
It will save all your data, apps and the internal or external storage.
Baasi said:
There is a way to save your whole phone without root, you have to use adb.
Use this command:
Code:
adb backup –all -apk -shared –f c:\backup.ab
It will save all your data, apps and the internal or external storage.
Click to expand...
Click to collapse
thanks, do you also know, how to restore them with data onto an unrooted 4.1 phone ?
something along
adb restore –all -apk -shared –f c:\backup.ab ?

[Q]adb bakcup command through...

Hi
Without routing through adb backup command contacts.db, mmssms.db I can come to have a computer??
1. adb backup -> backup.ab
2. java -jar abe.jar unapck backup.ab backup.tar
3. unpack backup.tar
but i have not app/com.android.providers.telephony, com.android.providers.contacts/
Said the route was no friend to adb backup has contacts and came to this mmssms possible?
Pretty sure adb backup is only for user apps, not system apps. Easiest way to back up your contacts is just by exporting them to storage from your Contact (or People) app. For saving texts, there are a variety of methods as well. There are apps that all they do is SMS backup like SMS Backup & Restore (via XML) or SMS Backup+ (which you can sync to Gmail) or any of a dozen other type of apps that can backup contacts and SMS for you, like Go Backup, My Backup Pro, Super Backup, etc.
thank you
es0tericcha0s said:
Pretty sure adb backup is only for user apps, not system apps. Easiest way to back up your contacts is just by exporting them to storage from your Contact (or People) app. For saving texts, there are a variety of methods as well. There are apps that all they do is SMS backup like SMS Backup & Restore (via XML) or SMS Backup+ (which you can sync to Gmail) or any of a dozen other type of apps that can backup contacts and SMS for you, like Go Backup, My Backup Pro, Super Backup, etc.
Click to expand...
Click to collapse
Thank you
This file contains adb backup mmssms.db, contacts2.db is not it?
If you have files on the command adb pull while not rooted not no better than me, right?
I apologize as I should have looked it up first, but yes, those are the correct files for the backup of contacts and messages. I'm lazy and always just use apps as I've never had an issue with backing up and restoring those in that manner. Here is some more info on how to backup and restore those .db files:
http://forum.xda-developers.com/showthread.php?t=969650
But yes, you have to be rooted for that to work. If you aren't rooted, then you can try Helium. It works for many phones non rooted, but needs to have a PC companion app to make it work.
http://www.clockworkmod.com/carbon

Backup

Is there a backup solution that backups the complete phone?
I use Helium, but it does not backup your google data, ie account settings, and etc.
Titanium Backup. But it requires root for what you want to backup
http://android.stackexchange.com/questions/28296/full-backup-of-non-rooted-devices
The solution (1/3 the way down) that uses adb works well. The windows command looks like this: "adb backup -apk -shared -all -system -f backup08262012.ab"
Sent from my SM-G925A

Marshmallow backup and restore

Hi,
I have a droid turbo 2, and have all the backup and restore settings checked. I've had my phone connected overnight several times, but it seems to have barely backed up even the most basic stock apps. The Google Drive files are so small that I question whether anything is backed up (see attached pic). What am I doing wrong? Is there a way force a backup via brute force?
Anyone?
Is using adb to perform your backup possible? If so there are many guides on setting adb up then once you have a recognised device issue "adb backup -all -apk -system backup.ab. you could use the -shared or -noshared depending on if you want to backup internal storage. Then when you want to restore issue "adb restore backup.ab" thats the only fix I can suggest without more info.

Categories

Resources