📋 Table of Contents click to collapse
⚖️
Before You Begin

Legal Notice & Responsible Use

⚠️ Important: Read this chapter before using any Transmitter or Signal Generator feature. Unlicensed transmission can cause interference with aviation, emergency services, and cellular networks — and carries serious legal penalties in most countries.
1

Receiving vs. Transmitting

Receiving radio signals (passive listening) is legal in almost all countries. The H4M functions as a passive receiver in most apps — FM Radio, ADS-B, Spectrum Analyzer, POCSAG. No licence is required for receive-only operation.

Transmitting radio signals requires either a valid amateur radio licence (ham licence) or use within a designated licence-exempt ISM frequency band at permitted power levels. Without a licence, you may only transmit within the ISM bands listed below.

2

Licence-Exempt ISM Bands

These frequency ranges are generally available for low-power transmission without a licence. Verify your local regulations before transmitting.

Frequency Region Common Uses
433.92 MHzEurope / AsiaIoT sensors, remote controls
868 MHzEuropeLoRa, smart meters
902–928 MHzNorth AmericaLoRa, 915 MHz IoT devices
3

Features That Are Illegal to Use Against Others

Several Mayhem firmware apps are included for research and lab testing only. Using them against others or in public is illegal in most countries:

  • GPS Simulator — Spoofing GPS signals interferes with navigation systems. Illegal in almost all jurisdictions.
  • BLESpam — Flooding Bluetooth LE advertisement packets disrupts nearby devices. Illegal under radio interference laws.
  • Jamming apps — Any deliberate signal jamming is illegal worldwide without specific government authorisation.
  • Replaying security codes — Replaying garage door or key fob signals to gain unauthorised access is illegal.
4

Hardware Safety — Never Transmit Without an Antenna

⚠️ Warning: Always connect a proper antenna before using any Transmitter app or Signal Generator. Operating the HackRF RF front-end without an antenna load can cause permanent hardware damage and will void your warranty.
✅ Chapter Summary: Receive-only use is universally legal. Transmission requires a licence or use of ISM bands. GPS spoofing, jamming, and BLESpam are illegal to use against others. Always connect an antenna before transmitting.
01
Getting Started

What's in the Box

1

Open the Package

H4M box contents: unit, telescopic antenna, USB-C cable, and quick-start card
H4M package contents laid out on a flat surface.

Carefully open the retail box and lay the contents on a flat surface. You should find: the H4M unit, one telescopic SMA antenna, one USB-C cable, and a quick-start card.

💡 Tip: Keep the original packaging — it provides excellent protection for transport and storage.
💡 Battery Information:
  • Charging: Via USB-C at up to 1A. Full charge from empty takes approximately 2–3 hours.
  • Runtime: Approximately 4–8 hours depending on TX/RX usage and screen brightness.
  • Status display: Battery percentage, voltage (V), and current draw (mA) are shown in the top-right of the Mayhem home screen.
  • Safe to use while charging: The device can operate on USB power. Charging current reduces automatically when full.
2

Inspect the H4M Unit

H4M unit front showing LCD screen, navigation buttons, and rotary encoder
H4M unit inspected for screen and button integrity.

Examine the H4M closely. Confirm the 3.2" LCD screen is intact with no cracks, and the rotary click wheel (flat wheel on the front) rotates and clicks smoothly.

3

Check Accessories & SMA Connector Type

Telescopic SMA antenna with male connector for the H4M SMA female port
Telescopic SMA antenna (male connector) for H4M port.

Inspect the telescopic antenna — it should thread onto an SMA male connector. The H4M unit has an SMA female port. Verify the USB-C cable fits both ends. If any item is missing or damaged, contact the seller before use.

✅ Chapter Summary: You've confirmed all package contents are present and undamaged. Your H4M is ready for hardware inspection.
02
Getting Started

Hardware Overview

1

Front Face — Screen & Controls

H4M front panel labeled: 3.2-inch LCD screen, flat rotary click wheel, and Back button
H4M front panel: 3.2" LCD screen, flat rotary click wheel, and Back button.

