View Single Post
Old 03-20-2020, 04:18 PM   #30
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by sumdog View Post
I was wondering only one thing ... what exactly do the patches entail?
Most of the libnickel patches patch the executable directly. If you want to look further into it, use a dissassembler (I recommend Hopper and IDA, but Cutter works too) on usr/local/Kobo/libnickel.so.1.0.0. For reference on the meaning of instructions, look at the ARM Keil. The majority of libnickel is in Thumb mode. If you want to learn more about assembly, play with Compiler Explorer.

On the other hand, most of the nickel patches patch zlib-compressed qResource streams by replacing the compressed data. For this, use cssextract (included in the patches) on usr/local/Kobo/nickel, and modify the CSS you find in there. If you're wondering about the layout of the widgets, enable layout rects in developer mode, or look at the ui_* methods and widget constructors in libnickel.
geek1011 is offline   Reply With Quote