Nexus 5 backup with ADB 'pull'

view full story

http://android.stackexchange.com – Is it possible to back up all the user data on my Nexus 5 (apps, pictures, everything) by running the following command while the device is in recovery (assuming all partitions are unmounted)? adb pull /dev/block/platform/msm_sdcc.1/by-name/userdata Later, using the command fastboot flash userdata userdata to restore? My device is encrypted; will this also back up any data needed to decrypt the device? My end goal is to be able to use this and a CyanogenMod image to restore exactly what is on the device right now. (HowTos)