This guide describes how to make full backup of whole memory block.

My N5 is encrypted with Android 5.0. As far as I understand new mechanism, it envolves dependency on some external data taken from separate hardware component (part of encryption key). Is it guaranteed that it will not altered after I factory reset and flash Android 4.4 ? And even if it's ok, is it possible finally to restore such backup ? (May be /dev/mmcblck0 is read-only or otherwise restricted due to way hardware-accelerated encryption/decryption works.)


You can install TWRP for your nexus 5 (just Google it...). It will ask you for your password when you enter the recovery. Then you can do a full backup.

| improve this answer | |
  • I'm familiar with TWRP a little. It can not do full backup simply because it uses internal storage to save backup data. (At least for Nexus 5.) – Artem Pisarenko Dec 31 '14 at 18:44
  • Why you can't copy that backup data to your computer? – Timo Schwarzer Jan 1 '15 at 0:29
  • Why? I can. I said it's just not full backup, because it doesn't backup part of memory (userdata partition) used for storing backup being done. That's why I referred to the guide at very start of my question, which describes how to perform block-level copying of whole(!) memory directly to PC. – Artem Pisarenko Jan 1 '15 at 7:26

The best option I found is making unencrypted backups with WugFresh NRT:

  • Turn on airplane mode (not related to encryption, just recommendation in order to prevent sudden changes in data during backup)
  • Make nandroid full backup (select all partitions available, for 'recovery' partion ROOT required)
  • Make data/media backup
  • Turn off airplane mode

These backups will be unencrypted. Restoring process is symmetric and also doesn't depend on whether device encrypted or not.

If you want to keep backup data encrypted, just use encrypted virtual drive (BitLocker, TrueCrypt, etc.).

| improve this answer | |
  • How does turning on airplane mode make the partitions unencrypted? Can you link to something that documents this? Also, in order to perform a nandroid backup you have to be in recovery, how do you turn on airplane mode in recovery? The radio would not be on in that state, so the device would already be "in airplane mode". – Ryan Conrad Jan 2 '15 at 5:56
  • @RyanConrad, airplane mode isn't related to encryption, it's just general recommendation for overall process, because it consists of several steps and reboots in different modes (data/media part is done in normal operating mode when radio is on). – Artem Pisarenko Jan 2 '15 at 10:50

Just install CWM Recovery on your device. You will get some options under backup and restore.

cwm recovery

You can effectively backup your current data/ROM and later restore at any stage.

| improve this answer | |
  • Does it allow to import/export data directly(!) to external storage ? (Otherwise I don't see any difference with TWRP.) – Artem Pisarenko Feb 16 '16 at 13:09
  • Yes, it allows backup to external storage. – Rahul Bali Feb 19 '16 at 11:07

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.