Post-mortem Android device decryption
If you ever run into trouble and can't decrypt your phone, but still have the image and password of the encrypted file system, you can use this tool
to mount the encrypted file system on your PC.
My i9300 display and touchscreen broke, but I managed to dump /dev/block/mmcblk0p12 via recovery. This partition contains the encrypted /data file system on my device.
So I took the AOSP code and wrapped a small command line tool around it to decrypt and mount the device on Linux.
I hope this is useful and that this is the right forum for such things.