How ansfidine/flipper-zero-toolkit works
This repository is a collection of Flipper Zero apps, not one end-to-end product. The README foregrounds BadUSB payload execution and category-based Sub-GHz scanning; the tree also contains a GPIO sensor bridge and a separate Sub-GHz pentest app. The graph preserves those distinct app workflows and their meaningful runtime stages. Some paths and behaviors are documented but not fully sampled, so uncertain interactions are omitted or shown as unverified.
Main entry points: subghz_ui.c Category and signal UI · gpio_sensor_bridge.c App and scene router · subghz_pentest.c App and scene router · scene_category_scan.c Category scan scene
Components 25
BadUSB Manager
- Menu and scenes
apps/badusb/badusb_manager.c - Script executor
apps/badusb/badusb_manager.c - SD payload files
- USB HID keyboard
Sub-GHz Easy
- App entry and state
apps/subghz-easy/subghz_main.c - Category and signal UI
apps/subghz-easy/subghz_ui.c - RSSI worker
apps/subghz-easy/subghz_worker.c - Radio operations
apps/subghz-easy/subghz_radio.c - Signal capture
apps/subghz-easy/subghz_capture.c - Signal replay
apps/subghz-easy/subghz_replay.c - Signal files
apps/subghz-easy/subghz_file.c
Sub-GHz Pentest
- App and scene router
apps/subghz-pentest/subghz_pentest.c - Category scan scene
apps/subghz-pentest/scenes/scene_category_scan.c - Custom scan scene
apps/subghz-pentest/scenes/scene_custom_scan.c - Capture mode scene
apps/subghz-pentest/scenes/scene_capture_mode.c - Transmit scene
apps/subghz-pentest/scenes/scene_transmit.c - Sweep worker
apps/subghz-pentest/subghz_pentest_worker.c - Capture and signal data
apps/subghz-pentest/subghz_pentest_capture.c
GPIO Sensor Bridge
- App and scene router
apps/gpio-sensor-bridge/gpio_sensor_bridge.c - I2C scan scene
apps/gpio-sensor-bridge/scenes/scene_i2c_scan.c - BME280 detection
apps/gpio-sensor-bridge/scenes/scene_sensor.c - About scene
apps/gpio-sensor-bridge/scenes/scene_about.c
Other components
- Flipper user
- Payload scripts
- USB host PC
Connections 23
- Flipper user → Menu and scenes: selects payload
apps/badusb/badusb_manager.c - Payload scripts → SD payload files: stored as files
README.md - Script executor → SD payload files: reads payload
apps/badusb/badusb_manager.c - Script executor → USB HID keyboard: injects keystrokes
apps/badusb/badusb_manager.c - USB HID keyboard → USB host PC: types into
README.md - Flipper user → App entry and state: starts app
README.md - App entry and state → Category and signal UI: displays choices
- Category and signal UI → RSSI worker: starts scanning
- RSSI worker → Radio operations: samples RSSI
apps/subghz-easy/subghz_worker.c - Category and signal UI → Signal capture: starts capture
- Category and signal UI → Signal replay: requests replay
- Signal capture → Signal files: saves signal
- Flipper user → App and scene router: starts app
- App and scene router → Category scan scene: routes to scan
- App and scene router → Custom scan scene: routes to custom scan
- Category scan scene → Sweep worker: starts sweep
apps/subghz-pentest/scenes/scene_category_scan.c - Category scan scene → Capture mode scene: enters capture
apps/subghz-pentest/scenes/scene_category_scan.c - Capture mode scene → Capture and signal data: captures signal
- Transmit scene → Capture and signal data: uses signal data
- Flipper user → App and scene router: starts app
- App and scene router → I2C scan scene: routes to scan
apps/gpio-sensor-bridge/gpio_sensor_bridge.c - App and scene router → BME280 detection: routes to sensor
apps/gpio-sensor-bridge/gpio_sensor_bridge.c - App and scene router → About scene: routes to about
apps/gpio-sensor-bridge/gpio_sensor_bridge.c