Massive .dmg file in /Users/username/firmware/ folder: any ideas what the heck it is?

Solution 1:

This folder ~/Firmware Files is from the software iMyFone Fixppo e.g. for rescuing iPhone backups or iPhone permanently booting.

The DMG files are firmware images from iOS devices.

You probably are done with rescuing so it is safe to remove the folder.