After unlocking bootloader, 'adb restore' didn't restore much of anything - Moto G7 Power Questions & Answers

after rebooting post unlock, the system was reset to the factory settings. My
Code:
adb restore priorAdbBkup.ab
ran for nearly 30 minutes, but upon completion, none of my apps or settings were applied.
FYI the backup was
Code:
adb backup -nosystem -keyvalue -shared -obb -apk -all -f priorAdbBkup.ab
and it ran to completion in about 45 minutes.
Are there ways to debug what is (not) happening here?
thank you all, in advance.

Related

ADB backup AT&T One X stuck

So i was attempting to back up my phone and read a few guides on how to use ADB to do so. I installed ADB using this guide in this thread http://forum.xda-developers.com/showthread.php?t=1684382&highlight=how+to+flash+roms and then used the following text in command line to start the back up.
C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
HT24WW303716 device
C:\android-sdk-windows\platform-tools>adb backup -apk -shared -all -f C:\backup7
142012.ab
Now unlock your device and confirm the backup operation.
Now i understand that this could take "several minutes" as explained by the guide in the same thread http://forum.xda-developers.com/showthread.php?t=1684382&highlight=how+to+flash+roms, however my phone has been stuck on com.android.sharedstoragebackup for over 45 minutes now is this normal or did something go wrong?

[Q] ADB backup aborting?

So, I was oging to create an ADB backup, but on windows and OSX, adb is just stopping, after i press "create backup" on my phone. I triedit with severall parameters w/o success:
- adb backup -nosystem -f backup.ab
- adb backup -all -shared -apk -f backup.ab
Nothing works.
Does anyone else experience this issue?
Sn0opy said:
So, I was oging to create an ADB backup, but on windows and OSX, adb is just stopping, after i press "create backup" on my phone. I triedit with severall parameters w/o success:
- adb backup -nosystem -f backup.ab
- adb backup -all -shared -apk -f backup.ab
Nothing works.
Does anyone else experience this issue?
Click to expand...
Click to collapse
I did some backups already and had no problem.
Recommend you to upgrade the version of adb you are using. I'm using OS X with the latest version of adb.

ADB backup incomplete

In the aim of disabling encryption on my stock Nexus 5 I had to wipe the device. To not lose my data I researched backups and I came across the ADB method. I did several updates using different commands as I was never sure if the backup completed. The command did return however (i.e. the cursor appeared on CMD).
I ran the following:
Code:
adb backup -apk -shared -all -f C:\backup\backup.ab
Code:
adb backup -apk -shared -all -nosystem -f C:\backup\backup.ab
The end result is me having 4 backup files in the 2.8GB to 2.9GB range.
After trying ADB restore on two of them, most of my applications are not restored. I can live with that, but I would prefer if there is a way to restore my whatsapp data.
To try and diagnose the problem ibought Titanium Backup Pro to use their Extract from ADB backup option. That way I could tell what applications made it through. I unpacked then repacked the .ab file to remove the encryption by following this guide. Once I put the .ab on my phone, Titanium Backup said the backup file isn't supported.
Any thoughts ? I'm working on Windows 10 but I also dual boot with Ubuntu.
Hi
Try using the <packages...> tag
http://forum.xda-developers.com/google-nexus-5/general/guide-backup-data-root-t2824790

using bmgr to restart Play store app restore

I was reading about this command and was curious as to the "coding" to use it. The other day I was restoring a phone and had to interrupt the Play store restore of my apps.
Can this command be used to restart the restore of apps from Play store? If so, what would be steps or "coding"?
You should be able to complete (restart) the restore process. You can do it using ADB or Terminal (if you have it installed and your phone is rooted).
I'm assuming you know how to run ADB commands.
Code:
adb shell
bmgr list sets
bmgr restore <tokenID from the previous command>
If there are multiple backup sets listed, you can find out the one that was used to start the restore process on your phone using the following command:
Code:
dumpsys backup | grep Ancestral:

[ADB][Honor 8] Non-existing restoration

Hi,
I've had issues with my phone and tried to use the ADB tool to backup and restore my files. The backup went ok, I created the file, but when I try a restoration, with both a pc back password and the encryption password correctly entered, I get nothing at the end of the restoration process. I can see the apk extensions being mentioned in the progress bar but when it's done, nothing has changed on the phone.
I've used those two lines of code in order to do so:
adb backup -apk -shared -all -f C:\Users\Asus\Downloads\tools\platform-tools/backup.ab
adb restore C:\Users\Asus\Downloads\tools\platform-tools/backup.ab
Any help would be greatly appreciated.

Categories

Resources