Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
2- System partition needs to be mounted manually before encryption works, after changing the encryptable flag(I patched my twrp.fstab using abootimg, that's why I know it works)
The following message on the recovery.log may give a clue why system needs to be mounted
I:Is_Mounted: Unable to find partition for path '/vendor'
There are 2 problems that stop decryption from working. 1- The encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata flag on https://github.com/TeamWin/android_device_motorola_condor/blob/android-5.1/twrp.fstab#L2 needs to be removed and length=-16384 put on it's place
2- System partition needs to be mounted manually before encryption works, after changing the encryptable flag(I patched my twrp.fstab using abootimg, that's why I know it works)
The following message on the recovery.log may give a clue why system needs to be mounted I:Is_Mounted: Unable to find partition for path '/vendor'