Hi,
I spent the whole of yesterday sorting a similar issue. Power switched off before I got to the H4N recorder. It said “No Data” when I switched the H4N back on, the SD card had 1 file reading 0kb. I’m not hugely technical and I’m PC based but here’s what I did and have retested it – and it worked.
1) I used Bad Copy Pro to read the card as I had the software already – https://www.jufsoft.com/badcopy/ I had “formatted” the SD card in the H4N before the recording job and yet it found over 140 old files I assumed would have been wiped. In this case it was File 1 so easy to find. They charge for Bad Copy nowadays but it does give you a preview to see if it’ll work first and in my experience it has worked for many corrupted disks I own.
2) I opened the file bad copy found as Raw Data in Audacity following the instructions elsewhere on this forum. Audacity available free here – https://audacity.sourceforge.net/ It took a bit of tinkering to get the right settings. I eventually did the obvious and mirrored the settings on my H4N (44.1, Stereo etc and set the header at 910 as apparently that’s where the data starts). Guess what – It recovered the whole file perfectly.
I then simply saved it as a WAV.
I’m not sure this will work for everyone but it’s a lot easier than trying to rewrite the hex code etc.
Hopefully saves someone some time.