The front panel features a 3.2" colour LCD screen, a flat rotary click wheel (rotate to scroll, push to confirm) — inspired by the iPod click wheel — and a dedicated Back button to return to the previous screen.

💡 Tip: The rotary encoder is your primary navigation tool — rotate to move the cursor, push firmly to select the highlighted item.
2

Top Edge — RF Port & microSD Slot

H4M top edge showing SMA female antenna port and microSD card slot
H4M top edge: SMA female antenna port and push-push microSD slot.

On the top edge you'll find the SMA female antenna port — always connect an antenna before any RF operation. Beside it is the microSD card slot (push to insert, push again to eject). A microSD card is required for map tiles, file capture, and replay functions.

3

Bottom Edge — USB-C Port & Headphone Jack

H4M bottom edge showing USB-C port and 3.5mm headphone jack
H4M bottom edge: USB-C port and 3.5mm headphone jack.

The bottom edge has the USB-C port used for charging and for connecting to a PC (firmware flashing, file transfer). Many H4M variants also include a 3.5mm headphone jack for private audio monitoring when using audio receiver apps.

4

Side — Power Slider

H4M side power slider — slide UP to power on, DOWN to power off
H4M side power slider — slide UP to power on, DOWN to power off.

The power slider is on the right side of the unit. Slide it UP to power on, and slide it DOWN to power off from any screen. The switch is a physical ON/OFF latch — no hold timing required.

✅ Chapter Summary: You now know every port, button, and control surface on the H4M — SMA port, microSD slot, USB-C, headphone jack, rotary click wheel, and power slider.
💾
Getting Started

SD Card Setup

A microSD card is optional for basic use but required for maps, IQ file capture, replay, and over-the-air firmware updates. Set it up before first boot.

1

Choose & Format Your microSD Card

Use a microSD card of at least 8 GB (32 GB or larger recommended for captures). The card must be formatted as FAT32 — exFAT and NTFS are not supported by Mayhem firmware.

  • Windows: Right-click the card in File Explorer → Format → FAT32
  • macOS: Disk Utility → Erase → MS-DOS (FAT) format
  • Linux: sudo mkfs.fat -F 32 /dev/sdX1
💡 Tip: Cards over 32 GB default to exFAT on Windows. Use SD Card Formatter (sdcard.org) to force FAT32 on larger cards.
2

Create the Required Folder Structure

Create these folders in the root of the formatted card. Folder names are case-sensitive:

FIRMWARE/       ← .bin files for SD-based firmware update
CAPTURES/       ← IQ recording files saved by the Capture app
MAPS/           ← Map tile files for ADS-B and GPS map view
SETTINGS/       ← App configuration and frequency manager files
REPLAY/         ← .C16 / .C8 files for the Replay app
SAMPLES/        ← Signal sample files

Mayhem firmware creates missing folders automatically on first boot, but creating them manually ensures correct card recognition.

3

Insert the Card

Locate the push-push microSD slot on the top edge of the H4M (beside the SMA antenna port). Orient the card with the contacts facing down and the notched corner aligned with the slot. Push firmly until you feel a click — the card is now locked. To eject, push again until a second click and the card springs out.

⚠️ Warning: Never insert or remove the microSD card while the device is powered on. Always power off completely before changing cards to avoid file system corruption.
4

Download Map Tiles (Optional)

For the ADS-B map view and GPS-based apps, download map tile files and copy them into the MAPS/ folder. See the Mayhem wiki for the tile download tool and step-by-step instructions: github.com/portapack-mayhem/mayhem-firmware/wiki/Map

✅ Chapter Summary: Your microSD card is formatted FAT32 with the correct folder structure and seated in the H4M. You're now ready for first boot, IQ capture, and map view.
03
Getting Started

First Boot & Navigation

1

Power On & Boot Sequence

Mayhem firmware boot logo and version number displayed on the H4M LCD
Mayhem firmware boot logo and version number on LCD.

Slide the power slider UP. The Mayhem firmware boot logo appears on the LCD, followed by a brief splash screen showing the firmware version number (e.g., v2.x.x). Boot takes 3–5 seconds.

💡 Tip: If the screen stays dark after sliding the power switch, slide it back to OFF, wait 2 seconds, then try again. If the battery is fully drained, charge via USB-C for at least 15 minutes before attempting boot.
2

