Comments (4)
Sure, it is possible. But is there an easy way? Probably it depends on what you will call easy π You can search by offset, by bytes pattern, by function signatures, you can even disassemble firmware on the fly and then patch it. Only you imagination can limit you.
from quansheng_uv-k5_firmware.
Hi, yes this is known "issue" that all offsets to patched functions in 2.01.27 are different than in 2.01.26 and until someone do not rewrite all patches for newer version you are stuck with 2.01.26 if you want mods.
from quansheng_uv-k5_firmware.
is there an easy way with python to make the offsets not hardcoded-constant but variable?
search old hex string and replace with new pattern strings. Making it applicable for all fw versions.
I mean for example:
const offset = ?x???; const oldData = hexString("cf2a"); const newData = hexString("5de0");
1 match
so for bands RX and TX = 5000000 -> 1800000 = ...find (oldData hexString) 40 77 1B replace with (newData hexString) 40 4B 4C
2 matches
and
2 matches 60000000 -> 130000000 string 80 A4 BF 07 etc.....
band 760000 -> 10799990 find string ..... replace string
facsi found some offsets for v3 in his repo
from quansheng_uv-k5_firmware.
cool... with byte pattern search and replace it will work cause they will be always the same in every version... but not the offsets. I wish to have more time for it.
from quansheng_uv-k5_firmware.
Related Issues (20)
- Expand Frequency Copy HOT 2
- UV-K5
- [not an issue] Updates: New RAW dump full user ROM 64 kbytes fw v2.01.32 and full NVRAM region HOT 2
- Brand new UV-K5 received this week with FW version k5_3.00.10 HOT 3
- New factory FW received from QS help desk HOT 3
- OEM firmware change logs? HOT 2
- disregard
- TX on all frequencies
- Roger beep
- . Posted on wrong repo, sorry.
- uploaded logo, radio was locked afterwards by code of 000000 HOT 1
- firmware version barf HOT 10
- MCU? HOT 1
- LCD screen replacement HOT 2
- Firmwares k5_v2.01.33_publish.bin and k6_v3.00.17_publish.bin released in Quansheng website HOT 1
- How send data (audio) trought radio? HOT 16
- new firmware HOT 1
- Quansheng Stock Firmware
- ε¦δ½θΏη¨ζ§εΆUVK5ζ₯ζΆι’η HOT 1
- Abnormalities After Replacing the MCU HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quansheng_uv-k5_firmware.