View Single Post
Old 04-04-2019, 06:31 PM   #7
IanScuffling
Enthusiast
IanScuffling began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Mar 2019
Location: Washington DC
Device: Kobo Aura HD
Log.txt is long:
Spoiler:
kobopatch v0.13.0
https://github.com/geek1011/kobopatch



KoboPatch::LoadConfig
reading config file from *os.File
unmarshaling yaml
| {
| "Version": "4.13.12638",
| "In": "src/kobo-update-4.13.12638.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:penIn
Opening firmware zip 'src/kobo-update-4.13.12638.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/libadobe.so' size:283116 mode:'509' typeflag:'48' with files: src/libadobe.so.yaml
reading entry contents
loading patch file 'src/libadobe.so.yaml' (detected format kobopatch)
| parsing patch file
| parsing patch file: expanding shorthand hex values
| decoded hex `28 B1` to `[40 177]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `30 B1` to `[48 177]`
| decoded hex `00 20` to `[0 32]`
| decoded hex `00 23` to `[0 35]`
| decoded hex `70 47` to `[112 71]`
| decoded hex `9A 42` to `[154 66]`
| decoded hex `00 2A` to `[0 42]`
| decoded hex `9A 42` to `[154 66]`
| decoded hex `00 2A` to `[0 42]`
validating patch file
| enabledPatchGroups:map[]
applying patch file
| validating patch file
| enabledPatchGroups:map[]
| looping over patches
| ResetBaseAddress()
| Enabled: false
| skipping patch `Remove PDF map widget shown during panning`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Remove PDF page turn arrows`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Keep PDF pan position`
patched file - orig:283116 new:283116
copying new header to output tar - size:283116 mode:'509'
writing patched file to tar writer
patching entry name:'./usr/local/Kobo/libnickel.so.1.0.0' size:15904300 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 `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `01` to `[1]`
| decoded hex `00` to `[0]`
| decoded hex `4F F0 04 00` to `[79 240 4 0]`
| decoded hex `4F F0 11 00` to `[79 240 17 0]`
| decoded hex `4F F0 01 00` to `[79 240 1 0]`
| decoded hex `18 B1` to `[24 177]`
| decoded hex `00 20 00 20` to `[0 32 0 32]`
| 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 `01 20 01 20` to `[1 32 1 32]`
| decoded hex `4F F0 00 00` to `[79 240 0 0]`
| decoded hex `4F F0 0F 00` to `[79 240 15 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 `18 B9` to `[24 185]`
| decoded hex `BB 61` to `[187 97]`
| decoded hex `BA 61` to `[186 97]`
| 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 `40 F6 B8 31` to `[64 246 184 49]`
| decoded hex `03 21 89 02` to `[3 33 137 2]`
| decoded hex `2E B1` to `[46 177]`
| 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]`
validating patch file
| enabledPatchGroups:map[Line spacing values alternatives:true]
applying patch file
| validating patch file
| enabledPatchGroups:map[Line spacing values alternatives:true]
| looping over patches
| ResetBaseAddress()
| Enabled: false
| skipping patch `Set reading footer height`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Hide browser from beta features`
| ResetBaseAddress()
| Enabled: true
| applying patch `Custom Sleep/Power-off timeouts`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| BaseAddress(13645784)
| ReplaceString(0, "5 mins\x00", "10 mins")
| ReplaceString(8, "10 mins", "20 mins")
| ReplaceString(8, "15 mins", "30 mins")
| ReplaceString(8, "30 mins", "1 hour")
| ReplaceString(8, "45 mins", "2 hours")
| ReplaceString(8, "60 mins", "4 hours")
| BaseAddress(0)
| ReplaceInt(11083508, 0x5, 0xa)
| ReplaceInt(11083596, 0xa, 0x14)
| ReplaceInt(11083656, 0xf, 0x1e)
| ReplaceInt(11083716, 0x1e, 0x3c)
| ReplaceInt(11083776, 0x2d, 0x78)
| ReplaceInt(11083836, 0x3c, 0xf0)
| ReplaceInt(11083962, 0x5, 0xa)
| ReplaceInt(11084022, 0xa, 0x14)
| ReplaceInt(11084080, 0xf, 0x1e)
| ReplaceInt(11084138, 0x1e, 0x3c)
| ReplaceInt(11084196, 0x2d, 0x78)
| ReplaceInt(11084252, 0x3c, 0xf0)
| ResetBaseAddress()
| Enabled: false
| skipping patch `Always display chapter name on navigation menu`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Keyboard template (GloHD/ClaraHD/AuraOne/H2O2)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Always show confirmation dialog before upgrading`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Set KePub hyphenation`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Dictionary text font-family/font-size/line-height - beta`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Replace adobe page numbers toggle with invert screen`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Use old keyboard on all devices`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Dictionary, remove long winded closest match notification`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Only show stats SmartLink`
| ResetBaseAddress()
| Enabled: true
| applying patch `My 10 line spacing values`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| ReplaceBytesNOP.FindBLX -> Set ReplaceBytesNOP.Find to BLX(0x662EE4, 0x41F560) -> BCF53CEB
| ReplaceBytesNOP(6696676, []byte{0xbc, 0xf5, 0x3c, 0xeb})
| ReplaceBytesNOP.FindBLX -> Set ReplaceBytesNOP.Find to BLX(0x662F3A, 0x41F560) -> BCF512EB
| ReplaceBytesNOP(6696762, []byte{0xbc, 0xf5, 0x12, 0xeb})
| ReplaceBytesNOP.FindBLX -> Set ReplaceBytesNOP.Find to BLX(0x662F64, 0x41F560) -> BCF5FCEA
| ReplaceBytesNOP(6696804, []byte{0xbc, 0xf5, 0xfc, 0xea})
| ReplaceBytesNOP.FindBLX -> Set ReplaceBytesNOP.Find to BLX(0x662FA0, 0x41F560) -> BCF5DEEA
| ReplaceBytesNOP(6696864, []byte{0xbc, 0xf5, 0xde, 0xea})
| ReplaceBytesNOP.FindBLX -> Set ReplaceBytesNOP.Find to BLX(0x663006, 0x41F560) -> BCF5ACEA
| ReplaceBytesNOP(6696966, []byte{0xbc, 0xf5, 0xac, 0xea})
| BaseAddress(6697120)
| ReplaceFloat(0, 1.05, 0.8)
| ReplaceFloat(8, 1.07, 0.85)
| ReplaceFloat(16, 1.1, 0.875)
| ReplaceFloat(24, 1.35, 0.9)
| ReplaceFloat(32, 1.7, 0.925)
| ReplaceFloat(40, 1.8, 0.95)
| ReplaceFloat(48, 2.2, 0.975)
| ReplaceFloat(56, 2.4, 1)
| ReplaceFloat(64, 2.6, 1.05)
| ReplaceFloat(72, 2.8, 1.1)
| ResetBaseAddress()
| Enabled: false
| skipping patch `Change dicthtml strings to micthtml`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Keyboard template (AuraHD/H2O)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Cyrillic keyboard (Mini/Touch/Glo/Aura/AuraHD/H2O)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Both page turn sides go next`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `ePub fixed top/bottom margins`
| ResetBaseAddress()
| Enabled: false
| skipping patch `KePub stylesheet additions`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Ignore .otf fonts`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Keyboard template (Mini/Touch/Glo/Aura)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Force user line spacing in ePubs (part 1 of 2)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Un-force link decoration in KePubs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Clock display duration`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Wikipedia Search language`
| ResetBaseAddress()
| Enabled: true
| applying patch `Custom footer (page number text)`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| FindReplaceString("Page %1 <i>of</i> %2", "%1 / %2")
| FindBaseAddressString("Page %1 <i>of</i> %2")
| ReplaceString(0, "Page %1 <i>of</i> %2", "%1 / %2")
| ResetBaseAddress()
| Enabled: false
| skipping patch `Custom kepub default margins`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Rename settings`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Force user line spacing in KePubs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `KePub constant font sharpness`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Hebrew keyboard (AuraHD/H2O)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Rename new home screen footer`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Both page turn buttons go next`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Remove beta features not supported text`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Disable all tutorial dialogs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Never show Kobo Plus, wishlist, and points SmartLinks`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Block WiFi firmware upgrade`
| ResetBaseAddress()
| Enabled: false
| skipping patch `ePub constant font sharpness`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Hebrew keyboard (GloHD/ClaraHD/AuraOne/H2O2)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Un-force font-family override p tags (std epubs)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Set slide to unlock`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Set visible SmartLink`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Only show Pocket SmartLink`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Custom font sizes`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Custom left & right margins`
| ResetBaseAddress()
| Enabled: false
| skipping patch `ePub disable built-in body padding-bottom`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Fix three KePub fullScreenReading bugs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Force user font-family in ePubs (Part 1 of 2)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Un-Force user text-align in div,p tags in KePubs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Arabic keyboard (Mini/Touch/Glo/Aura/AuraHD/H2O)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Hebrew keyboard (Mini/Touch/Glo/Aura)`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Enable rotation on all devices`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Un-Force user font-family in KePubs`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Allow searches on Extra dictionaries`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2)`
patched file - orig:15904300 new:15904300
copying new header to output tar - size:15904300 mode:'509'
writing patched file to tar writer
patching entry name:'./usr/local/Kobo/nickel' size:10051848 mode:'509' typeflag:'48' with files: src/nickel.yaml
reading entry contents
loading patch file 'src/nickel.yaml' (detected format kobopatch)
| parsing patch file
| parsing patch file: expanding shorthand hex values
validating patch file
| enabledPatchGroups:map[Custom menubar:true Home screen tweaks:true]
applying patch file
| validating patch file
| enabledPatchGroups:map[Custom menubar:true Home screen tweaks:true]
| looping over patches
| ResetBaseAddress()
| Enabled: false
| skipping patch `Custom font to collection and author titles`
| ResetBaseAddress()
| Enabled: false
| skipping patch `Remove forgot pin button from lock screen`
| ResetBaseAddress()
| Enabled: true
| applying patch `Remove recommendations (row1col2) from home screen`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| FindZlib("[qApp_isFontScaleLarge=true] #row1col2 {\n qproperty-visible: false;\n}") | hex:5b714170705f6973466f6e745363616c654c617267653d 747275655d2023726f7731636f6c32207b0a20207170726f70 657274792d76697369626c653a2066616c73653b0a7d
| ReplaceZlib(0, "[qApp_isFontScaleLarge=true] #row1col2", "#row1col2")
| ResetBaseAddress()
| Enabled: true
| applying patch `Custom menubar - reduce height by 33%`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| FindZlib("#StatusBarView") | hex:2353746174757342617256696577
| ReplaceZlib(0, "max-height: 71px;", "max-height: 47px;")
| ReplaceZlib(0, "min-height: 71px;", "min-height: 47px;")
| ReplaceZlib(0, "max-height: 91px;", "max-height: 60px;")
| ReplaceZlib(0, "min-height: 91px;", "min-height: 60px;")
| ReplaceZlib(0, "max-height: 121px;", "max-height: 80px;")
| ReplaceZlib(0, "min-height: 121px;", "min-height: 80px;")
| ReplaceZlib(0, "max-height: 157px;", "max-height: 105px;")
| ReplaceZlib(0, "min-height: 157px;", "min-height: 105px;")
| ResetBaseAddress()
| Enabled: false
| skipping patch `Increase the view details container size`
| ResetBaseAddress()
| Enabled: true
| applying patch `Only Reading and My Books`
| looping over instructions
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| skipping non-instruction Enabled(), PatchGroup() or Description()
| FindZlib("#row1col2") | hex:23726f7731636f6c32
| ReplaceZlib(0, "[qApp_isFontScaleLarge=true] #row1col2 {\n qproperty-visible: false;\n}", "#row1col2,#row2col2,#row3{qproperty-visible:false;}")
| could not apply patch: i5: ReplaceZlib: find string not found in stream ([qApp_isFontScaleLarge=true] #row1col2{qproperty-visible:false;})
--> ReplaceZlib: find string not found in stream ([qApp_isFontScaleLarge=true] #row1col2{qproperty-visible:false;})

Last edited by IanScuffling; 04-04-2019 at 07:21 PM. Reason: Added spoiler text
IanScuffling is offline   Reply With Quote