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-2014, 04:24 AM   #31
trekk
Groupie
trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.trekk solves Fermatís last theorem while doing the crossword.
 
trekk's Avatar
 
Posts: 181
Karma: 28652
Join Date: Aug 2011
Device: Pocketbook 602, Kobo Aura + Aura HD, a lot of kindle devices
Quote:
Originally Posted by GeoffR View Post
ls -a

will show all directories. If you're using a filemanager there should be an option to view hidden directories.
In linux you can usually use ctrl-h to make hidden files visible to the file manager. Use ctrl-h one more time to hide them again.
trekk is online now   Reply With Quote
Old 03-09-2014, 07:55 AM   #32
tempest@de
Groupie
tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.
 
Posts: 173
Karma: 450840
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, Hanlin V3
I've done it.

Thanks GeoffR now there are no excuses for the technologically challenged like myself.

Thanks trekk, that did the trick and I could see the folder and paste the koboRoot.tgz and update the dictionaries.

Now I have to get used to the new firmware, I was stuck in the 8.something firmware and this one is a lot different, I spend several minutes trying to find the button to go to the index off the book, what were they thinking when they put it like this.
tempest@de is offline   Reply With Quote
Old 03-10-2014, 09:17 AM   #33
JamesFEvans
~James~
JamesFEvans began at the beginning.
 
JamesFEvans's Avatar
 
Posts: 6
Karma: 10
Join Date: Jan 2013
Device: iOS, Kobo Aura
Is it possible to do this from a Mac?

EDIT: Did it from a PC, if the files created to update are the same, why not just provide the files for updating? Instead of having to create them? Just curious...

Last edited by JamesFEvans; 03-10-2014 at 10:46 AM.
JamesFEvans is offline   Reply With Quote
Old 03-10-2014, 12:12 PM   #34
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 2,082
Karma: 5849371
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by JamesFEvans View Post
Is it possible to do this from a Mac?

EDIT: Did it from a PC, if the files created to update are the same, why not just provide the files for updating? Instead of having to create them? Just curious...
The tools to create the files run under Windows (Metazoa) or Linux (GeoffR). It should be possible to port to Mac OSX but so far no one has volunteered to do so.

As for the supplying the files for updating? Given the number of options, it would call for a massive selection of files even disregarding the possibility that posting such files would not be permitted due to rights issues.

Regards,
David
DNSB is offline   Reply With Quote
Old 03-10-2014, 12:26 PM   #35
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: 1,405
Karma: 2747501
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Quote:
Originally Posted by JamesFEvans View Post
Is it possible to do this from a Mac?
The patch32lsb program should compile on the Mac if you have the gcc toolchain installed, but I don't have any way to test it. If anyone tries compiling it and gets a compiler error message, let me know and I should be able to get it working. I have tested it on Windows by compiling with the the mingw cross-complier, so any changes needed to get it to compile on the Mac should only be minor.

Quote:
Originally Posted by JamesFEvans View Post
EDIT: Did it from a PC, if the files created to update are the same, why not just provide the files for updating? Instead of having to create them? Just curious...
The patched files will not be the same if you customise the .conf file differently. The .conf files here are only examples, based on my preferences for the Glo, most people will want to adjust them to suit their preferences and device.

Also it is probably not legal to distribute modified Kobo firmware.
GeoffR is offline   Reply With Quote
Old 03-20-2014, 10:54 PM   #36
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: 1,405
Karma: 2747501
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Patch to fix tiny synopsis on Glo/Aura/AuraHD

Here are patches to fix the issue with the tiny synopsis text in 3.2.0. I think this issue only affects the Glo/Aura/AuraHD.

What seems to be happening is that the synopsis has a default stylesheet suitable for the Touch/Mini, and there are overrides for the Glo/Aura/AuraHD. However the overrides don't seem to work, so all models are getting the Touch/Mini stylesheet which has a font size far too small for the higher DPI devices. The patch works by making the Glo/Aura/AuraHD override the default synopsis stylesheet.

Patch for Glo/Aura:
Spoiler:
Code:
<Patch>
patch_name = `Custom synopsis style (Glo/Aura example)`
patch_enable = `yes`
replace_string = 11B60AC, `<html><style type="text/css">* {font-size: 20px; font-family: sans-serif; font-style: normal; margin: 0px; padding: 0px; line-height: 1.25em;} span.phoenix {font-size: 23px; font-family: "Georgia serif";} span.dragon {font-size: 29px; font-family: "Georgia serif"; line-height: 1.5em;} span.ja_JP {font-family: "A-OTF Gothic MB101 Pr6N"; !important} </style><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><body><span class="%1 %2">%3</span><br/></body></html>`, `<html><style type="text/css">* {font-size: 23px; font-family: "Georgia serif"; font-style: normal; margin: 0px; padding: 0px; line-height: 1.25em;} span.ja_JP {font-family: "A-OTF Gothic MB101 Pr6N"; !important} </style><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><body><span class="%1 %2">%3</span><br/></body></html>`
</Patch>


Patch for AuraHD:
Spoiler:
Code:
<Patch>
patch_name = `Custom synopsis style (AuraHD example)`
patch_enable = `yes`
replace_string = 11B60AC, `<html><style type="text/css">* {font-size: 20px; font-family: sans-serif; font-style: normal; margin: 0px; padding: 0px; line-height: 1.25em;} span.phoenix {font-size: 23px; font-family: "Georgia serif";} span.dragon {font-size: 29px; font-family: "Georgia serif"; line-height: 1.5em;} span.ja_JP {font-family: "A-OTF Gothic MB101 Pr6N"; !important} </style><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><body><span class="%1 %2">%3</span><br/></body></html>`, `<html><style type="text/css">* {font-size: 29px; font-family: "Georgia serif"; font-style: normal; margin: 0px; padding: 0px; line-height: 1.5em;} span.ja_JP {font-family: "A-OTF Gothic MB101 Pr6N"; !important} </style><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><body><span class="%1 %2">%3</span><br/></body></html>`
</Patch>


I've only briefly tested this on my Glo, so let me know if there are any problems.

Edit: The patches I originally posted were not accepted by kpg.exe, for some reason kpg.exe doesn't like the final \n at the end of the original string, even though it is there in libnickel.so.1.0.0.

Edit2: kpg.exe replace_string method doesn't accept \n, \t, etc. in either original or replacement string. Fixed.

Last edited by GeoffR; 03-21-2014 at 09:42 PM. Reason: change patch to work with kpg.exe
GeoffR is offline   Reply With Quote
Old 03-21-2014, 09:47 AM   #37
npr
Member
npr began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo and Aura
GeoffR, many thanks for creating these patches .

Are you sure this "synopsis issue affect the Aura?
I usually read this in calibre so unsure what it normally looks like in the Kobo Aura, yes the text is small but I can still read it ok even with my bad eyes.
When I try to run the patch I get the following error report for the synopsis patch

Output from running the 3.2.0 patch:-
Quote:
Applying patches ...
Applying patch [Custom reading footer style] ...
OK
Applying patch [My line spacing values] ...
DISABLED IN CONFIG
Applying patch [My 15 line spacing values] ...
OK
Applying patch [Custom fonts sizes] ...
OK
Applying patch [Custom left & right margins] ...
OK
Applying patch [Fix page breaks bug] ...
OK
Applying patch [Brightness fine control] ...
OK
Applying patch [Allow download all in Browser] ...
DISABLED IN CONFIG
Applying patch [Search in Library by default] ...
DISABLED IN CONFIG
Applying patch [Avoid generating/downloading redundant cover image] ...
DISABLED IN CONFIG
Applying patch [Wi-Fi insomnia] ...
DISABLED IN CONFIG
Applying patch [Margins fine tuning] ...
DISABLED IN CONFIG
Applying patch [Ignore book internal CSS stylesheet] ...
DISABLED IN CONFIG
Applying patch [Ignore book TOC navpoints] ...
DISABLED IN CONFIG
Applying patch [Custom synopsis style (Glo/Aura example)] ...
11b6299 5c a

Data for replace in libnickel.so.1.0.0 and kpg.conf does not match!
libnickel.so.1.0.0 is already patched or from the wrong firmware version.
npr is offline   Reply With Quote
Old 03-21-2014, 08:23 PM   #38
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: 1,405
Karma: 2747501
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Quote:
Originally Posted by npr View Post
Are you sure this "synopsis issue affect the Aura?
I usually read this in calibre so unsure what it normally looks like in the Kobo Aura, yes the text is small but I can still read it ok even with my bad eyes.
The bug does affect the Glo and Aura, but it would be much more noticeable on the AuraHD. The font size used for the synopsis was 20px for all models, but it should have been 23px for the Glo/Aura and 29px for the AuraHD.

Quote:
When I try to run the patch I get the following error report for the synopsis patch

Output from running the 3.2.0 patch:-
Sorry about that, I didn't test it with kpg.exe and for some reason kpg.exe doesn't like the final \n in the original string. I've fixed this and edited the patches in the post #36 above.

Edit: I think I have figured out the cause of the problem with the patch, the kpg.exe replace string method doesn't accept the \n, \t encoding at all and was treating them literally instead of interpreting them as LF, TAB, etc., so I have edited the patch again to remove these characters from the replacement string too.

Last edited by GeoffR; 03-21-2014 at 09:47 PM.
GeoffR is offline   Reply With Quote
Old 03-22-2014, 03:06 AM   #39
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 2,082
Karma: 5849371
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by GeoffR View Post
The bug does affect the Glo and Aura, but it would be much more noticeable on the AuraHD. The font size used for the synopsis was 20px for all models, but it should have been 23px for the Glo/Aura and 29px for the AuraHD.



Sorry about that, I didn't test it with kpg.exe and for some reason kpg.exe doesn't like the final \n in the original string. I've fixed this and edited the patches in the post #36 above.

Edit: I think I have figured out the cause of the problem with the patch, the kpg.exe replace string method doesn't accept the \n, \t encoding at all and was treating them literally instead of interpreting them as LF, TAB, etc., so I have edited the patch again to remove these characters from the replacement string too.
Not sure if this is quite legitimate but I patched the patch for myself by using replace_xor_00 instead of replace_string after my first attempt at generating the patch ended in an error message

Regards,
David
DNSB is offline   Reply With Quote
Old 03-22-2014, 06:28 AM   #40
npr
Member
npr began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo and Aura
Thanks, the patch now runs and installs ok in my Aura.
The difference in text size however is hardly noticeable to me on the Aura, I assume it's more pronounced on the HD.
eg 14 lines of text per page with the patch, 15 lines of text without.
npr is offline   Reply With Quote
Old 03-26-2014, 03:15 AM   #41
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: 1,405
Karma: 2747501
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Keyboard patch: replace copyright symbol with curly apostrophe

This patch replaces the copyright symbol (©) with a curly apostrophe (í) on the keyboard.

I find this useful when searching for books by author, because names such as O'Brian (with a straight apostrophe) do not match OíBrian (with a curly apostrophe), so without a curly apostrophe key there is no reliable way to search for such names.

Spoiler:
Code:
<Patch>
patch_name = `Keyboard replace copyright with curly apostrophe`
patch_enable = `yes`
replace_bytes = 11A6B0C, C2 A9 00 00, E2 80 99 00
</Patch>


If anyone wants other keys replaced I should be able to work out a suitable patch.
GeoffR is offline   Reply With Quote
Old 04-04-2014, 09:35 AM   #42
SHunter101
Enthusiast
SHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel isSHunter101 really knows where his or her towel is
 
Posts: 34
Karma: 70350
Join Date: May 2013
Device: Kobo Glo, AuraHD, PRS_950, JBC2
Hello:

If anyone is interested, Metazoa has released patch 12 that covers kobo FW3.2. The patch can be found as the last post on page 55 of the link below:

http://www.the-ebook.org/forum/viewt...14560472a58994

Best,
Shunter
SHunter101 is offline   Reply With Quote
Old 04-05-2014, 08:52 PM   #43
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 2,082
Karma: 5849371
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by SHunter101 View Post
Hello:

If anyone is interested, Metazoa has released patch 12 that covers kobo FW3.2. The patch can be found as the last post on page 55 of the link below:

http://www.the-ebook.org/forum/viewt...14560472a58994
For those who are not comfortable in Russian, I've changed the download link in the first message in this thread to point to version 12.

Regards,
David
DNSB is offline   Reply With Quote
Old 04-16-2014, 02:24 PM   #44
forster01
Enthusiast
forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.forster01 knows the square root of minus one.
 
Posts: 40
Karma: 7938
Join Date: May 2013
Device: Kobo Aura HD, Kindle, HTC One X
what are the main differences between metazoa's patch and one created by this forum developers?
forster01 is offline   Reply With Quote
Old 04-16-2014, 03:59 PM   #45
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,770
Karma: 43931916
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
With either one you can look through the list of patches in the configuration file and see what is being patched.
PeterT 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.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 110 08-02-2013 03:33 PM
Touch Patching nickel to leave the wifi active schlecky Kobo Developer's Corner 3 08-01-2013 10:13 PM


All times are GMT -4. The time now is 04:24 AM.


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