Giter VIP home page Giter VIP logo

Comments (4)

amnemonic avatar amnemonic commented on September 25, 2024 1

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.

amnemonic avatar amnemonic commented on September 25, 2024

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.

RE3CON avatar RE3CON commented on September 25, 2024

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.

RE3CON avatar RE3CON commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.