View Single Post
Old 06-14-2024, 04:41 PM   #1138
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,709
Karma: 16308824
Join Date: Sep 2022
Device: Kobo Libra 2
The QSS patches are part of nickel.yaml, which targets the file /usr/local/Kobo/nickel, which appears to be the ELF binary containing the ARM assembly for the Nickel OS. The QSS patches are using "FindZlib", which probably means that the QSS files are zipped before they are compiled into the binary; as such, you can't simply search for the strings you want to replace. You need to extract the zip contents, unzip it, edit the files, rezip them, and insert the modified zip into the ELF, ensuring that the new zip is not larger than the original one.

If you're serious about making patches, you could use Ghidra's ARM module to decompile Nickel and learn how things work, so you can start editing the binary and its associated libraries.
Aleron Ives is offline   Reply With Quote