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 08-29-2014, 11:16 PM   #16
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 PeterT View Post
I can't help but wonder.... Why on EARTH call the thread "Instructions for patching firmware 3.8.x". Surely it would make far more sense to call it "Instructions for patching firmware 3.8.0", and then, if and when 3.8.1 comes out, a new thread is made called "Instructions for patching firmware 3.8.1".
You're right, I'll ask a moderator to change the title to 3.8.0.
GeoffR is offline   Reply With Quote
Old 08-29-2014, 11:27 PM   #17
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 surquizu View Post
A curiosity: With the font to 10, the text appears in two columns (in epub only):
That is interesting! Does everything still work correcty when there are two columns? Font size 10 is far too small for reading to my eyes, but it could be useful for scanning through some books if the navigation still works okay.
GeoffR is offline   Reply With Quote
Advert
Old 08-30-2014, 02:23 AM   #18
surquizu
Evangelist
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: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by GeoffR View Post
That is interesting! Does everything still work correcty when there are two columns? Font size 10 is far too small for reading to my eyes, but it could be useful for scanning through some books if the navigation still works okay.
Works correctly
surquizu is offline   Reply With Quote
Old 09-05-2014, 06:23 AM   #19
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,545
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre 1, PW4, PW5, 2022 Kindle, Kobo Libre Colour
Quote:
Originally Posted by GeoffR View Post
Notes:

The following patches are no longer needed because of fixes in the firmware:
-
- Synopsis font size fix
Not fixed on mine!

Here is what I used for 3.3.0 but doesn't go through on 3.8.0.

# Glo/Aura
replace_string = C699F4, `font-size: 20px;`, `font-size: 30px;`
# Aura HD
#replace_string = C699F4, `font-size: 20px;`, `font-size: 29px;`

It must be that C number. Does anyone know the right number?

Thanks!
booklover6 is offline   Reply With Quote
Old 09-05-2014, 11:25 PM   #20
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
The synopsis bug is fixed in the sense that the font size is now what Kobo intended it to be, but here is a patch to change the font size to something different:

Firmware 3.8.0 (add to libnickel.so.1.0.0.patch):
Spoiler:
Code:
<Patch>
patch_name = `Custom synopsis font size`
patch_enable = `yes`
#
# Touch/Mini example (20px --> 25px)
replace_string = C6118E, `2\x000`, `2\x005`
# Glo/Aura example (23px --> 30px)
replace_string = C305AA, `2\x003`, `3\x000`
# AuraHD/H2O example (29px --> 36px)
replace_string = C305EC, `2\x009`, `3\x006`
</Patch>

(The replacement string is the font size in pixels, but with a "\x00" between the digits. e.g. 30 is written as 3\x000.)
GeoffR is offline   Reply With Quote
Advert
Old 09-06-2014, 07:40 AM   #21
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,545
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre 1, PW4, PW5, 2022 Kindle, Kobo Libre Colour
Quote:
Originally Posted by GeoffR View Post
The synopsis bug is fixed in the sense that the font size is now what Kobo intended it to be, but here is a patch to change the font size to something different:
Thank you so much! You are a genius! I tried to figure it out but it was a mystery.

Perhaps you know why one of my Glos has this list of files in .kobo

stack_00 (these are text documents)
Stack_01
stack_02
stack_03
stack_04
stack_05
stack_06
Trolltech (this is a config file)

The other Glo only has
stack_00
Trolltech

The first one (with all the files) always gives me an error message on connect (scan with windows), the second does not.

So would it be reasonable and safe to delete the extra files?

Last edited by booklover6; 09-06-2014 at 07:47 AM.
booklover6 is offline   Reply With Quote
Old 09-06-2014, 08:14 AM   #22
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by booklover6 View Post
Thank you so much! You are a genius! I tried to figure it out but it was a mystery.

Perhaps you know why one of my Glos has this list of files in .kobo

stack_00 (these are text documents)
Stack_01
stack_02
stack_03
stack_04
stack_05
stack_06
Trolltech (this is a config file)

The other Glo only has
stack_00
Trolltech

The first one (with all the files) always gives me an error message on connect (scan with windows), the second does not.

