Compare commits

...

3 Commits

8 changed files with 84840 additions and 34658 deletions

View File

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

View File

@ -1,7 +1,7 @@
# modified from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh # modified from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh
echo "Uncompressing tarballs" echo "Uncompressing tarballs"
gunzip -c bin/KFmon.tgz > KFMon.tar gunzip -c src/KFmon.tgz > KFMon.tar
gunzip -c out/KoboRoot.tgz > KoboPatch.tar gunzip -c out/KoboRoot.tgz > KoboPatch.tar
echo "Merging tarballs" echo "Merging tarballs"
tar -Avf KFMon.tar KoboPatch.tar tar -Avf KFMon.tar KoboPatch.tar

View File

@ -1,7 +1,7 @@
# modified from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh # modified from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh
echo "Uncompressing tarballs" echo "Uncompressing tarballs"
gunzip -c bin/NM.tgz > NM.tar gunzip -c src/NM.tgz > NM.tar
gunzip -c out/KoboRoot.tgz > KoboPatch.tar gunzip -c out/KoboRoot.tgz > KoboPatch.tar
echo "Merging tarballs" echo "Merging tarballs"
tar -Avf NM.tar KoboPatch.tar tar -Avf NM.tar KoboPatch.tar

View File

@ -1,7 +1,21 @@
# Main menu
menu_item : main : Connect USB : nickel_misc : force_usb_connection menu_item : main : Connect USB : nickel_misc : force_usb_connection
menu_item : main : Force Wifi : nickel_setting : toggle:force_wifi menu_item : main : Force Wifi : nickel_setting : toggle:force_wifi
menu_item : main : eLending Library : nickel_open : store:overdrive menu_item : main : eLending Library : nickel_open : store:overdrive
menu_item : main : Pocket Articles: nickel_open : library:pocket menu_item : main : Pocket Articles: nickel_open : library:pocket
menu_item : main : Browser : nickel_browser : menu_item : main : Browser : nickel_browser :
menu_item : main : IP Address : cmd_output : 500 : /sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'
# Reader menu
menu_item : reader : Browser : nickel_browser : modal menu_item : reader : Browser : nickel_browser : modal
# Library menu
menu_item : library : Import books : nickel_misc : rescan_books_full
# Selection menu
menu_item : selection_search : Search DuckDuckGo : nickel_browser : modal : https://duckduckgo.com/?q={1|S|%}
# Browser menu
menu_item : browser : Nickel Home : nickel_misc : home menu_item : browser : Nickel Home : nickel_misc : home
menu_item : browser : Open Pop-Up : nickel_browser : modal
menu_item : browser : Invert Screen : nickel_setting : toggle : invert

File diff suppressed because it is too large Load Diff

View File

@ -6,5 +6,5 @@ Remove PDF map widget shown during panning:
- BaseAddress: {Sym: "N3AdobeReader::showMapWidget()"} - BaseAddress: {Sym: "N3AdobeReader::showMapWidget()"}
# tail: N3AdobeReader::updatePanningMap() -> N3AdobeReader::hideMapWidget() # tail: N3AdobeReader::updatePanningMap() -> N3AdobeReader::hideMapWidget()
# TODO: figure out what broke the plt parsing in kobopatch for libadobe in 18730+ # TODO: figure out what broke the plt parsing in kobopatch for libadobe in 18730+
- ReplaceBytes: {Offset: 80, FindInstBW: 0x1BEDC, ReplaceInstBW: 0x1B1EC} - ReplaceBytes: {Offset: 80, FindInstBW: 0x1C134, ReplaceInstBW: 0x1B42C}
- ReplaceBytes: {Offset: 192, FindInstBW: 0x1BEDC, ReplaceInstBW: 0x1B1EC} - ReplaceBytes: {Offset: 192, FindInstBW: 0x1C134, ReplaceInstBW: 0x1B42C}

View File

@ -819,7 +819,7 @@ Both page turn sides go next:
- Enabled: no - Enabled: no
- Description: Make both page turn sides go next in the reader. - Description: Make both page turn sides go next in the reader.
# In ReadingView::processTap(TapGesture*) where the page direction is checked: # In ReadingView::processTap(TapGesture*) where the page direction is checked:
- BaseAddress: {Sym: "ReadingView::processTap(TapGesture*)", Rel: 560} - BaseAddress: {Sym: "ReadingView::processTap(TapGesture*)", Rel: 564}
- ReplaceBytes: {Offset: 0, FindInstBLX: {SymPLT: "ReadingView::leftToRightPageProgressDirection() const"}, CheckOnly: true} - ReplaceBytes: {Offset: 0, FindInstBLX: {SymPLT: "ReadingView::leftToRightPageProgressDirection() const"}, CheckOnly: true}
# nop the branch for checking if left-to-right (so it always runs the swap of back/forward) # nop the branch for checking if left-to-right (so it always runs the swap of back/forward)
- ReplaceBytes: {Offset: 4, FindH: 18 B9, ReplaceInstNOP: true} - ReplaceBytes: {Offset: 4, FindH: 18 B9, ReplaceInstNOP: true}
@ -1334,7 +1334,7 @@ Customize ComfortLight settings:
# In an unnamed subroutine two layers into FrontLightPopupController::loadView # In an unnamed subroutine two layers into FrontLightPopupController::loadView
# (find it by going back from QTime::addSecs), the times for the dropdown are # (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. # generated into a QVector<QPair<QString, QTime>> with a simple loop.
- BaseAddress: 0xCDF204 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii - BaseAddress: 0xCED04C # 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 # Change the initial hour / first bedtime dropdown item passed to the QTime
# constructor (mov r1, #21): # constructor (mov r1, #21):

