Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 30bb1c3

Browse files
committed
initial commit
1 parent cfb7454 commit 30bb1c3

File tree

1,733 files changed

+96567
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,733 files changed

+96567
-0
lines changed

404.html

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head>
3+
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="description" content="">
8+
<meta name="author" content="">
9+
10+
<title>404</title>
11+
12+
<!-- Custom fonts for this template-->
13+
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
14+
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
15+
16+
<!-- Custom styles for this template-->
17+
<link href="css/sb-admin-2.min.css" rel="stylesheet">
18+
19+
</head>
20+
21+
<body id="page-top">
22+
23+
<!-- Page Wrapper -->
24+
<div id="wrapper">
25+
26+
<!-- Content Wrapper -->
27+
<div id="content-wrapper" class="d-flex align-items-center" style="height: 100vh;">
28+
29+
<!-- Main Content -->
30+
<div id="content">
31+
32+
<!-- Begin Page Content -->
33+
<div class="container-fluid">
34+
35+
<!-- 404 Error Text -->
36+
<div class="text-center">
37+
<div class="error mx-auto" data-text="404">404</div>
38+
<p class="lead text-gray-800 mb-5">Page Not Found</p>
39+
<p class="text-gray-500 mb-0">It looks like you found a glitch in the matrix...</p>
40+
<a href="index.html">← Back to Dashboard</a>
41+
</div>
42+
43+
</div>
44+
<!-- /.container-fluid -->
45+
46+
</div>
47+
<!-- End of Main Content -->
48+
49+
</div>
50+
<!-- End of Content Wrapper -->
51+
52+
53+
</div>
54+
<!-- End of Page Wrapper -->
55+
56+
<!-- Bootstrap core JavaScript-->
57+
<script src="vendor/jquery/jquery.min.js"></script>
58+
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
59+
60+
<!-- Core plugin JavaScript-->
61+
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
62+
63+
</body>
64+

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [CLICK HERE TO OPEN UVMOD](https://whosmatt.github.io/uvmod/)
2+
3+
## Introduction
4+
5+
Web-based client-side Quansheng UV-K5 firmware patcher written in Javascript and HTML using [Bootstrap 4.6.0](https://getbootstrap.com/docs/4.6/getting-started/introduction/), jQuery and parts of the [SB Admin 2 Theme](https://startbootstrap.com/theme/sb-admin-2).
6+
It is based on the discoveries by the many contributors in the [uvmod-kitchen](https://github.com/amnemonic/Quansheng_UV-K5_Firmware/tree/main/uvmod_kitchen) and implements the same functionality in a modular and flexible javascript structure.
7+
8+
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.
9+
10+
## Mod development
11+
12+
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.
13+
Mods are defined in [mods.js](mods.js), with an example mod to outline the pattern.
14+
Also refer to the helper functions and documentation in [modframework.js](js/modframework.js).
15+
16+
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))`.

css/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013-2021 Start Bootstrap LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)