Main Menu Overview

Mayhem main menu grid showing Receiver, Transmitter, Capture, Replay, Tools, and Setup icons
Mayhem main menu grid showing app categories.

After boot, the Main Menu loads. You'll see a grid of app icons covering the main categories: Receiver, Transmitter, Capture, Replay, Tools, and Setup. A status bar at the top displays battery level, time, and signal information.

3

Navigating Apps

Rotary encoder selection highlight moving through the main menu app grid
Rotary encoder navigating highlighted app icon in main menu.

Use the rotary encoder to highlight an app icon (the selection highlight moves as you rotate). Push the encoder to open the highlighted app. Inside any app, press the Back button to return to the previous screen or the main menu.

4

Adjusting Display & Clock

Setup menu showing Display brightness and Date/Time configuration screens
Setup menu: Display brightness and Date/Time configuration screens.

Navigate to Setup > Display to adjust screen brightness (rotate encoder to change value, push to confirm). Go to Setup > Date/Time to set the current date and time — this ensures accurate timestamps on captured files.

✅ Chapter Summary: Your H4M is running Mayhem firmware and you can confidently navigate the main menu, open apps, and adjust display settings.
04
Getting Started

Connecting Antennas

1

Attach the Included Telescopic Antenna

Telescopic antenna being threaded clockwise onto the H4M SMA female port
Telescopic antenna being threaded clockwise onto SMA female port.

Thread the included telescopic antenna onto the SMA female port on the top of the H4M. Rotate clockwise until it is snug — finger-tight is sufficient, do not over-tighten as this can damage the SMA threads.

⚠️ Warning: Never transmit (use Transmitter apps or Signal Generator) without an antenna connected. Operating without an antenna load can damage the H4M's RF front end and may void warranty.
2

Extend to Optimal Length

Telescopic antenna extended to optimal quarter-wavelength for a target frequency
Telescopic antenna extended to optimal length for target frequency.

Extend the telescopic antenna to its full length for broadband reception. For best performance at a specific frequency, use the quarter-wavelength formula: length (cm) = 7500 ÷ frequency (MHz). For example, extend to approximately 17 cm for 433 MHz ISM signals.

3

Swap Antennas for Different Frequency Bands

Antenna type guide showing short whip, mag-mount vertical, and ground plane antenna options
Antenna type guide: short whip, mag-mount, and ground plane options.

For best results in different bands, use purpose-built antennas: a short whip for 900 MHz (LoRa, GSM), a mag-mount vertical for VHF/UHF (137–500 MHz), or a ground plane antenna for ADS-B at 1090 MHz. All antennas must have an SMA male connector to fit the H4M port.

✅ Chapter Summary: Your H4M has a correctly fitted antenna and you understand how to optimise antenna length and selection for different frequency bands.
05
Basic Use Cases

FM Radio Receiver

1

Open the FM Broadcast App

FM Broadcast app open on the H4M screen showing frequency display and signal meter
FM Broadcast app open on H4M screen.

From the main menu, navigate to Receiver and then select FM Broadcast. The FM receiver app opens, showing a frequency display and signal strength meter.

2

Tune Your Frequency

FM Broadcast app on H4M showing frequency tuned to 100.7 MHz with signal strength bar at 70 percent
FM Broadcast app tuned to 100.7 MHz — signal strength bar indicates a strong station.

The frequency defaults to 100.0 MHz. Rotate the click wheel to change frequency in 0.1 MHz steps. FM broadcast stations operate between 87.5 and 108.0 MHz. The signal strength bar fills when you land on a strong station — look for a sharp increase as you tune past a carrier.

💡 Tip: In urban areas there are often many stations; rotate the encoder quickly to scan through the band and stop when you hear clear audio.
3

Adjust Audio Output

Headphones plugged into the H4M 3.5mm jack while FM app plays audio
Headphones plugged into 3.5mm jack — speaker mutes automatically.

Audio plays through the built-in speaker by default. Plug headphones into the 3.5mm jack on the bottom edge for private listening — the speaker is muted automatically when headphones are connected. Adjust volume using the encoder while in the FM app.

