Git Product home page Git Product logo

uv-k5-modded-firmwares's Introduction

This repository is pretty much superseded by newer, better efforts to manipulate the Quansheng UV-K5 firmware. Go here for many more resources.

  • Warning: The Quansheng UV-K5 CAN NOT receive signals between 630-840MHz. This is a hardware limitation of the Beken BK4819 baseband chip. Please do not open issues about this, it is impossible to fix in software.

EVEN BIGGER WARNING

This modification is UNTESTED and is for RESEARCH PURPOSES ONLY, to explore the capabilities of the device and its chipset. DO NOT transmit on illegal frequencies. DO use a dummy load. DO report results, preferably spectrum analyzer screenshots, to this repo for research. The author(s) and contributor(s) of this repository are NOT liable for any damages, litigation, or other consequences of the misuse of this research firmware and do not accept any culpability. By installing any firmware from this repository, you accept full responsibility for any consequences that may arise and waive the right to pursue legal action against the author(s).

As an example against using this for actual communications, consider the following chart for transmission power for a transmission at 27.254MHz: photo_2023-06-05_16-09-50

  • 27.254MHz -> 228 microwatts
  • 54 Mhz -> 2.4 milliwatts
  • 81 Mhz -> 230 milliwatts
  • 109 Mhz -> 558 milliwatts
  • 136 Mhz -> 412 milliwatts
  • 163 Mhz -> 122 milliwatts
  • 190 Mhz -> 14.8 milliwatts
  • 218 Mhz -> 2 milliwatts
  • And finally, on 245 Mhz -> 2.6 milliwatts.

UV-K5-Modded-Firmwares

A collection of modified firmwares for the Quansheng UV-K5 radio.

If you would like to build your own firmware with only the modifications that suit you, check out @amnemonic's excellent uvmod-kitchen.

This repository contains several firmwares, modified by:

Special thanks also goes to @sq5bpf for his work in reverse engineering the communication protocols, frequency storage formats, memory maps and more.

Discussion of these firmwares, and other things related to the radio, can be done in the Telegram groups: English, Russian, Spanish, Spanish 2, Chinese.

You can support the authors with a donation at the following links:

Tunas1337: PayPal

The new features so far include, but are not limited to:

  • Regular (FM) reception from 18-850MHz (1300MHz with the extended mod)
  • AM reception from 18-136MHz (850MHz with the extended mod)
  • Transmission outside of the 136-174,400-520MHz bands

uv-k5-modded-firmwares's People

Contributors

amnemonic avatar fagci avatar noticemechris avatar troilus avatar tunas1337 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

uv-k5-modded-firmwares's Issues

[Suggestion] Select Frequency Scan Range

It would be nice to select certain frequencies to scan in, rather than an entire band. In example, scanning 147mHz-148mHz (with X step) rather than the entire 2m band.
I know it's possible to do this with channels, but it's a pain to program in (and takes up space).

[Question] Harmonics on 6m Band

I apologize for asking this question here, but I do not have access to Telegram (maybe another platform would allow more people to join?). What are the harmonics like on the 6m band with this radio? I don't have a dummy load or reader and I don't want to interfere with anyone.

Edit: What are the harmonics + power output?

Saved Frequently showing as 400.000mhz

I have tried to program a frequency which is around 72.000mhz by using a modified version of the OEM programming software. But it's showing up as 400.000mhz on the radio

Smaller Step Size

Is it possible to reduce the step size any more? I'm trying to scan UK CB40 (27.60125, 27.61125.... etc) but I can't directly enter or scan as these seem to fit outside of all steps?

Is this possible with firmware changes?

[Question/Enhancement] Improving 6M Power Output

