Update firmware - posssss/portapack-mayhem GitHub Wiki
In theory, it is impossible to brick the device, since you can always try the DFU recovery procedure. However, the updating might become fiddly in certain conditions.
Normal procedure
Firmware
Get the latest firmware from the page. Please check the FAQ if you have any additional question.
HackRF/PortaPack itself via Flash Utility
The Flash Utility can also be used to program new firmware from a bin file stored on a MicroSD card, mentioned below.
Windows
- Connect the device via USB
- Switch to HackRF mode via the on-screen option (in the PortaPack)
- Double click
flash_portapack_mayhem.bat
and follow the instructions - Reboot the device
Linux
For Ubuntu and Mint user: Ubuntu based distro never maintains their repo for hackrf package. You’ll face a lot of weird problems if your hackrf is R9. To resolve these, please compile hackrf package yourself, or use other distro.
- Connect the device via USB
- Switch to HackRF mode via the on-screen option (in the PortaPack)
- 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
MacOS
HackRF CLI tools for MacOS available through MacPorts or Homebrew
- If necessary, install the HackRF tools:
brew install hackrf
- Connect the device via USB
- Switch to HackRF mode via the on-screen option (in the PortaPack)
- Upload the firmware with
hackrf_spiflash -w new_firmware_file.bin
- Reboot the device
MicroSD card files
Your PortaPack has a slot for a memory card. You need to provide a MicroSD with enough space (16GB is recommended, over 32GB will be omitted due the limits of the FAT32). This is necessary for certain functionality, like the world map, GPS simulator, and others.
Get the latest files from the page. You need to uncompress (using 7-zip) the files from
mayhem_vX.Y.Z_COPY_TO_SDCARD.7z
to a FAT32 formatted MicroSD card.
Troubleshooting
Please check this guide.
Otherwise if you have a HackRF-One R9 and the instruction here do not seem to work, you may need to follow the instructions in this link. https://hackerwarehouse.tv/product-knowledgebase/portapack-h2/hackrf-one-r9-and-portapack-compatibility/