So would it be reasonable and safe to delete the extra files?
The files should be "stack_00.log". They are dumps of the memory status when there is a crash. The number is incremented for each crash. It is safe to delete the files. But, if the device crashes, and a log is produced, that plus a description of what you were doing, can help Kobo solve the problem.
davidfor is offline   Reply With Quote
Old 09-06-2014, 08:50 AM   #23
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,545
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre 1, PW4, PW5, 2022 Kindle, Kobo Libre Colour
Quote:
Originally Posted by davidfor View Post
The files should be "stack_00.log". They are dumps of the memory status when there is a crash. The number is incremented for each crash. It is safe to delete the files. But, if the device crashes, and a log is produced, that plus a description of what you were doing, can help Kobo solve the problem.
Can I delete the Trolltech config file too? Thanks!
booklover6 is offline   Reply With Quote
Old 09-06-2014, 08:58 AM   #24
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,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by booklover6 View Post
Can I delete the Trolltech config file too? Thanks!
I don't think so. If in doubt, keep your mitts off the .conf files
jackie_w is offline   Reply With Quote
Old 09-06-2014, 09:09 AM   #25
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jackie_w View Post
I don't think so. If in doubt, keep your mitts off the .conf files
No, you shouldn't delete it. But, my bet is it would get recreated after a restart.
davidfor is offline   Reply With Quote
Old 09-06-2014, 09:29 AM   #26
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,545
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre 1, PW4, PW5, 2022 Kindle, Kobo Libre Colour
Noted, and thanks. I didn't delete it...I won't touch anything in .kobo unless I am sure.
booklover6 is offline   Reply With Quote
Old 09-10-2014, 06:10 PM   #27
falkunmalti
Member
falkunmalti began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2014
Device: kobo glo
Quote:
Originally Posted by GeoffR View Post
Before starting:


2. Download the Kobo firmware archive version 3.8.0 for your device (See this thread) into the 3.8.0_source subdirectory. (Don't extract.)

.
Where do I find this subdirectory? Thanks.
falkunmalti is offline   Reply With Quote
Old 09-10-2014, 06:36 PM   #28
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: 44,844
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by falkunmalti View Post
Where do I find this subdirectory? Thanks.
The subdirectory is part of the patcher archive.

1. Download the patch_kobo_38.zip file from the first message in this thread.

2. Open the .zip file with your favourite archive utility (I use 7Zip).

3. Copy the patch_kobo_38 directory to wherever you prefer.

4. Close the .zip file, open the patch_kobo_38 directory. Inside it you will see a directory called 3.8.0_source.

5. Copy the downloaded Kobo firmware file (kobo-update-3.8.0.zip) into that directory. The first time you run the .bat file (Windows) or the .sh file (Linux), the needed files will be extracted from the firmware archive.

6. Edit the patch files in 3.8.0_source directory for your purposes and run the .bat/.sh file.

Substitute "folder" for "directory" if you are more comfortable with that terminology.

Have fun.

Regards,
David
DNSB is offline   Reply With Quote
Old 09-11-2014, 07:40 AM   #29
falkunmalti
Member
falkunmalti began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2014
Device: kobo glo
Quote:
Originally Posted by DNSB View Post
The subdirectory is part of the patcher archive.

1. Download the patch_kobo_38.zip file from the first message in this thread.

2. Open the .zip file with your favourite archive utility (I use 7Zip).

3. Copy the patch_kobo_38 directory to wherever you prefer.

4. Close the .zip file, open the patch_kobo_38 directory. Inside it you will see a directory called 3.8.0_source.

5. Copy the downloaded Kobo firmware file (kobo-update-3.8.0.zip) into that directory. The first time you run the .bat file (Windows) or the .sh file (Linux), the needed files will be extracted from the firmware archive.

6. Edit the patch files in 3.8.0_source directory for your purposes and run the .bat/.sh file.

Substitute "folder" for "directory" if you are more comfortable with that terminology.

Have fun.

Regards,
David
Thanks. I wasn't sure. I'll try this.
falkunmalti is offline   Reply With Quote
Old 09-23-2014, 11:04 AM   #30
JLuecking
Member
JLuecking began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2013
Location: Rüsselsheim, Germany
Device: Kobo Aura HD
Thanks alot for updating the patches, so I have a highly readable page layout.

I would like to configure it with values for the footer like this:

# Example for AuraHD/H2O:
replace_string = D54355, `min-height: 70px;`, `min-height: 60px;`
replace_string = D54368, `max-height: 70px;`, `max-height: 60px;`
replace_string = D54385, `footerMargin: 40;`, `footerMargin: 20;`
replace_string = D5439F, `font-size: 16px;`, `font-size: 26px;`
replace_string = D543B1, `padding-bottom: 0px;`, `padding-bottom: 22px;`
replace_string = D543C7, `margin-top: 0px;`, `margin-top: 0px;`


But I get the error message:

Ignoring disabled patch `Disable reading footer`
replace_string replacement too long.


How can I get around it?
JLuecking 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
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 113 10-24-2023 09:02 PM
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
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM


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


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