[Q] Adb Backup - Xperia Z2 Q&A, Help & Troubleshooting

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.

Related

CWM nandroid copying in KitKat 4.4.4

I've been using Android and CWM for years with no problems till now that I'm using a rooted KitKat ROM (SlimKat). By default root is not enabled in SlimKat, but I did enable it along with USB debugging. I have CWM installed and it made a nandroid backup on my Moto G (1st Gen. which doesn't have an SD card). I want to make a copy of this backup and found it in /data/media/clockworkmod. However, to see this I had to use Root File Manager as a non-root user cannot see this directory.
So how do I copy this?
My thought was adb. However, even adb won't let me copy this to my Ubuntu Linux pc.
Marty
EDIT:
I thought running adb as sudo would work. It does on some directories, but not this one where the CWM backups are. Here's what I did in Ubuntu:
sudo adb devices
sudo adb pull /data/media/clockworkmod/
remote object '/data/media/clockworkmod/' does not exist
got it! I had to use another app and OTG to a USB flash drive. For some reason Root File Manager kept shutting down whenever I tried to write these backup files to my USB flash. SlimKat was installed with an app called Simple Explorer. It saw the same directory once I gave it root permission and then was able to copy my 2 nandroid backup folders to my USB flash drive.
Marty
it didn't work. Appeared to, but the file size isn't even the same Maybe if I write it to an ext4 partitioned USB flash it would get it right?
Marty
I think all that did work, but I found an official play store app for CWM called CWM Backup Manager that pulled the CWM backups to a place where they can be copied.
Marty

Nandroid backup question

So I'm used to doing backup of devices in TWRP but it seems that nandroid is the way you do it with these. I downloaded and ran a backup to SD Card. I chose the option for TWRP backup, will that allow me to do a restore of the image I created here from recovery or would i need to install TWRP recovery to recover? If I chose the backup type Clockworkmod would that be restoreable from stock recovery? The directory it created is only 1.6GB w/o compression which doesn't seem right to me.
I did read the idiots guide to root first BTW.
Thanks guys.
Tried to do a recovery restore using optin recover system from backup but I have no idea the path it is looking for, it doesn't say just says no system.img so ignore. So it appears nandroid creates a system.ext4.tar so I suppose I could decompress this and see if there is a system.img file that the recovery is looking for and put it in the root of the sdcard if recovery is actually looking /external_sd.
Anyone have any input?
Dave

TWRP recovery problem

Hope this is in the right place ..
I have a couple of Tanix TX3 mini TV boxes that I would like be able to backup and recover across devices.
I have put S905-TWRP3-VIT.zip onto a micro SD card and can load TWRP from the boot recovery menu.
I can then backup ROM, system and data partitions to a USB flash drive.
if I now go into the restore menu I can see the backup file.
My problem is that if I now start TWRP from a different device I can no longer see the backup file.
If I create a very small backup, I can see the new backup but not the old one.
If I reboot normally, I can see both backup files within the same directory via any file explorer app.
Obviously, this stops me from being able to restore the system to the target device.
I can't see anything obviously wrong, can someone tell me where I am going wrong please?
Many thanks
Baldplumber said:
Hope this is in the right place ..
I have a couple of Tanix TX3 mini TV boxes that I would like be able to backup and recover across devices.
I have put S905-TWRP3-VIT.zip onto a micro SD card and can load TWRP from the boot recovery menu.
I can then backup ROM, system and data partitions to a USB flash drive.
if I now go into the restore menu I can see the backup file.
My problem is that if I now start TWRP from a different device I can no longer see the backup file.
If I create a very small backup, I can see the new backup but not the old one.
If I reboot normally, I can see both backup files within the same directory via any file explorer app.
Obviously, this stops me from being able to restore the system to the target device.
I can't see anything obviously wrong, can someone tell me where I am going wrong please?
Many thanks
Click to expand...
Click to collapse
Solved

How to create a full backup of the device (with all partitions) for img file ???

How to create a full backup of the device (with all partitions) for img file?
To do flash via odin for example.
Backup
jrs007 said:
How to create a full backup of the device (with all partitions) for img file?
To do flash via odin for example.
Click to expand...
Click to collapse
To take backup as you say for all img you have to flash TWRP recovery then go to backup menu then select partitions which you want to then switch to backup
But note that backup will not small at least 5 to 10 gb it will if you include Data partition also

ADB-Backupfile of a game is only 1Kb

.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?

Categories

Resources