![]() |
#226 | |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2014
Location: St.Petersburg, Russia
Device: Kobo Touch N905C
|
Quote:
Great!! Thanks GeoffR! it did worked for me now ![]() Code:
Alinkas-MacBook:~ Alinka$ cd /Volumes/HOME\ /Alinka/Documents/Bubenchik/KoboHack/patch_kobo_35 Alinkas-MacBook:patch_kobo_35 Alinka$ mkdir -p ./usr/local/Kobo Alinkas-MacBook:patch_kobo_35 Alinka$ ./tools/patch32lsb-Darwin -p 3.5.0_source/libadobe.so.patch -i libadobe.so -o ./usr/local/Kobo/libadobe.so Read 245796 bytes from input file 'libadobe.so' Applied patch `Remove PDF map widget shown during panning` Ignoring disabled patch `Preserve PDF pan position across page turns` Ignoring disabled patch `Remove PDF page turn arrows at left and right edges of page` Wrote 245796 bytes to output file './usr/local/Kobo/libadobe.so' Alinkas-MacBook:patch_kobo_35 Alinka$ ./tools/patch32lsb-Darwin -p 3.5.0_source/libnickel.so.1.0.0.patch -i libnickel.so.1.0.0 -o ./usr/local/Kobo/libnickel.so.1.0.0 Read 16913252 bytes from input file 'libnickel.so.1.0.0' Applied patch `Custom reading footer style` Ignoring disabled patch `Custom header style` Ignoring disabled patch `My 10 line spacing values` Applied patch `My 15 line spacing values` Applied patch `Custom fonts sizes` Applied patch `Custom left & right margins` Ignoring disabled patch `Custom kepub default margins` Applied patch `Freedom to advanced fonts control` Applied patch `Brightness fine control` Applied patch `Unitless ePub line height` Applied patch `Synopsis font size fix` Ignoring disabled patch `Allow download all in Browser` Ignoring disabled patch `ePub adjustable top/bottom margin` Ignoring disabled patch `Custom page refresh options` Ignoring disabled patch `Remove system fonts in Reader list` Ignoring disabled patch `Remove non-system fonts in Reader list` Ignoring disabled patch `Cyrillic keyboard` Ignoring disabled patch `Wi-Fi insomnia` Ignoring disabled patch `Disable pinch-to-zoom font resizing` Ignoring disabled patch `Margins fine tuning` Ignoring disabled patch `Block WiFi firmware upgrade` Wrote 16913252 bytes to output file './usr/local/Kobo/libnickel.so.1.0.0' Alinkas-MacBook:patch_kobo_35 Alinka$ tar cvzf KoboRoot.tgz ./usr/local/Kobo/libadobe.so ./usr/local/Kobo/libnickel.so.1.0.0 a ./usr/local/Kobo/libadobe.so a ./usr/local/Kobo/libnickel.so.1.0.0 Alinkas-MacBook:patch_kobo_35 Alinka$ |
|
![]() |
![]() |
![]() |
#227 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I'm not exactly sure what you mean, but I think the answer would be no, you can't create a valid .tgz archive just by renaming a .zip archive.
|
![]() |
![]() |
![]() |
#228 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2014
Location: St.Petersburg, Russia
Device: Kobo Touch N905C
|
|
![]() |
![]() |
![]() |
#229 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Edit: If you mean to replace the files in the original KoboRoot.tgz with the patched ones, then that might work, but it is probably not a good idea. Better to create a new KoboRoot.tgz that contains just the patched files, because the device will then update much faster. You might need to apply the patch a number of times until you have it customised to your liking, and it will take much longer if you install the whole original KoboRoot.tgz each time. Last edited by GeoffR; 07-13-2014 at 04:26 PM. |
|
![]() |
![]() |
![]() |
#230 | |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2014
Location: St.Petersburg, Russia
Device: Kobo Touch N905C
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#231 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Just transfer the new KoboRoot.tgz containing the two patched files (assuming your device is already running firmware 3.5.0, if not, then upgrade first before patching it). After you eject the device, it will just unpack KoboRoot.tgz and overwrite the old files.
|
![]() |
![]() |
![]() |
#232 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2014
Location: St.Petersburg, Russia
Device: Kobo Touch N905C
|
It worked super fine for me!! THANK you chrisridd and GeoffR! You're awesome guys, I appreciate that!
![]() Cheers! |
![]() |
![]() |
![]() |
#233 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#234 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,555
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Does the "Advanced" font setting (the weight/sharpness slider in particular) work with sideloaded fonts at all? I have enabled the patch, and I see the option; when I move the slider I see the effect in the preview panel, but it doesn't seem to have any effect in the book. (This is with v. 3.3.0, in Aura.)
|
![]() |
![]() |
![]() |
#235 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
1. You haven't pressed the "Apply" button before closing the advanced font dialogue. 2. The font showing in the book is not the font that you are have selected for adjustment. Try changing to a different font: if the font shown in the book doesn't change to the font you selected then the book has been created in a way that forces a certain font to be used rather than the one you selected. Only way to get around this is to edit the book's stylesheet so that the paragraph classes for the main text inherit the font set at the body level. (The font you select in the device's menu is applied at body level). |
|
![]() |
![]() |
![]() |
#236 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,555
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Neither of those options applies. Changing the weight with one of the pre-loaded fonts works fine in the same book, which means that the font is not hardcoded. Strange... it looks like the same font in different books has different weights, but it may be a difference in size too. I'll try again after upgrading to 3.5.0 and rebooting. Maybe I should remove the books' settings too.
|
![]() |
![]() |
![]() |
#237 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The sideloaded font I use for testing is Dark Courier: http://h10025.www1.hp.com/ewfrf/wc/s...reitem=lj611en
|
![]() |
![]() |
![]() |
#238 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 303048
Join Date: Feb 2013
Location: Brazil
Device: Kindle Paperwhite 3
|
`Fix page breaks bug` to "disable" widows/orphans css
I think the patch `Fix page breaks bug` essential
I use to "disable" widows/orphans and avoid blank space at the bottom margin. I tried to adapt to firmware 3.5.0 here: Code:
# librmsdk.so.1.0.0 in firmware 3.5.0 (1ad1188b51) <Patch> patch_name = `Fix page breaks bug` patch_enable = `yes` replace_bytes = 2B87F6, E5 D0, E5 E7 #Alternative method #replace_bytes = 2B87F6, E5 D0, 00 46 </Patch> add file librmsdk.so.1.0.0.patch to folder /patch_kobo_35/3.5.0_source/ I hope it is useful. |
![]() |
![]() |
![]() |
#239 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,582
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
So far none of my test books showed that bug so I agree that it was fixed making the page break fix unneeded. Regards, David |
|
![]() |
![]() |
![]() |
#240 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Without regard of the question whether this patch is useful, I would like to mention that in addition to
Quote:
Code:
FILES_TO_PATCH="./usr/local/Kobo/libnickel.so.1.0.0 ./usr/local/Kobo/libadobe.so ./usr/local/Kobo/librmsdk.so.1.0.0" |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 09:02 PM |
Touch Patching nickel to leave the wifi active | schlecky | Kobo Developer's Corner | 4 | 01-23-2017 11:46 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM |
Instructions for patching firmware 3.1.1 | GeoffR | Kobo Developer's Corner | 64 | 04-18-2014 01:23 PM |