35
votes
Accepted
How to resume app restore after stopping it on first opening Google Play?
Use bmgr from adb shell. See this answer for a complete explanation of backup sets.
Root access is not required.
shell@maguro:/ $ bmgr list sets
1234567890abcdef : droid48
34567890abcdef12 : ...
31
votes
WhatsApp doesn't prompt to restore from local storage
Disclaimer: this solution is offered to those who as myself found this post via googling for "whatsapp not restoring local backup", I have not changed my number.
I've tried giving ...
21
votes
WhatsApp doesn't prompt to restore from local storage
Android 11 release issue and solution:
In my case, after backing up the WhatsApp folder via USB and restoring it using the same method to the new phone, I discovered that WhatsApp was unable to find ...
10
votes
How do you extract an App's data from a full backup made through "adb backup"?
Based on the information by others, now I know that the backup file is just a prefixed Deflated (GZip) stream, based on this information this simple program can unpack it for you:
import java.io.*;
...
8
votes
Accepted
How to restore the stock firmware to the Asus Zenfone 2?
I found out how to do it with the official firmware from asus.com. I'll post this for the benefit of all sentient beings future readers with the same problem. I'm writing this in a very beginner-...
7
votes
Prevent WhatsApp from restoring media from Google Drive Backup
So disconnecting WhatsApp from Google Drive didn't exactly work out because my chats were also in that Google Drive backup.
However, here is how I was successful in restoring only the chats. (No media)...
6
votes
How do you extract an App's data from a full backup made through "adb backup"?
As the implicit question is also, "how to restore a single apps data", I would like to mention this nifty script, that splits a given full-backup.ab in single-app.ab files.
It requires these ...
6
votes
Accepted
Backup app's fingerprint data and restore
No, not possible even with root. And rightly so, since accessing fingerprint data is a huge security risk.
Android stores fingerprint data in Trusted Execution Environment and can't be accessed even ...
5
votes
Prevent WhatsApp from restoring media from Google Drive Backup
I'm having the same problem. So far, the only working solution that I discovered is to disconnect WhatsApp from your Google Drive (during the restoration).
In a browser, go to your Google Drive →...
5
votes
Are there any downsides to using a nandroid recovery?
A nandroid backup is a full device backup – so you could ask the same question about a full backup of your PC: After restoring the backup, you'd be at exactly the state the device was in when you ...

