[Q] Anyone got "adb backup" to work with stock Xperia ICS?

Search This thread

BOFH2k

Member
Jan 27, 2011
35
7
When issuing the backup command for the rev. 11 adb (on Ubuntu 11.04), I only receive backup files of size zero (while "adb shell" works just fine) from my MK16i with 4.1.B.0.431 (4.0.4):
Code:
adb backup -f Backup_20120606.ab -all -apk -nosystem

Anybody got that feature working (tried just -all as well, no luck)? The module Backup & Restore has been missing in my SE PC Companion as well, so I have no way of local backup...
 
Last edited:

steppar

New member
Jun 10, 2012
2
0
adb backup not working on SK17i (Xperia mini pro)

Same problem here:
Phone: Sony Ericsson Xperia mini pro (SK17i), Android 4.0.4 Build 4.1.B.0.431
PC-System: Android SDK Platform-tools Rev. 11
Google USB Driver Rev. 4
on Win 7 (64 bit)

Code:
adb backup -apk -shared -all
gives me the following in ddms (Dalvik Debug Monitor):
Code:
06-10 20:52:56.445: D/AndroidRuntime(3154): Calling main entry com.android.commands.bu.Backup
06-10 20:52:56.445: D/bu(3154): Beginning: 21
06-10 20:52:56.445: D/bu(3154): Finished.
06-10 20:52:56.445: D/AndroidRuntime(3154): Shutting down VM
06-10 20:52:56.445: V/BackupManagerService(284): Requesting full backup: apks=true shared=true all=true pkgs=[Ljava.lang.String;@2bf72990
06-10 20:52:56.445: I/BackupManagerService(284): Beginning full backup...
06-10 20:52:56.445: D/BackupManagerService(284): Starting backup confirmation UI, token=1410532927
06-10 20:52:56.445: I/ActivityManager(284): START {act=fullback flg=0x10000000 cmp=com.android.backupconfirm/.BackupRestoreConfirmation (has extras)} from pid 284
06-10 20:52:56.445: E/BackupManagerService(284): Unable to launch full backup confirmation
06-10 20:52:56.445: D/BackupManagerService(284): Full backup processing complete.

Does this mean that Sony did not integrate the backup routine of ICS in their rom?

steppar
 
Last edited:

skandals

Member
Aug 12, 2010
29
1
Porto
I have the same problem using LT18i. But I think it's only missing an apk... will investigate =)

EDIT: After some investigation, maybe the GoogleBackupTransport.apk is blocked by Sony to prevent adb backups. This is just a wild gess.
 
Last edited:

BOFH2k

Member
Jan 27, 2011
35
7
Hmmm,

running adbd insecure requires a rooted Xperia device which to my knowledge has yet to be achieved for Android 4.0.4...
If I remember it correctly, GoogleBackupTransport.apk contains the API classes used by apps supporting online backup of their data on Google servers - that said, it might contain the local backup code since Android 4.

Cheers,
BOFH
 

pvyParts

Inactive Recognized Developer
Oct 11, 2010
1,858
2,341
35
Hmmm,

running adbd insecure requires a rooted Xperia device which to my knowledge has yet to be achieved for Android 4.0.4...
If I remember it correctly, GoogleBackupTransport.apk contains the API classes used by apps supporting online backup of their data on Google servers - that said, it might contain the local backup code since Android 4.

Cheers,
BOFH

Root has been around for ages for 4.0.4 for locked and unlocked bl. But neway was just an idea. Good luck

Sent from my LT18i using xda premium