Full reset - portapack-mayhem/mayhem-firmware GitHub Wiki
Steps
- 
Backup your importance files in your sdcard to a computer or somewhere safe. 
- 
Download the latest Nightly release from GitHub. 
- 
Take out your sdcard, take out your coin battery (button battery) and put them in somewhere safe and make sure they don't touch each other. 
- 
Following one of these ways to enter DFU mode (You may need to try one or more for success): - holding the RESET and DFU buttons at the same time, while doing this, release RESET, and then release DFU. The LEDs should be ON, and the screen won't show anything.
- Press and holding DFU button, then plug the USB cable, then release the DFU button.
- Press and holding DFU button, then single press the knob, then release the DFU button, then plug the USB cable.
- Plug in USB. Press and hold DFU button and unplug USB. Release DFU button and plug USB back in.
 
- 
Flash the hackrf firmware with DFU tool: - 
windows: From the release package you downloaded in step 2, double click dfu_hackrf_one.batand follow the instructions. Do not disconnect or reset your PortaPack after that procedure.
- 
Linux/ macOS: - Use your package manager to install dfu-utilpackage, the command could besudo apt install dfu-utilorbrew install dfu-utilorpacman -Sy dfu-utilor others depnding on your distro.
- Unarchive the release package you downloaded in step 2, open a terminal, cdinto the dir you unarchived, inputdfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --resetand check if it succeed.
- Do not disconnect or reset your PortaPack after that procedure.
 
- Use your package manager to install 
 
- 
- 
Note that at this point, you had never unplugged or reboot your PortaPack. Now flash latest Mayhem firmware (which is different thing from the one we did above): - 
windows: From the release package you downloaded in step 2, double click flash_portapack_mayhem.batand follow the instructions.
- 
Linux/ macOS: - Use your package manager to install hackrfpackage, the command could besudo apt install hackrforbrew install hackrforpacman -Sy hackrfor others depending on your distro.
- Unarchive the latest firmware package you downloaded.
- cdto the dir which you unarchived the firmware package.
- Excute hackrf_spiflash -w ./firmware/portapack-h1_h2-mayhem.bin
 
- Use your package manager to install 
 
- 
- 
Download the latest Nightly SDCARD contents from GitHub. 
- 
Unarchive the latest Nightly SDCARD contents you downloaded. 
- 
Format your sdcard to FAT32 format. 
- 
Put everything you unarchived in step 8 into your sdcard, but don't insert your sdcard yet. 
- 
Try Won't Boot steps if needed. 
- 
If everything goes well, you can power off, wait at least 1 minute, insert your sdcard, and then put the coin batter back into portapack. 
- 
Power on, go into Settings->P .Memory Mgmt->Reset P.Mem to defaults->YES, Then Power off, wait at least 1 minute.
- 
Try Won't Boot steps again if needed (because without both sdcard and coin battery, the boot config won't be saved). 
- 
Boot the device, finished. 
Notes
- 
If your device cannot be recognized no matter whatever you do: - Try on a Linux machine.
- Try at least 5 different cables.
 
- 
If you are a Ubuntu or Ubuntu based user: - Ubuntu doesn't update their hackrfpackages in their stable repo (till 2024.Jan.02, they're still keeping 2021 version), so you might have a bunch of issues. Just don't use Ubuntu or Ubuntu based distro, or if you have to, compile the hackrf host software (not firmware) yourself.
 
- Ubuntu doesn't update their 
- 
You can try to update the Xilinx cpld on Hackrf, following this: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Updating-the-Xilinx-CPLD-on-hackrf-board 
- 
Submit a GitHub issue if the problem you are trying to resolve still exist.