Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update firmware #14

Open
OlegAstrakhantsev opened this issue Oct 21, 2023 · 11 comments
Open

Unable to update firmware #14

OlegAstrakhantsev opened this issue Oct 21, 2023 · 11 comments

Comments

@OlegAstrakhantsev
Copy link

Hello! I'm trying to flash UV-K5(8) but I get a dead device. The program detected the bootloader version as 2.00.06. There are no errors during the firmware update. The command in the console is as follows ./k5prog -F -YYY -b fw_modded.bin The same firmware file is successfully updated via the UVMOD website. What am I doing wrong?

@bricky149
Copy link

May I ask where you got the firmware binary from?

@OlegAstrakhantsev
Copy link
Author

OlegAstrakhantsev commented Oct 21, 2023

The firmware has been checked. It was generated on the site UVMOD

@bricky149
Copy link

Can confirm when flashing unmodified firmware binaries. The official updater should work in the meantime.

@bialystok
Copy link

no working

@sq5bpf
Copy link
Owner

sq5bpf commented Dec 29, 2023

please see if this version works for you. if it doesn't please port the firmware binary, and i will try to flash it on my radio

@srem1
Copy link

srem1 commented Jan 5, 2024

@sq5bpf przecież dostałeś link, sprawdz sam.
U mnie też nie działa

@OlegAstrakhantsev
Copy link
Author

The new program is not working. The radio shows no signs of life.

@bricky149
Copy link

The new program is not working. The radio shows no signs of life.

As previously stated, the flasher doesn't work with firmwares intended to be used with the official flasher (i.e. they are packed/obfuscated). UVMOD can flash directly to the radio in the meantime. I've personally used this program to flash custom firmwares to radios and it works as intended.

I don't know what else to tell you apart from not trying the same thing over and expecting different results.

@iw2evk
Copy link

iw2evk commented May 6, 2024

i've tried to write IJV modded firmware into eeprom.The k5progr start , lconnect radio , load in eeprom the data , but at the end of procedure the radio don't restart (stucked).
If use UVMOD procedure via web all work fine..

Can you check ?

I use Linux Lubuntu 20.04 LTS

@OlegAstrakhantsev
Copy link
Author

i've tried to write IJV modded firmware into eeprom.The k5progr start , lconnect radio , load in eeprom the data , but at the end of procedure the radio don't restart (stucked). If use UVMOD procedure via web all work fine..

Can you check ?

I use Linux Lubuntu 20.04 LTS

This program doesn't work with "packed" firmware (firmware.packed.bin). It needs to be unpacked somehow, but I don't know how to do that. If you build the firmware yourself using Egzummer, you'll get two firmware files: a regular one and a packed one. This program should be able to flash the regular firmware.

@iw2evk
Copy link

iw2evk commented May 21, 2024

this fork seem working with obfuscated firmware

https://github.com/nica-f/k5prog

-f filename that contains the eeprom dump (default: k5_eeprom.raw)
-b filename that contains the raw flash image (default k5_flash.raw)
-Y increase "I know what I'm doing" value, to enable functionality likely to break the radio
-D wait for the message from the radio flasher, print it's version
-V read firmware version from radio and exit, good for testing serial connection with radio
-R read RSSI, noise and glitch from radio
-E read electrical data (voltage and current) from radio
**
-F flash firmware, WARNING: this will likely brick your radio!
-M Set the firmware major version to during the flash process (default: *.01.23)
-r read eeprom
-w write eeprom like the original software does
-W write most of the EEPROM (but without what I think is calibration data)
-B write ALL of the EEPROM (the "brick my radio" mode)
-p device name (default: /dev/ttyUSB0)
-s serial speed (default: 38400, the UV-K5 doesn't accept any other speed)
-h print this help
-v be verbose, use multiple times for more verbosity

can you merge in standard version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants