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 11-23-2013, 04:07 PM   #481
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 DNSB View Post
The slipstreamed 3.0.0 update has the Readingfooter moved to 13EA170 with the XOR pattern changed to CC.
To be more precise, do you mean that the Footer Patch needs to change from

replace_xor_D3 = 13BE688, `ReadingFooter... etc... etc... for fw 3.0.0 to

replace_xor_CC = 13EA170, `ReadingFooter... etc... etc... for fw 3.0.1?
jackie_w is offline   Reply With Quote
Old 11-23-2013, 08:00 PM   #482
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: 46,222
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jackie_w View Post
To be more precise, do you mean that the Footer Patch needs to change from

replace_xor_D3 = 13BE688, `ReadingFooter... etc... etc... for fw 3.0.0 to

replace_xor_CC = 13EA170, `ReadingFooter... etc... etc... for fw 3.0.1?
Yes. At this time, it means Metazoa needs to update and add another XOR handling routine. I haven't seen the python source but I'm wondering if it could be modified to pass it the XOR value so the routine would not need to be modified each time. This would be handy for me since the 4 major patches I use could be applied without needing to wait for a new patcher.

Regards,
David
DNSB is online now   Reply With Quote
Old 11-24-2013, 06:08 AM   #483
GeorgK
Enthusiast
GeorgK began at the beginning.
 
GeorgK's Avatar
 