4

Exit & Return

Back button being pressed to return to the main menu from the FM Broadcast app
Back button returning to main menu from FM app.

Press the Back button to return to the main menu. The last tuned frequency is remembered and will be restored the next time you open FM Broadcast.

✅ Chapter Summary: You've successfully received your first FM broadcast signal. Your H4M is confirmed working as an SDR receiver.
06
Basic Use Cases

ADS-B Flight Tracker

1

Open the ADS-B App

ADS-B app open on H4M and listening on 1090 MHz
ADS-B app open, listening on 1090 MHz.

From the main menu, navigate to Receiver > ADS-B. The app loads immediately and begins listening on 1090 MHz, the universal ADS-B transponder frequency used by commercial and private aircraft worldwide.

2

Antenna Recommendation for 1090 MHz

Short stub antenna approximately 6.5 cm long for optimal 1090 MHz ADS-B reception
Short stub antenna (≈6.5 cm) for optimal 1090 MHz ADS-B reception.

For best ADS-B reception, use a short stub antenna (≈6.5 cm) or a dedicated 1090 MHz patch antenna. The included telescopic antenna extended to about 6–7 cm also works. The built-in LNA in the H4M boosts sensitivity at this frequency.

💡 Tip: Position the H4M near a window or outdoors for dramatically better results — 1090 MHz is a line-of-sight frequency and walls attenuate it significantly.
3

Reading the Aircraft List

Live ADS-B aircraft list showing ICAO address, callsign, altitude, and ground speed columns
Live ADS-B aircraft list showing ICAO, callsign, altitude, and speed.

Aircraft within approximately 150 km line-of-sight appear in a scrollable list. Each entry shows the ICAO 24-bit hex address (unique aircraft identifier), callsign, altitude (in feet), and ground speed (knots). Entries refresh in real time as new ADS-B frames are received.

4

Aircraft Detail & Map View

H4M ADS-B aircraft detail screen showing callsign EZY2341, altitude 32000 ft, speed 465 kts, GPS coordinates
ADS-B aircraft detail view: callsign, altitude, speed, squawk code, and GPS coordinates.

Highlight an aircraft and push the encoder to view full details including GPS coordinates, heading, squawk code, and message count. If you have a microSD card with map tiles installed (see Ch.2b), a live map view shows aircraft positions plotted geographically.

✅ Chapter Summary: You can now track real aircraft flying overhead in real time using the H4M's ADS-B receiver — no internet connection required.
07
Basic Use Cases

Spectrum Analyzer

1

Open the Spectrum App

Spectrum analyzer waterfall display open showing live RF energy scrolling downward
Spectrum analyzer waterfall display showing live RF energy.

From the main menu, navigate to Tools > Spectrum. The spectrum analyzer opens and immediately begins displaying live RF energy as a scrolling waterfall display. The X-axis represents frequency, the Y-axis is time (newest at top), and colour represents signal power.

2

Set Centre Frequency & Span

Spectrum app centre frequency and span fields being adjusted with the rotary encoder
Spectrum app centre frequency and span adjustment via encoder.

Use the encoder to adjust the centre frequency — the display re-centres as you rotate. Press the directional buttons to switch focus between frequency and span/gain fields. Reducing the span gives you a narrower, more detailed view; increasing it lets you survey a wider band at once.

💡 Tip: The 433 MHz ISM band is almost always busy with IoT sensors, garage door remotes, and weather stations — it's an excellent starting point to confirm the spectrum analyzer is working.
3

Interpreting the Waterfall

Waterfall display showing bright warm colours for strong signals and dark cool colours for no signal
Waterfall display: bright (strong signal) vs dark (no signal) areas.

Bright or warm colours (yellow, orange, red) indicate strong RF energy; dark or cool colours (dark blue, black) indicate no or weak signal. A narrow bright stripe is a CW carrier or narrowband transmission. A wide bright block suggests a wideband signal like FM or Wi-Fi. Use this tool to identify active frequencies before tuning a receiver app to them.

✅ Chapter Summary: You can now visualise RF energy across any frequency range — an essential first step before using any receiver or transmitter application.
08
Advanced Modes

