MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kobo Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=247)
-   -   Instructions for patching firmware 4.8.10956 (https://www.mobileread.com/forums/showthread.php?t=296477)

Terisa de morgan 04-29-2018 03:51 PM

Quote:

Originally Posted by oren64 (Post 3688183)
The patch `show games on Beta Features` should work on this firmware.

It works. Sketchpad and 5 games appear at Beta features (as usual)

JIPG-reader 04-29-2018 04:02 PM

Quote:

Originally Posted by Terisa de morgan (Post 3688363)
It works. Sketchpad and 5 games appear at Beta features (as usual)

It works! ...

errenay 04-30-2018 04:26 AM

First, I would like to thank all of the developers for their great work. Next, I have (I hope...) a simple question. How could I add some additional space between the bottom line of text in the footer and the edge of the screen? For me, it looks like the text "Page xx of xx" (or other similar) is too low and too close to the end of the screen. I have changed min/max footer height values from 52 px to 62 px in the patch (Aura H20 first edition), but I can't notice any change. Thank you in advance for your help.

oren64 04-30-2018 04:52 AM

Quote:

Originally Posted by errenay (Post 3688507)
First, I would like to thank all of the developers for their great work. Next, I have (I hope...) a simple question. How could I add some additional space between the bottom line of text in the footer and the edge of the screen? For me, it looks like the text "Page xx of xx" (or other similar) is too low and too close to the end of the screen. I have changed min/max footer height values from 52 px to 62 px in the patch (Aura H20 first edition), but I can't notice any change. Thank you in advance for your help.

In the patch, remove a # from one of the line (I marked in red), it will move the caption text upwards.


Code:

...
# Optional Replacement caption top margin value for all devices:
# (A negative top margin moves the caption text upwards,
# further from the bezel and closer to the page content.)
#
#replace_string = 00FA, `margin-top:+00px`, `margin-top:-15px`
#replace_string = 00FA, `margin-top:+00px`, `margin-top:-05px`
#
#
...


JohhnyMix 04-30-2018 12:58 PM

Quote:

Originally Posted by JIPG-reader (Post 3688367)
It works! ...

Wait... the games work on H2O v2 models now? i thought it only worked on older devices.

geek1011 04-30-2018 01:25 PM

Quote:

Originally Posted by JohhnyMix (Post 3688652)
Wait... the games work on H2O v2 models now? i thought it only worked on older devices.

Yes. It's not about compatibility, it's just that Kobo uses CSS to hide the games on certain devices.

JohhnyMix 04-30-2018 01:38 PM

Quote:

Originally Posted by geek1011 (Post 3688658)
Yes. It's not about compatibility, it's just that Kobo uses CSS to hide the games on certain devices.

ah i see... ill try to find the game patch then and try to upgrade my h2o.. thanks for the info

JIPG-reader 04-30-2018 01:45 PM

Quote:

Originally Posted by JohhnyMix (Post 3688663)
ah i see... ill try to find the game patch then and try to upgrade my h2o.. thanks for the info

After installing the patch (the link is a few messages above), the games appear in the configuration/beta functions menu. The chess is no longer there, but sudoku, solitaire, ...

JohhnyMix 04-30-2018 01:55 PM

Quote:

Originally Posted by JIPG-reader (Post 3688666)
After installing the patch (the link is a few messages above), the games appear in the configuration/beta functions menu. The chess is no longer there, but sudoku, solitaire, ...

ah yea i found it so thanks! I just did the patch and it worked like a charm, This was my first time because i never really saw a need to patch but now that it adds games it seems worth it so thanks to everyone for sharing and helping.

Ramo 04-30-2018 03:17 PM

A big thank you to all involved! GeoffR and oren64!

Maybe this is the patch that brings the most peoplw to the patch side of the force. It totally broke the ability of my Koko Touch C to read ePubs. Thanks to the patch I was able to read them again and in the process tweak a lot of things that were annoyances for me on the kobo interface.

I am only sorry that I missed out on the best PDF tweaks. But I hope they come back arround.

oren64 05-01-2018 04:41 PM

2 Attachment(s)
Patch `Wikipedia Search language`

libnickel.so.1.0.0.patch

The patch set the search language in Wikipedia.
Replace the "en" (in both the replace_string lines) to the language code you want. For example English is "en" (set as default), for German is "de", for Russian is "ru".

Spoiler:
Code:

<Patch>
patch_name = `Wikipedia Search language`
patch_enable = `yes`
# Multi version patch: 4.8.10956+
#
# The patch set the search language in Wikipedia.
# Replace the "en" (in both the replace_string lines) to language code you want.
# For example English is "en" (set as default), for German is "de", for Russian is "ru".
#
find_base_address = `\0https://%1.m.wikipedia.org/wiki/Special:Search\0`
replace_string = 0000, `\0https://%1.m.wikipedia.org/wiki/Special:Search\0`, `\0https://en.m.wikipedia.org/wiki/Special:Search\0`
#
find_base_address = `\0https://%1.wikipedia.org/wiki/Special:Search\0`
replace_string = 0000, `\0https://%1.wikipedia.org/wiki/Special:Search\0`, `\0https://en.wikipedia.org/wiki/Special:Search\0`
</Patch>



the second picture show wikipedia in Hebrew language.

Ramo 05-01-2018 05:18 PM

Thank you Oren!

I just patched my device yesterday, but out of dumbness deleted all the patch scripts and didn't took note on which patchs I activated.

My questions are: Is there a way to find out from the device witch patches I'm using for sure or am I out of luck and will have to go on educated guesses?
And: If I go and use just this one wikipedia patch all the already used ones will revert to the initial stages, won't them?

oren64 05-01-2018 05:39 PM

Quote:

Originally Posted by Ramo (Post 3689142)
My questions are: Is there a way to find out from the device witch patches I'm using for sure or am I out of luck and will have to go on educated guesses?

Not that I know of.

Quote:

And: If I go and use just this one wikipedia patch all the already used ones will revert to the initial stages, won't them?
In this patcher attachment all patches are set as disable, so if you enable only the wikipedia patch , all patches in your device will not be implemented.

Ramo 05-02-2018 02:13 AM

Thank you!

I'll have to take my chances.

anacreon 05-02-2018 02:54 AM

Quote:

Originally Posted by oren64 (Post 3689132)
Patch `Wikipedia Search language`

libnickel.so.1.0.0.patch

The patch set search language in Wikipedia.
Replace the "en" (in both the replace_string lines) to language code you want. For example English is "en" (set as default), for German is "de", for Russian is "ru".

Spoiler:
Code:

<Patch>
patch_name = `Wikipedia Search language`
patch_enable = `yes`
# Version patch: 4.8.10956
#
# The patch set search language in Wikipedia.
# Replace the "en" (in both the replace_string lines) to language code you want. For example English is "en" (set as default), for German is "de", for Russian is "ru".
#
find_base_address = `\0https://%1.m.wikipedia.org/wiki/Special:Search\0`
replace_string = 0000, `\0https://%1.m.wikipedia.org/wiki/Special:Search\0`, `\0https://en.m.wikipedia.org/wiki/Special:Search\0`
#
find_base_address = `\0https://%1.wikipedia.org/wiki/Special:Search\0`
replace_string = 0000, `\0https://%1.wikipedia.org/wiki/Special:Search\0`, `\0https://en.wikipedia.org/wiki/Special:Search\0`
</Patch>



the second picture show wikipedia in Hebrew language.

Completely off-topic, but I was jolted that right to left in Hebrew doesn't apply to numbers, or at least treats numbers as a whole, not digit by digit. I assume words still are right to left character by character, but what do I know.


All times are GMT -4. The time now is 04:51 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.