I'm a newly licensed ham radio operator, and I was looking at getting one of these radios. First off, thank you for all the work you have done on this repo. I'm excited that I can get decent airband RX for such a cheap price. Secondly, I wanted to ask whether it might be possible to improve performance on the 6m (or other) band. In the README, it shows the transmission power of "unsupported" bands being very low. I assume there is a hardware limitation that prevents a good transmit power on these frequencies, but would it be possible to improve the power here? I think it would be nice to have a cheap handheld radio that can transmit on 6m with the propagation properties of HF.

squelch recalibration?

Since "issues" here are also about "new ideas", then I have a question: Do you know, if the squelch calibration values are hidden somewhere in the firmware? Is it possible to recalibrate squelch to higher "service values", or to more widely spaced values, by patching the firmware? Thanks in advance.

please also patch the version number

Please also patch the first letter of the version number string. I would propose m (0x6d).

So for example for k5_2.01.23 patch byte 0xe210 to 0x6d, so it becomes m5_2.01.23

The Quansheng software will accept any value anyway, you can test this with k5emulator.

And my chirp driver can use the first letter of the version to enable programming in the full range accepted by the BK4819 chip (note: i've already uploaded a driver with full range to https://chirp.danplanet.com/issues/10478 , this was by request of the users who could not program out of band frequencies with Quansheng software).

BTW you beat me to it :) I'm reverse engineering the firmware too, but didn't release a working version.

Hardware

ugly painted some RX path and switch.
UGLY_RX

For v26

v2.01.26
band	FREQ	         Hex		Address
F1	50.00000	404b4c00	0xE074
	76.00000	80f77300	0xE090
F2	108.00000	80cba400	0xE078
	135.99990	f684cf00	0xE094
F3	136.00000	0085cf00	0xE07C
	173.99990	b6800901	0xE098
F4	174.00000	c0800901	0xE080
	349.99990	b60e1602	0xE09C
F5	350.00000	c00e1602	0xE084
	399.99990	f6596202	0xE0A0
F6	400.00000	005a6202	0xE088
	469.99990	b629cd02	0xE0A4
F7	470.00000	c029cd02	0xE08C
	600.00000	00879303	0xE0A8
	
sub_000014D8 define some limits?
		0000150C Fmin            DCD  5000000	40 4B 4C 00
		00001510 Fmax            DCD 60000000	00 87 93 03
		
sub_0000139C define band number
		0 1 2 3 4 5 6
		
sub_00001804 TX patch
		at offset 0x1810 replace 2F D2 to 5C E0
		
0000E074 LowLimit        DCD 5000000
0000E078                 DCD 10800000
0000E07C                 DCD 13600000
0000E080                 DCD 17400000
0000E084                 DCD 35000000
0000E088                 DCD 40000000
0000E08C                 DCD 47000000

0000E090 HighLimit       DCD 7600000
0000E094                 DCD 13599990
0000E098                 DCD 17399990
0000E09C                 DCD 34999990
0000E0A0                 DCD 39999990
0000E0A4                 DCD 46999990
0000E0A8                 DCD 60000000

0000E0AC dword_E0AC      DCD 6500000
0000E0B0                 DCD 12200000

0000E0B4 dword_E0B4      DCD 15000000
0000E0B8                 DCD 26000000
0000E0BC                 DCD 37000000
0000E0C0                 DCD 43500000
0000E0C4                 DCD 55000000

0000E0C8 dword_E0C8      DCD 32768250
0000E0CC                 DCD 65536625
0000E0D0                 DCD 163841250
0000E0D4                 DCD 833

0000E0D8 NOAA_List       DCD 16255000
0000E0DC                 DCD 16240000
0000E0E0                 DCD 16247500
0000E0E4                 DCD 16242500
0000E0E8                 DCD 16245000
0000E0EC                 DCD 16250000
0000E0F0                 DCD 16252500
0000E0F4                 DCD 16152500
0000E0F8                 DCD 16177500
0000E0FC                 DCD 16327500	

0000E0D4 DCD 833 may be AM bandwith someone asked?

Please replace these firmwares with new ones

