03-05-2019, 09:20 AM | #286 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Apr 2018
Device: Kindle Oasis 2017
|
|
03-05-2019, 09:44 AM | #287 | |
Wizard
Posts: 2,735
Karma: 6987557
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
It's the kind of thing you learn by taking a look and trying different things. For CSS, the Qt docs document the properties, and for the disassembly, ARM Kiel has useful information. |
|
Advert | |
|
03-05-2019, 10:26 AM | #288 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Apr 2018
Device: Kindle Oasis 2017
|
Thanks for the info. Do you know what device name the Forma would use? The list in this thread did not specify it since it was prior to its release.
|
03-05-2019, 10:29 AM | #289 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
For patching purposes, in most (all???) places it's the same as the AuraOne, namely "qApp_deviceIsDaylight=true", although the actual name for the Forma is Frost.
|
03-06-2019, 12:22 PM | #290 |
Zealot
Posts: 137
Karma: 398492
Join Date: Apr 2018
Device: Kobo Aura One
|
Once again, I can't thank you enough for your efforts, geek1011.
|
Advert | |
|
06-21-2019, 11:58 AM | #291 |
Enthusiast
Posts: 40
Karma: 127198
Join Date: Aug 2011
Location: Malmö, Sweden
Device: Kobo Aura 1, Kindle DXG, Kindle PW2
|
Hi geek1011, I have a suggestion: could the overrides in the main yaml file be moved or included from a separate file, so when upgrading firmwares and patches all we need to do is to copy that override file across versions without touching anything else? That would be a great usability improvement.
I mean something like this in kobopatch.yaml: Code:
overrides_file: overrides.yaml Code:
src/nickel.yaml: Patch 1: yes Patch 2: yes src/libadobe.so.yaml: Patch 3: yes Patch 4: yes ... What do you think? |
07-17-2019, 05:06 PM | #292 | |
Wizard
Posts: 2,735
Karma: 6987557
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-17-2019, 05:33 PM | #293 |
Wizard
Posts: 2,735
Karma: 6987557
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
kobopatch v0.14.0 is out
kobopatch v0.14.0 mainly consists of a complete rewrite of the kobopatch patch file parsing. It is completely backwards-compatible. This version will be included in patches v51 later tonight. Main changes: - Better error messages: --- All error messages will include line numbers. --- Length mismatches show the number of characters. --- Patches will be applied in a consistent order to make errors easier to fix. --- All instructions will add their name to error messages. --- Error checking will be done in stages and will give an error as soon as possible during parsing. --- Multiple patches in a PatchGroup will mention the other patch. --- Kobopatch will check for tabs instead of spaces in patch files. --- Fixed the bug where a whole bunch of hexadecimal gets show on-screen in some cases where a value replacement fails. - You can now use more than one PatchGroup per patch. - Checksums of patched files are now recorded in the log file. Internal changes: - I've gotten rid of a bunch of old cruft from the transition period. - I've switched the builds from Travis to Drone (it's faster and more structured). - I've slightly reduced binary sizes. - kobopatch is now automatically tested with the patches during builds. - The patch file logic is now nicely split up instead of being dumped into a big switch statement. - To add new instructions, you now only need to add 3 lines of code (before you'd have needed to add around 15 scattered everywhere). - The parsing is a lot more type-safe now. - I've updated go-yaml to v3, which is what allowed me to do most of the improvements in this rewrite. For those interested in the internal improvements, compare the instruction implementation(old, new), the validation implementation (old, new), and some of the parsing (old, new). Error message examples: old: error applying patch file 'src/libnickel.so.1.0.0.yaml': could not find bytes new: patch "Freedom to advanced fonts control": line 399: inst 8: ReplaceBytesNOP: could not find bytes old: i16: replacement string must not be shorter in `Custom reading footer style new: patch "Custom reading footer style": line 107: inst 16: ReplaceString: replacement string 2 chars too long old: error applying patch file 'src/libnickel.so.1.0.0.yaml': ReplaceInt: could not find specified bytes at offset ***a bunch of hex which fills your screen *** new: patch "Custom Sleep/Power-off timeouts": line 512: inst 22: ReplaceInt: could not find specified bytes at offset old: i21: more than one instruction per bullet in patch `Custom Sleep/Power-off timeouts` (you might be missing a -) new: instruction 21: line 511: multiple types found in instruction, maybe you forgot a '-' old: could not parse patch file: error parsing patch file: yaml: line 512: found character that cannot start any token new: could not parse patch file: patch file contains tabs (it should be indented with spaces, not tabs): yaml: line 512 Last edited by geek1011; 07-17-2019 at 05:40 PM. |
07-18-2019, 03:25 AM | #294 |
Connoisseur
Posts: 93
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
|
Hi, I think there is an omission in the file 'kobopatch.yaml'. I have tried the new version and it fails. I added 'patchFormat: kobopatch' and it works.
Is it correct? Last edited by Carmelocotonto; 07-18-2019 at 10:09 AM. |
07-18-2019, 08:12 AM | #295 | |
Wizard
Posts: 2,735
Karma: 6987557
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Last edited by geek1011; 07-19-2019 at 06:10 PM. |
|
07-19-2019, 06:10 PM | #296 |
Groupie
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
The patcher isn't working at all for me. DOS box pops up for a flash and then is gone. Not sure what has changed with the most recent version.
|
07-19-2019, 07:04 PM | #297 | |
Wizard
Posts: 2,735
Karma: 6987557
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-20-2019, 11:39 AM | #298 |
Groupie
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
^^^ As pointed out to me, the Linux command works in MacOS. For anyone else who didn't know, just open the kobopatch.sh in Terminal and it runs perfectly.
|
09-09-2019, 09:30 PM | #299 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2018
Device: Kobo Glo HD
|
Hi,
this is nice set of patches, I use it on my GLO HD along with Kobo Start Menu / KoReader / Plato, and everything seems fine. Is it possible to include patch that will enable replacing Sleep and Power Off screen with picture of our choice? My idea is to put some ownership info in there… Thanks |
09-09-2019, 09:39 PM | #300 | |
Wizard
Posts: 2,841
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
Plug your Kobo in to your computer, on the drive you have access to should be a .kobo folder in that folder make a new folder called screensaver. Whatever image you put in will be used when the device sleeps or powers off if you have the display cover option enabled. Note multiple images results in a random selection at the time of sleep or power off. |
|
Tags |
kobo, kobopatch, patch, patch32lsb |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kobopatch - A new (WIP) patching system | geek1011 | Kobo Developer's Corner | 93 | 05-27-2018 03:04 PM |
Patching H2O | Maillemom | Kobo Developer's Corner | 8 | 10-19-2016 09:58 AM |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |
how to clean more disk space in root file system to upgrade system | chinaet | iRex | 1 | 12-18-2006 03:54 PM |