08-25-2018, 02:48 PM | #31 | |
Zealot
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
|
Quote:
I will try to make a summary with my concerns and this perhaps can help to other "reluctants" |
|
08-25-2018, 03:31 PM | #32 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
08-25-2018, 03:35 PM | #33 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, mainly to help GeoffR update the zlib patches, I've created (and released) a tool to convert any kobopatch patch into an old-style patch using only the ReplaceBytes instruction. Note that unlike kobopatch itself, the generated patches will only work on the version it is created for. The code is here, and the binaries are here. Here is an example: Spoiler:
Last edited by geek1011; 08-25-2018 at 03:38 PM. |
|
08-25-2018, 04:38 PM | #34 |
Grand Sorcerer
Posts: 6,234
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you for your patchs, geoffr and jackie, and geek101 for tool and patch. As soon as I'm near my desktop again, I intend to use the new method, as I hope to keep the same configuration file.
|
08-25-2018, 04:39 PM | #35 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
No problem! You will be able to use the same configuration file, all you need to do is update the version and firmware path.
|
08-25-2018, 05:13 PM | #36 | ||
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Quote:
I have had no success whatsoever trying to compare 2 different copies of KoboRoot.tgz using a checksum utility. Even if I run kobopatch twice with identical settings the 2 KoboRoot.tgz files will give different checksums. To do a useful comparison I have always needed to unpack the contents of KoboRoot.tgz before running the checksum utility on each of the constituent files: - nickel - libnickel.so.1.0.0 - librmsdk.so.1.0.0 - libadobe.so I don't know why the above is true. I always assumed it must be something to do with slight variations during the zipping-up process. |
||
08-25-2018, 06:45 PM | #37 |
Zealot
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
|
Deleted. - False problem when opening Koboroot.tgz with Winrar. Opening it with 7-zip is OK.
Just a question: Why all files that can be patched are written to koboRoot.tgz although they are not patched? With previous patching system only the patched files were included. And another "windows user" question: Why in kobopatch is created a folder called "." before the "usr" folder?. It was not in previous patching system. Last edited by JIPG-reader; 08-25-2018 at 07:15 PM. Reason: Problem opening koboroot.tgz with Winrar |
08-25-2018, 07:28 PM | #38 | ||
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
## This section lists the patch files and the corresponding binary in the tgz. patches: src/libnickel.so.1.0.0.yaml: usr/local/Kobo/libnickel.so.1.0.0 #src/librmsdk.so.1.0.0.yaml: usr/local/Kobo/librmsdk.so.1.0.0 src/nickel.yaml: usr/local/Kobo/nickel #src/libadobe.so.yaml: usr/local/Kobo/libadobe.so Quote:
Long answer: I remember going through this as well. There is some discussion about it a couple of weeks (months???) ago, but I can't find it right now. ETA: It was 4 months ago! Post #40 onwards in this old thread Last edited by jackie_w; 08-25-2018 at 08:02 PM. Reason: ETA |
||
08-25-2018, 08:02 PM | #39 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Why the different checksums: file modification times.
Why are all files written: to allow people to disable all patches and get a unpatched KoboRoot.tgz Why is there a . folder: it doesn't make any difference; some tools do it, others don't. Why doesn't it work with WinRAR: WinRAR has a bug (with many tar.gz files) |
08-25-2018, 08:11 PM | #40 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
08-25-2018, 08:14 PM | #41 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
That's because the checksum only includes the file content. When a file is in an archive, the metadata is part of the content, so it is included in the checksum.
|
08-25-2018, 08:19 PM | #42 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
08-25-2018, 08:59 PM | #43 |
JimInRussell
Posts: 355
Karma: 143302
Join Date: Nov 2010
Location: Russell Ontario Canada
Device: kobo Aura One, Forma, Elipsa, Sage
|
I like the new method, edit the kobopatch.yaml file by adding overrides for the patches I want for the 4 yaml files in the src folder. I assume I will be able to use the same override lines again for future updates which should make future updates much easier to patch.
Thank you to geek1011 for the new tool and to Jackie_W and GeoffR. One thing I did find a bit odd, not with this new method for patching but with the firmware download page, is that my Aura One (not LE) updated OTA to 4.10.11591 yet the firmware download page lists 4.9.11311 as the latest FW available for the Aura One, I downloaded the Mark 6 v of 4.10.11591 and it worked fine. Last edited by jiminrussell; 08-25-2018 at 09:00 PM. Reason: minor correction |
08-25-2018, 09:17 PM | #44 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Yep. You will be able to use the same overrides in all patch versions.
As for the OTA update, if you got it about a week ago, it was temporarily released, but it got taken down. If you got it within the last few days, I'd like to know your affiliate (.kobo/affiliate.conf). |
08-25-2018, 09:22 PM | #45 | |
JimInRussell
Posts: 355
Karma: 143302
Join Date: Nov 2010
Location: Russell Ontario Canada
Device: kobo Aura One, Forma, Elipsa, Sage
|
Quote:
|
|
Tags |
kobopatch, patches, patching |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 09:59 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 05:14 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM |