![]() |
#46 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Data and information in this post are out of date. Please see post #1 for information on how to apply the patches under Windows.
Since the patching tool for Windows I posted there seems not to work on some version of Windows, I made a similar package, but with GeoffR's executable instead of mine. USAGE:
Updated version: I renamed the executable so that no elevated user rights are needed. Updated version 2: Reworked it a little in order to make the usage more similare to the linux version. (Users of an earlier version, please be aware that I renamed the configuration files in order to match GeoffR's convention.) An instruction for Linux and Windows could look like this: Spoiler:
I added a second bat-file (3.3.0_unpack.bat). 3.3.0_unpack.bat assumes that there is the correct Kobo FW archive in the directory 3.3.0_source, and extracts the necessary files (libnickel.so.1.0.0 and librmsdk.so.1.0.0 in this case) before patching. 3.3.0.bat assumes that these necessary files are already in the directory 3.3.0_source. How to modify the package for other FW versions: Copy the two bat-files and rename it to {OtherFWVersion}.bat and {OtherFWVersion}_unpack.bat (actually both files have the same content, but behave differently on account of the name). Create a directory with the name {OtherFWVersion}_source, put the configuration files into it. Last edited by tshering; 04-30-2014 at 11:04 AM. |
![]() |
![]() |
![]() |
#47 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Perhaps we can combine the Windows and Linux pachages, with the same instructions for both except for running a different batch/shell script? |
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,137
Karma: 16059044
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Nice collaboration, guys
![]() |
![]() |
![]() |
![]() |
#49 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
On a side note: I think I will change the bat-file for easier maintenance. Right now, one would have to edit the variables for source and target paths, if one wants to apply it to another FW version. It would be more convenient if the values of those two variables would be generated based on the name of the bat-file. Then one would only have to provide a folder {FWNAME}_source that contains the configuration files, and the (otherwise unmodified bat-file) with the name {FWNAME}.bat. It would be convenient if you could rename your executable. The reason is that under (more recent?) Windows versions executables that contain certain strings like patch, update, and so on require elevated user rights. This might be a problem in some cases. The other way would be to include a manifest in the executable. Edit: I replaced the package in post 46. I did the change that I mentioned above to the bat-file. I renamed the executable to pa32lsb.exe. Last edited by tshering; 04-28-2014 at 05:45 AM. |
|
![]() |
![]() |
![]() |
#50 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
|
Quote:
Works great under Win8.1 64Bit ![]() ![]() ![]() Best, SHunter |
|
![]() |
![]() |
Advert | |
|
![]() |
#52 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
|
Quote:
![]() One double click and everything is done ![]() ![]() Shunter |
|
![]() |
![]() |
![]() |
#53 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
#54 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,137
Karma: 16059044
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
OK on Win7 64bit, too.
|
![]() |
![]() |
![]() |
#55 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I've updated the Windows instructions to reflect tshering's update to post #46. When I get a bit of time later I'll change the Linux script so it can be included in the same package.
|
![]() |
![]() |
![]() |
#56 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,040
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I can't help but wonder if a python script could be used on all platforms. As long as the user has calibre installed, arbitrary python scripts can be executed via the calibre-debug command line tool.
|
![]() |
![]() |
![]() |
#57 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
That would be great, but it would have to be someone else writing the scripts as I am cluless about Python :-(
|
![]() |
![]() |
![]() |
#58 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I've combined the Linux and Windows instructions in post #1, they now both use the patch_kobo_330.zip package attached to that post. The only difference is 3.3.0_unpack.bat is used on Windows, 3.3.0_unpack.sh on Linux.
|
![]() |
![]() |
![]() |
#59 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 803
Karma: 1747774
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Here's a version of 3.3.0_unpack.sh that runs on Macs, and hopefully doesn't break on Linux.
The fix is trivial; mktemp takes different arguments. Linux's mktemp might even take the same arguments. Code:
case `uname -s` in Darwin) SCRATCH=`mktemp -d -t patch32lsb_XXXX` ;; Linux) SCRATCH=`mktemp -d --tmpdir patch32lsb_XXXX` ;; esac trap 'echo "Cleaning up $SCRATCH"; rm -r $SCRATCH' EXIT |
![]() |
![]() |
![]() |
#60 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
A patch32lsb executable is still needed to run it on a Mac though. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 10:02 PM |
Touch Patching nickel to leave the wifi active | schlecky | Kobo Developer's Corner | 4 | 01-23-2017 12:46 PM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 08:28 AM |
Instructions for patching firmware 3.1.1 | GeoffR | Kobo Developer's Corner | 64 | 04-18-2014 02:23 PM |