Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2016, 12:58 PM   #1
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,304
Karma: 10552084
Join Date: Nov 2012
Location: Beneath the Long White Cloud
Device: Kobo Glo
Instructions for patching firmware 4.1.7729

This firmware version has only been oficially released for the Aura One and Aura Edition 2, it should work on other Mk 6 devices (Glo HD) but don't try to install it on other devices unless you know what you are doing, installing the wrong firmware could potentailly result in an unbootable ereader.

See the Firmware 4.1.7729 discussion thread for information about what has changed in this firmware version.

See the Index to the Metazoa firmware patches thread for a description of what some of these patches do.


Before starting:

1. Make sure your Kobo ereader is already running firmware version 4.1.7729 (8bedc76ce7). If not, then you need to upgrade before applying this patch.

2. Check that your battery is well charged.


Patching from Windows, Linux (i386/x86_64), or Mac (OS X 10.8-10.9, i386/x86_64):

1. Download and extract patch_kobo_4017729.zip (attached).

2. Download the Kobo firmware archive version 4.1.7729 for your device (See this thread) and copy it into the 4.1.7729_source/ subdirectory. (Don't unzip the firmware.)

3. Read and edit all the *.patch files in the 4.1.7729_source/ subdirectory in order to: choose which patches to enable (patch_enable=`yes`) or disable (patch_enable=`no`); and to change some of the replacement values to suit your device and preferences.

4. In Windows double-click 4.1.7729.bat; For Linux/Mac open a terminal, change to the patch_kobo_4017729/ subdirectory, and run ./4.1.7729.sh from the command line.

5. If there were no errors, copy the resulting KoboRoot.tgz from the 4.1.7729_target/ subdirectory to the .kobo directory on your ereader.

6. Safely eject and unplug the device, which will then update and restart.


To return your ereader to its original unpatched state:

1. Edit all the 4.1.7729_source/*.patch files to disable all patches (set patch_enable = `no` for every patch).

2. Repeat steps 4-6 of the procedure above.


Note that the following patches are enabled by default:

`Fix page breaks bug`
`Default ePub monospace font (Courier)`
`Custom left & right margins`
`Search in Library by default`
`Custom page refresh options (1,2,3,...,12)`
`Fix three KePub fullScreenReading bugs`
Attached Files
File Type: zip patch_kobo_4017729.zip (487.0 KB, 740 views)

Last edited by GeoffR; 10-15-2016 at 12:40 PM. Reason: Updated attachment to include `ePub fixed/adjustable top/bottom margins` patch
GeoffR is offline   Reply With Quote
Advert
Old 10-12-2016, 01:02 PM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,304
Karma: 10552084
Join Date: Nov 2012
Location: Beneath the Long White Cloud
Device: Kobo Glo
Notes and other patches

The firmware link for this version (Mk6 devices only) is http://download.kobobooks.com/firmwa...e-4.1.7729.zip

The following patches are still missing:
Spoiler:

libadobe.so.patch:
`Remove PDF page turn arrows at left and right edges of page`

libnickel.so.1.0.0.patch:
`Custom page refresh options (1,8,32,Chapter -- Aura only)`
`Custom page refresh options (1,32,99,Chapter -- Aura only)`
`Remove system fonts in Reader list`
`Remove non-system fonts in Reader list`
`Customise PinchGestureRecognizer`
`Margins fine tuning`
`Change dicthtml strings to micthtml`


The `Custom Sleep/Power-off timeouts` patch has changed, it can now only change the highest timeout value on the menu.

The `ePub fixed/adjustable top/bottom margins` patch is now two separate patches: `ePub fixed top/bottom margins` and `ePub fixed/adjustable top/bottom margins`.

The following four patches created by oren64 are now included in nickel.patch:
`Changing the info panel in full size screensaver`
`Dictionary frame size`
`Increase The Books Cover Size In The Library`
`Increasing The View Details Container`

For the `My 24 line spacing values` patch, these alternative replacement values might better suit lower-dpi devices like the Aura 2ed:
Spoiler:
Code:
# 24 values for replacement, change these replace_float values to suit:
#
base_address = 5EAC10
replace_float = 0000, 1.0, 0.7
replace_float = 0008, 1.0, 0.725
replace_float = 0010, 1.0, 0.75
replace_float = 0018, 1.0, 0.775
replace_float = 0020, 1.0, 0.8
replace_float = 0028, 1.0, 0.825
replace_float = 0030, 1.0, 0.85
replace_float = 0038, 1.0, 0.875
replace_float = 0040, 1.0, 0.9
replace_float = 0048, 1.0, 0.925
replace_float = 0050, 1.0, 0.95
replace_float = 0058, 1.0, 0.975
replace_float = 0060, 1.0, 1.0
replace_float = 0068, 1.0, 1.025
base_address = 5EAD70
replace_float = 0000, 1.05, 1.05
replace_float = 0008, 1.07, 1.07
replace_float = 0010, 1.1, 1.1
replace_float = 0018, 1.35, 1.15
replace_float = 0020, 1.7, 1.2
replace_float = 0028, 1.8, 1.25
replace_float = 0030, 2.2, 1.3
replace_float = 0038, 2.4, 1.35
replace_float = 0040, 2.6, 1.4
replace_float = 0048, 2.8, 1.5



Other patches:

`Cyrillic keyboard` patch for Aura One, thanks AxaRu.

`Greek keyboard` patch for Aura One, thanks isaak.

Here is a `Keyboard template` patch (libnickel.so.1.0.0.patch) for the Aura One. (You'll need to fill in the replacement values with the keys you want according to the pattern in the comments.)
Spoiler:
Code:
<Patch>
patch_name = `Keyboard template (Aura One)`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad.
#
# Aura One keyboard layout:
#
# Row:  Position
# ---:-----------
# Top: 0123456789
# 2nd: 0123456789
# 3rd: 0123456789
# Bot:  12345678
#  
# Untested: Enable uppercase for `` key (Top row, pos 7)
#replace_bytes = 711920, 00 26, 01 26
#
# Replace layout sign (Cyrillic example)
find_base_address = ``
replace_string = 0000, ``, `абв`
# Change keyboard layout
find_base_address = `š\0ž\0\0ŀ\0`
# Top row, pos 2-3
replace_string = 0000, `š`, `2`
replace_string = 0003, `ž`, `3`
# Top row, pos 6
replace_string = 0006, ``, `6`
# Top row, pos 9
replace_string = 0009, `ŀ`, `9`
#
find_base_address = `\0\0\0\0`
# Top row, pos 0-1
replace_string = 0021, ``, `0`
replace_string = 0045, ``, `1`
# Top row, pos 4-5
replace_string = 0000, ``, `4`
replace_string = 0024, `œ`, `5`
# Top row, pos 7-8
replace_string = 0054, ``, `7`
replace_string = 0060, `ij`, `8`
# Second row, left to right:
replace_string = 0003, ``, `0`
replace_string = 0012, ``, `1`
replace_string = 0027, ``, `2`
replace_string = 0036, ``, `3`
replace_string = 0048, ``, `4`
replace_string = 0051, ``, `5`
replace_string = 0006, ``, `6`
replace_string = 0015, ``, `7`
replace_string = 002A, ``, `8`
replace_string = 0039, ``, `9`
# Third row, left to right:
replace_string = 000C, ``, `0`
replace_string = 001B, ``, `1`
replace_string = 0030, ``, `2`
replace_string = 003F, ``, `3`
replace_string = 004E, ``, `4`
replace_string = 005D, ``, `5`
replace_string = 0009, ``, `6`
replace_string = 0018, ``, `7`
replace_string = 002D, ``, `8`
replace_string = 003C, ``, `9`
# Bottom row, left to right:
replace_string = 000F, ``, `1`
replace_string = 001E, ``, `2`
replace_string = 0033, ``, `3`
replace_string = 0042, ``, `4`
replace_string = 004B, ``, `5`
replace_string = 0057, ``, `6`
replace_string = 005A, `đ`, `7`
replace_string = 0063, `ł`, `8`
</Patch>


Here are keyboard patches for other devices (libnickel.so.1.0.0.patch):
Spoiler:
Code:
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `no`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Cyrillic alternatives.
#  
# Enable uppercase for `` key
replace_bytes = 711920, 00 26, 01 26
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `абв`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `й`
replace_string = 0003, ``, `ц`
replace_string = 0006, ``, `у`
replace_string = 0009, ``, `к`
replace_string = 000C, ``, `е`
replace_string = 000F, ``, `н`
replace_string = 0012, ``, `г`
replace_string = 0015, ``, `ш`
replace_string = 0018, ``, `щ`
replace_string = 001B, ``, `з`
replace_string = 001E, ``, `х`
replace_string = 0021, ``, `ъ`
# Third row, left to right:
replace_string = 0024, `œ`, `ф`
replace_string = 0027, ``, `ы`
replace_string = 002A, ``, `в`
replace_string = 002D, ``, `а`
replace_string = 0030, ``, `п`
replace_string = 0033, ``, `р`
replace_string = 0036, ``, `о`
replace_string = 0039, ``, `л`
replace_string = 003C, ``, `д`
replace_string = 003F, ``, `ж`
replace_string = 0042, ``, `э`
replace_string = 0045, ``, `ё`
# Bottom row, left to right:
replace_string = 0048, ``, `я`
replace_string = 004B, ``, `ч`
replace_string = 004E, ``, `с`
replace_string = 0051, ``, `м`
replace_string = 0054, ``, `и`
replace_string = 0057, ``, `т`
replace_string = 005A, `đ`, `ь`
replace_string = 005D, ``, `б`
replace_string = 0060, `ij`, `ю`
replace_string = 0063, `ł`, `.`
</Patch>


<Patch>
patch_name = `Arabic keyboard`
patch_enable = `no`
# Multi-version patch: 4.0.7523 - 4.1.7729+
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Arabic alternatives.
## Note that after the device boots, the keypad will just show blank squares
## until the first book has been opened.
#  
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `ع`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `ذ`
replace_string = 0003, ``, `ص`
replace_string = 0006, ``, `ث`
replace_string = 0009, ``, `ق`
replace_string = 000C, ``, `ف`
replace_string = 000F, ``, `غ`
replace_string = 0012, ``, `ع`
replace_string = 0015, ``, `ه`
replace_string = 0018, ``, `خ`
replace_string = 001B, ``, `ح`
replace_string = 001E, ``, `ج`
replace_string = 0021, ``, `د`
# Third row, left to right:
replace_string = 0024, `œ`, `ض`
replace_string = 0027, ``, `ش`
replace_string = 002A, ``, `س`
replace_string = 002D, ``, `ي`
replace_string = 0030, ``, `ب`
replace_string = 0033, ``, `ل`
replace_string = 0036, ``, `ا`
replace_string = 0039, ``, `ت`
replace_string = 003C, ``, `ن`
replace_string = 003F, ``, `م`
replace_string = 0042, ``, `ك`
replace_string = 0045, ``, `ط`
# Bottom row, left to right:
replace_string = 0048, ``, `ئ`
replace_string = 004B, ``, `ء`
replace_string = 004E, ``, `ؤ`
replace_string = 0051, ``, `ر`
replace_string = 0054, ``, `ى`
replace_string = 0057, ``, `ة`
replace_string = 005A, `đ`, `و`
replace_string = 005D, ``, `ز`
replace_string = 0060, `ij`, `ظ`
replace_string = 0063, `ł`, `.`
</Patch>


<Patch>
patch_name = `Hebrew keyboard`
patch_enable = `no`
# Multi-version patch: 4.0.7523 - 4.1.7729+
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Hebrew alternatives.
## Note that after the device boots, the keypad will just show blank squares
## until the first book has been opened.
#
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `אב`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `@`
replace_string = 0003, ``, `'`
replace_string = 0006, ``, `/`
replace_string = 0009, ``, `ק`
replace_string = 000C, ``, `ר`
replace_string = 000F, ``, `א`
replace_string = 0012, ``, `ט`
replace_string = 0015, ``, `ו`
replace_string = 0018, ``, `ן`
replace_string = 001B, ``, `ם`
replace_string = 001E, ``, `פ`
replace_string = 0021, ``, `-`
# Third row, left to right:
replace_string = 0024, `œ`, `,`
replace_string = 0027, ``, `ש`
replace_string = 002A, ``, `ד`
replace_string = 002D, ``, `ג`
replace_string = 0030, ``, `כ`
replace_string = 0033, ``, `ע`
replace_string = 0036, ``, `י`
replace_string = 0039, ``, `ח`
replace_string = 003C, ``, `ל`
replace_string = 003F, ``, `ך`
replace_string = 0042, ``, `ף`
replace_string = 0045, ``, `_`
# Bottom row, left to right:
replace_string = 0048, ``, `ז`
replace_string = 004B, ``, `ס`
replace_string = 004E, ``, `ב`
replace_string = 0051, ``, `ה`
replace_string = 0054, ``, `נ`
replace_string = 0057, ``, `מ`
replace_string = 005A, `đ`, `צ`
replace_string = 005D, ``, `ת`
replace_string = 0060, `ij`, `ץ`
replace_string = 0063, `ł`, `.`
</Patch>


<Patch>
patch_name = `Turkish keyboard`
patch_enable = `no`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Turkish alternatives.
#
# Enable uppercase for `` key
replace_bytes = 711920, 00 26, 01 26
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `EN/TR`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `!`
replace_string = 0003, ``, `q`
replace_string = 0006, ``, `w`
replace_string = 0009, ``, `e`
replace_string = 000C, ``, `r`
replace_string = 000F, ``, `t`
replace_string = 0012, ``, `y`
replace_string = 0015, ``, `u`
replace_string = 0018, ``, `ı`
replace_string = 001B, ``, `o`
replace_string = 001E, ``, `p`
replace_string = 0021, ``, ``
# Third row, left to right:
#replace_string = 0024, `œ\0`, `’`
replace_string = 0027, ``, `a`
replace_string = 002A, ``, `s`
replace_string = 002D, ``, `d`
replace_string = 0030, ``, `f`
replace_string = 0033, ``, `g`
replace_string = 0036, ``, `h`
replace_string = 0039, ``, `j`
replace_string = 003C, ``, `k`
replace_string = 003F, ``, `l`
replace_string = 0042, ``, `ş`
replace_string = 0045, ``, `ğ`
# Bottom row, left to right:
replace_string = 0048, ``, `z`
replace_string = 004B, ``, `x`
replace_string = 004E, ``, `c`
replace_string = 0051, ``, `v`
replace_string = 0054, ``, `b`
replace_string = 0057, ``, `n`
replace_string = 005A, `đ`, `m`
replace_string = 005D, ``, ``
replace_string = 0060, `ij`, ``
replace_string = 0063, `ł`, `i`
</Patch>


<Patch>
patch_name = `Bulgarian keyboard`
patch_enable = `no`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Bulgarian alternatives.
#  
# Enable uppercase for `` key
replace_bytes = 711920, 00 26, 01 26
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `абв`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `!`
replace_string = 0003, ``, `я`
replace_string = 0006, ``, `в`
replace_string = 0009, ``, `е`
replace_string = 000C, ``, `р`
replace_string = 000F, ``, `т`
replace_string = 0012, ``, `ъ`
replace_string = 0015, ``, `у`
replace_string = 0018, ``, `и`
replace_string = 001B, ``, `о`
replace_string = 001E, ``, `п`
replace_string = 0021, ``, `ч`
# Third row, left to right:
replace_string = 0024, `œ`, `?`
replace_string = 0027, ``, `а`
replace_string = 002A, ``, `с`
replace_string = 002D, ``, `д`
replace_string = 0030, ``, `ф`
replace_string = 0033, ``, `г`
replace_string = 0036, ``, `х`
replace_string = 0039, ``, `й`
replace_string = 003C, ``, `к`
replace_string = 003F, ``, `л`
replace_string = 0042, ``, `ш`
replace_string = 0045, ``, `щ`
# Bottom row, left to right:
replace_string = 0048, ``, `з`
replace_string = 004B, ``, `ь`
replace_string = 004E, ``, `ц`
replace_string = 0051, ``, `ж`
replace_string = 0054, ``, `б`
replace_string = 0057, ``, `н`
replace_string = 005A, `đ`, `м`
replace_string = 005D, ``, `ю`
replace_string = 0060, `ij`, `,`
replace_string = 0063, `ł`, `.`
</Patch>


<Patch>
patch_name = `Greek keyboard`
patch_enable = `no`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Greek alternatives.
#
# Enable uppercase for `` key
replace_bytes = 711920, 00 26, 01 26
# Replace layout sign
find_base_address = ``
replace_string = 0000, ``, `EN/GR`
# Change keyboard layout
find_base_address = `\0\0\0\0`
# Second row, left to right:
replace_string = 0000, ``, `!`
replace_string = 0003, ``, `ά`
replace_string = 0006, ``, `ς`
replace_string = 0009, ``, `ε`
replace_string = 000C, ``, `ρ`
replace_string = 000F, ``, `τ`
replace_string = 0012, ``, `υ`
replace_string = 0015, ``, `θ`
replace_string = 0018, ``, `ι`
replace_string = 001B, ``, `ο`
replace_string = 001E, ``, `π`
replace_string = 0021, ``, `-`
# Third row, left to right:
replace_string = 0024, `œ`, `?`
replace_string = 0027, ``, `α`
replace_string = 002A, ``, `σ`
replace_string = 002D, ``, `δ`
replace_string = 0030, ``, `φ`
replace_string = 0033, ``, `γ`
replace_string = 0036, ``, `η`
replace_string = 0039, ``, `ξ`
replace_string = 003C, ``, `κ`
replace_string = 003F, ``, `λ`
replace_string = 0042, ``, `ή`
replace_string = 0045, ``, `ώ`
# Bottom row, left to right:
replace_string = 0048, ``, `ζ`
replace_string = 004B, ``, `χ`
replace_string = 004E, ``, `ψ`
replace_string = 0051, ``, `ω`
replace_string = 0054, ``, `β`
replace_string = 0057, ``, `ν`
replace_string = 005A, `đ`, `μ`
replace_string = 005D, ``, `,`
replace_string = 0060, `ij`, `.`
replace_string = 0063, `ł`, `ύ`
</Patch>


A new patch to Reduce the size of the header menu bar by 33% including the title header in KePub books. (nickel.patch)

A new patch `Force user font-family in ePubs`.

A new patch `KePub text-rendering options` can enable ligatures in KePub books and fix the em-dash justification problem.

`Brightness fine control`


If anyone else has patches for firmware 4.1.7729 post them in this thread and I'll include a link here.

Last edited by GeoffR; 02-06-2017 at 12:44 AM. Reason: Added link to `Brightness fine control` patch.
GeoffR is offline   Reply With Quote
Old 10-12-2016, 01:03 PM   #3
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 4,193
Karma: 4358097
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you very much, the "Search in library by default" is the only patch I was missing.
Terisa de morgan is offline   Reply With Quote
Old 10-12-2016, 01:13 PM   #4
SCION
Sduisant
SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.SCION ought to be getting tired of karma fortunes by now.
 
Posts: 4,694
Karma: 2107018
Join Date: Jan 2010
Location: Texas, USA
Device: Kobo One, H20; Kindle Oasis, PW3, DXG; Galaxy Tab S2 8.0/9.7
Thank you.
SCION is offline   Reply With Quote
Old 10-12-2016, 01:36 PM   #5
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 113
Karma: 408582
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O
Thank you very much, GeoffR. You are the greatest.
Martina Schein is offline   Reply With Quote
Advert
Old 10-12-2016, 01:47 PM   #6
jamalau
Enthusiast
jamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheesejamalau can extract oil from cheese
 
Posts: 30
Karma: 1000
Join Date: Nov 2013
Device: Kobo Aura One
Thank you GeoffR, for this very fast release!
Is it possible to edit these patches, so doese they work in the ne FW?

Changing the info panel in full size screensaver

Dictionary frame size

Increase The Books Cover Size In The Library

Increasing The View Details Container
__________________
jamalau is offline   Reply With Quote
Old 10-12-2016, 04:11 PM   #7
hkckoo
Connoisseur
hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.hkckoo ought to be getting tired of karma fortunes by now.
 
Posts: 51
Karma: 450010
Join Date: Jul 2016
Device: Kobo Aura H2O, Aura One
do I need to always remove patches made in previous firmware version if I want to upgrade to a newer firmware or am I good just upgrading the firmware directly and then applying the patches once again?
hkckoo is offline   Reply With Quote
Old 10-12-2016, 04:41 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 47,755
Karma: 36281079
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by hkckoo View Post
do I need to always remove patches made in previous firmware version if I want to upgrade to a newer firmware or am I good just upgrading the firmware directly and then applying the patches once again?
When updating the firmware, you do not need to remove the patches before you update.

Last edited by JSWolf; 10-12-2016 at 06:13 PM.
JSWolf is offline   Reply With Quote
Old 10-12-2016, 05:45 PM   #9
handocjo
Junior Member
handocjo doesn't litterhandocjo doesn't litter
 
Posts: 5
Karma: 100
Join Date: Sep 2014
Device: Kobo Aura One
Thank you GeoffR
I would like to add a Korean keyboard. Can you give me advice?
handocjo is offline   Reply With Quote
Old 10-13-2016, 04:42 AM   #10
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 2,798
Karma: 36342218
Join Date: Mar 2015
Location: Israel
Device: kobo glo
Quote:
Originally Posted by jamalau View Post
Is it possible to edit these patches, so doese they work in the ne FW?

Changing the info panel in full size screensaver

Dictionary frame size

Increase The Books Cover Size In The Library

Increasing The View Details Container
oren64 is offline   Reply With Quote
Old 10-13-2016, 04:44 AM   #11
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,304
Karma: 10552084
Join Date: Nov 2012
Location: Beneath the Long White Cloud
Device: Kobo Glo
Thanks oren64, I've added links in post #2.
GeoffR is offline   Reply With Quote
Old 10-13-2016, 05:06 AM   #12
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,304
Karma: 10552084
Join Date: Nov 2012
Location: Beneath the Long White Cloud
Device: Kobo Glo
Quote:
Originally Posted by handocjo View Post
Thank you GeoffR
I would like to add a Korean keyboard. Can you give me advice?
I don't know whether it is possible to make a Korean keyboard for this firmware. It will require some experimenting, but I don't have a device running this firmware and am reluctant to upgrade my Glo yet as it is my only ereader and it is working very nicely with firmware 3.19.5761.

I think the problem might that the Korean characters are encoded as three bytes in UTF-8, while the other languages that have worked with the keyboard are encoded as two bytes. Each keyboard letter has three bytes allocated, but I don't know if they are stored as individual characters or as strings, I suspect the latter, and so the third zero byte might be an end-of-string marker.

The way to find out for sure is to try an experiment using one of the other keyboard patches, but modified so that the third zero byte is overwritten, for example:
Code:
replace_string = 0000, `š\0`, `ㅂ`
replace_string = 0003, `ž\0`, `ㄷ`
If the keys are stored as individual characters then the patched keyboard would have one character on each key, but if they are stored as strings then one key will have both characters and the other will have just the second character.

(Edit: Everything above refers to the Extended Latin keypad you see when the UI is set to a Latin-like language. The keyboard you see when Japanese is selected might be completely different and maybe that is what you would need to patch for Korean, but I have no experience with that at all.)

Last edited by GeoffR; 10-13-2016 at 06:30 AM. Reason: Extended Latin keyboard vs. Japanese keyboard
GeoffR is offline   Reply With Quote
Old 10-13-2016, 12:42 PM   #13
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 3,962
Karma: 7944828
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
I'm making this post to see if there is any general interest in a patch to reduce (not eliminate) the size of the top header menubar thereby reducing what many have described as 'screen wastage' in kepubs.

In the last few days I've been tinkering with pipcat's alternative method for patching the nickel file. I discovered that it's currently quite easy to reduce the height of the top menubar. See attached images for example.

First image: a typical kepub page on an AuraOne with GeoffR's 'Custom Footer' patch plus my 'Reduce Header by 33%' patch.

Second image: same page when tapped to show top and bottom menus. Without the 'Reduce Header' patch both top and bottom menubars are 13mm in height. With the extra patch the top menubar is 8.5mm.

In truth the height could be reduced to any number of pixels you like, but I chose reducing by 33% as a first stab.

What I'm not sure about is whether those who describe the top header in kepubs as 'waste' are more than happy to just use the 'full-screen' option. In which case I won't bother pursuing this.

If there is any interest I can use GeoffR's makepatch utility to create a suitable 4.1.7729-specific addition to nickel.patch
Attached Thumbnails
Click image for larger version

Name:	KA1_kepub1.jpg
Views:	314
Size:	146.4 KB
ID:	152347   Click image for larger version

Name:	KA1_kepub2.jpg
Views:	309
Size:	140.7 KB
ID:	152348  
jackie_w is online now   Reply With Quote
Old 10-13-2016, 02:05 PM   #14
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 2,798
Karma: 36342218
Join Date: Mar 2015
Location: Israel
Device: kobo glo
@jackie_w:I like how it look, what's the streems numbers in nickel-extracted.css the patch changes?

Last edited by oren64; 10-13-2016 at 02:07 PM.
oren64 is offline   Reply With Quote
Old 10-13-2016, 02:15 PM   #15
surquizu
Addict
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 399
Karma: 899895
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by jackie_w View Post
I'm making this post to see if there is any general interest in a patch to reduce (not eliminate) the size of the top header menubar thereby reducing what many have described as 'screen wastage' in kepubs.

In the last few days I've been tinkering with pipcat's alternative method for patching the nickel file. I discovered that it's currently quite easy to reduce the height of the top menubar. See attached images for example.

First image: a typical kepub page on an AuraOne with GeoffR's 'Custom Footer' patch plus my 'Reduce Header by 33%' patch.

Second image: same page when tapped to show top and bottom menus. Without the 'Reduce Header' patch both top and bottom menubars are 13mm in height. With the extra patch the top menubar is 8.5mm.

In truth the height could be reduced to any number of pixels you like, but I chose reducing by 33% as a first stab.

What I'm not sure about is whether those who describe the top header in kepubs as 'waste' are more than happy to just use the 'full-screen' option. In which case I won't bother pursuing this.

If there is any interest I can use GeoffR's makepatch utility to create a suitable 4.1.7729-specific addition to nickel.patch

I like it!
surquizu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 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.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM


All times are GMT -4. The time now is 01:23 PM.


MobileRead.com is a privately owned, operated and funded community.