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 04-26-2014, 05:01 AM   #31
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 Loamaro View Post
I am from Russia. We have a patch Metazoa "Cyrillic keyboard", but it is not for 3.3.0. Could you make this patch or is it very difficult? In any case, thank you very much for your Kobo patcher!
Here is the Cyrillic keyboard patch for 3.3.0, for kpg.exe only. Let me know if it works as you expect.

Spoiler:
Code:
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `yes`
# Enable uppercase for [ß] key
replace_bytes = 8A6A4A, 00 24, 01 24
# Replace layout sign
replace_string = CCF8BC, `ÉÀÇ`, `абв`
# Change keyboard layout
replace_utf8chars = CCF7D4, `æ`, `й`
replace_utf8chars = CCF7D8, `àèìòùáéíóúý`, `цукенгшщзхъ`
replace_utf8chars = CCF804, `œ`, `ф`
replace_utf8chars = CCF808, `âêîôûäëïöüÿ`, `ывапролджэё`
replace_utf8chars = CCF834, `ãñõå`, `ячсм`
replace_utf8chars = CCF844, `ß`, `и`
replace_utf8chars = CCF848, `çđøij`, `тьбю`
replace_utf8chars = CCF858, `ł`, `.`
</Patch>
GeoffR is offline   Reply With Quote
Old 04-26-2014, 09:06 AM   #32
Loamaro
Member
Loamaro began at the beginning.
 
Loamaro's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2014
Location: Russia, Yekaterinburg
Device: Kobo Glo
GeoffR

Unfortunately, I get an next error:

Last edited by pdurrant; 04-27-2014 at 07:09 AM. Reason: fixed image tags
Loamaro is offline   Reply With Quote
Old 04-26-2014, 10:17 AM   #33
Loamaro
Member
Loamaro began at the beginning.
 
Loamaro's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2014
Location: Russia, Yekaterinburg
Device: Kobo Glo
GeoffR
Cyrillic keyboard layout works fine. Thank you very very much!
Loamaro is offline   Reply With Quote
Old 04-26-2014, 04:32 PM   #34
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
Has anyone tested the 'download all in browser' patch with firmware 3.0.0?
GeoffR is offline   Reply With Quote
Old 04-27-2014, 04:21 AM   #35
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
So there is currently no way on Windows to patch the long paragraph bug?

This is what I did (I don't know how much of this is necessary):
  1. Applied firmware 3.3.0.
  2. Followed the instructions in the first post to patch libnickel.so.1.0.0 onto the reader.
  3. Created a new directory on my PC in which I put kpg.exe, librmsdk.so.1.0.0.patch from patch32lsb_330.zip, and librmsdk.so.1.0.0 from kobo-update-3.3.0.zip.
  4. Renamed librmsdk.so.1.0.0.patch to kpg.conf and renamed librmsdk.so.1.0.0 to libnickel.so.1.0.0. The renaming is to fool kpg.exe to patch the librmsdk binary.
  5. Ran kpg.exe which created the KoboRoot.tgz as usual.
  6. Open KoboRoot.tgz in 7-zip and navigated to KoboRoot.tar\usr\local\Kobo.
  7. Renamed the libnickel.so.1.0.0 in the zip to librmsdk.so.1.0.0, and exited 7-zip to update the zip.
  8. Applied the KoboRoot.tgz to the reader as normal, to patch librmsdk.

Using kpg.exe to create the zip ensures that the User, Group, and Mode attributes are set correctly on the librmsdk.so.1.0.0 file in the zip. I don't know if this matters, but it seems to work.

Last edited by ShellShock; 04-27-2014 at 05:08 AM.
ShellShock is offline   Reply With Quote
Old 04-27-2014, 05:01 AM   #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: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by ShellShock View Post
So there is currently no way on Windows to patch the long paragraph bug? Unless we manually edit librmsdk.so.1.0.0 in a hex editor?
I think you can do it as two seperate patches:

1. Use kpg.exe to patch libnickel.so.1.0.0 as in the instructions in post #1, copy the KoboRoot.tgz to your device and let it update.

2. Then use KBPatcher to patch just librmsdk.so.1.0.0 following tshering's instructions in post #13, but only copy librmsdk.so.1.0.0 to C:\KBPatcher07_b\3.3.0_source\ and delete conf_libnickel.txt before running 3.3.0.bat. Copy the KoboRoot.tgz (which should only contain librmsdk.1.0.0) to the device and let it update again.

Edit: If someone can confirm that this works, I'll add it to the instructions in post #1.

Last edited by GeoffR; 04-27-2014 at 05:10 AM. Reason: Added quote
GeoffR is offline   Reply With Quote
Old 04-27-2014, 05:09 AM   #37
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Thanks Geoff, please see my edited post. I found another way to do it ;-)
ShellShock is offline   Reply With Quote
Old 04-27-2014, 06:36 AM   #38
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
This is how I create KoboRoot.tgz on Windows, in case it might be helpful to anybody.
Create this batch file (spoiler) on (e.g.) c:\mykobotools\, and name it, for instance, createKBRoot.bat.
Spoiler:

modify the path to the z-zip executable
SET the7zipexe="C:\Programme\7-Zip\7z.exe"

Code:
@ECHO off

SET the7zipexe="C:\Programme\7-Zip\7z.exe"

IF (%~f1) == () GOTO NothingDropped
IF NOT EXIST %~f1\NUL GOTO FileDropped


CD %~f1
REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar
IF EXIST KoboRoot.tgz DEL KoboRoot.tgz
 

REM --- make tar
"%the7zipexe%" a KoboRoot.tar -ttar  * -r  -x!_*
REM --- make tgz
"%the7zipexe%" a KoboRoot.tgz -tgzip  KoboRoot.tar

REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar

GOTO ByBy

REM ---- here starts error handling
:NothingDropped
ECHO drop folder file on this batch file!
GOTO ByBy

:FileDropped
ECHO drop folder on this batch file!
GOTO ByBy

:ByBy
PAUSE
  • create the needed content in a dedicated folder, e.g.
    c:\myKoboRoot\usr\local\Kobo\libnickel.so.1.0.0
    c:\myKoboRoot\usr\local\Kobo\librmsdk.so.1.0.0
  • open two windows in explorer (file manager)
    navigate the first window to c:\.
    navigate the second window to c:\mykobotools\
  • drag and drop the folder myKoboRoot unto the batch file (createKBRoot.bat)
  • find KoboRoot.tgz in c:\myKoboRoot\
Note: The batch file must be on the same drive as the target directory! Don't use spaces in the target path.

Last edited by tshering; 04-30-2014 at 10:10 AM.
tshering is offline   Reply With Quote
Old 04-27-2014, 06:55 AM   #39
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Thanks tshering, you know the 7-zip magic.
ShellShock is offline   Reply With Quote
Old 04-27-2014, 08:34 AM   #40
SHunter101
Connoisseur
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: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
Thanks tshering. How do we set the path in Win8.1 64bit? Not sure what to do with: modify the path to the z-zip executable
SET the7zipexe="C:\Programme\7-Zip\7z.exe"

Shunter

Last edited by SHunter101; 04-27-2014 at 08:54 AM.
SHunter101 is offline   Reply With Quote
Old 04-27-2014, 09:58 AM   #41
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
You need to install 7-Zip from here: http://www.7-zip.org/download.html. Get the 64-bit x64 msi. It should install to C:\Program Files\7-Zip, so you modify the path to:

Code:
SET the7zipexe="C:\Program Files\7-Zip"
ShellShock is offline   Reply With Quote
Old 04-27-2014, 10:04 AM   #42
SHunter101
Connoisseur
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: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
Quote:
Originally Posted by ShellShock View Post
You need to install 7-Zip from here: http://www.7-zip.org/download.html. Get the 64-bit x64 msi. It should install to C:\Program Files\7-Zip, so you modify the path to:

Code:
SET the7zipexe="C:\Program Files\7-Zip"
Hi ShellShock:

Tried that path, but it gives an error message. I am using win8.1 64bit. I even tried to set the path under environmental variables, but still the same error:

"'""C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'""C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . ."

Best,
Shunter
SHunter101 is offline   Reply With Quote
Old 04-27-2014, 11:00 AM   #43
SHunter101
Connoisseur
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: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
Quote:
Originally Posted by tshering View Post
This is how I create KoboRoot.tgz on Windows, in case it might be helpful to anybody.
Create this batch file (spoiler) on (e.g.) c:\mykobotools\, and name it, for instance, createKBRoot.bat.
Spoiler:

