Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TIP] Backup/Restore user apps and data from old phone (without needing root)

OP tombriden

4th April 2012, 04:03 PM   |  #1  
OP Recognized Developer
Flag Leighton Buzzard
Thanks Meter: 322
 
227 posts
Join Date:Joined: Mar 2010
Donate to Me
More
If, like me, you're moving over to the One X from another ICS phone but don't want to root until it doesn't require htcdev.com, you can still backup/restore all your user apps and data from your old device to the One X without Titanium (which needs root) or MyBackup Pro (which costs money).

Firstly, you'll need to install the android sdk to get adb (Edit: And HTC Sync for the drivers). Once you have that, open a command prompt and cd to the adb folder, eg

Code:
cd c:\android-sdk\platform-tools
Then run the following command

Code:
adb backup -apk -all -nosystem -f c:\backup.ab
(where -all is every app, -apk means to also include the apks and -nosystem ignores the system apps and data)

You'll need to confirm the backup on the device itself for it to start and, optionally, set an encryption password for the backup.


Once it's finished, plug the One X in, enable 'USB Debugging' in Settings -> Developer Options and then run

Code:
adb restore c:\backup.ab
...then, on the One X, enter your encryption password (if specified during backup) and confirm. Once it's finished, all the apps and data from your old phone will now be restored on the One X


Note: this feature of adb only works on ICS so you can't backup from previous android versions (although i haven't actually tried).

If the backup option doesn't exist in your adb, make sure you have the latest Android SDK
Last edited by tombriden; 15th May 2012 at 09:33 AM.
The Following 48 Users Say Thank You to tombriden For This Useful Post: [ View ]
4th April 2012, 04:15 PM   |  #2  
shirreer's Avatar
Senior Member
Thanks Meter: 108
 
488 posts
Join Date:Joined: Mar 2006
Quote:
Originally Posted by tbriden

If, like me, you're moving over to the One X ...

Badass tip... Thanks & Cheers
4th April 2012, 04:29 PM   |  #3  
chowdarygm's Avatar
Senior Member
Flag Dusseldorf, Germany
Thanks Meter: 139
 
722 posts
Join Date:Joined: Sep 2009
More
Supercool ... Thanks a ton

Sent from my HTC One X using Tapatalk
7th May 2012, 03:01 PM   |  #4  
Junior Member
Lisbon
Thanks Meter: 0
 
6 posts
Join Date:Joined: Apr 2012
Nice thank you!
7th May 2012, 03:05 PM   |  #5  
Senior Member
Flag Istanbul
Thanks Meter: 429
 
778 posts
Join Date:Joined: Jan 2011
More
Awesome! Thanks for sharing!

Sent from my HTC One X using XDA Premium HD app
7th May 2012, 03:23 PM   |  #6  
Senior Member
Flag Vienna
Thanks Meter: 138
 
302 posts
Join Date:Joined: Jul 2010
More
This method really rocks! Will try it very soon
Thank you!

Btw. does it also backup the user-settings of the apps?
Last edited by theliquid; 7th May 2012 at 03:27 PM.
7th May 2012, 03:28 PM   |  #7  
Goku80's Avatar
Senior Member
Flag Within the Matrix
Thanks Meter: 6,589
 
9,411 posts
Join Date:Joined: Mar 2012
More
If i can also add a tip here to all those who are flashing custom roms and want to revert back to stock so they can do their OTA updates.

BACKUP BACKUP BACKUP your rom first before you start in the world of flashing custom roms. That way make sure you always have your BACKUP of stock and whenever you do update make sure you backup the updated rom. So if you are on 1.26 say BACKUP that rom and then flash whatever custom roms you want.

Then once your carrier releases a new update just simply return to the backup rom and follow the necessary steps to update the OTA. And then BACKUP that rom and then start again

So my tip. Always make sure you have a BACKUP.
The Following 2 Users Say Thank You to Goku80 For This Useful Post: [ View ]
8th May 2012, 09:19 AM   |  #8  
Senior Member
Flag Lisboa
Thanks Meter: 72
 
1,114 posts
Join Date:Joined: Oct 2006
More
damn... should of seen this before doing the titanium backup and nandroid on my other phone... tks mate! good tip

do you happen to know if there is a way of restoring a titanium backup without root?
the apps are easy, the data is the problem...
8th May 2012, 07:05 PM   |  #9  
stm2008's Avatar
Senior Member
Thanks Meter: 30
 
142 posts
Join Date:Joined: Jan 2009
When I plug my HOX to my computer, my computer can't recognize it and it is shown as unknown device in device manager. I'm using latest android sdk but still can't update to the latest driver (no problem on my HD2), how can I solve it? Thx!
8th May 2012, 09:29 PM   |  #10  
Senior Member
Thanks Meter: 17
 
195 posts
Join Date:Joined: Sep 2008
That's a brilliant tip, now I have to restore my desire with ICS, titanium restore and backup using this to move to one x. Can anyone else confirm this works without any issues.

Sent from my HTC One X using XDA

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes