Giter Club home page Giter Club logo

furrtek / portapack-havoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharebrained/portapack-hackrf

784.0 171.0 218.0 69.77 MB

Custom firmware for the HackRF SDR + PortaPack H1 addon

License: GNU General Public License v2.0

Makefile 2.93% C++ 27.59% C 61.31% Assembly 1.28% HTML 1.90% CSS 0.08% Python 0.09% Objective-C 4.60% CMake 0.15% VHDL 0.06% Shell 0.02%
hackrf sdr embedded radio portapack sstv pmr pocsag rds afsk ook morse ads-b ham-radio

portapack-havoc's Introduction

HAVOC banner

HAVOC is a fork of the PortaPack H1 firmware, a portability add-on for the HackRF One software-defined radio.

Hardware is available at ShareBrained Technology.

It is build on top of ShareBrained's firmware.

Documentation & finding help

Summary

As its name implies, HAVOC's functions can be fun, mean or even useful sometimes. You probably shouldn't use them. No ! Bad ! Put it down.

In most countries, radio transmissions are tightly regulated. Transmitting outside of free/public bands without a licence or authorization, even at very low power, is certainly forbidden where you live. Always bear that in mind. You're the ONLY ONE responsible for what you do with this software.

Fork features

  • IQ file replay
  • Microphone FM transmit with CTCSS
  • CTCSS decoder
  • Frequency manager (save & load from SD card, with categories and notes)
  • File manager
  • "Soundboard" wave file player (put 8-bit mono files in SD card /wav directory)
  • ADS-B receiver with map view
  • ADS-B transmitter (aircraft spoof)
  • SSTV transmitter
  • Fully configurable jammer
  • POCSAG transmitter
  • POCSAG receiver/decoder
  • Morse transmitter (FM tone and CW)
  • OOK transmitter for common remote encoders (PT2262, doorbells, remote outlets, some garage doors, ...)
  • RDS (Radio Data System) PSN, RadioText and Time groups transmitter
  • Meteorological radiosonde receiver (M10, M2K2, ...)
  • AFSK receiver
  • AFSK transmitter (Bell202, ...)
  • Nuoptix DTMF sync transmitter (quite specific but can be useful in some theme parks :) )
  • TouchTunes jukebox universal remote (by Notpike)
  • LCR (Language de Commande Routier) message generator
  • Street lighting control transmitter (CCIR tones)
  • "Play Dead" in case of emergency
  • Fully configurable RF signal generator
  • RSSI audio output as pitch (for direction finding)

Progress

Feature Progress Notes
POCSAG RX   95% Needs support for numeric messages
Morse TX 95% Needs fox hunt scheduler and live keying mode
Mic. TX 95% Carrier leak bug, need to find guard tones for various brands of wireless mics
ADS-B RX 90% Needs angle and speed decoding
Close-Callâ„¢ 85% Needs adjustments and optimization for wider frequency range
ADS-B TX 85% Works but baseband module needs cleaning
SSTV TX 80% Needs better bitmap file handling, support for other modes (ROBOT ?) and callsign FSK ID
Radiosondes 75% Needs support for other models
Wave visualizer 70% Needs cleaning and handling of other sample formats, high priority
AFSK RX 70% Needs work regarding flexibility
Sigfox RX 40% Tuning basics done, needs decoding code and testing
Generic TXs 30% Raw AX.25, AFSK, FSK, CCIR, DTMF... Tonesets are ready
CC1101 TRX 10% And other sub-GHz transceiver chips like SI4032...
SSTV RX 0%
Scanner 0% Easy, could be used with POCSAG RX to catch jumping channels
SSB TX 0% Requested but math is hard :(
OOK RX 0% See if rtl_433's author is fine with using protocol defs
Analog TV TX 0% Enough CPU ? B&W and no sound ?
LoJack RX 0% Basically AFSK RX
DMR info RX 0% Retrieve DMR channel info. No voice because of vocoder complexity and possible legal issue
Tetra info? 0% Same

Screenshots

HAVOC screenshots

Thanks

  • Sig and cLx for research on AFSK LCR, Xylos, and for lending remote-controlled outlets
  • Pyr3x, Rainer Matla and DC1RDB for the donations :)
  • Keld Norman and Giorgio Campiotti for ideas and suggestions
  • People who really helped instead of begging

