If you've successfully run an RUU several times and it didn't correct the issue, that unfortunately points to hardware/emmc failure. No amount of custom recovery or restoring of backups will fix that. The RUU should restore everything to full stock and clean up any issues. When that fails, then there's nothing else that can be done. The emmc on the device might just be bad.