Skip to main content
9 events
when toggle format what by license comment
Dec 29, 2016 at 23:15 comment added Izzy I'd go with GiantTree here: If it really would backup everything (which it does not), and on restore does a wipe and unpack, another backup done right before that should be fine to restore root. Really sure we can only be if we try it, e.g. with a "redundant device": Wipe it, root it, do adb backup, install some additional app, then restore the backup and see.
Dec 29, 2016 at 23:11 comment added MitchB @Izzy Hmm, you bring up a good point. I also have not ever restored a backup. Perhaps if we knew the root package they used, we would be able to determine which root it is (though that may be out of the scope of this question). I'm hesitant to say that their root status will be unaffected though. Worst case scenario, re-root is required and I do not know of any root packages that require a full factory reset.
Dec 29, 2016 at 23:06 comment added Izzy ADB backups are file based, not partition based. So to my knowledge, a restore would just write back the files from the backup, overwriting existing files, but not deleting anything. I never tried restoring a full backup, though, so I cannot tell for sure.
Dec 29, 2016 at 23:03 comment added MitchB @Izzy I have tried to find some documentation of the adb command but it is sparse. I am going off of what I found on this wiki and I believe that if it were to restore the /system partition then that would remove root if the root is /system based, which is likely given that @xoxox is running 4.3. Also, I don't think they said whether their backup and live versions are different.
Dec 29, 2016 at 22:54 comment added Izzy @MitchB why would that unroot the device? I don't think it would remove files, just restore what was backed up. Still, restoring a system backup across different Android versions is strongly discouraged.
Dec 29, 2016 at 22:35 comment added MitchB If you had ran the backup with the -nosystem modifier, I would say yes, there is a high chance of you being safe. Since you didn't specify, adb backup automatically backs up the system. This would unroot your device. You could install root after restoring from the backup though as root does not require your data to be wiped.
Dec 29, 2016 at 22:04 comment added xoxox Thank you! I ran the command adb backup -apk -shared -all -f and have Android 4.3. This means a restore would be safe?
Dec 29, 2016 at 21:21 review First posts
Dec 30, 2016 at 1:56
Dec 29, 2016 at 21:16 history answered MitchB CC BY-SA 3.0