Transmit & Signal Generator

1

Open Signal Generator

Signal Generator app showing waveform type selector and frequency field
Signal Generator app with waveform type selector.

From the main menu, navigate to Transmitter > Signal Generator. This app lets the H4M transmit a continuous or modulated test tone, useful for antenna testing, RF path verification, and lab bench work.

⚠️ Warning: Transmitting on frequencies you are not licensed for is illegal in most countries. Only use on ISM bands (433.92 MHz, 868 MHz, 915 MHz) or frequencies covered by a valid amateur radio licence. Unauthorised transmission can interfere with aviation, emergency services, and cellular networks.
2

Set Frequency & Waveform

Signal Generator with frequency field and waveform options: sine, square, triangle, and sawtooth
Signal Generator frequency field and waveform options (sine, square, triangle).

Use the encoder to set the desired centre frequency. Press the directional buttons to move between fields, then rotate the encoder to select the waveform type: Sine (pure carrier), Square, Triangle, or Sawtooth. Each waveform has different harmonic content — sine is cleanest for antenna testing.

3

Set Output Power & Start Transmitting

Signal Generator active status indicator confirming the RF stage is transmitting
Signal Generator transmitting — status indicator shows TX active.

Adjust the TX gain / output power setting (0 = minimum, maximum varies by firmware build). Start at the lowest power level needed for your test. Push the encoder to begin transmitting — the status indicator changes to confirm the RF stage is active.

4

Stop Transmission

Back button pressed to stop transmission — status indicator returns to idle receive state
Stopping transmission by pressing Back — status returns to idle.

Push the encoder again or press the Back button to stop transmission immediately. Always stop transmission when done — leaving the transmitter running drains the battery and may cause interference. Verify the status indicator has returned to receive/idle state.

✅ Chapter Summary: You can generate calibrated RF test signals for antenna testing and receiver verification — responsibly and within the bounds of your local radio regulations.
09
Advanced Modes

POCSAG & Pager Decode

1

Open the POCSAG App

POCSAG decoder app open on H4M and waiting for pager signal transmissions
POCSAG decoder app open and waiting for pager signals.

From the main menu, navigate to Receiver > POCSAG. POCSAG (Post Office Code Standardisation Advisory Group) is a widely-used one-way paging protocol still active in hospitals, emergency services, and industrial facilities in many countries.

2

Set the Correct Pager Frequency

POCSAG app frequency field set to a local pager frequency in the VHF or UHF band
POCSAG app frequency field set to local pager frequency.

POCSAG transmissions are most commonly found between 152–174 MHz (VHF) and 460–470 MHz (UHF), though exact frequencies vary by country and operator. Use the encoder to enter the local pager frequency. If unknown, first use the Spectrum Analyzer (Tools > Spectrum) to locate active narrowband carriers in those bands.

💡 Tip: Check SDR enthusiast forums (e.g., RTL-SDR.com forums, radioreference.com) for a database of known pager frequencies in your country.
3

Decode Live Pager Messages

Live decoded POCSAG messages showing timestamp, RIC address, function code, and message text
Live decoded POCSAG messages with timestamp, RIC address, and text.

Once tuned to an active frequency, decoded POCSAG messages appear in real time. Each entry shows a timestamp, the RIC address (pager device ID), the function code, and the message text (numeric or alphanumeric, depending on transmission type). Messages scroll upward as new ones arrive.

✅ Chapter Summary: You can now receive and decode POCSAG pager transmissions in your area — a useful tool for radio monitoring and protocol analysis.
Advanced Modes

Capture & Replay

Capture records raw IQ (In-phase/Quadrature) samples directly to your SD card. Replay transmits them back through the RF output — effectively reproducing any signal you've recorded. A formatted microSD card (Ch.2b) is required for both.

1

Record a Signal with Capture

Mayhem Capture app screen on H4M showing centre frequency 433.92 MHz, sample rate 8 Msps, and red record button
Capture app: set frequency to 433.92 MHz, sample rate to 8 Msps, press encoder to record.