modify the path to the z-zip executable
SET the7zipexe="C:\Programme\7-Zip\7z.exe"

Code:
@ECHO off

SET the7zipexe="C:\Programme\7-Zip\7z.exe"

IF (%~f1) == () GOTO NothingDropped
IF NOT EXIST %~f1\NUL GOTO FileDropped


CD %~f1
REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar
IF EXIST KoboRoot.tgz DEL KoboRoot.tgz
 

REM --- make tar
"%the7zipexe%" a KoboRoot.tar -ttar  * -r  -x!_*
REM --- make tgz
"%the7zipexe%" a KoboRoot.tgz -tgzip  KoboRoot.tar

REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar

GOTO ByBy

REM ---- here starts error handling
:NothingDropped
ECHO drop folder file on this batch file!
GOTO ByBy

:FileDropped
ECHO drop folder on this batch file!
GOTO ByBy

:ByBy
PAUSE
  • create the needed content in a dedicated folder, e.g.
    c:\myKoboRoot\usr\local\Kobo\libnickel.so.1.0.0
    c:\myKoboRoot\usr\local\Kobo\librmsdk.so.1.0.0
  • open two windows in explorer (file manager)
    navigate the first window to c:\.
    navigate the second window to c:\mykobotools\
  • drag and drop the folder myKoboRoot unto the batch file (createKBRoot.bat)
  • find KoboRoot.tgz in c:\myKoboRoot\
Hello:

Finally got it to semi-work. Windows 8.1 64 bit did not like the "SET the7zipexe="C:\Programme\7-Zip\7z.exe" " line. I modified Tshering's code, only changing "%the7zipexe%" to 7z.exe and the path to the following:

Code:
@ECHO off

SET path="C:\Program Files\7-Zip\"

IF (%~f1) == () GOTO NothingDropped
IF NOT EXIST %~f1\NUL GOTO FileDropped


CD %~f1
REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar
IF EXIST KoboRoot.tgz DEL KoboRoot.tgz
 

REM --- make tar
7z.exe a KoboRoot.tar -ttar  * -r  -x!_*
REM --- make tgz
7z.exe a KoboRoot.tgz -tgzip  KoboRoot.tar

REM --- clean up
IF EXIST KoboRoot.tar DEL KoboRoot.tar

GOTO ByBy

REM ---- here starts error handling
:NothingDropped
ECHO drop folder file on this batch file!
GOTO ByBy

:FileDropped
ECHO drop folder on this batch file!
GOTO ByBy

:ByBy
PAUSE
This works, but it leaves out the usr directory in the generated Koboroot.tgz file; even though the directory structure shows usr the final file has only the "local\Kobo\both files". Stranger the Koboroot.tgz file is found in the usr directory. I do not know enough about 7z command lines to figure this out....


Shunter

Last edited by SHunter101; 04-27-2014 at 11:08 AM.
SHunter101 is offline   Reply With Quote
Old 04-27-2014, 02:07 PM   #44
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 SHunter101 View Post
This works, but it leaves out the usr directory in the generated Koboroot.tgz file; even though the directory structure shows usr the final file has only the "local\Kobo\both files". Stranger the Koboroot.tgz file is found in the usr directory. I do not know enough about 7z command lines to figure this out....


Shunter
This sound like you drag-and-drop the usr folder onto the bat file, instead of draging the parent folder (myKoboRoot in my example).

Last edited by tshering; 04-27-2014 at 02:17 PM.
tshering is offline   Reply With Quote
Old 04-27-2014, 02:26 PM   #45
SHunter101
Connoisseur
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: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
Quote:
Originally Posted by tshering View Post
This sound like you drag-and-drop the usr folder onto the bat file, instead of draging the parent folder (myKoboRoot in my example).
Hi Tshering:

That was the problem. All works good now

Thank you,
Shunter
SHunter101 is offline   Reply With Quote
Reply


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
Touch Patching nickel to leave the wifi active schlecky Kobo Developer's Corner 4 01-23-2017 11:46 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.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM


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


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