AnsweredAssumed Answered

Disk Encryption stuck on i.mx6

Question asked by Anand Mistry on Jun 30, 2016
Latest reply on Jul 4, 2016 by Gary Bisson



we are facing a problem where the android disk encryption gets stuck while encrypting the /data partition. It gets stuck after encrypting around 90k-180k blocks. We tried this using command line cryptsetup and dd utility, still have the same results.


Did anyone face the same problem?




$ cryptsetup create mmcblk2p1_crypted --verbose --cipher "aes-cbc-essiv:sha256" --key-file /data/enc_key.bin --keyfile-size 16 --key-size 128 /dev/block/mmcblk2p1

$ dd if=/dev/block/mmcblk2p1 of=/dev/mapper/mmcblk2p1_crypted

## never comes out from this dd call


OUR Setup


board: nitrogen6_max

android version: boundary-imx-kk4.4.3_2.0.0-ga



Thanks and Regards,

Anand Mistry