From the main menu, navigate to Capture. Set the centre frequency to the signal you want to record (e.g., 433.92 MHz for ISM sensors). Set the sample rate — higher rates capture wider bandwidth but create larger files. Press the encoder to start recording; press again to stop. The file is saved to CAPTURES/ on the SD card as a .C16 file.

💡 Tip: A 1-minute capture at 8 Msps generates approximately 1 GB of data. For short signals (remote controls, key fobs), capture for just 5–10 seconds.
2

Play Back with Replay

Mayhem Replay app file browser showing .C16 files in CAPTURES folder with transmit button active
Replay app: browse CAPTURES/ folder, select .C16 file, set matching frequency, press encoder to transmit.

Navigate to Replay from the main menu. Browse the file list on the SD card and select your .C16 capture file. Set the same frequency used during capture. Press the encoder to transmit — the H4M re-broadcasts the recorded IQ samples through the RF output at the original frequency and bandwidth.

⚠️ Warning: Replaying signals such as door openers, key fobs, or sensor data to gain unauthorised access to property or systems is illegal. Replay is intended for lab testing and signal research only. Always ensure you have permission before replaying any captured signal.
3

Flipper Zero Compatibility (.sub Files)

Diagram showing .sub file workflow from Flipper Zero SD card to H4M Flipper TX app
Copy .sub files from Flipper Zero SD card to H4M SD card — open in Replay > Flipper TX app.

The Flipper TX app in Mayhem can replay .sub signal files from the Flipper Zero ecosystem. Copy .sub files to your SD card and open them via Replay. This allows sharing signal libraries between devices in your RF lab setup.

✅ Chapter Summary: You can now record raw IQ signal captures to SD card and replay them for testing and analysis. Use responsibly and only on signals you are authorised to transmit.
🖥
Advanced Modes

PC-Connected SDR Mode

The H4M also works as a USB-connected SDR for your computer, letting you use software like SDR#, GQRX, or GNU Radio — unlocking full waterfall displays, demodulation plugins, and larger-screen operation. A USB-C data cable is required.

1

Connect via USB-C and Install Drivers

H4M connected to laptop via USB-C cable — PC-connected SDR mode diagram
USB-C data connection from H4M to host PC.

Power off the H4M first. Connect a USB-C data cable between the H4M and your computer. In PC mode the device draws power from USB — no battery is consumed.

  • Windows: Install the WinUSB driver using Zadig (zadig.akeo.ie) — select "HackRF One", then click "Install WinUSB".
  • macOS: No drivers needed — HackRF is natively supported via libusb.
  • Linux: No drivers needed. Add udev rules if device not accessible without root: sudo cp 53-hackrf.rules /etc/udev/rules.d/
💡 Tip: Use a USB-C cable that supports data transfer, not a charge-only cable. If the device is not detected, try a different cable first.
2

Open SDR# (Windows) or GQRX (Linux / macOS)

SDR# waterfall display showing FM broadcast spectrum with HackRF One selected as source
SDR# waterfall — FM broadcast band visible as dense vertical peaks.

Launch SDR#. In the Source dropdown, select HackRF One. Set sample rate to 8 Msps as a starting point. Click Start (►) to stream live RF spectrum. For GQRX on Linux/macOS: launch GQRX, select HackRF One in device configuration, set sample rate to 8M.

💡 Tip: The FM broadcast band (87.5–108 MHz) makes an excellent first test — you'll see a waterfall full of strong vertical peaks, confirming the device is receiving.
3

Open IQ Captures from SD Card in PC Software

SD card CAPTURES folder with .C16 IQ files being opened in SDR# on a PC
CAPTURES/ folder contains .C16 IQ files ready for PC analysis.

Capture files recorded on the H4M are stored in the CAPTURES/ SD folder as .C16 raw IQ files. Open them on your PC:

  • SDR#: File → IQ file source → select .C16 file
  • GQRX: File → Open I/Q File → select .C16 file
  • GNU Radio: Use a File Source block with Complex Int 16 type
💡 Tip: The sample rate is embedded in the filename by Mayhem — e.g., capture_433mhz_8000kHz.C16 = 8 MHz sample rate.
✅ Chapter Summary: The H4M functions as a full HackRF One USB SDR for SDR#, GQRX, and GNU Radio. Windows requires the Zadig WinUSB driver. IQ captures from CAPTURES/ open directly in PC software as .C16 files.
10
Maintenance