Posts: 37
Karma: 10
Join Date: Mar 2013
Location: Regensburg, Germany
Device: Kobo Touch, Aura HD; Kobo Aura H2O 2.Version V2
Quote:
To be more precise, do you mean that the Footer Patch needs to change from
replace_xor_D3 = 13BE688, `ReadingFooter... etc... etc... for fw 3.0.0 to
replace_xor_CC = 13EA170
Quote:
Originally Posted by DNSB View Post
Yes. ...
And that's it?
All I've to do is to change a few Bytes within the 'kpg.conf'?
This will make V.10 of the patcher work with FW 3.0.1.?

Regards
Georg
GeorgK is offline   Reply With Quote
Old 11-24-2013, 06:25 AM   #484
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by DNSB View Post
I haven't seen the python source but I'm wondering if it could be modified to pass it the XOR value so the routine would not need to be modified each time. This would be handy for me since the 4 major patches I use could be applied without needing to wait for a new patcher.

Regards,
David
As I said some posts ago, I can confirm that the routine is written in a flexible way, so that it can take and value up to FF.
tshering is offline   Reply With Quote
Old 11-24-2013, 06:29 AM   #485
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeorgK View Post
And that's it?
All I've to do is to change a few Bytes within the 'kpg.conf'?
This will make V.10 of the patcher work with FW 3.0.1.?

Regards
Georg
That is it. But don't forget to replace the libnickel.so.1.0.0 with the one of FW 3.0.1, and to disable any patches we don't know the new values of.
tshering is offline   Reply With Quote
Old 11-24-2013, 06:45 AM   #486
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
PeterT,

would you please add the link to the patcher version 10 to the fist post of this threat? Cf. this post for the link, and the one following it for a description.

Last edited by tshering; 11-24-2013 at 06:47 AM.
tshering is offline   Reply With Quote
Old 11-24-2013, 07:09 AM   #487
GeorgK
Enthusiast
GeorgK began at the beginning.
 
GeorgK's Avatar
 
Posts: 37
Karma: 10
Join Date: Mar 2013
Location: Regensburg, Germany
Device: Kobo Touch, Aura HD; Kobo Aura H2O 2.Version V2
Quote:
Originally Posted by tshering View Post
That is it. But don't forget to replace the libnickel.so.1.0.0 with the one of FW 3.0.1,...
Where do I get the 'libnickel'-file?

Quote:
...and to disable any patches we don't know the new values of....
Well, I already patched
- Line Spacing Values
- Custom Font Sizes
- Custom L&R Margins
luckily without Problems. Thx for the warning..

Regards
Georg
GeorgK is offline   Reply With Quote
Old 11-24-2013, 07:39 AM   #488
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeorgK View Post
Where do I get the 'libnickel'-file?
You can find the FW update files here. It does not matter, whether you take the one for mark 3 or 4 for our purpose. Unpack its content and find the libnickel file in usr/local/Kobo.
Quote:
Originally Posted by GeorgK View Post
Well, I already patched
- Line Spacing Values
- Custom Font Sizes
- Custom L&R Margins
luckily without Problems. Thx for the warning..
I wonder, how this could be possible. Did I understand correctly that you applied the patch with the new address values (provided by GeoffR) to the old libnickel file? Didn't you get error messages?

Last edited by tshering; 11-24-2013 at 07:42 AM.
tshering is offline   Reply With Quote
Old 11-24-2013, 07:52 AM   #489
GeorgK
Enthusiast
GeorgK began at the beginning.
 
GeorgK's Avatar
 
Posts: 37
Karma: 10
Join Date: Mar 2013
Location: Regensburg, Germany
Device: Kobo Touch, Aura HD; Kobo Aura H2O 2.Version V2
Quote:
Originally Posted by tshering View Post
...Did I understand correctly that you applied the patch with the new address values (provided by GeoffR) to the old libnickel file? Didn't you get error messages?
I applied a kpg.conf to the old libnickel which only had patches for margins, line spacing and font size in it.
And no, didn't get any errors.
I did not bother with all the other patches. They where deleted prior to the applying.

Quote:
...Unpack its content and find the libnickel file in usr/local/Kobo. ..
Can't find that path within the FW.zip.
Is it hidden?

Georg
GeorgK is offline   Reply With Quote
Old 11-24-2013, 08:10 AM   #490
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeorgK View Post
Can't find that path within the FW.zip.
Is it hidden?

Georg
Unzip kobo-update-3.0.1.zip, you will get KoboRoot.tgz; un-gzip KoboRoot.tgz and you will get KoboRoot.tar; untar KoboRoot.tar and you will get some folders.
Depending on the program you are using, un-gzip and untar might be achieved with a single command.

Be aware that if you put the newly created KoboRoot.tgz file to your reader and something went wrong you will have to factory reset your device.
tshering is offline   Reply With Quote
Old 11-24-2013, 08:15 AM   #491
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
Here is the `fix page breaks bug` patch for firmware 3.0.1 (644485e229)
Spoiler:
Code:
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
replace_bytes = DDD556, E8 D0, E8 E7
#Alternative method
#replace_bytes = DDD556, E8 D0, 00 46
</Patch>


I've also updated my program for applying patches from Linux in this post. It can now apply all of the 3.0.1 patches except the cyrillic keyboard patch. It has a slightly different syntax for the xor encoding, but to apply the 3.0.1 footer patch for example just change the patch from this form:
Spoiler:
Code:
<Patch>
...
replace_xor_CC = 13EA170, `...`, `...`
...
</Patch>

to this:
Spoiler:
Code:
<Patch>
...
encode_xor8 = CC
replace_string = 13EA170, `...`, `...`
...
</Patch>

Although I don't normally use the footer patch myself, I've briefly tested it on my Glo with firmware 3.0.1 and it seems to work OK.

Last edited by GeoffR; 11-24-2013 at 08:21 AM.
GeoffR is offline   Reply With Quote
Old 11-24-2013, 08:24 AM   #492
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeorgK View Post
I applied a kpg.conf to the old libnickel which only had patches for margins, line spacing and font size in it.
And no, didn't get any errors.
Start the kpg.exe from the command prompt window (cmd). If you start it by double-clicking, the program's window closes before you can read the messages.
tshering is offline   Reply With Quote
Old 11-24-2013, 08:40 AM   #493
GeorgK
Enthusiast
GeorgK began at the beginning.
 
GeorgK's Avatar
 
Posts: 37
Karma: 10
Join Date: Mar 2013
Location: Regensburg, Germany
Device: Kobo Touch, Aura HD; Kobo Aura H2O 2.Version V2
Quote:
Originally Posted by tshering View Post
Unzip kobo-update-3.0.1.zip, you will get KoboRoot.tgz; un-gzip KoboRoot.tgz and you will get KoboRoot.tar; untar KoboRoot.tar and you will get some folders....
Are there Windows programs which can deal with gzip and tar?

Georg
GeorgK is offline   Reply With Quote
Old 11-24-2013, 08:53 AM   #494
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeorgK View Post
Are there Windows programs which can deal with gzip and tar?

Georg
I use 7-zip.
tshering is offline   Reply With Quote
Old 11-24-2013, 09:16 AM   #495
GeorgK
Enthusiast
GeorgK began at the beginning.
 
GeorgK's Avatar
 
Posts: 37
Karma: 10
Join Date: Mar 2013
Location: Regensburg, Germany
Device: Kobo Touch, Aura HD; Kobo Aura H2O 2.Version V2
Quote:
Originally Posted by tshering View Post
Start the kpg.exe from the command prompt window (cmd). If you start it by double-clicking, the program's window closes before you can read the messages.
Well...
What I did
1. downloaded FW 3.0.1
2. upgraded Aura HD to 3.0.1
3. downloaded Patcher V.10
4. extracted libnickel from FW 3.0.1. package
5. replaced the libnickel-file within the patcher folder (3.0.0) by the extracted 3.0.1 version
6. edited the .conf as follows:
<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
# Decrease footer example
replace_xor_CC = 13EA170, ...
</Patch>
7. run kgp.exe

And got the error message: Data for libnickel and kpg.conf does not match.

What's wrong with my attempt?

Regards
Georg
GeorgK is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? the_m Kobo Reader 5 12-13-2012 03:40 PM
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys sufue Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-15-2012 10:39 AM
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless shaf Kobo Reader 5 12-04-2011 05:10 PM
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 JBlyth Kobo Reader 11 08-03-2011 05:38 PM
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 JBlyth Devices 1 08-03-2011 06:50 AM


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


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