License

Except where specified in subdirectories of this project, all work is offered under the following license:

Copyright (C) 2013-2019 Jared Boone, ShareBrained Technology, Inc.

Copyright (C) 2015-2016 Furrtek

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 of the License, 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; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

portapack-havoc's People

Contributors

argilo avatar brianlechthaler avatar clem-42 avatar dhoetger avatar eried avatar f4gev avatar furrtek avatar giorgiofox avatar imdroided avatar jboone avatar joakar avatar kimiv avatar leres avatar maescool avatar mjwaxios avatar mrmookie avatar n0vapixel avatar nickbouwhuis avatar opcode1300 avatar rndmnmbr avatar silascutler avatar troussos avatar xmycroftx avatar z4ziggy avatar zerochaos- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

portapack-havoc's Issues

A place to talk

Hello,

First this is not an issue but a request. Thanks for this very cool firmware. I would like to help and make some PR. Is there any slack/irc where we can all interact about this repository ? (I would like to add some features for sigfox/lora networks)

Thanks again.

HackRF Mode issue

When I go into hackrf mode and run hackrf_info it states that no boards can be found. Is HackRF mode not working properly?

Building From Source

Getting many errors when using git clone and trying to build from source, worked through most of the errors and now stuck with this output

[ 0%] Building CXX object firmware/application/CMakeFiles/application.elf.dir/rf_path.cpp.obj
/home//portapack-havoc/firmware/application/rf_path.cpp: In constructor 'constexpr rf::path::{anonymous}::Config::Config(rf::Direction, rf::path::Band, bool)':
/home//portapack-havoc/firmware/application/rf_path.cpp:99:2: sorry, unimplemented: use of the value of the object being constructed in a constant expression
}
^
/home//portapack-havoc/firmware/application/rf_path.cpp: At global scope:
/home//portapack-havoc/firmware/application/rf_path.cpp:169:49: in constexpr expansion of 'rf::path::{anonymous}::config_band()'
/home//portapack-havoc/firmware/application/rf_path.cpp:163:25: in constexpr expansion of 'rf::path::{anonymous}::config_rx_tx((rf::path::Band)0)'
/home//portapack-havoc/firmware/application/rf_path.cpp:156:38: in constexpr expansion of 'rf::path::{anonymous}::config_amp((rf::Direction)0, ((rf::path::Band)band))'
/home//portapack-havoc/firmware/application/rf_path.cpp:169:49: error: 'constexpr rf::path::{anonymous}::Config::Config(rf::Direction, rf::path::Band, bool)' called in a constant expression
constexpr ConfigBand config_table = config_band();
^
/home//portapack-havoc/firmware/application/rf_path.cpp:169:49: error: 'constexpr rf::path::{anonymous}::Config::Config(rf::Direction, rf::path::Band, bool)' called in a constant expression
firmware/application/CMakeFiles/application.elf.dir/build.make:2211: recipe for target 'firmware/application/CMakeFiles/application.elf.dir/rf_path.cpp.obj' failed
make[2]: *** [firmware/application/CMakeFiles/application.elf.dir/rf_path.cpp.obj] Error 1
CMakeFiles/Makefile2:247: recipe for target 'firmware/application/CMakeFiles/application.elf.dir/all' failed
make[1]: *** [firmware/application/CMakeFiles/application.elf.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Please advise on what is needed to compile from source, I have all the needed depends and compilers and toolchains

Building latest firmware

I just did cloned latest I noticed build problm

My system is Linux Mate 18.01 x64, camke 3.7. After running cmake .. in build I got error of missing arm-none-eabi-g++. After installing missing package gcc-arm-none-eabi I did clean build folder and did run cmake .. again. This time no error.
Now when I did try to run make I got this error:

(master) $ make
[ 0%] Generating hackrf_cpld_data.hpp, hackrf_cpld_data.cpp
[ 0%] Generating portapack_cpld_data.cpp
Scanning dependencies of target application.elf
[ 1%] Building C object firmware/application/CMakeFiles/application.elf.dir//chibios/os/ports/GCC/ARMCMx/crt0.c.obj
arm-none-eabi-gcc: error: nano.specs: No such file or directory
firmware/application/CMakeFiles/application.elf.dir/build.make:75: recipe for target 'firmware/application/CMakeFiles/application.elf.dir/
/chibios/os/ports/GCC/ARMCMx/crt0.c.obj' failed
make[2]: *** [firmware/application/CMakeFiles/application.elf.dir/__/chibios/os/ports/GCC/ARMCMx/crt0.c.obj] Error 1
CMakeFiles/Makefile2:247: recipe for target 'firmware/application/CMakeFiles/application.elf.dir/all' failed
make[1]: *** [firmware/application/CMakeFiles/application.elf.dir/all] Error 2

Audio TX Soundboard don't work

Hi,
with latest two release the Soundboard hangup when selected.

Now what I do to transmit Imperial March?! ;)

