v79 fw 4.34.20097

master
Jay Logan 2022-09-26 00:41:13 -05:00
parent 18417e778b
commit 45410ef414
4 changed files with 105 additions and 74 deletions

View File

@ -1,5 +1,5 @@
## Sixthhokage1's kobopatch config
version: 4.32.19501
version: 4.34.20097
in: src/latest-elipsa.zip
out: out/KoboRoot.tgz
log: out/log.txt

View File

@ -886,7 +886,7 @@ Hide browser from beta features:
- Description: Hides the built-in browser from beta features.
- ReplaceBytes:
Base: "N3SettingsExtrasView::N3SettingsExtrasView(QWidget*)"
Offset: 1372
Offset: 1392
FindInstBLX: {SymPLT: "Device::isParentalControlEnabled() const"}
ReplaceH: 4F F0 01 00
- ReplaceBytes:
@ -1038,22 +1038,22 @@ Set visible SmartLink:
# 7 - KoboPlusFTE - kobo plus enabled && not subscribed - KOBO PLUS: Browse Kobo Plus books - kobo store -> kobo plus
# 8 - OverDrive - overdrive enabled && signed in && have hold - OVERDRIVE: View your public library holds - overdrive holds list
# ROTATION MESSAGES (randomly chosen): (SmartLinkWidget::showRotationMessage, ActivityManager::smartLinkGeneralMessage, SmartLinkWidget::tapped)
# 1 - Pocket - pocket not signed in - POCKET: Read articles from the web on your eReader - pocket about
# 2 - KoboPlus - kobo plus enabled && not subscribed - KOBO PLUS: Get unlimited access to books in all genres - kobo store -> kobo plus
# 2 - KoboPlus - kobo plus enabled && not subscribed - KOBO PLUS: Read as much as you want with a Kobo Plus subscription- kobo store -> kobo plus
# 3 - Overdrive - overdrive enabled && not signed in - OVERDRIVE: Borrow eBooks from your public library - overdrive about
# 4 - Categories - always - CATEGORIES: Browse fiction, romance, biography and more - kobo store -> categories
# 9 - NaturalLight - has light sensor && not viewed tutorial - DEVICE NAME: Learn about the Natural Light feature - rgb front light about
# 10 - QuickTour - quick tour not shown && quick turn tile not visible - GETTING STARTED: Get to know your %0 - quick tour
# 11 - ReadingTour - read a book tour not showed - READING A BOOK: Get quick tips about reading on your eReader - read a book tutorial
# 12 - UserGuide - user guide present && not opened - USER GUIDE: Read the user guide for your %0 - read -> user guide
# 13 - RelatedReads - recent book available from Activity - RELATED READS: Discover books related to the ones you're reading - browse -> similar books
# 14 - Wishlist - no wishlist items || something else - WISHLIST: Create a Wishlist of books you're interested in - browse -> wishlist
# 15 - ReadingSettings - reading settings not changed - READING SETTINGS: Customize the way you read a book - settings -> reading settings
# 16 - ReadingStats - books finished > 0 && hours read rounded to .5 > 0 - READING STATS: You've finished %n books and read for %n hours - reading life -> stats
# 17 - SuperPoints - participating in super points && points > 2400 - KOBO SUPER POINTS: You have %0 Super Points to redeem - kobo store
# 18 - PocketUser - unread pocket articles > 0 - POCKET: Catch up on the %n article(s) you added recently - library -> pocket
# 19 - Audiobooks - supports audiobooks && audiobooks enabled - AUDIOBOOKS: Get started with Audiobooks on your eReader - kobo store -> audiobooks
# 1 - Pocket - pocket not signed in - POCKET: Read articles from the web on your eReader - pocket about
# 2 - KoboPlus - kobo plus enabled && not subscribed - KOBO PLUS: Upgrade to a Kobo Plus Read & Listen subscription - kobo store -> kobo plus
# 2 - KoboPlus - kobo plus enabled && not subscribed - KOBO PLUS: Read as much as you want with a Kobo Plus subscription - kobo store -> kobo plus
# 3 - Overdrive - overdrive enabled && not signed in - OVERDRIVE: Borrow eBooks from your public library - overdrive about
# 4 - Categories - always - CATEGORIES: Browse fiction, romance, biography and more - kobo store -> categories
# 9 - NaturalLight - has light sensor && not viewed tutorial - DEVICE NAME: Learn about the Natural Light feature - rgb front light about
# 10 - QuickTour - quick tour not shown && quick turn tile not visible - GETTING STARTED: Get to know your %0 - quick tour
# 11 - ReadingTour - read a book tour not showed - READING A BOOK: Get quick tips about reading on your eReader - read a book tutorial
# 12 - UserGuide - user guide present && not opened - USER GUIDE: Read the user guide for your %0 - read -> user guide
# 13 - RelatedReads - recent book available from Activity - RELATED READS: Discover books related to the ones you're reading - browse -> similar books
# 14 - Wishlist - no wishlist items || something else - WISHLIST: Create a Wishlist of books you're interested in - browse -> wishlist
# 15 - ReadingSettings - reading settings not changed - READING SETTINGS: Customize the way you read a book - settings -> reading settings
# 16 - ReadingStats - books finished > 0 && hours read rounded to .5 > 0 - READING STATS: You've finished %n books and read for %n hours - reading life -> stats
# 17 - SuperPoints - participating in super points && points > 2400 - KOBO SUPER POINTS: You have %0 Super Points to redeem - kobo store
# 18 - PocketUser - unread pocket articles > 0 - POCKET: Catch up on the %n article(s) you added recently - library -> pocket
# 19 - Audiobooks - supports audiobooks && audiobooks enabled - AUDIOBOOKS: Get started with Audiobooks on your eReader - kobo store -> audiobooks
#
- BaseAddress: {Sym: "SmartLinkWidget::showRotationMessage(Device const&)", Rel: 20}
- ReplaceBytes: {FindInstBLX: {SymPLT: "ActivityManager::smartLinkGeneralMessage(Device const&)"}, ReplaceH: 4F F0 04 00} # MOV.W r0, #4
@ -1091,14 +1091,14 @@ Never show Kobo Plus, wishlist, and points SmartLinks:
- Description: Removes Kobo Plus, wishlist, and points SmartLinks from the rotation.
- BaseAddress: "ActivityManager::smartLinkGeneralMessage(Device const&)"
# NOP Kobo Plus (2):
- ReplaceBytes: {Offset: 286, FindH: 02 23, CheckOnly: true} # MOVS r3, #2
- ReplaceBytes: {Offset: 296, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 634, FindH: 02 23, CheckOnly: true} # MOVS r3, #2
- ReplaceBytes: {Offset: 644, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
# NOP wishlist (14):
- ReplaceBytes: {Offset: 260, FindH: 0E 23, CheckOnly: true} # MOVS r3, #14
- ReplaceBytes: {Offset: 270, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 608, FindH: 0E 23, CheckOnly: true} # MOVS r3, #14
- ReplaceBytes: {Offset: 618, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
# NOP super points (17):
- ReplaceBytes: {Offset: 1570, FindH: 11 23, CheckOnly: true} # MOVS r3, #17
- ReplaceBytes: {Offset: 1582, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
- ReplaceBytes: {Offset: 1492, FindH: 11 23, CheckOnly: true} # MOVS r3, #17
- ReplaceBytes: {Offset: 1504, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
###
@ -1334,7 +1334,7 @@ Customize ComfortLight settings:
# In an unnamed subroutine two layers into FrontLightPopupController::loadView
# (find it by going back from QTime::addSecs), the times for the dropdown are
# generated into a QVector<QPair<QString, QTime>> with a simple loop.
- BaseAddress: 0xCD4E34 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
- BaseAddress: 0xCDF204 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
#
# Change the initial hour / first bedtime dropdown item passed to the QTime
# constructor (mov r1, #21):

View File

@ -19,10 +19,26 @@ Disable orphans/widows avoidance:
Default ePub serif font (Amasis):
- Enabled: no
- Description: This patch changes the default ePub serif font from Georgia to Amasis.
# To use a different font, change "Amasis" in each of the replacement strings
# to another font name prefix (7 letters max.). For example, change "Amasis"
# to "Times" to use a sideloaded Times New Roman font.
- Description: |
This patch changes the default ePub serif font from Georgia to Amasis.
If the book's stylesheet specifies the generic 'font-family:serif;' then
the ePub reader will try to use the built-in system font Georgia.
Georgia is also the font you see if you select 'Publisher Default' from
the Kobo [Aa] menu and your epub has not specified any particular font.
This patch allows you to change the default to a different serif font
(built-in or sideloaded).
N.B. This patch does not affect kepubs.
# fw 4.32.19501: The font-family name in Replace: must now be the WHOLE name
# not just the first few characters of the name.
# To use a different font, change "Amasis" in each replacement string
# to another font name (7 characters max).
# For example, change "Amasis" to "Bitter" to use a sideloaded Bitter font.
#
# If your new font name is longer than 7 chars you would need to:
# - Use a font editor to shorten the internal font-family name to <= 7 chars
# - Rename the 4 font filenames to match the new shortened name
# - Copy the 4 renamed font files into the Kobo sideloaded fonts folder
- FindReplaceString: {Find: "/normal/Georgia", Replace: "/normal/Amasis"}
- FindReplaceString: {Find: "/bold/Georgia", Replace: "/bold/Amasis"}
- FindReplaceString: {Find: "/italic/Georgia", Replace: "/italic/Amasis"}
@ -30,14 +46,30 @@ Default ePub serif font (Amasis):
Default ePub sans-serif font (Gill Sans):
- Enabled: no
- Description: This patch changes the default ePub sans-serif font from Avenir to Gill Sans.
# To use a different font, change "Gill" in the replacement string to another
# font name prefix (6 letters max.). For example change "Gill" to "Trebuc" to
# use a sideloaded Trebuchet font.
- FindReplaceString: {Find: "/normal/Avenir", Replace: "/normal/Gill"}
- FindReplaceString: {Find: "/bold/Avenir", Replace: "/bold/Gill"}
- FindReplaceString: {Find: "/italic/Avenir", Replace: "/italic/Gill"}
- FindReplaceString: {Find: "/bolditalic/Avenir", Replace: "/bolditalic/Gill"}
- Description: |
This patch changes the default ePub sans-serif font from
'Avenir Next' to 'Gill Sans'.
If the book's stylesheet specifies the generic 'font-family:sans-serif;' then
the ePub reader will try to use the built-in system font 'Avenir Next'.
This patch allows you to change the default to a different sans-serif font
(built-in or sideloaded).
N.B. This patch does not affect kepubs.
# fw 4.32.19501: The font-family name in Replace: must now be the WHOLE name
# not just the first few characters of the name.
# To use a different font, change "Gill%20Sans" in each replacement string
# to another font name (13 characters max).
# For example change "Gill%20Sans" to "Trebuchet" to use a sideloaded Trebuchet font.
# The 3-char string, %20, represents a single space in the font-family name.
#
# If your new font name is longer than 13 chars you would also need to:
# - Use a font editor to shorten the internal font-family name to <= 13 chars
# - Rename the 4 font filenames to match the new shortened name
# - Copy the 4 renamed font files into the Kobo sideloaded fonts folder
- FindReplaceString: {Find: "/normal/Avenir%20Next", Replace: "/normal/Gill%20Sans"}
- FindReplaceString: {Find: "/bold/Avenir%20Next", Replace: "/bold/Gill%20Sans"}
- FindReplaceString: {Find: "/italic/Avenir%20Next", Replace: "/italic/Gill%20Sans"}
- FindReplaceString: {Find: "/bolditalic/Avenir%20Next", Replace: "/bolditalic/Gill%20Sans"}
Default ePub symbol font (Symbol):
- Enabled: no
@ -115,24 +147,23 @@ Default ePub monospace font:
- Enabled: no
- Description: |
Updated for fw 4.19.14123:
This patch only affects standard ePub, not kepub.
The Kobo firmware doesn't include a monospace font, you need to sideload one.
If the book's stylesheet specifies font-family:monospace;
then the ePub reader will try to use the "Courier" font.
If the book's stylesheet specifies the generic font-family:monospace;
then the ePub reader will try to use the 'Courier' font.
N.B. This patch does not affect kepubs.
Unpatched the EPUB reader will now use any installed font with
a name beginning "Courier" as the default monospace font.
e.g. CourierStd or
Courier Prime, available at http://quoteunquoteapps.com/courierprime)
If your sideloaded monospace fontname does not start with "Courier" then
enable this patch and change "Courier" in the replacement string to
another font name prefix (7 letters max.). For example, change
`normal/Courier` to `normal/Dark`, `bold/Courier` to `bold/Dark`, etc. to
use HP's Dark Courier font available at
http://h20000.www2.hp.com/hpsc/swd/public/detail?swItemId=lj611en
- FindReplaceString: {Find: "/normal/Courier", Replace: "/normal/Dark"}
- FindReplaceString: {Find: "/bold/Courier", Replace: "/bold/Dark"}
- FindReplaceString: {Find: "/italic/Courier", Replace: "/italic/Dark"}
- FindReplaceString: {Find: "/bolditalic/Courier", Replace: "/bolditalic/Dark"}
# fw 4.32.19501: A font whose name begins with 'Courier' e.g. 'Courier Prime'
# will no longer be recognised as the default monospace font for epub.
# The font-family name must now be exactly 'Courier'.
# You do not need this patch if you have already installed a font
# named 'Courier' in the Kobo sideloaded fonts folder.
# The only users who might want this patch are those whose preferred
# sideloaded monospace font has a name other than 'Courier' and whose
# font-family name is <= 7 characters.
#
# To use a different font, change 'Courier' in each of the Replace: strings
# to another sideloaded font name (7 characters max).
- FindReplaceString: {Find: "/normal/Courier", Replace: "/normal/Courier"}
- FindReplaceString: {Find: "/bold/Courier", Replace: "/bold/Courier"}
- FindReplaceString: {Find: "/italic/Courier", Replace: "/italic/Courier"}
- FindReplaceString: {Find: "/bolditalic/Courier", Replace: "/bolditalic/Courier"}

View File

@ -218,16 +218,15 @@ Custom collection/author header title font:
fw 4.17.13694 rewritten by jackie_w to replace
oren64's patch "Custom font to collection and author titles"
fw 4.23.15505 Author/Series/Collection list headers no longer forced to uppercase
The optional font-family changes in this patch may not work correctly on 4.31.19501.
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
font-family in a kobopatch is now very limited.
- FindZlib: "#scrollContainer[containerSpacing=true]" # qss/DragonLibraryView.qss
- ReplaceZlibGroup:
Replacements:
# #header #headerTitle Change font-family, font-size
#
# Change font-family.
# Note: If new font-family name contains spaces wrap in 'single quotes'
# e.g. 'Kobo Nickel'
# Change font-family. The only custom font-family values now likely to have any effect
# are Georgia, Avenir and possibly(?) some of the built-in CJK fonts
# Un-comment & edit next line to change font-family
#- {Find: "font-family: Avenir;", Replace: "font-family: Georgia;"}
#
@ -288,15 +287,17 @@ Custom header/footer captions:
N.B: This patch is not suitable for Japanese/Chinese locale users
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
separately from AuraHD/H2O.
fw 4.29.18730 No longer possible to style header/footer separately,
fw 4.29.18730 No longer possible to style header/footer separately.
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
font-family in a kobopatch is now very limited.
The optional font-family changes in this patch may not work correctly on 4.32.19501.
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
- ReplaceZlibGroup:
Replacements:
# Part 1: Customise font-family (built-in or sideloaded font)
# Part 1: Customise font-family
# #caption
# If new font-family contains spaces wrap in 'single quotes', e.g. 'Kobo Nickel'
# The only custom font-family values now likely to have any effect are Georgia, Avenir
# and possibly(?) some of the built-in CJK fonts
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"}
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir; background:transparent;"}
@ -374,8 +375,8 @@ Custom page navigation scrubber:
This patch allows you to customise various parts of the new 'scrubber'. Full details & screenshots at:
https://www.mobileread.com/forums/showpost.php?p=3897174&postcount=3
N.B: This patch is not suitable for Japanese/Chinese locale users
The optional font-family changes in this patch may not work correctly on 4.32.19501.
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
font-family in a kobopatch is now very limited.
- FindZlib: "#scrubberContainer" # qss/ReadingMenuScrubberView.qss
- ReplaceZlibGroup:
Replacements:
@ -407,9 +408,8 @@ Custom page navigation scrubber:
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
# 1b. Customise other font properties of these 3 buttons (all models):
# - font-family (built-in or sideloaded font)
# NB: If new font-family name contains spaces, wrap in 'single quotes',
# e.g. font-family:'Kobo Nickel';
# - font-family. The only custom font-family values now likely to have any effect
# are Georgia, Avenir and possibly(?) some of the built-in CJK fonts
# - font-weight (bold or normal)
# - font-style (italic or normal)
- Find: "{\n font-family: Avenir;\n font-weight: bold;\n font-style: normal;\n}"
@ -455,8 +455,8 @@ Customise Header back button:
- Enabled: no
- Description: |
Customise in-book button (top left corner) for 'Back to Home', 'Back to My Books' etc
The optional font-family changes in this patch may not work correctly on 4.32.19501.
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
font-family in a kobopatch is now very limited.
- FindZlib: "#ReadingMenuView" # qss/ReadingMenuView.qss
- ReplaceZlibGroup:
Replacements:
@ -625,7 +625,7 @@ Remove forgot pin button from lock screen:
Removes the Forgot PIN -> Sign Out button from the lock screen.
If this is enabled and you forget your pin, you will need to
hard reset your Kobo.
- BaseAddress: 0x17E95C6 # qss/PinCodeInputDialog.qss
- BaseAddress: 0x17F23D9 # qss/PinCodeInputDialog.qss
- ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
@ -633,7 +633,7 @@ Remove forgot pin button from lock screen:
Increase size of kepub chapter progress chart:
- Enabled: no
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
- BaseAddress: 0x17EF921 # qss/ReadingMenuStatsView.qss
- BaseAddress: 0x17F4EBE # qss/ReadingMenuStatsView.qss
- ReplaceZlibGroup:
Replacements:
# Top padding is already set to 15px, 25px, 33px, vertical aligned to middle.