Please replace these firmwares with new ones which don't rely on band 1 being patched for full range. I think it's the way uvmod_kitchen patches work now.

The reason for this is that different firmwares behave differently when working out of band or in AM (some need band 1 to be set for AM regardless of frequency for example). And i need a consistent way for chirp to set bands.

Range outside 18 and1300?

Just for evaluation. I would like to test the physical limits. Can frequency down of 18 MHz and over 1300 MHz be set in the firmware to test the physical hardware limits?

Expand frequency scan boundaries function FC [F] + [4]

Quick Frequency scan/copy function -> on keyboard push F+4
scan frequency limits would be great to find the hex bit field addresses for the fixed scan ranges to enhance them too by operating outside the default frequ. TX limits or bands.

FM Broadcast band tx

Is the UV-K5 capable of transmitting in the FM broadcast band (88-108 Mhz) with mod_enable_tx_50to850_except_airband.py or is this range blocked?

Sepatate wide narrow setting for receiver and transmitter.

It would be great to have separate settings for wide/narrow in receiver and transmitter. Interesting if this can be done as as software mod? The practice on amateur radio is to get highest possible effectiveness and this is done by modulating as much as possible - so much to fill the receivers filter. To achieve this the receiver has to be set to narrow and the transmitter to wide.

This is in contrary to adjacent channel emission suppression. But on amateur bands channels with 12,5k spacing are practically not in use at least on simplex channels. So effectiveness is preferred. Just 25k spacing is to be watched.

Am reception bandwidth?

Hello,

it seems, according to some web comments, that the AM reception in this firmware is set to a bandwidth of 8.33 Khz. Is it possible to try to set for the aeronautical band that the AM bandwidth is 25 Khz? I have not been able to find the chipset command guide, but maybe it is possible to make the change in the firmware to see if this improves the AM reception quality (right now pretty bad).

If it is possible for you, would you be so kind to see if it is possible to implement this change?

Screan Backlight

Any chance to get longer backlight times? Like 10 seconds or more.
Thanks,
N9CFG

NOAA Channel Audio receive bypass 1050Hz tone requirement

To receive on NOAA Channels as well custom Frequencies and NOAA Scann requires a 1050 Hz Tone to open the squelch.
The 1050 Hz tone will also demute the receiver, activate a flashing LED and cause the NWS audio.
Implement 1050 Hz for TX or remove this requirement by RX.

Update on Markdown Documentation for 'k5_26_encrypted_18to1300MHz.md'

Am I wrong to assume that you modified 0xE074 instead of 0xE078 as listed in the changes?

0xE078: 5000000 -> 1800000

While looking through the manufacturer's binary, 0xE078 did not contain '40 4B 4C' like I expected. I was using this info to create a python mod script for amnemonic's uvmod_kitchen repo that unlocks 18-1300MHz like you did in your firmware.

Certainly helps others others to follow in your footsteps and thanks for the wonderful firmware!

Welcome to UV-K5 Modded Firmwares Discussions!

Discussed in #19

Originally posted by Tunas1337 June 11, 2023

👋 Welcome!

We’re using Discussions as a place to connect with other members of our community. We hope that you:

  • Ask questions you’re wondering about.
  • Share ideas.
  • Engage with other community members.
  • Welcome others and are open-minded. Remember that this is a community we
    build together 💪.

To get started, comment below with an introduction of yourself and tell us about what you do with this community.

CTCSS/DCS issue

Is possible to transmit CTCSS or DCS above frequency 76mhz on your moded firmaware??? above frequency 76mhz its not working

Turn off backlight when scanning ?

hello.
Is it possible to find a solution to turn off the backlight after 5 seconds when starting the scan.
Indeed, as soon as you start the scan, the light turns on and doesn't go off again until you exit the scan.
Thank u. ^^

Transmitter audio.

The transmitter deviation is terribly low. Can you add transmitter audio increase?

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.