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?
Asked
Active
Viewed 988 times
1
-
related: Full Backup of non-rooted devices – Ryan Conrad Jan 02 '15 at 21:42
1 Answers
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.

GiantTree
- 4,062
- 1
- 20
- 26
-
-
-
-
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 02 '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 02 '15 at 21:11
-
I don't know. Maybe (I just assume that)
adb
is running as a system service. Then restoring will work for you without any loss in data. – GiantTree Jan 02 '15 at 21:12 -
Ok, so I'm good to restore from 5.0.2 to 5.0.1 without adb telling me I can't as I'm restoring from a newer version to an older version, despite 5.0.2 not being available for the Nexus 5? – William Rose Jan 02 '15 at 21:15
-
I don't know if
adb
gives out errors about that (possible I think) but a simple edit in some file should do the trick. For em: I never did backups with adb, only nandroid backups through recovery which works as well. – GiantTree Jan 02 '15 at 21:16 -