Firmware Update

1

Check Your Current Firmware Version

H4M Settings screen on 3.2-inch LCD showing Mayhem firmware version, build date n_240829, and hardware revision H4M
H4M Settings screen: firmware version, build date, and hardware revision visible on the 3.2" LCD.

From the Mayhem home screen, navigate to Settings. The firmware version string and build date are shown at the top of the screen. The build date format is YYYYMMDD — for example, n_240829 means August 29, 2024.

Compare your version with the latest release at github.com/portapack-mayhem/mayhem-firmware/releases. If you are already on the latest version, you can skip the remaining steps.

2

Download the Latest Mayhem Firmware

Mayhem firmware releases page on GitHub showing the latest .tar.gz release archive
Mayhem firmware releases page on GitHub showing latest .tar.gz download.

On your PC, navigate to the official Mayhem firmware releases page: github.com/portapack-mayhem/mayhem-firmware/releases. Download the latest .tar.gz release archive. Always use official releases — never flash firmware from unofficial sources.

3

Extract the Firmware Files

Extracted firmware archive showing hackrf_one_usb.bin and portapack binary files
Extracted firmware archive showing hackrf_one_usb.bin and portapack binary.

Extract the archive. Inside, you'll find two critical files: hackrf_one_usb.bin (the HackRF USB firmware) and portapack-h1_h2-mayhem.bin (the PortaPack application firmware). Both files must be flashed in sequence.

4

Power Off the H4M

H4M powered off cleanly with screen completely dark before entering DFU mode
H4M powered off cleanly before entering DFU mode.

Slide the power slider to OFF to perform a clean shutdown. Wait until the screen goes completely dark before proceeding. Do not attempt to enter DFU mode while the device is still running.

5

Enter DFU Mode

DFU button location on the H4M and the USB-C connection sequence for entering DFU mode
DFU button location and USB-C connection sequence for firmware flashing.

Locate the DFU button — a small recessed button near the USB-C port. Hold the DFU button, then connect the USB-C cable to your PC, then release the DFU button. The device will enumerate as a DFU device. No screen output is shown in DFU mode — this is normal.

💡 Tip: On Linux/macOS, run hackrf_info after connecting — it should report a device in DFU mode if done correctly.
6

Flash the Firmware

Terminal showing hackrf_update commands completing successfully with Update complete message
Terminal output of hackrf_update commands completing successfully.

With the HackRF tools installed on your PC, run the following commands in order:

hackrf_update -f hackrf_one_usb.bin
hackrf_update -f portapack-h1_h2-mayhem.bin

Each command takes 30–90 seconds. Wait for "Update complete" before disconnecting.

⚠️ Warning: Do not disconnect the USB cable during firmware flashing. Interrupting the process can brick the device and require JTAG recovery.
✅ Chapter Summary: Your H4M is now running the latest Mayhem firmware with all new features, bug fixes, and protocol updates.
11
Maintenance

Troubleshooting

1

Device Won't Power On

Troubleshooting decision tree starting from device won't power on leading to charge for 1 hour
Troubleshooting decision tree: device won't power on → charge for 1 hour.

Connect the H4M via USB-C and charge for at least 1 hour using a known-good charger (5V/1A or greater). Then try sliding the power switch to OFF and back to ON. If the device still doesn't respond, try a different USB-C cable — many cables are charge-only with no data lines, but this can also affect charging behaviour on some units.

2

Screen On but Device Unresponsive

H4M LCD screen on but buttons producing no response — hold encoder 3 seconds for soft reset
H4M LCD on but unresponsive — hold encoder 3 seconds for soft reset.

If the LCD is lit but buttons and encoder produce no response, try a soft reset: hold the rotary encoder button down for 3 seconds. If that fails, perform a hard reset: slide the power switch to OFF, wait 5 seconds, then slide back to ON.

💡 Tip: A corrupt microSD card can sometimes cause the firmware to hang at startup. Try removing the microSD card and booting without it.
3

No Audio Output