Izzy♦
- 90.8k
5
votes
Applications are not installed with adb restore
I've adapted niels' script a little to fix some issues with it:
#!/bin/bash
set -e
if [ $# -ne 1 ]; then
echo "Usage: $0 <package-name>"
exit 1
fi
echo -n "Enter password: &...
5
votes
Why is my Android not restoring the app data from its Google Drive backup?
I'm going to post an alternative answer to my own question, in spite of having accepted the previous answer. The reason is that I have since learned, on my personal device, that the Android Backup and ...
5
votes
WhatsApp doesn't prompt to restore from local storage
I had problems with this too, and today finally it worked. I'm not sure which of the following additional steps did the trick, so I'll list both:
I copied the entire WhatsApp folder over from the ...
4
votes
Restoring wpa_supplicant.conf [root]
In my case it was necessary to change the owner and group of the file to wifi:
mount -o rw,remount /system
chown wifi:wifi /data/misc/wifi/wpa_supplicant.conf
ls -la /data/misc/wifi/wpa_supplicant....
4
votes
Applications are not installed with adb restore
I solved it with the following script
#!/bin/bash
killall adb > /dev/null 2>&1
set -e
if [ $# -ne 1 ]; then
echo "Usage: $0 <package-name-without-ab>"
exit 1
fi
export PATH=/opt/...
4
votes
Restoring the backup of an encrypted phone
As it turns out, TWRP/nandroid backups aren't encrypted. The encryption layer sits lower at the level of the device.
You can therefore restore the backup on a new device like any other backup simply ...
4
votes
Accepted
How do you list all apps in an adb backup .ab file?
Restore individual apps from a full backup
adb restore always restores the full content of an Android backup file. Therefore if you want to restore apps individually you have to make individual ...
4
votes
Is it possible to restore the data of Microsoft Authenticator from a TWRP backup?
With much thanks to @Robert and especially @Firelord, I was able to resolve my problem, and with relative ease.
Below contains all of the steps I had to take to recover the necessary information I ...
3
votes
How do you extract an App's data from a full backup made through "adb backup"?
To add another option here's a Windows PowerShell version of the header manipulation:
$file_in = (Get-Location).Path + "\backup.ab"
$file_temp = (Get-Location).Path + "\temp.tgz"
[...
3
votes
Can I restore software update?
Wiping /data
If you were upgrading Android versions, the OTA might not have wiped your /data partition properly, and this may cause the issues that you describe. You should first try to perform a ...
3
votes
Restore all data to another rooted device (LineageOS)
Encrypted open source backup solution for Android is called SeedVault by Calyx Institute and has been included as a built-in backup solution from LineageOS 18.1.
To use it, navigate to Settings -> ...
3
votes
File-based encryption security and backup/restore considerations
Android 9 and lower
Apps can place data in either a Credential Encrypted (CE) or Device Encrypted (DE) storage, but does this necessarily mean all files in /data/ are encrypted?
What will be ...
3
votes
How to create a backup image (*.ab) of Android Device that is not booting up?
The approach you are taking is not worth it for you simply because:
USB debugging needs to be enabled beforehand for using any adb command on a device. Since your mother probably would have never ...
3
votes
How to fully back up a phone's content to a PC, possibly for restoring on a similar phone
LG provides different Software (or maybe just different names)
- LG-Bridge
- LG PC Suite
- LG Mobile Switch
- LG ANDROID BACKUP
For experts also there is LGUP flash tool which may shipped with ...
3
votes
How to decrypt a phone in bootloop mode
I had same problem and I'll write tips how i fixed this situation.
You can fix it by just dirty-flash any rom.
Flash any rom by using external storage or by adb sideload(Advanced -> ADB Sideload -&...
3
votes
Accepted
Why can't banking apps be backed up and restored?
The banking apps don't identify your device. Instead, they use cryptographic keys:
When registering your device, the app generates an asymmetric key pair (RSA or Elliptic Curves). The key pair is ...
2
votes
How to restore an image of android partition from my linux PC
The initial adb pull/push by-partition-id pattern in the question has merit for recovery environments. Though I didn't test for the whole of the flash ("mmcblk0"), a backup and restore by ...
2
votes
Is it possible to migrate apps and their data from one unrooted Android phone to another?
I only tried it on one app so far though but here goes. you must be able to access 'phone storage' on both phones.
plug in the usb and connect the phone to your com.
open phone storage. open '...
2
votes
Can I manually download my wifi settings to my Android device from my Google account?
It is possible to recover Android settings through bmgr.
List your sets using bmgr list sets
Example output:
36df6csd30288e33 : phone
3c559c36e65a9b49 : tablet
Now you can restore com.android....
2
votes
Recovery broken -> “adb devices” doesn't find my Xiaomi Mi3
I might have misinterpreted your question, but to enable ADB to list Xiaomi devices, you need to update adb_usb.ini and put Xiaomi vendor IDs there:
On windows go to c:/Users/{your-username}/.android
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
restore × 425backup × 192
adb × 53
whatsapp-messenger × 40
titanium-backup × 33
factory-reset × 26
twrp × 23
sms × 22
data-recovery × 19
applications × 18
contacts × 17
nandroid × 17
google-backup × 17
recovery-mode × 15
google-drive × 14
rom-flashing × 13
google-play-store × 12
samsung × 12
cyanogenmod × 12
clockworkmod-recovery × 12
encryption × 11
6.0-marshmallow × 10
4.4-kitkat × 10
custom-roms × 9
data-transfer × 9