ADB-Backupfile of a game is only 1Kb - Android Q&A, Help & Troubleshooting

.I want to backup the gamesof my daughters phone with ADB. I activated USB-Debug and start backup with "adb backup -f [Name for the Backup].ab [PACKAGE_ID]"
After confirming the securityquestion in the phone backup starts and comes confirmation that backup is ready. In the ADB-folder on my PC I see a new wit the name of the backup, but it is only 1kb. When I make other backups they are also only 1kb.
Is this correct?

Related

ADB Backup file size question

Ok I ran a adb backup -all and after about an hour I ended up with a file about 10MBs in size
with adb backup -all -apk I end up with a 30MB file
What is going on here? what am I doing wrong. My 8 gig phone can't possible be being backup to such a small file can it?
Note this is not a NAND backup as I can not do that on my phone because of a locked bootloader, hence the reason I am trying to make these .ab backups cuz right now besides titan backup that is my only option.

[Q] Adb Backup

Hi
i made a backup of my mobile using adb
I tried like 5 times to use "adb backup filename" to restore my apps but i think the restore process get stuck cause i dont have all my apps back after a "sucessfull restore" (according to my pc)
Is there a way to restore the ab file using a recovery metod?? o restoring the ab file from my SD card instead of my pc ??? or to convert the ab file to an img file??
thnx.

Restore data from .ab file (adb backup)

Hi folks. I took an adb backup (adb -d backup -apk -shared -all -f C:\Users\Tony\backup.ab) and now only want to restore data for a few apps.
I've used the Android Backup Toolkit to turn the .ab into an openable .tar file, so I tried copying a few com.appmaker.appname folders to the sdcard, then used Es File Explorer in root mode to copy the folders to /data/data, but the app doesn't seem to use the data (it looks like it did on first run).
Can anyone outline the steps required to restore data folders?
Thanks.
Tony.

Extract from "adb pull" backup?

Hi.
tl;dr
How can I extract from a backup made with "adb pull" ? Thank you.
more
Any help would really be appreciated here...
I have a backup that was made by booting to Recovery, then running:
Code:
adb pull /dev/block/mmcblk0 my_phone_mmcblk0_$(date +%Y%m%d).adbimg
How can I recover the contents, please?
According to fdisk, the backup archive (i.e. the .adbimg file) contains a GPT partition table, and 12 partitions (of varying sizes) of type "Microsoft Basic Data". The largest of them is 11.5G; I'm guessing that's where the data I'm looking for are.
TIA
EDIT: If it's relevant, I use Linux and macOS, and I'm comfortable with the command line.
Look to the XDA forum for inspiration.
[GUIDE] How to extract, create or edit android adb backups
What is an android adb backup? An adb backup is a file with ab extension, generated by android's backup manager when we request it via adb shell. This allows you to backup some data of the phone, but is not a replacement of a clockworkmod backup...
forum.xda-developers.com
ze7zez said:
Look to the XDA forum for inspiration.
[GUIDE] How to extract, create or edit android adb backups
What is an android adb backup? An adb backup is a file with ab extension, generated by android's backup manager when we request it via adb shell. This allows you to backup some data of the phone, but is not a replacement of a clockworkmod backup...
forum.xda-developers.com
Click to expand...
Click to collapse
I read that, thank you. But it's not the same, is it(?)
adb backup != adb pull
(...Or am I wrong?)

Pls help recover data

So my phone screen just went black and doesn't work anymore. I wanted to adb pull all files from my phone (everything takes up 17gb, so It wouldn't be a big deal to transfer everything and sort through it on my PC), but when I boot to TWRP via command line and try to decrypt the phone the fs is still encrypted, what am I doing wrong? Or maybe there's a better approach for this and I'm just stupid? (attached is my pattern drawn on a random png from google and the commands that I tried to use) Thanks in advance
AFAIK device's /data partition automatically is turned to an unencrypted state if you do a backup of this partition via the adb backup
Example:
Code:
adb devices
adb backup -shared -f C:\backupname.ab
You may use
android-backup-processor
Download android-backup-processor for free. Android adb backup extractor and packer. None
sourceforge.net
to convert the .TAR formatted backup into a .ZIP formatted file.
jwoegerbauer said:
AFAIK device's /data partition automatically is turned to an unencrypted state if you do a backup of this partition via the adb backup
Example:
Code:
adb devices
adb backup -shared -f C:\backupname.ab
You may use
android-backup-processor
Download android-backup-processor for free. Android adb backup extractor and packer. None
sourceforge.net
to convert the .TAR formatted backup into a .ZIP formatted file.
Click to expand...
Click to collapse
It requires me to unlock the phone to do that. I think i'll just buy a USB C to USB A and HDMI dongle to view my phone screen on a monitor and operate it via a mouse. That seems like the easiest way out.
Thanks for the help, though!

Categories

Resources