Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 3.45 KB

Readme.md

File metadata and controls

62 lines (42 loc) · 3.45 KB

G90ToolKit

Go Report Card GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release)

Introduction

g90

This software is based on several open-source tools, allowing users to:

  • Modify the embedded boot image/text in the G90 firmware.
  • Encrypt/Decrypt firmware use user provided key
  • Take a brief look at the firmware info
  • Flash firmware into G90 series Rigs (g90updatefw integrated)
  • ......

This software should work on windows/linux/macos but I only tried it on ubuntu 24.04

Important

The official Xiegu firmware is encrypted using the AES-256 algorithm, making it nearly impossible to decrypt without the key. Fortunately, there are open-source methods available to extract the encryption key using an ST-LINK debugger and OpenOCD tools. Due to copyright restrictions, I cannot provide the key here, but you can extract the encryption key and decrypt the firmware using the methods outlined in G90Tools or by finding the key shared by others online.

Usage

  • ./g90toolkit fullexec --firmware <encrypted_firmware> --key <your_key> --device <optional_serial_port> --logo-path <optional_logo_path> --text <optional_boot_text> --output <optional_output_path> Automatically decrypt firmware, apply changes, re-encrypt firmware, save to file, and flash into device.

  • ./g90toolkit decrypt --firmware <encrypted_firmware> --output <path_to_save_decrypted_firmware> --key <your_key> Decrypt firmware using specified key.

  • ./g90toolkit encrypt --firmware <decrypted_firmware> --output <path_to_save_encrypted_firmware> --key <your_key> Encrypt firmware using specified key.

  • ./g90toolkit getinfo --firmware <firmware> Read information of the firmware.

  • ./g90toolkit flashfw --firmware <encrypted_firmware> --device <serial_port> write a firmware file to a Xiegu radio.

  • ./g90toolkit patchimg --firmware <decrypted_firmware> --logo-path <logo_to_apply_to_the_firmware> --output <path_to_save_patched_firmware> Patch boot logo, should be 64x64

  • ./g90toolkit patchtext --firmware <decrypted_firmware> --text <text_to_apply_to_the_firmware> --output <path_to_save_patched_firmware> Patch boot text

  • use ./g90toolkit <command> --help to get help information.

Many thanks to ...

Disclaimer

  • No warranty is provided. Any damage caused by using this tool is your own responsibility.
  • The purpose of this tool is to help users modify the startup screen more conveniently, rather than to harm Xiegu's interests.