Flash Mayhem onto bare HackRF - portapack-mayhem/mayhem-firmware GitHub Wiki
Using firmware file from github release page and the classic hackrf_spiflash tool
[!Note] :warning: This guide works for bare HackRF instead of HackRF with a PortaPack.
Windows
- Connect the device via USB.
- Double click
flash_portapack_mayhem.bat
and follow the instructions. - Reboot the device.
Linux
- Connect the device via USB
- Upload the firmware with
hackrf_spiflash -w new_firmware_file.bin
(eg. portapack-h1_h2-mayhem.bin for mayhem firmware or hackrf_one_usb.bin for stock HackRF firmware) - Reboot the device
[!NOTE]
- To Ubuntu and Mint user: Ubuntu based distro never maintains their repo for HackRF host (cli client) package. You’ll face a lot of weird problems if your HackRF is R9. To resolve these, please compile the HackRF package yourself, or use another distro.
MacOS
- If necessary, install the HackRF tools:
brew install hackrf
- Connect the device via USB
- Upload the firmware with
hackrf_spiflash -w new_firmware_file.bin
- Reboot the device