Post Reply

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

OP wizwin

9th September 2012, 10:16 PM   |  #1  
OP Senior Member
Flag Bangalore
Thanks Meter: 205
 
167 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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:	1313
Size:	40.7 KB
ID:	1315191   Click image for larger version

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

Name:	Screenshot1.2.jpg
Views:	719
Size:	56.6 KB
ID:	1334137  
Last edited by wizwin; 8th December 2012 at 09:17 AM. Reason: Updated 'Installing prerequisites'
The Following 20 Users Say Thank You to wizwin For This Useful Post: [ View ]
9th September 2012, 10:17 PM   |  #2  
OP Senior Member
Flag Bangalore
Thanks Meter: 205
 
167 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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.
Last edited by wizwin; 25th September 2012 at 03:04 PM.
14th September 2012, 03:09 PM   |  #3  
OP Senior Member
Flag Bangalore
Thanks Meter: 205
 
167 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Updated to AndSync v1.1
Last edited by wizwin; 20th September 2012 at 07:03 PM.
20th September 2012, 07:04 PM   |  #4  
OP Senior Member
Flag Bangalore
Thanks Meter: 205
 
167 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Updated to AndSync v1.2
21st September 2012, 11:01 PM   |  #5  
orb3000's Avatar
XDA Portal Team / Senior Moderator
Flag T r a v e l i n g Likes: HTC & XDA Dislikes: apples...
Thanks Meter: 3,040
 
22,287 posts
Join Date:Joined: Feb 2007
Donate to Me
Great tool, thanks!
21st September 2012, 11:11 PM   |  #6  
Senior Member
Thanks Meter: 67
 
507 posts
Join Date:Joined: Jan 2012
Looks interesting, will try it out over the weekend.
Thanks

Sent from my Xoom using Tapatalk 2
22nd September 2012, 12:13 AM   |  #7  
Senior Member
Thanks Meter: 2,060
 
2,017 posts
Join Date:Joined: 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....
Last edited by desalesouche; 22nd September 2012 at 12:42 AM.
22nd September 2012, 02:42 AM   |  #8  
thebeastglasser's Avatar
Senior Member
Thanks Meter: 79
 
280 posts
Join Date:Joined: Mar 2012
Donate to Me
More
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.
Last edited by thebeastglasser; 22nd September 2012 at 02:46 AM.
22nd September 2012, 04:00 AM   |  #9  
OP Senior Member
Flag Bangalore
Thanks Meter: 205
 
167 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by orb3000

Great tool, thanks!

Thank you for your review!

Quote:
Originally Posted by desalesouche

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

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.
22nd September 2012, 06:58 AM   |  #10  
Nemo Aeternamn's Avatar
Member
Flag Mo-ab
Thanks Meter: 34
 
39 posts
Join Date:Joined: Jul 2011
More
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
Last edited by Nemo Aeternamn; 22nd September 2012 at 07:01 AM.

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Android Software and Hacking General [Developers Only] by ThreadRank