adb backup and adb restore

So I want to root my Nexus 4. Do full backup using adb, root it, and restore it... but failed. And my data almost gone :(

Before doing this, you must enable Developer mode, Enable USB debugging, install ADB on your laptop.

To backup:
adb backup -f backup.ab -apk -shared -all -nosystem
#add -nosystem for unrooted device or will hang

Then root your device:
#please find tutorial elsewhere

Reboot your phone, say no to all question, enable USB debugging again

Reboot your phone, add all google accounts, install all purchased app.

Before restoring, enable Airplane mode, Stop all possible task from Settings - Apps - Running

Open other console to monitor restore progress, run adb logcat

Now restoring,
adb restore backup.ab
#unlock phone and click Restore
#wait until no other progress (watch on other console)
#reboot, Ctrl-C and try to repeat restore until restored normally
#restoring shared data will take long time


Comments

Popular posts from this blog

Tips Jika Mobil Anda Habis Bensin LOL!

Setting open office u label tom & jerry