Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,303 Members 42,459 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][SCRIPT] AndSync - Synchronize Backup and Restore Android Devices

Tip us?
 
wizwin
Old
(Last edited by wizwin; 8th December 2012 at 09:17 AM.) Reason: Updated 'Installing prerequisites'
#1  
Senior Member - OP
Thanks Meter 205
Posts: 167
Join Date: Nov 2010
Location: Bangalore

 
DONATE TO ME
Post [TOOL][SCRIPT] AndSync - Synchronize Backup and Restore Android Devices

AndSync v1.3

About AndSync

This script helps you to:
- Synchronize applications if you have multiple android devices.
- Backup and Restore applications in batch.
- Un-install applications in batch.
- Backup and Restore application data on rooted and non-rooted (only for ICS and above) devices.
- Use your PC or Laptop to perform full backups. There is no need to first backup on SD card and then copy to your PC.

Why did I develop this?

1. I own multiple android phones with about 200 apps installed (I have no idea why ) and it has become difficult to manage application updates from Play Store on these devices.

2. I needed a quick and easy way to backup applications directly to my computer and restore them after I do a full re-flash.

What are the prerequisites for this script?
  • Android SDK (ADB shell)
  • Perl v5.10.1 (Any latest version of Perl would also be fine)

Note: I used these versions, it may work on older versions as well but I have not tested those.

Installing prerequisites

- Install Perl from here
- Install Zip for Perl (Ubuntu Users) - sudo apt-get install libarchive-zip-perl
- Install adb using instructions from here

On which Desktop/Laptop OSes will this tool work?

It is a Perl script and so it should work on all OSes that can run Perl. Of course Android SDK port (at-least for adb) should exist.

For which versions of Android will this tool work?

I have come across 'adb backup' and 'restore' commands but that is not available for older/all devices. Using this tool you can perform backup and restore of devices with Android Gingerbread and above. (I have only tested using GB and JB). Froyo devices are not supported in the current version.

Where can you find this tool?

Here is the link [AndSync]. You can just download the Perl script 'AndSync.pl' and execute it if you have Perl installed.

From AndSync v1.3 the script can be updated automatically from Settings->'Update this script'.

Known Issues
- Some operations spit out too much information on console.
- Does not support Froyo devices at the moment.

If you have issues with market links try:
Settings->Applications->Manage Applications->All->Google Play Store->Force Stop & Clear Data

Please share your thoughts and suggestions for improvement. Please open issues on Github so that it can be tracked.

Enjoy Android !!
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	1297
Size:	40.7 KB
ID:	1315191   Click image for larger version

Name:	Screenshot1.1.png
Views:	811
Size:	63.1 KB
ID:	1324569   Click image for larger version

Name:	Screenshot1.2.jpg
Views:	712
Size:	56.6 KB
ID:	1334137  
The Following 20 Users Say Thank You to wizwin For This Useful Post: [ Click to Expand ]
 
wizwin
Old
(Last edited by wizwin; 25th September 2012 at 03:04 PM.)
#2  
Senior Member - OP
Thanks Meter 205
Posts: 167
Join Date: Nov 2010
Location: Bangalore

 
DONATE TO ME
Feature Requests:

DONE
1. Warn before over writing old backups. (Done)
2. Restore market links? (Please try the solution in the main post)

PENDING
1. Selective Backup and Restore.
 
wizwin
Old
(Last edited by wizwin; 20th September 2012 at 07:03 PM.)
#3  
Senior Member - OP
Thanks Meter 205
Posts: 167
Join Date: Nov 2010
Location: Bangalore

 
DONATE TO ME
Updated to AndSync v1.1
 
wizwin
Old
#4  
Senior Member - OP
Thanks Meter 205
Posts: 167
Join Date: Nov 2010
Location: Bangalore

 
DONATE TO ME
Updated to AndSync v1.2
If you like my work please donate via PayPal.
 
orb3000
Old
#5  
orb3000's Avatar
XDA Portal Team / Senior Moderator
Thanks Meter 3,033
Posts: 22,277
Join Date: Feb 2007
Location: T r a v e l i n g Likes: HTC & XDA Dislikes: apples...

 
DONATE TO ME
Great tool, thanks!
orb


HTC One M8 - HTC Butterfly S - HTC Universal

XDA is about developing and is for developers. Any user that recognizes that will gain the most benefit from this site


 
This is and always will be a site for developers, pure and simple. Without them we are nothing, without them there would be no reason for XDA Developers to exist; we should never ever forget that. Without them this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.

Previous devices: HTC: Treo 650 - Excalibur - Diamond - Diamond 2 - Maple - HD2 - Rhodium - Desire Z - Desire HD - Vivid - Sensation - One V - One X - Titan II - One X+ - DNA - Butterfly
 
burt_ie
Old
#6  
Senior Member
Thanks Meter 67
Posts: 507
Join Date: Jan 2012
Looks interesting, will try it out over the weekend.
Thanks

Sent from my Xoom using Tapatalk 2
 
desalesouche
Old
(Last edited by desalesouche; 22nd September 2012 at 12:42 AM.)
#7  
Senior Member
Thanks Meter 1,831
Posts: 1,849
Join Date: Feb 2012
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
 
thebeastglasser
Old
(Last edited by thebeastglasser; 22nd September 2012 at 02:46 AM.)
#8  
thebeastglasser's Avatar
Senior Member
Thanks Meter 77
Posts: 279
Join Date: Mar 2012
Trying this out. I wonder how the speed compares to Titanium in terms of speed.

EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
The Evolution of my Smartphones

<-- Too lazy right now, but there should be another Nexus 4 at the end, and an HTC One, and a Moto X. Boy I've got a bit of work to do.

Care for 20GB of cloud storage for free? Get it HERE.
 
wizwin
Old
#9  
Senior Member - OP
Thanks Meter 205
Posts: 167
Join Date: Nov 2010
Location: Bangalore

 
DONATE TO ME
Quote:
Originally Posted by orb3000 View Post
Great tool, thanks!
Thank you for your review!

Quote:
Originally Posted by desalesouche View Post
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
You can restore system apps if your phone is rooted. Currently all operation are done in batch there is no option to restore only a selected app (you can delete all unwanted apps (keep the only one you want to restore) from the Backup directory and get it done).

Quote:
Originally Posted by thebeastglasser View Post
Trying this out. I wonder how the speed compares to Titanium in terms of speed.

EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
Thank you for trying out this tool. I have not done any comparisons yet. I had tested it on Motorola Defy with CM10. For ICS and up there is an alternate backup restore support as well.

Please post your suggestions for improvement.
If you like my work please donate via PayPal.
 
Nemo Aeternamn
Old
(Last edited by Nemo Aeternamn; 22nd September 2012 at 07:01 AM.)
#10  
Nemo Aeternamn's Avatar
Member
Thanks Meter 34
Posts: 39
Join Date: Jul 2011
Location: Mo-ab
awesome... multiple devices? very nice... my brother in law was just wanting me to reset his phone to factory so he can take the latest update... and with my gnex... can't wait to give try this out

Tags
application backup, backup and restore, data backup, synchronize, titanium backup
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes