Mayhem Theme Manager
Loadable theme engine for PortaPack Mayhem firmware on HackRF One.
Overview
A loadable theme engine for PortaPack Mayhem that lets you customize the entire UI from your SD card. Drop a .mthm text file into the THEMES/ folder, select it in Settings, and the menus, icons, title bar, highlights, and buttons all recolor instantly. Works alongside the existing 6 built-in themes. Ships with 10 handcrafted themes inspired by movies, games, and retro computing.
Screenshots








Features
- •Drop .mthm text files into THEMES/ on your SD card. No recompilation needed
- •Select custom themes in Settings > Theme alongside the 6 built-in themes
- •Simple key=value text format. Create your own in any text editor
- •26 style keys + 2 standalone color keys for full UI coverage
- •Hex (#RRGGBB) or decimal (R,G,B) color format
- •Theme persists across reboots. Preference saved to NVRAM
- •Max 16 custom themes listed in the UI
- •Ships with 10 handcrafted example themes
Safety
- ✓Cannot brick or crash the device. All parse errors silently fall back to DefaultGrey
- ✓Cannot corrupt SD card. Theme files are read-only, only filename is written (~30 bytes)
- ✓Cannot corrupt settings. Persistent memory struct is unchanged
- ✓SD card removal safe. Boots to DefaultGrey, preference preserved for reinsertion
- ✓Forward compatible. Unknown keys silently ignored by parser
- ✓Backward compatible. Old firmware treats unknown theme_id as default
- ✓Malformed or incompatible files are silently ignored
- ✓Max file size 8 KB. Themes typically under 1 KB
Included Themes
Electric orange on black. Warm amber glow like a vintage oscilloscope.
Pure green-on-black duotone. Blinking cursor energy.
Near-black void with electric red. The unblinking eye.
Deep violet-black with bright hot pink. Sunset jazz.
Dark grey visor with pink HUD scan lines.
Dark gunmetal grey with pale electric yellow.
Pitch black with alien bioluminescent aqua-green.
Pure black and white. No color. Clean and minimal.
Deep navy blue with bright orange accents.
Dark background with warm peach-salmon text.
Theme File Format
Themes use a simple key=value text format. Each style key takes a background and foreground color pair. Missing keys fall back to DefaultGrey.
# Porpoise // CRT phosphor glow
name = Porpoise
author = SuperBasicStudio
version = 1
bg_darkest = #050200 #FF6600
bg_medium = #FF6600 #000000
bg_lightest = #FF6600 #000000
status_active = #FF6600