Go to file
2023-08-02 00:49:36 +02:00
css initial commit 2023-07-30 22:13:57 +02:00
fonts fixed paths 2023-07-30 22:32:48 +02:00
fw added updater software download 2023-08-01 19:57:34 +02:00
img added opengraph tags 2023-08-02 00:49:36 +02:00
js added addRadioButton helper function 2023-08-01 23:40:37 +02:00
404.html fixed paths 2023-07-30 22:32:48 +02:00
index.html added opengraph tags 2023-08-02 00:49:36 +02:00
mods.js added multiple mods 2023-08-01 23:40:55 +02:00
README.md initial commit 2023-07-30 22:13:57 +02:00

CLICK HERE TO OPEN UVMOD

Introduction

Web-based client-side Quansheng UV-K5 firmware patcher written in Javascript and HTML using Bootstrap 4.6.0, jQuery and parts of the SB Admin 2 Theme.
It is based on the discoveries by the many contributors in the uvmod-kitchen and implements the same functionality in a modular and flexible javascript structure.

Visitors can generate a patched firmware image by selecting the desired patches. Patches modify the firmware on a binary level and can accept user input to customize variables. A custom base image can be supplied to allow support for mods that are compiled and linked directly into the firmware.

Mod development

Clone this repository and execute python3 -m http.server or python -m http.server in the root directory for an instant local web server, allowing easy testing.
Mods are defined in mods.js, with an example mod to outline the pattern.
Also refer to the helper functions and documentation in modframework.js.

The supported format for binary data is in the format of a hex string without separators. You can use find and replace to remove all \x from a regular hex string or directly export the correct format from a bytes object in python using print(''.join('%02x'%i for i in BYTES_OBJECT)).