PS, feature request: SSB mode transmit for sound board.

thanks
Giorgio

POCSAG TX exit

Curser does not return to the back arrow. Must cycle the power and reboot to exit POCSAG TX.

POCSAG format display cut lines

From SD Card

20170413074757 466175000Hz 1200 RAW: 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 3D92F933 7A89C197
20170413074757 07:47 1200 ADDR:1008824 F3
20170413074758 466175000Hz 1200 RAW: 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197
20170413074808 466175000Hz 1200 RAW: 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 7A89C197 43D11DF7 86ECBBEE 8B765D81 D9BB102E DA79CBE3 BBA63DC2 DAD460F8 AC1AD35C 85A69D6A E5FB257C
20170413074808 07:48 1200 ADDR:1111107 F3
20170413074808 07:47:37Test.F7-140-Perio
20170413074808 466175000Hz 1200 RAW: F2E3D52A FA61A235 B26CC4C2 DAB36E2C EC3A71FE 868C9F30 B316AAAA CDBB0C86 E9C1A101 B26CC4C2 DAB36E2C EC3A71FE 868C9F30 B316AAAA CDBB0C86 E9C1A101
20170413074808 dique01234567890123456789012345678901234567890

Sweep Scan

not an issue, but a feature request

The new firmware 2017.02.01 as a very interesting sweep scan option that can reach up to 7.5 GHz/s ..
Maybe could be very very interesting offering this option on Havoc Firmware to see on display what happen on very large frequency span as spectrum analyzer.

Add both RX / TX mode with MIC transmit

Could be very useful have a full transceiver: RX mode and when PTT is pressed switch to MIC TX mode
This can permit to do full communications between hackrf also @ 6 GHz ;)

Impossible to Return Main from ADS-B transmit

If you enter in ADS-B transmit from "Code Transmitter" is impossible to return back using keys: is possible only using a pen with touchscreen. If "left" is pressed like other screens, focus go to START.

Obviously I never used it to transmit.

POCSAG : Ignor address does'nt work

When selected with a test address, the consol display messages => filter does not work.

*Désolé furrtek, une belle release quand même *

Minor Cross App Issue

Minor issue, when you go to Capture it shows not implemented, when you go to reply it opens capture(looks like the reply screen) if you could fix this real quick I would highly appreciate it.

Compilation Issue

I have errors when i compile last Havoc firmware.


