1

I have made an adb backup of my OnePlus One running an unofficial CM12 ROM based on Android 5.0.2. Is it possible, considering the latest release of Android for the Nexus 5 is 5.0.1, to then restore this backup onto a Nexus 5 running 5.0.1?

0

You may be able to restore apps and data as far as they are no system apps. But be sure to fix permissions (Owner, Group and access) to what the system uses for all files (data and apps).

I already did this on my SIII LTE for an upgrade of Android 4.4.4 (CM11) to Android 5.0.1 (CM12) with no side effects (except some single apps that deleted and recreated their data for some reason).

Also: Of course your device needs to be rooted to be able to write onto the /data partition.

  • This was the command I used on my Mac to backup: – William Rose Jan 2 '15 at 21:07
  • ./adb backup -apk -shared -all -system – William Rose Jan 2 '15 at 21:08
  • What will I lose if the target Nexus 5 isn't rooted? – William Rose Jan 2 '15 at 21:09
  • You can't even restore anything as writing on /data is not allowed unless you have permission (system or higher). Therefore your device needs to be rooted. – GiantTree Jan 2 '15 at 21:09
  • I've restored to non-rooted devices via adb in Terminal before with no data loss, why should this be any different? – William Rose Jan 2 '15 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.