[Q] Complete backup of data-partition?!

atlantix1

Senior Member
Sep 27, 2011
106
27
0
Cheers,

finally I've lost my patience and I'm going to unlock the bootloader and root my Z3 Compact. However I really don't want to loose all my settings and set up my phone completely again. I'm just too lazy ;) But, as far as my experiences with other Xperias is concerned, all my data gets erased when I unlock my bootloader, doesn't it? So my question is: Is there an effective way (not Helium or the crappy Sony software) to backup my entire /data partition? Of course I know about "adb backup -apk -all -f xxxx" but for any reason that doesn't work for me. There's just no confirmation dialog on the phonescreen. Maybe Sony has disabled this functionality. So any idea would be appreciated.

Thanks
 

cschmitt

Senior Member
Feb 24, 2012
1,716
1,914
0
The non-root backup options are:

1. adb backup

2. Helium (which uses adb backup)

3. Sony PC Companion (which uses adb backup)
 

cschmitt

Senior Member
Feb 24, 2012
1,716
1,914
0
Thanks for your replies! As I mentioned "adb backup" doesn't work for me. Can anybody confirm that it works?
Yes, it works. Enable USB debugging in Developer options, connect to PC, then:

Code:
X:\D5803>adb devices
List of devices attached
YT810V0Q7E      device


X:\D5803>adb backup -apk -obb -all -system -f D5803-full.ab
Now unlock your device and confirm the backup operation.

X:\D5803>
Unlock screen when prompted, click 'Back up my data'.

Note: Call logs and SMS database are not backed up by adb backup. I've used SMS Backup & Restore for SMS, or Sony PC Companion works well for SMS and Call logs (actually, it's great for full backups.) There's also a Backup & Restore app on Xperia's that will backup SMS & Call log to the SD card.
 
Last edited:
  • Like
Reactions: atlantix1

atlantix1

Senior Member
Sep 27, 2011
106
27
0
Yes, it works. Enable USB debugging in Developer options, connect to PC, then:

Code:
X:\D5803>adb devices
List of devices attached
YT810V0Q7E      device


X:\D5803>adb backup -apk -obb -all -system -f D5803-full.ab
Now unlock your device and confirm the backup operation.

X:\D5803>
Unlock screen when prompted, click 'Back up my data'.

Note: Call logs and SMS database are not backed up by adb backup. I've used SMS Backup & Restore for SMS, or Sony PC Companion works well for SMS and Call logs (actually, it's great for full backups.) There's also a Backup & Restore app on Xperia's that will backup SMS & Call log to the SD card.
Thank you for your short but detailed guide! It works perfectly! It was my fault, stupid me... I blocked com.android.backupconfirm, Of course then there was no confirm dialog. Sorry that I didn't thought about it earlier...