[TIP] Backup/Restore user apps and data from old phone (without needing root)
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
This method really rocks! Will try it very soon
Thank you!
Btw. does it also backup the user-settings of the apps?
Device: HTC Desire (PVT-1)
ROM: back to stable CM7.2 Nightly || Root: UnrEVOked || S-OFF: Alpharev Device: HTC One X
S-ON. UNLOCKED.
Currently @ CM 10.1 RC4 Device: Asus Nexus 7
UNLOCKED. ROOTED.
Currently @ CM 10.1 RC4
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
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!
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.
XDA Elite Recognized Developer AdamOutler is known … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?