[ 96%] Generating baseband_tpms.bin, baseband_tpms.img
[ 96%] Generating baseband_wideband_spectrum.bin, baseband_wideband_spectrum.img
[ 96%] Generating baseband_wfm_audio.bin, baseband_wfm_audio.img
[ 97%] Generating baseband.img
cat: hackrf.img: No such file or directory
cat: terminator.img: No such file or directory
make[3]: *** [firmware/baseband/baseband.img] Error 1
make[3]: *** Deleting file `firmware/baseband/baseband.img'
make[2]: *** [firmware/baseband/CMakeFiles/baseband.dir/all] Error 2
make[1]: *** [firmware/CMakeFiles/firmware.dir/rule] Error 2
make: *** [firmware] Error 2

Can't get splash screen to close

Hello

Updated to latest version of firmware. It is setup to show splash screen on boot. Cannot exit from splash screen. Is there any way to reverse upgrade or get past splash screen.

Setup > UI > Show splash not selectable

After flashing latest firmware f399548, the show splash option in UI setup is no longer selectable.

Thanks so much for this great firmware, it is getting better and more mischievous with every commit! Really appreciate your hard work.

Is it possible - save jammer freq set

When choosing a preset or use section 2 and entering a freq when backing out of the app and when returning the settings reset.

I noticed when I flash my settings are still there so I wonder if its possible for this app like it does with the receiver app.

WFM broken with latest firmware

Just flashed latest firmware b61869f and did some quick checks. WFM mode in FM broadcast band seems to be broken, no demodulation.
AM tested in short wave and aviation bands, working fine here.

Terminator.img not found

Greetings, I've cam across this error while compiling the havoc portapack:

[ 93%] Generating baseband.img
cat: terminator.img: Not found
firmware/baseband/CMakeFiles/baseband.dir/build.make:75: recipe for target 'firmware/baseband/baseband.img' failed

Since I didn't want to debug the makefiles I just copied the file to workig dir (build/firmware/baseband) as a workaround :-D (yeah, I'm lazy...)

Cannot Flash After Last Firmware Update

After flashing the last version posted I am guessing since hack_rf mode is broken is the reason why I cannot flash the firmware released a few days ago

hackrf_spiflash -w portapack-h1-havoc-03132017.bin
File size 841824 bytes.
hackrf_open() failed: HACKRF_ERROR_NOT_FOUND (-5)

How do I flash the new firmware now that once placed in HACKRF mode like I used to do and then flash no longer works for me.

Anyone else run into this and if so how did you flash?

External Reference

Hello,
in Capture mode, or in Audio Trasmission, is possible to use external 10 MHz reference?
I'm trying with or without but I cannot notate difference. In HackRF mode, no problem

Firmware error 0x1400_000 : 2C

I am getting a Firmware error 0x1400_000 : 2C after installing the new build - is that a known error ?

mkdir build
cd build
cmake ../
make baseband
make firmware
make program

dfu-util --device 1fc9:000c --download ../firmware/hackrf_one_usb_ram.dfu --reset
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: DFU suffix CRC does not match
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available

hackrf_spiflash -w ../build/firmware/portapack-h1-havoc.bin
File size 804744 bytes.
Erasing SPI flash.
Writing 804744 bytes at 0x000000.

Then I reset the device (unplug and replug USB) and get the error on screen (the top shows the menu bar and Portapack|Havoc + icons )

SD Card Utility

I used the built in utility to format the card and now I get no filesystem. What file format does the card need to be in, could not easily find this out.

Whistle (and Morse Beacon) don't TX

In "Whistle" screen the TX button don't work. Is also no possible to set a frequency.
Also in Morse Beacon Screen I can't TX: maybe I'm missing some file on SD?

Jamming bandwidth too large

I am getting the error message "Jamming bandwidth too large" when trying the default settings (for example DECT).

Also for some reason, I am unable to change the frequencies using the UI.

Edited Wiki Install + Support for Scanner

Just for documentation, I added a note on the Wiki about play dead mode being enabled by default (at least it was for me when updating today). This was initially noted in: #4 .

Also, +1 to support for a Scanner feature. Something to identify active transmissions would be useful.

Morse TX transmit only lines

Hello,
I'm Trying MORSE TX under "Code Trasmitter":
In FM mode it work well, transmitting dot and lines as message set, but it not work using CW mode:
it transmit only lines, or only elements of equal length:

cwportapack

(the image is the transmission of "PORTAPACK" word

In FM mode is impossible to stop trasmission (the stop key turn green, but transmission continue)

Periodic ticks in soundboard

Period related to wav file samplerate.
Caused by WAVFileReader::read being slow ?
Wasn't happening when just using a simple File object.

Audio TX / Microphone / transmit immediately

When you use Audio TX => Microphone
if you enter the frequency manualy, when you click on Done, the HachRF transmit signal without power on the red Led.
If you click on Left button and release, the transmit stop.

SD Card RAW After Using Wipe Tool

Once I used the wipe tool it wiped the whole card, deleted the partition and put it into a RAW format, once this happened the device would not see the card and I had to use a computer to reformat the card so I could use it again, that was why I was asking about the format it wanted in my other ticket.

Replay Option

When I go into the reply menu item and select record there is no indication that anything is happening and the unit freezes and I have to reset it. After selecting record I try selecting stop and nothing happens.

Hackrf USB mode not works

Since the last update the hackrf USB mode no longer works. How can I solve the problem under windows and install a new firmware.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.