![]() |
#76 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,552
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
If you upgrade f/w you will have to repatch, and that can only happen when the patch gurus have created the patches for the new f/w. Then there is the possibility that a patch you love might not be possible in the new f/w.
|
![]() |
![]() |
![]() |
#77 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
For example, if you set the number of page turns per refresh to 10 using the `Custom page refresh options...` patch then the device will store that value in its configuration file and keep using it after the patch has gone, but if you try to change it again before you have patched the new firmware then the settings menu will only give you the options 1-6. |
|
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 13138
Join Date: Dec 2015
Device: Kobo mini/Glo HD
|
Is it possible to add "sort by Series" inside a collection? I'm not entirely sure how calibre generates the little series label.
To clarify I'm talking about the subtitle thats added when in calibre a series is set. For example: Harry Potter and the Chamber of Secrets | Harry Potter - 2 | J.K. Rowling |
![]() |
![]() |
![]() |
#79 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I think the only work-around is to add the series information to the title or author fields and sort on those. Personally though I think that is worse than just leaving them unsorted. so I use search to get a list of all books in a series (which is faster than using collections anyway) and just live with them being out of order. |
|
![]() |
![]() |
![]() |
#80 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 13138
Join Date: Dec 2015
Device: Kobo mini/Glo HD
|
Thanks for the quick reply! Then I'll hope that maybe a future firmware update will include this at some point.
Sent from my GT-I9195 using Tapatalk |
![]() |
![]() |
Advert | |
|
![]() |
#81 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
Hi there!
I'm currently running GalliumOS 2.0 (linux) and patching for Kobo Glo HD. In # 4 of instructions for patching it says "For Linux/Mac open a terminal, change to the patch_kobo_3195761/ subdirectory, and run ./3.19.5761.sh from the command line." I'm rather new to linux so I could use some help with this. How do I "change to the patch_kobo_3195761/ subdirectory" in terminal? Can I just drag and drop the .sh file into the terminal? Also, how do I run the .sh file in the command line? Once I drag and drop it into the terminal, do I just hit enter, or do I have to add something to the command? (UPDATE): I drag and dropped the .sh file into Xfce, and hit enter, which resulted in several lines of text in mousepad that ended with: echo "Creating KoboRoot.tgz ..." rm -rf $TARGET_DIR mkdir -p $TARGET_DIR tar cvzf $TARGET_DIR/KoboRoot.tgz --directory=$NEW $FILES_TO_PATCH It seems the KoboRoot.tgz was created, however, I cannot find the 3.19.5761_target/ subdirectory that contains the new .tgz file. Do I have to save this in mousepad in order to create the tgz file? If it was already created, where was it created...how do I locate it? Thanks :-) Last edited by superjoefly; 08-09-2016 at 05:36 PM. |
![]() |
![]() |
![]() |
#82 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Somewhere there will be an application called Terminal or Term or Shell or something like that, probably with a picture of a box with a command prompt inside. Run that to open the command-line terminal. In the command-line terminal, to change directory use the cd command. You need to enter the path to the place you unzipped the patch_kobo_3.19.5761.zip, if that was in your home directory then just type: Code:
cd ~/patch_kobo_3195761 Then to run the 3.19.5761.sh from the command line, just type: Code:
./3.19.5761.sh Last edited by GeoffR; 08-09-2016 at 11:48 PM. Reason: ~ refers to home directory, . refers to current directory |
|
![]() |
![]() |
![]() |
#83 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Mar 2010
Location: Sweden
Device: Kobo Libra 2
|
A suggestion: Would it be possible to list the patch names in the beginning of each patch file. with the option of enabling/disabling them there?
These patch files are quite long, so it would save a lot of scrolling when finding the patches to enable. Something like this: Disable_reading_footer = yes Custom_reading_footer_style = yes |
![]() |
![]() |
![]() |
#84 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Since some of the patches have warnings that should be read and customisation options to set, I am a bit wary about making it easy to enable patches without seeing those. |
|
![]() |
![]() |
![]() |
#85 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
Instructions for Patching - Linux
GeoffR, I did what you said and it opened in Mousepad with the following text:
#!/bin/sh FIRMWARE_VERSION=3.19.5761 SOURCE_DIR=${FIRMWARE_VERSION}_source TARGET_DIR=${FIRMWARE_VERSION}_target KOBO_FIRMWARE=$SOURCE_DIR/kobo-update-$FIRMWARE_VERSION.zip PATCH32LSB_SRC=tools/patch32lsb.c PATCH32LSB_BIN=tools/patch32lsb STAT="stat -c %a" set -e FILES_TO_PATCH="" for F in $SOURCE_DIR/*.patch; do FILES_TO_PATCH="$FILES_TO_PATCH ./usr/local/Kobo/`basename $F .patch`"; done case `uname -s` in Darwin) PATCH32LSB_BIN=tools/patch32lsb-Darwin STAT="stat -f %Lp" ;; Linux) case `uname -m` in i?86) PATCH32LSB_BIN=tools/patch32lsb-i386-Linux ;; x86_64) PATCH32LSB_BIN=tools/patch32lsb-x86_64-Linux ;; esac STAT="stat -c %a" ;; esac SCRATCH=`mktemp -d -t patch32lsb_XXXXXXXX` trap 'echo "Cleaning up $SCRATCH"; rm -r $SCRATCH' EXIT OLD=$SCRATCH/original; mkdir $OLD NEW=$SCRATCH/patched; mkdir $NEW echo "Extracting files to patch from $KOBO_FIRMWARE ..." unzip -p $KOBO_FIRMWARE KoboRoot.tgz | tar xvz --directory=$OLD $FILES_TO_PATCH for F in $FILES_TO_PATCH; do mkdir -p `dirname $NEW/$F`; $PATCH32LSB_BIN -p $SOURCE_DIR/`basename $F`.patch -i $OLD/$F -o $NEW/$F; chmod `$STAT $OLD/$F` $NEW/$F; done echo "Creating KoboRoot.tgz ..." rm -rf $TARGET_DIR mkdir -p $TARGET_DIR tar cvzf $TARGET_DIR/KoboRoot.tgz --directory=$NEW $FILES_TO_PATCH Is it supposed to open in Mousepad like this? "5. If there were no errors, copy the resulting KoboRoot.tgz from the 3.19.5761_target/ subdirectory to the .kobo directory on your ereader." I can't find the KoboRoot.tgz or the 3.19.5761_target/subdirectory...where is it located? Thanks again for your help :-) |
![]() |
![]() |
![]() |
#86 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
No. I guess mousepad is a text editor? You shouldn't open 3.19.5761.sh in a text editor. If it opened in mousepad when you double-clicked on 3.19.5761.sh then something is wrong with the your file associations, so you'll have to follow the instructions and run it from the command line.
Quote:
You might want to consider spending a bit more time getting familiar with your Linux system before you attempt patching though, it is hard to know where to begin explaining things if you don't know how to run a program. Edit: As an example, here is the detailed sequence of commands I would use, after downloading patch_kobo_3195761.zip and kobo-update-3.19.5761.zip using the web browser, and opening a command-line terminal. The numbers in [brackets] are the corresponding steps in the instructions in this thread. The pathnames might be different on your system, you will probably use a different text editor (mousepad instead of emacs maybe?), and you might do some of the steps from the desktop instead of from the command line. All Linux systems are different, but from the command line they are usually quite similar while from the desktop they can be totally unrecognisable. Code:
[1] unzip ~/Downloads/patch_kobo_3195761.zip [4] cd patch_kobo_3195761/ [2] cp ~/Downloads/kobo-update-3.19.5761.zip 3.19.5761_source/ [3] emacs 3.19.5761_source/*.patch [4] ./3.19.5761.sh [5] cp 3.19.5761_target/KoboRoot.tgz /media/KOBOeReader/.kobo/ [6] eject /media/KOBOeReader Last edited by GeoffR; 08-10-2016 at 12:28 PM. Reason: As an example ... |
|
![]() |
![]() |
![]() |
#87 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,856
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#88 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2016
Location: Houston, Texas, USA
Device: Kobo Glo HD
|
I tried changing the file association and also running the .sh file using different terminals to no avail. Sometimes I get the error "unexpected end of file" and sometimes nothing happens at all, depending on which terminal I'm using. Prior to this, I've had no problems using linux...so this has been frustrating...I'll probably just do the patch using windows...lol...thanks for your help :-)
EDIT: I finally got it to work in the linux terminal! I don't know what I did differently, but the KoboRoot.tgz file was created and as far as I can tell, there were no errors. EDIT 2: I completed the patch and it was successful. Thanks for your help :-) Last edited by superjoefly; 08-10-2016 at 04:08 PM. |
![]() |
![]() |
![]() |
#89 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,552
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@geoffr in your step by step instructions are you missing a chmod +x on the shell script?
|
![]() |
![]() |
![]() |
#90 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 05:20 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |