Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-09-2016, 08:08 AM   #46
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
I've add a new patch `My 24 line spacing values` to the attachment in my post #7.

This patch is instead of `My 15 line spacing values`, the only difference should be that the line spacing sider will have 24 positions instead of 15, and I've increased the range of spacing values. If you would prefer fewer or more than 24 spacing values then I could possibly change that, perhaps up to about 40 spacings maximum. 24 just seems like a good number to me.

I have tested a version of this patch on my Glo with firmware 3.19.5761, but the 4.0.7523 version is untested, so if somethig seems wrong let me know.

Edit: As before, you might wish to customise the line spacing values to suit your device and reading preferences. If you are reading with a small font size you might find that increasing or decreasing the font slider by one position doesn't always result in a change in spacing. In that case consider increasing the step size between values.

For example, these values increase the minimum step size from 0.02 to 0.025:
Spoiler:
Code:
# 24 values for replacement, change these to suit:
#
base_address = 5DD260
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 = 5DD3C0
replace_float = 0000, 1.05, 1.05
replace_float = 0008, 1.07, 1.0725
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

Last edited by GeoffR; 09-09-2016 at 09:13 AM. Reason: Increased step size example
GeoffR is offline   Reply With Quote
Old 09-09-2016, 08:33 AM   #47
Jappy
Junior Member
Jappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshes
 
Posts: 7
Karma: 14206
Join Date: May 2015
Device: Onyx Boox M96 Universe
Mmm something's wrong. I factory reset and then i tried just the 24 line spacing patch, and the ereader reboots whenever i try to open a book.

Works fine if 24 line spacing patch is deactivated
Jappy is offline   Reply With Quote
Advert
Old 09-09-2016, 08:35 AM   #48
Jappy
Junior Member
Jappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshes
 
Posts: 7
Karma: 14206
Join Date: May 2015
Device: Onyx Boox M96 Universe
Quote:
Originally Posted by GeoffR View Post
I've add a new patch `My 24 line spacing values` to the attachment in my post #7.

This patch is instead of `My 15 line spacing values`, the only difference should be that the line spacing sider will have 24 positions instead of 15, and I've increased the range of spacing values. If you would prefer fewer or more than 24 spacing values then I could possibly change that, perhaps up to about 40 spacings maximum. 24 just seems like a good number to me.

I have tested a version of this patch on my Glo with firmware 3.19.5761, but the 4.0.7523 version is untested, so if somethig seems wrong let me know.

Edit: As before, you might wish to customise the line spacing values to suit your device and reading preferences. If you are reading with a small font size you might find that increasing or decreasing the font slider by one position doesn't always result in a change in spacing. In that case consider increasing the step size between values.

For example, these values increase the minimum step size from 0.2 to 0.25:
Spoiler:
Code:
# 24 values for replacement, change these to suit:
#
base_address = 5DD260
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 = 5DD3C0
replace_float = 0000, 1.05, 1.05
replace_float = 0008, 1.07, 1.0725
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
Mmm something's wrong. I factory reset and then i tried just the 24 line spacing patch, and the ereader reboots whenever i try to open a book.

Works fine if 24 line spacing patch is deactivated
Jappy is offline   Reply With Quote
Old 09-09-2016, 08:46 AM   #49
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: 79,680
Karma: 145864619
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 Jappy View Post
Mmm something's wrong. I factory reset and then i tried just the 24 line spacing patch, and the ereader reboots whenever i try to open a book.

Works fine if 24 line spacing patch is deactivated
Which Kobo running which firmware?
JSWolf is offline   Reply With Quote
Old 09-09-2016, 08:48 AM   #50
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 Jappy View Post
Mmm something's wrong. I factory reset and then i tried just the 24 line spacing patch, and the ereader reboots whenever i try to open a book.

Works fine if 24 line spacing patch is deactivated
Thanks for the quick report, I have spotted a silly mistake and have replaced the `My 24 line spacing values` patch in the attachment to post #7. Those three people who downloaded it before I replaced the broken patch, please download it again.

Edit: The new patch has one byte changed as highlighted below:
Spoiler:

# loop to load 10 vals from old table
replace_bytes = 5DD354, 31 4B 07 F1 80 01, 20 46 1A A1 29 44
replace_bytes = 5DD35A, 00 22 20 46, D2 F6 32 EE
replace_bytes = 5DD35E, 61 E9 02 23 D2 F6, 08 35 50 2D F7 D1

The broken patch had 22 instead of 32

Last edited by GeoffR; 09-09-2016 at 08:54 AM.
GeoffR is offline   Reply With Quote
Advert
Old 09-09-2016, 09:01 AM   #51
aceflor
Wizard
aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.
 
aceflor's Avatar
 
Posts: 3,472
Karma: 48036360
Join Date: Aug 2009
Location: where the sun lives, or so they say
Device: Pocketbook Era, Pocketbook Inkpad 4, Kobo Libra 2, Kindle Scribe
Quote:
Originally Posted by GeoffR View Post
Thanks for the quick report, I have spotted a silly mistake and have replaced the `My 24 line spacing values` patch in the attachment to post #7. Those three people who downloaded it before I replaced the broken patch, please download it again.

Edit: The new patch has one byte changed as highlighted below:
Spoiler:

# loop to load 10 vals from old table
replace_bytes = 5DD354, 31 4B 07 F1 80 01, 20 46 1A A1 29 44
replace_bytes = 5DD35A, 00 22 20 46, D2 F6 32 EE
replace_bytes = 5DD35E, 61 E9 02 23 D2 F6, 08 35 50 2D F7 D1

The broken patch had 22 instead of 32
Thanks. I was one of the 3, having the same problem as Jappy. Downloaded the newest patch version and testing it now on my Aura one...

it works !!!

Last edited by aceflor; 09-09-2016 at 09:04 AM.
aceflor is offline   Reply With Quote
Old 09-09-2016, 09:08 AM   #52
Jappy
Junior Member
Jappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshesJappy can read faster than his screen refreshes
 
Posts: 7
Karma: 14206
Join Date: May 2015
Device: Onyx Boox M96 Universe
It works now, thank you! 24 option for line spacing is great for me!

GeoffR, how about fine brightness control? The default is so annoying!
Jappy is offline   Reply With Quote
Old 09-09-2016, 09:28 AM   #53
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 Jappy View Post
GeoffR, how about fine brightness control? The default is so annoying!
I'll have to hunt for that one. Kobo have changed the way that feature works I gather.
GeoffR is offline   Reply With Quote
Old 09-09-2016, 02:26 PM   #54
ewphoenix123
Addict
ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'
 
Posts: 201
Karma: 42238
Join Date: Oct 2012
Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa
Thank you for the quick adaption of the patch.

I enabled my usual patch mix and everything appears to be working fine.
Spoiler:

`Disable reading footer` - works
`Remove PDF map widget shown during panning` - works
`Preserve PDF pan position across page turns` - works
`My 24 line spacing values` - works
`Custom font sizes` - works
`Custom page refresh options (1,2,4,8,16,32,64,128)` - works
`Search in Library by default` - works
`ePub fixed top/bottom margins` - works


`Custom left & right margins`
not quite sure if it works correctly the margin increase between the steps feels bigger then before, but I didn't compared it with an unpatched reader yet.
ewphoenix123 is offline   Reply With Quote
Old 09-09-2016, 03:42 PM   #55
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, thank you for the fast adaption of the patch.

My used Patches:

Spoiler:
Disable reading footer - works
My 24 line spacing values - works
Custom left & right margins - I think it works, but I'm not sure
Custom font sizes - works
Search in Library by default - works
Freedom to advanced fonts control - works
Custom page refresh options (1,2,4,8,16,32,64,128) - works
Always display chapter name on navigation menu - works
Martina Schein is offline   Reply With Quote
Old 09-10-2016, 11:43 PM   #56
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 ewphoenix123 View Post
`Custom left & right margins`
not quite sure if it works correctly the margin increase between the steps feels bigger then before, but I didn't compared it with an unpatched reader yet.
The surest way to check would be to take screenshots with the margin slider at minimum and maximum.

In previous firmware versions, at least on my Glo and I think other devices too, each step of the margins slider equates to 2% of the screen width for each margin (unpatched) or 1% (patched.), so if nothing has changed the difference between minimum and maximum should be 16% (unpatched) or 8% (patched) for each margin.
GeoffR is offline   Reply With Quote
Old 09-11-2016, 11:13 AM   #57
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
I am using the following patches on my Aura One, firmware 4.0.7523, with no problems:

My 24 line spacing values
Custom font sizes
Search in Library by default
Freedom to advanced fonts control
ePub disable built-in body padding-bottom
Custom page refresh options (1,2,4,8,16,32,64,128)
Custom kepub default margins
Set KePub hyphenation
Fix three KePub fullScreenReading bugs
Force user line spacing in ePubs
Fix page breaks bug
Default ePub monospace font (Courier)
Custom reading footer style
icallaci is offline   Reply With Quote
Old 09-11-2016, 04:05 PM   #58
frankrec
Member
frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.frankrec is less competitive than you.
 
Posts: 20
Karma: 14642
Join Date: Sep 2016
Device: Kobo Aura One
Hello Friends, I was able to do this years ago on an older kobo, but that was 5 eye operations ago, I can not get my file to update my Aura One. Does anyone have a koboroot.tgz that works on Aura One 4.0.7523 - Mostly I'm concerned with removing headers and footers, and I will take full responsibility if anything goes wrong.

changes like the following look good..

My 24 line spacing values
Custom font sizes
Search in Library by default
Freedom to advanced fonts control
ePub disable built-in body padding-bottom
Custom page refresh options (1,2,4,8,16,32,64,128)
Custom kepub default margins
Set KePub hyphenation
Fix three KePub fullScreenReading bugs
Force user line spacing in ePubs
Fix page breaks bug
Default ePub monospace font (Courier)
Custom reading footer style - but as I stated, anything that reduces the wasted space going to header and footer would be appreciated.
frankrec is offline   Reply With Quote
Old 09-11-2016, 04:12 PM   #59
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: 79,680
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can the patch to allow the footer to be moved and the margin around the footer to changed be added? I find this a very useful patch and I would like to not have to lose it when the next H2O firmware comes out.
JSWolf is offline   Reply With Quote
Old 09-11-2016, 04:47 PM   #60
jackie_w
Grand Sorcerer
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: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Can the patch to allow the footer to be moved and the margin around the footer to changed be added? I find this a very useful patch and I would like to not have to lose it when the next H2O firmware comes out.
If you're talking about the `Disable reading footer` and `Custom reading footer style`patches they've already been done.

Or are you talking about something else entirely?

It may not help with the H2O, though, as that may be a completely different firmware version number when it arrives.
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.0.7523 oren64 Kobo Reader 194 02-07-2017 09:28 PM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 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 12:41 AM.


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