View File

@ -542,18 +542,23 @@ Increase headlines font:
New home screen subtitle custom font: New home screen subtitle custom font:
- Enabled: no - Enabled: no
- Description: | - Description: |
Increase subtitle font size, font color black. On the Home screen:
Subtitle examples are the grey text captions containing: Change upper label font-size
Change subtitle (lower label) font size and/or font colour.
Upper label example is the black text caption
- 'x% Read' - top row
- 'My Books' - middle row
Subtitle (lower label) examples are the grey text captions containing:
- 'x HOURS TO GO' for kepubs (not shown for epubs) - top row - 'x HOURS TO GO' for kepubs (not shown for epubs) - top row
- 'x BOOKS' under 'My Books' - middle row - 'x BOOKS' under 'My Books' - middle row
Works best when used with with patch `Increase home screen cover size` Works best when used with with patch `Increase home screen cover size`
- FindZlib: "#homeWidgetTopContainer" # qss/GenericHomeWidget.qss - FindZlib: "#homeWidgetTopContainer" # qss/GenericHomeWidget.qss
- ReplaceZlibGroup: - ReplaceZlibGroup:
Replacements: Replacements:
# Change subtitle font colour from mid-grey to black # Change subtitle (lower label) font colour from mid-grey to black
- {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"} - {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
# #
# Increase subtitle font-size # Change subtitle (lower label) font-size (e.g. time remaining in book)
# Touch/Mini (Trilogy) # Touch/Mini (Trilogy)
- Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}" - Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}" Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
@ -569,6 +574,23 @@ New home screen subtitle custom font:
# AuraONE/Forma/Sage/Elipsa (Daylight) # AuraONE/Forma/Sage/Elipsa (Daylight)
- Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}" - Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}" Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
#
# Change upper label (black) font-size (e.g. % Read)
# Touch/Mini (Trilogy)
- Find: "RegularElidedLabel[qApp_deviceIsTrilogy=true] {\n font-size: 21px;\n}"
Replace: "RegularElidedLabel[qApp_deviceIsTrilogy=true] {\n font-size: 21px;\n}"
# Glo/Aura/Aura2E/Nia (Phoenix)
- Find: "RegularElidedLabel[qApp_deviceIsPhoenix=true] {\n font-size: 26px;\n}"
Replace: "RegularElidedLabel[qApp_deviceIsPhoenix=true] {\n font-size: 26px;\n}"
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD (Dragon)
- Find: "RegularElidedLabel[qApp_deviceIsDragon=true] {\n font-size: 36px;\n}"
Replace: "RegularElidedLabel[qApp_deviceIsDragon=true] {\n font-size: 36px;\n}"
# LibraH2O/Libra2 (Storm)
- Find: "RegularElidedLabel[qApp_deviceIsStorm=true] {\n font-size: 42px;\n}"
Replace: "RegularElidedLabel[qApp_deviceIsStorm=true] {\n font-size: 42px;\n}"
# AuraONE/Forma/Sage/Elipsa (Daylight)
- Find: "RegularElidedLabel[qApp_deviceIsDaylight=true] {\n font-size: 47px;\n}"
Replace: "RegularElidedLabel[qApp_deviceIsDaylight=true] {\n font-size: 47px;\n}"
Remove footer (row3) and increase cover size on new home screen: Remove footer (row3) and increase cover size on new home screen:
- Enabled: no - Enabled: no
@ -625,7 +647,7 @@ Remove forgot pin button from lock screen:
Removes the Forgot PIN -> Sign Out button from the 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 If this is enabled and you forget your pin, you will need to
hard reset your Kobo. hard reset your Kobo.
- BaseAddress: 0x17F23D9 # qss/PinCodeInputDialog.qss - BaseAddress: 0x18034F1 # qss/PinCodeInputDialog.qss
- ReplaceZlib: - ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}" Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}" Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
@ -633,7 +655,7 @@ Remove forgot pin button from lock screen:
Increase size of kepub chapter progress chart: Increase size of kepub chapter progress chart:
- Enabled: no - Enabled: no
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011). - Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
- BaseAddress: 0x17F4EBE # qss/ReadingMenuStatsView.qss - BaseAddress: 0x17FE128 # qss/ReadingMenuStatsView.qss
- ReplaceZlibGroup: - ReplaceZlibGroup:
Replacements: Replacements:
# Top padding is already set to 15px, 25px, 33px, vertical aligned to middle. # Top padding is already set to 15px, 25px, 33px, vertical aligned to middle.