06-20-2021, 04:10 PM | #736 |
Member
Posts: 21
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
|
Hello,
I have a problem with my 'Larger Sleep/Power-off timeouts' patch. I don't know if this is the right place to post this, but I didn't find anywhere else. Anyway, here it is: I use kobopatch_4.26.16704 to go with my Libra H2O and I used the site 'kobopatch' to set up 'Larger Sleep/Power-off timeouts' to the values I wanted, here's the URL: https://pgaskin.net/kobopatch-patche...65,193,220,248 I copy/pasted the results in my 'libnickel' file and then used the overrides in kobopatch.yaml to enable it, here it is: Code:
Larger Sleep/Power-off timeouts:
- Enabled: no
- PatchGroup: Sleep/Power-off timeouts
- Description: |
Increase the available sleep/power-off timeouts to larger values (up to a
few weeks). To customize this patch, see https://pgaskin.net/kobopatch-patches/lgrpwroff-15505.html .
IMPORTANT - Although this patch has been tested by multiple users and
confirmed to be working, the interaction between the RTC timer and Nickel
has many moving parts. As reported by JSWolf on MR, this patch might have
issues with actually powering-off with timeouts longer than a day. The
cause is likely to be the auto-sync interval or sleepcover causing the
timer to be overridden/reset every day. Nevertheless, this patch should
work reliably for timeouts under 12 hours, and probably under 1 day.
If you are using this patch with timeouts above 12 hours, and can confirm
if it works/doesn't work, please PM me or comment on GitHub with your
setting values, sleepcover or not, auto-sync interval, wifi on/off, firmware
version, and Kobo model.
See https://github.com/pgaskin/kobopatch-patches/issues/28#issuecomment-537161827
for more details about this.
# Multiplier in N3PowerWorkflowManager::configureWakeup
- ReplaceBytesAtSymbol: {Symbol: "N3PowerWorkflowManager::configureWakeup(AlarmControl*, int, char const*)", Offset: 12, FindH: 04 FB 05 F5, ReplaceH: 4F EA 05 45} # mul r5(dest), r4(multiplier), r5(mins) -> lsl r5, r5, #16
# Multiplier in N3PowerWorkflowManager::pollBattery
- ReplaceBytesAtSymbol: {Symbol: "N3PowerWorkflowManager::pollBattery()", Offset: 106, FindH: 08 FB 00 F8, ReplaceH: 4F EA 00 48} # mul r8(dest), r8(multiplier), r0(mins) -> lsl r8, r0, #16
- ReplaceBytesAtSymbol: {Symbol: "N3PowerWorkflowManager::pollBattery()", Offset: 156, FindH: 02 FB 00 F2, ReplaceH: 4F EA 00 42} # mul r2(dest), r2(multiplier), r0(mins) -> lsl r2, r0, #16
# Menu text
- FindBaseAddressString: "5 mins\0"
- ReplaceString: {Offset: 0, Find: "5 mins\0", Replace: "1h0m"}
- ReplaceString: {Offset: 8, Find: "10 mins", Replace: "2h0m"}
- ReplaceString: {Offset: 16, Find: "15 mins", Replace: "3h0m"}
- ReplaceString: {Offset: 24, Find: "30 mins", Replace: "3h30m"}
- ReplaceString: {Offset: 32, Find: "45 mins", Replace: "4h0m"}
- ReplaceString: {Offset: 38, Find: "60 mins", Replace: "4h30m"}
# Values (see https://www.mobileread.com/forums/showpost.php?p=3887105)
- FindBaseAddressSymbol: "N3SettingsPowerView::initChoices()"
- ReplaceInt: {Offset: 11, Find: 5, Replace: 55}
- ReplaceInt: {Offset: 465, Find: 5, Replace: 55}
- ReplaceInt: {Offset: 99, Find: 10, Replace: 110}
- ReplaceInt: {Offset: 525, Find: 10, Replace: 110}
- ReplaceInt: {Offset: 159, Find: 15, Replace: 165}
- ReplaceInt: {Offset: 583, Find: 15, Replace: 165}
- ReplaceInt: {Offset: 219, Find: 30, Replace: 193}
- ReplaceInt: {Offset: 641, Find: 30, Replace: 193}
- ReplaceInt: {Offset: 279, Find: 45, Replace: 220}
- ReplaceInt: {Offset: 699, Find: 45, Replace: 220}
- ReplaceInt: {Offset: 339, Find: 60, Replace: 248}
- ReplaceInt: {Offset: 755, Find: 60, Replace: 248}
Spoiler:
It seems to be unable to find a symbol but I have no idea of how to fix the mistake or even from where it came from. Thank you so much for any reply! |
06-20-2021, 04:50 PM | #737 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
Download kobopatch_4.26.16704 again and replace only part
Spoiler:
Only this part, not all.
Last edited by Semwize; 06-20-2021 at 04:59 PM. |
Advert | |
|
06-22-2021, 06:34 PM | #738 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2018
Device: Nook Simple Touch (rooted), Kobo Glo
|
Anyone have any luck overwriting the CJK fallback fonts? I'm getting steadily more annoyed by the missing Simplified Chinese characters in the titles of some of my books (see screenshot) and decided to try to do something about it.
What I tried: kobopatch.yaml Code:
# Fonts src/cjksans.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KBJ-UDKakugoPr6N-M.ttf src/cjkserif.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KBJ-TsukuMinPr6N-RB.ttf Code:
Add title fallback fonts: - Enabled: yes - Description: | Add CJK fallback fonts for titles - BaseAddress: 0x14C8B81 - ReplaceZlibGroup: Replacements: # Change the replacement values to your desired width (I've made it half the default width as an example). - {Find: "font-family: Georgia;", Replace: "font-family: Georgia, CJKSerif;"} - {Find: "font-family: Avenir;", Replace: "font-family: Avenir, CJKSans;"} - BaseAddress: 0x14C9E23 - ReplaceZlibGroup: Replacements: # Change the replacement values to your desired width (I've made it half the default width as an example). - {Find: "font-family: Georgia;", Replace: "font-family: Georgia, CJKSerif;"} - {Find: "font-family: Avenir;", Replace: "font-family: Avenir, CJKSans;"} I have a Glo and am happy to pop open the case and mount the internal SD card to investigate if it helps at all. |
06-22-2021, 11:54 PM | #739 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
You only change the filename without changing the font name in the Font Info. Therefore, nickel does not see it.
I once added missing glyphs to Georgia (not Japanese alphabet characters) for the sake of testing, and it worked great. |
06-23-2021, 04:15 PM | #740 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2018
Device: Nook Simple Touch (rooted), Kobo Glo
|
Quote:
And like I said, I think with Georgia it was a filesize issue - so if you were only adding a handful of missing glyphs it was probably fine. But adding the thousands of CJK glyphs (well, CJ, mostly, as I don't need hangul support) makes the filesize go from like ~200kb to ~12mb. My two modified fonts are much closer (within a mb or two) of the existing CJK fonts which is why I went with overwriting them. |
|
Advert | |
|
06-23-2021, 05:04 PM | #741 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
I don’t know what these fonts are, haven’t come across them. If they display well the Latin alphabet, try replacing Georgia with one of these fonts. By changing the filename and font name in info.
|
07-07-2021, 11:57 AM | #742 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2021
Device: Kobo Forma
|
So far, kobopatch and nickel menu are absolutely great add-ons to my Kobo e-reader.
I got one feature request for kobopatch. Some "updates" (from Kobo themselves) ago, they added the "feature" that when you select text, it automatically marks it. I absolutely hate this so called feature and feel like it is just not very thought out. I would love to see a way to disable this feature and return it to the way it was before: after you selected text, you could click "mark selection" to mark it, instead of automatically marking it. (I am not sure whether to make this request here or on Github, let me know which one I am supposed to use.) Last edited by Masqueey; 07-07-2021 at 11:59 AM. Reason: Added the question about where to post this feature request. |
07-17-2021, 06:02 PM | #743 | ||
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
The initial post in this thread is currently a bit out of date (I didn't have time to read the recent replies from the last month), but I'm going to fix that soon after I finish the next kobopatch-patches release. |
||
07-31-2021, 03:57 PM | #744 |
Addict
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
|
For some bizarre reason, the Elipsa doesn't list recently used notebooks in the Home Screen. As a workaround, is it possible to make My Notebooks the default page when starting Nickel, instead of Home?
That way it is much faster for me to go from KOReader to my notebooks and back. Thanks in advance. |
08-09-2021, 01:23 PM | #745 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2010
Device: Kobo Libra 2, Kobo Elipsa
|
I don't know if this is possible, but I figured I'd ask anyway:
I have an Elipsa. I find that the PDF/CBZ viewer works mostly fine for my purposes, however, every so often I'd like to be able to quickly zoom in. I noted that double-tapping the screen gives a 200% zoom that allows me to page around to each corner of the image by swiping in the direction I'd like to go (something like my Kindle's Panel View), but the default zoom in this mode is just way, way too high to be terribly useful. I was wondering: would it be possible to keep this functionality (double-tap to zoom, swipe to page around to each corner without needing to drag) but also be able to define a custom zoom level? edit: just to be clear, I know about KOReader, but I really don't like it very much. It renders some of my PDFs very oddly, and the speed increase isn't really that big a thing for me. |
08-10-2021, 04:45 PM | #746 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Octogenarihexate: We'd be mildly intersted in what you mean by "oddly", ideally with matching test cases .
|
08-13-2021, 11:58 AM | #747 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2010
Device: Kobo Libra 2, Kobo Elipsa
|
Quote:
The request still stands, as I like to use the pen to mark up my PDFs and I don't think KOReader supports that as of yet? |
|
08-13-2021, 03:20 PM | #748 | |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
Yep, the pen is just a fancy pointer right now. |
|
10-04-2021, 09:22 AM | #749 |
Custom User Title
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
While not a huge priority, could there be a patch so that the Kobo Store's book description/synopsis doesn't replace a user-loaded one when wifi is turned on?
Thanks |
10-25-2021, 04:04 PM | #750 |
Guru
Posts: 669
Karma: 2345678
Join Date: Apr 2016
Location: USA
Device: ✍️🏝️♎️ Kobo Clara 2E
|
I have applied the header/footer font patch, so now I have the book title and chapter in Georgia but the page number, X of Y, is still in Avenir.
Is there a way to make all in-book header/footer items the same font? And, I know this is probably impossible, but, is it possible to add pinch to zoom for changing font sizes? I know it's available in KOReader (iirc) but I don't like using KOReader. Last edited by Pjama; 10-25-2021 at 04:05 PM. Reason: To add an apostrophe |
Tags |
kobopatch, patches, patching, request, requests |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request for PW3 kernel [posted in another thread] | mustdie | Kindle Developer's Corner | 5 | 10-21-2015 04:28 PM |
Kobobooks.com future feature request thread | Mrs_Often | Kobo Reader | 47 | 11-08-2012 11:59 AM |
[Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 07:52 PM |
Feature request thread? | Dahak | Calibre | 1 | 08-02-2009 12:51 AM |
3rd party software request thread | Adam B. | iRex | 23 | 11-28-2008 01:08 PM |