While patching my Kobo Touch (A), I received this Log:
Spoiler:
Code:
kobopatch v0.13.0
https://github.com/geek1011/kobopatch
KoboPatch::LoadConfig
reading config file from *os.File
unmarshaling yaml
| {
| "Version": "4.15.12920",
| "In": "src/kobo-update-4.15.12920.zip",
| "Out": "out/KoboRoot.tgz",
| "Log": "out/log.txt",
| "PatchFormat": "kobopatch",
| "Patches": {
| "src/libadobe.so.yaml": "usr/local/Kobo/libadobe.so",
| "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"
| },
| "Overrides": {
| "src/libadobe.so.yaml": null,
| "src/libnickel.so.1.0.0.yaml": null,
| "src/librmsdk.so.1.0.0.yaml": null,
| "src/nickel.yaml": null
| },
| "Lrelease": "",
| "Translations": null,
| "Files": null
| }
KoboPatch::OutputInit
KoboPatch::ApplyPatches
KoboPatch::openIn
Opening firmware zip 'src/kobo-update-4.15.12920.zip'
Looking for KoboRoot.tgz in zip
--> found KoboRoot.tgz
--> opening KoboRoot.tgz
Opening gzip reader
Creating tar reader
patching entry name:'./usr/local/Kobo/libnickel.so.1.0.0' size:16225956 mode:'509' typeflag:'48' with files: src/libnickel.so.1.0.0.yaml
reading entry contents
loading patch file 'src/libnickel.so.1.0.0.yaml' (detected format kobopatch)
| parsing patch file
| parsing patch file: expanding shorthand hex values
| decoded hex `00 24` to `[0 36]`
| decoded hex `01 24` to `[1 36]`
| decoded hex `01 2C` to `[1 44]`
| decoded hex `A4 42` to `[164 66]`
| decoded hex `4F F0 00 00` to `[79 240 0 0]`
| decoded hex `18 B9` to `[24 185]`
| decoded hex `BB 61` to `[187 97]`
| decoded hex `BA 61` to `[186 97]`
| decoded hex `C9 B0` to `[201 176]`
| decoded hex `CB B0` to `[203 176]`
| decoded hex `02 AF` to `[2 175]`
| decoded hex `04 AF` to `[4 175]`
| decoded hex `AD F8 04 20` to `[173 248 4 32]`
| decoded hex `02 92 01 92` to `[2 146 1 146]`
| decoded hex `A5 F7 4A ED` to `[165 247 74 237]`
| decoded hex `85 F7 7A EF` to `[133 247 122 239]`
| decoded hex `20 22 4F F0 FF 33` to `[32 34 79 240 255 51]`
| decoded hex `00 23 01 22 0A 21` to `[0 35 1 34 10 33]`
| decoded hex `07 F1 70 0A` to `[7 241 112 10]`
| decoded hex `00 93 01 91` to `[0 147 1 145]`
| decoded hex `AD F8 04 20 00 93` to `[173 248 4 32 0 147]`
| decoded hex `42 43 92 08 01 3A` to `[66 67 146 8 1 58]`
| decoded hex `50 46 67 23` to `[80 70 103 35]`
| decoded hex `B8 BF 00 22` to `[184 191 0 34]`
| decoded hex `00 22 49 46` to `[0 34 73 70]`
| decoded hex `20 A8 49 46` to `[32 168 73 70]`
| decoded hex `91 F7 30 EC` to `[145 247 48 236]`
| decoded hex `85 F7 EA EA` to `[133 247 234 234]`
| decoded hex `51 46` to `[81 70]`
| decoded hex `20 A9` to `[32 169]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `58 B1` to `[88 177]`
| decoded hex `00 24` to `[0 36]`
| decoded hex `01 24` to `[1 36]`
| decoded hex `80 F0 01 00` to `[128 240 1 0]`
| decoded hex `01 20 01 20` to `[1 32 1 32]`
| decoded hex `4F F0 0F 00` to `[79 240 15 0]`
| decoded hex `4F F0 11 00` to `[79 240 17 0]`
| decoded hex `A7 F5 8E EC 6D A3` to `[167 245 142 236 109 163]`
| decoded hex `A9 46 00 25 ED 00` to `[169 70 0 37 237 0]`
| decoded hex `D3 E9 00 23 07 F1` to `[211 233 0 35 7 241]`
| decoded hex `20 46 04 A1 29 44` to `[32 70 4 161 41 68]`
| decoded hex `80 01 20 46` to `[128 1 32 70]`
| decoded hex `A7 F5 88 EC` to `[167 245 136 236]`
| decoded hex `61 E9 1C 23 A7 F5` to `[97 233 28 35 167 245]`
| decoded hex `08 35 70 2D F7 D1` to `[8 53 112 45 247 209]`
| decoded hex `84 EC 6A A3 D3 E9` to `[132 236 106 163 211 233]`
| decoded hex `7C E0 00 BF 00 BF` to `[124 224 0 191 0 191]`
| decoded hex `00 23 07 F1 80 01 20 46` to `[0 35 7 241 128 1 32 70]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `61 E9 1A 23 A7 F5 7A EC` to `[97 233 26 35 167 245 122 236]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `67 A3 D3 E9 00 23 07 F1` to `[103 163 211 233 0 35 7 241]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `80 01 20 46 61 E9 18 23` to `[128 1 32 70 97 233 24 35]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `A7 F5 70 EC 43 F2 33 33` to `[167 245 112 236 67 242 51 51]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `4F F0 33 32 C3 F6 F3 73` to `[79 240 51 50 195 246 243 115]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `07 F1 80 01 20 46 61 E9` to `[7 241 128 1 32 70 97 233]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `16 23 A7 F5 64 EC 5E A3` to `[22 35 167 245 100 236 94 163]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `D3 E9 00 23 07 F1 80 01` to `[211 233 0 35 7 241 128 1]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `20 46 61 E9 14 23 A7 F5` to `[32 70 97 233 20 35 167 245]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `5A EC 00 23 00 22 C3 F6` to `[90 236 0 35 0 34 195 246]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `F8 73 07 F1 80 01 20 46` to `[248 115 7 241 128 1 32 70]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `61 E9 12 23 A7 F5 4E EC` to `[97 233 18 35 167 245 78 236]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `55 A3 D3 E9 00 23 07 F1` to `[85 163 211 233 0 35 7 241]`
| decoded hex `00 00 00 00 00 00 F0 3F` to `[0 0 0 0 0 0 240 63]`
| decoded hex `00 23 00 22` to `[0 35 0 34]`
| decoded hex `00 BF 00 25` to `[0 191 0 37]`
| decoded hex `C4 F2 08 03 07 F1` to `[196 242 8 3 7 241]`
| decoded hex `20 46 29 A1 29 44` to `[32 70 41 161 41 68]`
| decoded hex `80 01 20 46` to `[128 1 32 70]`
| decoded hex `A7 F5 02 EC` to `[167 245 2 236]`
| decoded hex `61 E9 02 23 A7 F5` to `[97 233 2 35 167 245]`
| decoded hex `08 35 50 2D F7 D1` to `[8 53 80 45 247 209]`
| decoded hex `FE EB` to `[254 235]`
| decoded hex `4D 46` to `[77 70]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `01` to `[1]`
| decoded hex `00` to `[0]`
| decoded hex `07 F1 0C 0B` to `[7 241 12 11]`
| decoded hex `00 20 00 20` to `[0 32 0 32]`
| decoded hex `42 00` to `[66 0]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `4F F0 20 01` to `[79 240 32 1]`
| decoded hex `00 20 00 20` to `[0 32 0 32]`
| decoded hex `58 46` to `[88 70]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `40 1E` to `[64 30]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `82 00` to `[130 0]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `20 21` to `[32 33]`
| decoded hex `00 20 00 20` to `[0 32 0 32]`
| decoded hex `07 F1 0C 0B` to `[7 241 12 11]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `58 46` to `[88 70]`
| decoded hex `00 20 00 20` to `[0 32 0 32]`
| decoded hex `18 B1` to `[24 177]`
| decoded hex `4F F0 00 00` to `[79 240 0 0]`
| decoded hex `59 46 50 46` to `[89 70 80 70]`
| decoded hex `5A 46 51 46` to `[90 70 81 70]`
| decoded hex `06 46` to `[6 70]`
| decoded hex `00 26` to `[0 38]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `00 24` to `[0 36]`
| decoded hex `01 24` to `[1 36]`
| decoded hex `00 24` to `[0 36]`
| decoded hex `01 24` to `[1 36]`
| decoded hex `2E B1` to `[46 177]`
| decoded hex `42 00` to `[66 0]`
| decoded hex `82 00` to `[130 0]`
| decoded hex `40 F6 B8 31` to `[64 246 184 49]`
| decoded hex `03 21 89 02` to `[3 33 137 2]`
| decoded hex `4F F0 04 00` to `[79 240 4 0]`
| decoded hex `01 20 01 20` to `[1 32 1 32]`
| decoded hex `4F F0 00 00` to `[79 240 0 0]`
validating patch file
--> i4: internal error while validating `Un-Force user font-family in KePubs` (you should report this as a bug)
The patch in question has this settings:
Code:
Un-Force user font-family in KePubs:
- Enabled: yes
- Description: |
The KePub reader uses a very heavy-handed method of setting the font selected
by the user, overriding all fonts set by the publisher in the book unless
"Publisher Default" is selected.
This patch lets the font-family set by the publisher in the KePub stylesheet
override the font-family selected by the reader from the device in some
cases, which allows a mix of user-selected and publisher-selected fonts.
Alternatives 1-3 give increasing preference to the publisher-selected fonts.
- FindBaseAddressString: "* { font-family: %1 !important; }\n"
#
# Alternative 1:
# * { font-family: %1 !important; }\n
# --> div,p{font-family:%1!important; }\n
- ReplaceString:
# Offset: 0
# Find: "* { font-family: %1 !important; }\n"
# Replace: "div,p{font-family:%1!important; }\n"
# MustMatchLength: yes
#
# Alternative 2: (Similar to ePub default)
# * { font-family: %1 !important; }\n
# --> body,p{font-family:%1!important;}\n
- ReplaceString:
Offset: 0
Find: "* { font-family: %1 !important; }\n"
Replace: "body,p{font-family:%1!important;}\n"
MustMatchLength: yes
#
# Alternative 3: (similar to ePub with `Un-force font-family override p tags`)
# * { font-family: %1 !important; }\n
# --> body{font-family:%1 !important; }\n
# - ReplaceString:
# Offset: 0
# Find: "* { font-family: %1 !important; }\n"
# Replace: "body{font-family:%1 !important; }\n"
# MustMatchLength: yes
Is the error caused by me?