amnemonic / Quansheng_UV-K5_Firmware

Quansheng UV-K5 Firmware
696 stars 131 forks source link

Why does custom_bootscreen work with 0xDEADBEEF offset? #78

Closed whosmatt closed 1 year ago

whosmatt commented 1 year ago

https://github.com/amnemonic/Quansheng_UV-K5_Firmware/blob/e7ff44e72b14d42c74b865d3b9e5ede17a58c5bb/uvmod_kitchen/mod_custom_bootscreen.py#L83C48-L83C58

This mod seems to work fine without changing the placeholder offset.

amnemonic commented 1 year ago

Placeholder offset stays the same, it is the value of this placeholder is changing. Either way I don't imagine how it could work without changing it unless some useful data can be placed at 0xDEADBEEF offset :)

whosmatt commented 1 year ago

you are right, i was looking at the wrong code