Since I still encounter issues with modified boot images and recovery images I want to remove the device encryption from my Nexus 4 (running 4.3).
I known that there is no "official" way to to this but since this is an encryption it can be reverted. So please don't tell me that it is impossible (I already know that android don't want you to do this).
So I came up with two ideas but I could not find anyone who already did this and want to be sure before wiping my data partition. My device is not rooted but the bootloader is unlocked.
Making a backup with
adb backup, format the data partition and restore the backup. But I could imagine that adb is unable to restore backups on non-encrypted devices if they were made on an encrypted on. (Can tell me for sure?)
Starting a modified boot image with fastboot that just decrypts the data partition (should be perfectly possbile but I havn't seen such a tool)
Any other idea?