Possible to flash factory ROMs on an encrypted phone using fastboot? I have the storage on my Nexus 4 encrypted using Android's built-in encryption feature. I'd like to update to 4.4 using one of the factory images provided by Google. If I follow the standard script included in the tarball (removing the option to wipe the phone), which uses fastboot, will fastboot do the right thing and prompt me for the encryption password? Or might it brick my phone by writing unencrypted data on top of an encrypted partition?
For the record: this works fine, so long as you are careful not to flash the userdata partition. I was able to follow the instructions from AndroidPolice for flashing the factory image, including removing the "-w" option from the "fastboot update ..." command (this prevents the update from wiping the userdata partition).