I am using an Android One phone with rooted Android 5.1 and the Online Nandroid Backup application to do live (o
)nandroid
backups. I am also using the built-in encryption, which encrypts the /data partition, but as the backup is performed on a live running system, the resulting data.img is unencrypted as I've verified with Nandroid Manager being able to extract data without asking for a password. Apparently it is not doing a block-level copy of the /data.
As the backed-up system in the system.img expects encrypted /data and the restored /data is now unencrypted, my question is if the resulting backup can be restored and booted without any problems, using fastboot
for example? Will Android hang while booting if the /data partition is decrypted and the system is not factory reset? What is the correct way to perform a live backup of an encrypted Android 5.1 system?