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 03-09-2017, 02:47 AM   #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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Instructions for patching firmware 4.3.8945

See the FirmWare 4.3.8945 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.3.8945 (14b5a0d83e). 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_4038945.zip (attached).

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

3. Read and edit all the *.patch files in the 4.3.8945_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.3.8945.bat; For Linux/Mac open a terminal, change to the patch_kobo_4038945/ subdirectory, and run ./4.3.8945.sh from the command line.

5. If there were no errors, copy the resulting KoboRoot.tgz from the 4.3.8945_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.3.8945_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`
`Custom page refresh options`
`Fix three KePub fullScreenReading bugs`
Attached Files
File Type: zip patch_kobo_4038945.zip (501.2 KB, 982 views)
GeoffR is offline   Reply With Quote
Old 03-09-2017, 02:49 AM   #2
Terisa de morgan
Grand Sorcerer
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: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you, Geoff!
Terisa de morgan is offline   Reply With Quote
Old 03-09-2017, 02:55 AM   #3
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Notes and other patches

Notes:

Be extra careful checking the version number of the firmware your device is running. There have been a lot of different 4.3 versions released, and the version number on the device must match exactly with the version number used for patching.


Other patches:

Here is a `Keyboard template` patch for the Aura One. (Paste into libnickel.so.1.0.0.patch. 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 = 74D984, 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>


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

Last edited by GeoffR; 03-09-2017 at 03:59 AM. Reason: spelling
GeoffR is offline   Reply With Quote
Old 03-09-2017, 04:14 AM   #4
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: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
GeoffR, you're the greatest. Thanks for the quick creation of the patcher for this new firmware.

The patcher works fine on my H2O. Our Glo HD and the Glo update I also equal.
Martina Schein is offline   Reply With Quote
Old 03-09-2017, 10:36 AM   #5
GlenRunciter
Enthusiast
GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'GlenRunciter knows the difference between 'who' and 'whom'
 
GlenRunciter's Avatar
 
Posts: 35
Karma: 10000
Join Date: Apr 2015
Location: Stuttgart
Device: Kobo Sage
GeoffR aka Speedy Gonzales
Great work Dude!
GlenRunciter is offline   Reply With Quote
Old 03-10-2017, 02:34 AM   #6
Daniel650
Junior Member
Daniel650 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2012
Location: Germany, Bavaria
Device: Kobo Aura H2O 2nd Edition, Kobo Mini
Disable reading footer disappeared

I updated from 3.19.5761 to 4.3.8945.
One of my main reasons for patching the firmware disappeared - the Disaple reading footer patch.
Will it be included in future firmware patches again or do I have to downgrade back to 3.19.5761?
Daniel650 is offline   Reply With Quote
Old 03-10-2017, 02:42 AM   #7
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: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by Daniel650 View Post
I updated from 3.19.5761 to 4.3.8945.
One of my main reasons for patching the firmware disappeared - the Disaple reading footer patch.
Will it be included in future firmware patches again or do I have to downgrade back to 3.19.5761?
The patches `Disable reading footer` and `Custom reading footer style` moved to nickel.patch file.
oren64 is offline   Reply With Quote
Old 03-10-2017, 02:58 AM   #8
Daniel650
Junior Member
Daniel650 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2012
Location: Germany, Bavaria
Device: Kobo Aura H2O 2nd Edition, Kobo Mini
Quote:
Originally Posted by oren64 View Post
The patches `Disable reading footer` and `Custom reading footer style` moved to nickel.patch file.
Thank you very much! Never recognized this one before.
Daniel650 is offline   Reply With Quote
Old 03-10-2017, 05:34 AM   #9
bluesorella
Lang lebe die DigiBib!
bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.bluesorella can program the VCR without an owner's manual.
 
bluesorella's Avatar
 
Posts: 40
Karma: 184980
Join Date: Sep 2013
Location: Regensburg (Ratisbona)
Device: Kobo Libra H2O
Thanks a lot GeoffR! As quick as possible, working fine.
bluesorella is offline   Reply With Quote
Old 03-11-2017, 07:21 PM   #10
Ksquared
Groupie
Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.
 
Ksquared's Avatar
 
Posts: 181
Karma: 2635236
Join Date: Jun 2015
Location: Cleveland, Ohio USA
Device: Original Kobo Aura 6", Libra H2O
As usual, I am impressed with the patches and with how quickly they are updated after a firmware release.

If one is interested in learning more about how the patches work and seeing firmware, how should I get started? Are there some tools available in the developers forums?

Thanks - Ken

Last edited by Ksquared; 03-11-2017 at 08:37 PM.
Ksquared is offline   Reply With Quote
Old 03-13-2017, 01:52 AM   #11
pablitoclav
http://i.imgur.com/Bp1X5m
pablitoclav began at the beginning.
 
pablitoclav's Avatar
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Kobo Aura H2O
Good work, man! Super fast!
There's any patch to put the cover in fullscreen on the screensaver (without the black strips on the side)?

Sorry my english
pablitoclav is offline   Reply With Quote
Old 03-13-2017, 02:25 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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Ksquared View Post
If one is interested in learning more about how the patches work and seeing firmware, how should I get started? Are there some tools available in the developers forums?
It is hard to know where to start really, if you don't know C/C++ and some variety of assembly language then there could be a lot to learn to get a real understanding how some of the more complicated patches work.

The basic tools to use are a hex editor for viewing data, and a disassembler for viewing code. You can look at the data/code before and after the patch has been applied to see exactly what it has done.

There is also another approach, using a debugger to watch the firmware live as it runs, but I am not familliar with how to do that.

I am using Linux, I use hexl-mode in Emacs as a hex editor and objdump from the binutils-multiarch package as a disassembler, mainly because that is what I am used to using for programming, but there are probbaly lots of other tools that will do a similar job.

I mainly used sites such as ARM assembler guide guide to learn about ARM assembly language.

If you want to start a thread to ask questions about particular subjects then I'd be happy answer them as best I can.
GeoffR is offline   Reply With Quote
Old 03-13-2017, 02:35 AM   #13
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by pablitoclav View Post
There's any patch to put the cover in fullscreen on the screensaver (without the black strips on the side)?
There is no patch for that, but it is easy to do if you sideload your books with Calibre. Configure the KoboTouch driver, tick the "Upload covers" box, and untick the "Keep cover aspect ratio" box. Then Calibre will send a cover image that is stretched to fit the screen of your device. You can use the KoboUtilities plugin to re-send covers for books that are already on the device, but you will probably need to restart the device for them to show up.

(You can also do the same for books synced from Kobo if you have a copy of the book in Calibre, but with recent firmware versions Kobo have been reloading covers and other metadata from the server and overwriting the custom covers and metadata set from Calibre.)
GeoffR is offline   Reply With Quote
Old 03-13-2017, 04:11 AM   #14
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: 73,880
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by pablitoclav View Post
Good work, man! Super fast!
There's any patch to put the cover in fullscreen on the screensaver (without the black strips on the side)?

Sorry my english
If you do stretch the cover to fully fill the screen, it will look off because the aspect ratio will be off. You are best to leave the cover as is so it will look proper.
JSWolf is online now   Reply With Quote
Old 03-13-2017, 06:15 AM   #15
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by pablitoclav View Post
There's any patch to put the cover in fullscreen on the screensaver (without the black strips on the side)?
As well as sending the covers from calibre, you can make sure the covers are generated as you want. For an epub, the device renders the first page and uses that. The stripes on the side come from that. If the cover image fills the screen, there won't be an stripes.

For sideloaded kepubs, the image in the book that is marked as the cover is used. If it has the same aspect ratio as the screen, there won't be any stripes on the side.
davidfor 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.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 02:12 PM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 05:32 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.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM


All times are GMT -4. The time now is 11:46 AM.


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