How to recover a broken userdata.img?
It's impossible, because FS has huge corruptions at different places. You can to use file repare utilities to try repare some data, but mostly it's broken by write to FS at the same moment, as dump process.