06-09-2024, 02:41 PM | #1126 |
Wizard
Posts: 1,251
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@DNSB
Thank you so much! |
06-09-2024, 04:57 PM | #1127 |
Wizard
Posts: 1,388
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
I added an "album" to my profile containing links to my typography and battery scripts in case anyone needs the links to them.
|
Advert | |
|
06-09-2024, 06:10 PM | #1128 |
Grand Sorcerer
Posts: 12,652
Karma: 74500000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
06-09-2024, 09:16 PM | #1129 |
Wizard
Posts: 1,388
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
I disabled forum signatures, because I got tired of seeing "click here" advertisements after every post, so it would be rather hypocritical of me to add such an advertisement to my own signature.
People can opt in to seeing my projects by clicking on my profile, and then all the people to whom my projects don't apply -- such as Kindle users -- don't have to endure unsolicited, irrelevant signature advertisements every time they see a post from me. |
06-09-2024, 10:41 PM | #1130 |
Grand Sorcerer
Posts: 12,652
Karma: 74500000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The only thing is that as you say the signature is in your face; the Album on profile I wouldn't even know to look there unless you rubbed it IIN my face!
Sent from my Pixel 7a using Tapatalk |
Advert | |
|
06-10-2024, 12:46 AM | #1131 |
Wizard
Posts: 1,388
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
Yes, but somehow people are finding out about my battery script, so perhaps if they know who wrote it, they'll know whose profile to check. At any rate, DNSB seems to have made a shortcut to paste in the post numbers every time somebody asks, so it may not matter.
|
06-12-2024, 02:13 PM | #1132 | |
Resident Curmudgeon
Posts: 76,063
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-12-2024, 04:04 PM | #1133 | ||
Bibliophagist
Posts: 39,899
Karma: 154464500
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Last edited by DNSB; 06-13-2024 at 04:17 PM. |
||
06-13-2024, 05:36 AM | #1134 | |
Resident Curmudgeon
Posts: 76,063
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-13-2024, 04:16 PM | #1135 |
Bibliophagist
Posts: 39,899
Karma: 154464500
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
06-14-2024, 05:45 AM | #1136 |
Resident Curmudgeon
Posts: 76,063
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-14-2024, 11:05 AM | #1137 |
livin' with ebooks
Posts: 36
Karma: 42048
Join Date: Jun 2014
Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA)
Device: Libra2, KOA
|
I was poking around the patches and patching system today (wow, great stuff!) and I'm wondering how one sees the target CSS ("qss") that is being find/replaced by KoboPatch? I've cracked open the firmware download and checked every corner so I am guessing its all compiled into .so or something?
I'd like to help make some patches but obviously would need to be able to see what I can search for and replace. (Apologies for asking something that most likely has been answered before. I get overwhelmed easily by pages and pages of branching discussion.) |
06-14-2024, 04:41 PM | #1138 |
Wizard
Posts: 1,388
Karma: 16297052
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. |
06-15-2024, 09:39 AM | #1139 | |
livin' with ebooks
Posts: 36
Karma: 42048
Join Date: Jun 2014
Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA)
Device: Libra2, KOA
|
Quote:
Thank you. How precisely (I am looking for guidance here) did whoever made the existing patches in `nickel.yaml` figure out what strings of qss to find & replace in the firmware, e.g.: Code:
{Find: "line-height: 1.35em;", Replace: "line-height: 1.3em;"} I have unzipped the firmware bundle, TarUnzipped the "KoboRoot.tgz" contained within, and poked around in various bin files in /usr/local/Kobo with readelf but that's not showing me anything I can recognize. Maybe I'm not using the right flags? Any and all pointers much appreciated! |
|
06-15-2024, 11:26 AM | #1140 | |
Wizard
Posts: 2,788
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
Tags |
kobopatch, patches, patching, request, requests |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request for PW3 kernel [posted in another thread] | mustdie | Kindle Developer's Corner | 5 | 10-21-2015 04:28 PM |
Kobobooks.com future feature request thread | Mrs_Often | Kobo Reader | 47 | 11-08-2012 11:59 AM |
[Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 07:52 PM |
Feature request thread? | Dahak | Calibre | 1 | 08-02-2009 12:51 AM |
3rd party software request thread | Adam B. | iRex | 23 | 11-28-2008 01:08 PM |