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, 03: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,459
Karma: 15195199
Join Date: Nov 2012
Location: Beneath the Long White Cloud
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, 687 views)
GeoffR is offline   Reply With Quote
Advert
Old 03-09-2017, 03:49 AM   #2
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,504
Karma: 4813526
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you, Geoff!
Terisa de morgan is offline   Reply With Quote
Old 03-09-2017, 03: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,459
Karma: 15195199
Join Date: Nov 2012
Location: Beneath the Long White Cloud
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 04:59 AM. Reason: spelling
GeoffR is offline   Reply With Quote
Old 03-09-2017, 05: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: 127
Karma: 409290
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O
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, 11:36 AM   #5
GlenRunciter
Junior Member
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: 9
Karma: 10000
Join Date: Apr 2015
Location: Stuttgart
Device: Kobo Aura One
GeoffR aka Speedy Gonzales
Great work Dude!
GlenRunciter is offline   Reply With Quote
Advert
Old 03-10-2017, 03:34 AM   #6
Daniel650
Junior Member
Daniel650 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2012
Device: Kobo Aura One, Kobo Aura H2O, 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, 03: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: 3,269
Karma: 46242604
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, 03:58 AM   #8
Daniel650
Junior Member
Daniel650 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2012
Device: Kobo Aura One, Kobo Aura H2O, 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, 06:34 AM   #9
bluesorella
Lang lebe die DigiBib!
bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.bluesorella can do the Funky Gibbon.
 
bluesorella's Avatar
 
Posts: 37
Karma: 82562
Join Date: Sep 2013
Location: Regensburg (Ratisbona)
Device: PocketBook Touch HD, Kobo Aura H2O
Thanks a lot GeoffR! As quick as possible, working fine.
bluesorella is offline   Reply With Quote
Old 03-11-2017, 08: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: 164
Karma: 2320002
Join Date: Jun 2015
Location: Cleveland, Ohio USA
Device: Kobo Wi-Fi, Kobo Aura 6", Aura HD
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 09:37 PM.
Ksquared is offline   Reply With Quote
Old 03-13-2017, 02:52 AM   #11
pablitoclav
http://i.imgur.com/Bp1X5m
pablitoclav began at the beginning.
 
pablitoclav's Avatar
 
Posts: 4
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, 03: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,459
Karma: 15195199
Join Date: Nov 2012
Location: Beneath the Long White Cloud
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, 03: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,459
Karma: 15195199
Join Date: Nov 2012
Location: Beneath the Long White Cloud
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, 05: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: 50,347
Karma: 43459801
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 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 offline   Reply With Quote
Old 03-13-2017, 07: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: 13,401
Karma: 21884486
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
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 04:40 AM
Instructions for patching firmware 3.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 03:12 PM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 06:32 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 08:28 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 08:22 AM


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


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