From fb2e576b34008f5ef131f4c90d212c64f3309034 Mon Sep 17 00:00:00 2001 From: RocketGod <57732082+RocketGod-git@users.noreply.github.com> Date: Tue, 10 Jun 2025 13:36:26 -0700 Subject: [PATCH] Super secret dont look (#2690) * Add new jammer modes Overview This PR enhances the PortaPack Jammer app by introducing eight new signal types, ported from my Flipper Zero RF Jammer app (https://github.com/RocketGod-git/flipper-zero-rf-jammer). These modes expand the app's capability to disrupt a wide range of RF communication protocols, from analog radios to modern digital systems. The implementation preserves the original app structure, resolves namespace conflicts, and ensures compatibility with the Mayhem firmware. New Modes The following modes have been added to the options_type in ui_jammer.hpp, with corresponding signal generation in proc_jammer.cpp: Noise: Generates broadband white noise to interfere with analog and digital signals (e.g., Wi-Fi, Bluetooth, key fobs). Highly effective for overwhelming receivers across a frequency range. Sine: Produces a continuous, unmodulated sine wave to jam narrowband receivers, ideal for analog FM/AM radios or telemetry systems. Square: Emits a harmonic-rich square wave, disrupting digital protocols (e.g., OOK, ASK) and systems sensitive to sharp transitions, such as remote keyless entry. Sawtooth (Experimental): Generates a sawtooth wave with a unique harmonic profile, useful for testing interference against PWM-based or niche analog systems. Triangle (Experimental): Creates a triangle wave with minimal harmonics, suitable for exploratory jamming of narrowband systems or receiver linearity testing. Chirp: Outputs a rapid frequency-sweeping chirp signal, effective against frequency-hopping and spread-spectrum systems (e.g., some Wi-Fi, Bluetooth, or military radios). Gauss: Generates Gaussian noise to mimic natural interference, targeting digital systems like GPS or data links by degrading signal-to-noise ratios. Brute (Experimental): Transmits a constant maximum-amplitude signal to saturate simple receiver front-ends, useful for brute-force jamming of basic analog devices. * Super secret * You gotta get (Get) that (That) dirt off your shoulder --- .../external/fmradio/ui_fmradio.cpp | 2 +- .../external/fmradio/ui_fmradio.hpp | 2 +- firmware/application/ui/external/readme.md | 3 +++ .../application/ui/external/ui_grapheq.cpi | 21 ++++++++++++++++++ .../application/ui/external/ui_grapheq.hpp | 22 +++++++++++++++++++ firmware/common/ui_widget.cpp | 2 ++ firmware/common/ui_widget.hpp | 2 ++ 7 files changed, 52 insertions(+), 2 deletions(-) diff --git a/firmware/application/external/fmradio/ui_fmradio.cpp b/firmware/application/external/fmradio/ui_fmradio.cpp index 706cb945b..73927a89e 100644 --- a/firmware/application/external/fmradio/ui_fmradio.cpp +++ b/firmware/application/external/fmradio/ui_fmradio.cpp @@ -1,6 +1,6 @@ /* * Copyright (C) 2024 HTotoo - * Copyright (C) 2025 RocketGod - Added modes from my Flipper Zero RF Jammer App - https://betaskynet.com + * Copyright (C) 2025 RocketGod * * This file is part of PortaPack. * diff --git a/firmware/application/external/fmradio/ui_fmradio.hpp b/firmware/application/external/fmradio/ui_fmradio.hpp index 8f57cef44..4cad10c2a 100644 --- a/firmware/application/external/fmradio/ui_fmradio.hpp +++ b/firmware/application/external/fmradio/ui_fmradio.hpp @@ -1,6 +1,6 @@ /* * Copyright (C) 2024 HTotoo - * Copyright (C) 2025 RocketGod - Added modes from my Flipper Zero RF Jammer App - https://betaskynet.com + * Copyright (C) 2025 RocketGod * * This file is part of PortaPack. * diff --git a/firmware/application/ui/external/readme.md b/firmware/application/ui/external/readme.md index cae1945d6..0d7a84abe 100644 --- a/firmware/application/ui/external/readme.md +++ b/firmware/application/ui/external/readme.md @@ -1,4 +1,7 @@ +Copyright (C) 2025 HTotoo + + # External UI elements diff --git a/firmware/application/ui/external/ui_grapheq.cpi b/firmware/application/ui/external/ui_grapheq.cpi index 71f4d54a4..6629bc256 100644 --- a/firmware/application/ui/external/ui_grapheq.cpi +++ b/firmware/application/ui/external/ui_grapheq.cpi @@ -1,3 +1,24 @@ +/* + * Copyright (C) 2025 RocketGod + * Copyright (C) 2025 HTotoo + * + * This file is part of PortaPack. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ #include "ui_grapheq.hpp" diff --git a/firmware/application/ui/external/ui_grapheq.hpp b/firmware/application/ui/external/ui_grapheq.hpp index 4e78a4883..e8d326a0b 100644 --- a/firmware/application/ui/external/ui_grapheq.hpp +++ b/firmware/application/ui/external/ui_grapheq.hpp @@ -1,3 +1,25 @@ +/* + * Copyright (C) 2025 RocketGod + * Copyright (C) 2025 HTotoo + * + * This file is part of PortaPack. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + #ifndef __UI_GRAPHEQ_H__ #define __UI_GRAPHEQ_H__ diff --git a/firmware/common/ui_widget.cpp b/firmware/common/ui_widget.cpp index c2b1080bf..f15b9ec84 100644 --- a/firmware/common/ui_widget.cpp +++ b/firmware/common/ui_widget.cpp @@ -1,6 +1,8 @@ /* * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. * Copyright (C) 2016 Furrtek + * Copyright (C) 2025 RocketGod + * Copyright (C) 2025 HTotoo * * This file is part of PortaPack. * diff --git a/firmware/common/ui_widget.hpp b/firmware/common/ui_widget.hpp index d9bfc6e7e..09d7795c7 100644 --- a/firmware/common/ui_widget.hpp +++ b/firmware/common/ui_widget.hpp @@ -1,6 +1,8 @@ /* * Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. * Copyright (C) 2016 Furrtek + * Copyright (C) 2025 RocketGod + * Copyright (C) 2025 HTotoo * * This file is part of PortaPack. *