[G3 Android Development] Zirila:
Fulmics 6.5 - broken phone encryption

[MENTION=5132229]xpirt[/MENTION]:

I did a logcat while starting the phone encryption, see this for error details: https://paste.ee/r/UbTtV

01-01 13:18:14.208 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:10
01-01 13:18:15.208 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:11
01-01 13:18:16.209 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:12
01-01 13:18:17.209 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:13
01-01 13:18:18.210 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:14
01-01 13:18:19.210 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:15
01-01 13:18:20.211 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:16
01-01 13:18:21.211 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:17
01-01 13:18:22.211 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:18
01-01 13:18:23.212 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:19
01-01 13:18:24.345 288 325 E Cryptfs : unmounting /data failed: Device or resource busy
01-01 13:18:24.345 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][cryptfs_enable()] unmounting /data fail, errno:2
01-01 13:18:24.435 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][cryptfs_enable()] START, howarg:inplace
01-01 13:18:24.617 288 325 E Cryptfs : Bad magic for real block device /dev/block/bootdevice/by-name/encrypt
01-01 13:18:24.618 288 325 D Cryptfs : Just asked init to shut down class main
01-01 13:18:24.618 288 325 W vold : emulated unmount requires state mounted
01-01 13:18:24.618 288 325 W vold : public:179,65 unmount requires state mounted
01-01 13:18:24.618 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:0
01-01 13:18:25.619 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:1
01-01 13:18:26.619 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:2
01-01 13:18:27.620 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:3
01-01 13:18:28.620 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:4
01-01 13:18:29.621 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:5
01-01 13:18:30.621 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:6
01-01 13:18:31.622 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:7
01-01 13:18:32.622 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:8
01-01 13:18:33.623 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:9
01-01 13:18:34.623 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:10
01-01 13:18:35.624 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:11
01-01 13:18:36.624 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:12
01-01 13:18:37.624 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:13
01-01 13:18:38.625 288 325 I Cryptfs : [LGE][VOLD][Cryptfs.c][wait_and_unmount()] umount fail, mountpoint:/data, errno:16, i:14