Audio troubleshooting showing headphone jack check, volume setting, and FM volume control via encoder
Audio troubleshooting: headphone jack, volume setting, and FM volume control.

First, check that headphones are fully seated if using the 3.5mm jack. Navigate to Setup > Audio and verify the volume is not set to zero or muted. In the FM Broadcast app, volume is also controlled by the encoder while the frequency display is active — try rotating the encoder after confirming you're tuned to a station.

4

No Signals Detected

No signals detected checklist: verify antenna is connected, check frequency, open Spectrum to confirm RF activity
No signals detected: check antenna connection, use Spectrum to verify RF activity.

Verify the antenna is firmly screwed on (a loose antenna is the most common cause of poor reception). Confirm you're tuned to the correct frequency band for the signal type. Open Tools > Spectrum to visually confirm RF activity in your area — if the waterfall is completely flat, check the antenna connection or try a different location.

💡 Tip: The Mayhem GitHub wiki has detailed solutions for most known issues: github.com/portapack-mayhem/mayhem-firmware/wiki
✅ Chapter Summary: Most H4M issues are resolved by checking power/charging, performing a reset, verifying antenna connection, or consulting the Mayhem wiki.
A
Reference

Mayhem App Catalog

Mayhem firmware includes 60+ built-in applications. Below is a full category map to help you explore the rest.

Receivers

  • Broadcast FM — FM radio 87.5–108 MHz
  • ADS-B — Aircraft transponders, 1090 MHz
  • AIS — Marine vessel tracking, 161/162 MHz
  • ACARS — Aircraft data link, 129/136 MHz
  • POCSAG / Flex — Pager messages, 152–470 MHz
  • NOAA APT — Weather satellite images, 137 MHz
  • APRS — Amateur packet, 144.39 MHz (NA) / 144.80 MHz (EU)
  • TPMS — Tyre pressure sensors, 433/315 MHz
  • BLE — Bluetooth Low Energy scanner
  • ERT / AMR — Utility meter reader
  • SSTV — Slow-scan television image decoder

Transmitters

  • FM TX — FM broadcast transmitter
  • AM TX — AM transmitter
  • SSB TX — Single sideband voice
  • APRS TX — Packet radio beacon
  • BLE TX — Bluetooth Low Energy beacons
  • GPS Simulator — GPS signal simulation (⚠️ licensed use only)
  • OOK TX — Generic on-off keying transmitter

Signal Tools

  • Spectrum Analyzer — Wideband RF spectrum view
  • Capture — Raw IQ recording to SD card (.C16)
  • Replay — Play back captured IQ from SD card
  • Frequency Scanner — Auto-scan for active signals
  • Looking Glass — Panoramic spectrum, up to 2 GHz wide
  • Signal Generator — CW / tone / noise source

Utilities

  • File Manager — Browse / rename / delete SD files
  • Frequency Manager — Custom frequency bookmarks
  • Map Viewer — OSM offline map tiles from SD card
  • Antenna Length — Quarter / half-wave calculator
  • Clock — Real-time clock display
  • Calculator — RF engineering calculator

Games

  • Doom
  • Tetris
  • Breakout
  • Pong

Quick-Start: Three Popular Apps

💡 AIS — Marine Vessel Tracking (161.975 / 162.025 MHz): Navigate to Receiver > AIS. Set centre frequency to 162 MHz. With an outdoor antenna or near a harbour, vessel position reports appear within seconds.
💡 NOAA APT — Weather Satellite Images (137.1 / 137.5 / 137.9125 MHz): Navigate to Receiver > NOAA APT. Record a full pass (~12 minutes) with Capture, then decode the .C16 file on PC with WXtoImg or atpdec.
💡 APRS — Amateur Radio Packet (144.39 MHz NA / 144.80 MHz EU): Navigate to Receiver > APRS. No licence required to receive. Transmitting requires an amateur radio licence.
✅ Appendix A: Mayhem includes receivers for aircraft, marine, pager, weather satellite, and Bluetooth, plus transmitters for FM/AM/SSB/APRS. Verify local regulations before transmitting.

You're all set!

You've completed the H4M guide. Your device is configured, your antenna is connected, and you've explored all the core Mayhem apps.

What's next?