-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patches for 4.22.15268 #67
Comments
Not too much to update for the patches.
|
So, this release only adds Nia-specific stuff and possible some bugfixes, but almost certainly not new features (other than for the Nia itself, as this firmware version is probably to bring the factory version up to date with the current features). And, the Nia is Luna.
|
Nia stuff (pgaskin/kobo-plugin-experiments#11): Device ID: 482 |
There isn't anything new in the CSS other than doing the same thing with the games as the other newer devices.
|
I'm going to start working on the patches themselves now. |
This was probably the simplest update so far:
$ git diff --no-index src/versions/4.22.* diff --git a/src/versions/4.22.15190/libnickel.so.1.0.0.yaml/geoffr.yaml b/src/versions/4.22.15268/libnickel.so.1.0.0.yaml/geoffr.yaml
index ea3f795..bfd5815 100644
--- a/src/versions/4.22.15190/libnickel.so.1.0.0.yaml/geoffr.yaml
+++ b/src/versions/4.22.15268/libnickel.so.1.0.0.yaml/geoffr.yaml
@@ -317,8 +317,8 @@ Set KePub hyphenation:
will always be turned on, regardless of justification button setting.
(The publisher can still turn hyphenation off/on in the book's stylesheet.)
- - ReplaceBytes: {Offset: 0xB7FEEA, FindInstBLX: {SymPLT: "QString::operator==(QLatin1String) const"}, ReplaceH: 01 20 01 20} # Alternative 1: Always turn KePub hyphenation on
-# - ReplaceBytes: {Offset: 0xB7FEEA, FindInstBLX: {SymPLT: "QString::operator==(QLatin1String) const"}, ReplaceH: 00 20 00 20} # Alternative 2: Never turn KePub hyphenation on
+ - ReplaceBytes: {Offset: 0xB801D2, FindInstBLX: {SymPLT: "QString::operator==(QLatin1String) const"}, ReplaceH: 01 20 01 20} # Alternative 1: Always turn KePub hyphenation on
+# - ReplaceBytes: {Offset: 0xB801D2, FindInstBLX: {SymPLT: "QString::operator==(QLatin1String) const"}, ReplaceH: 00 20 00 20} # Alternative 2: Never turn KePub hyphenation on
Force user line spacing in KePubs:
- Enabled: no
@@ -534,5 +534,5 @@ Set font scale factor:
# Original value X=14, so original scale factor is (font size slider) / 46.
# Allowed replacement values for X: 0-15 (smaller X --> larger scale factor)
# Note: vmov.f32 s1, #15.0 before getReadingFontSizeScaleFactor
- - ReplaceInt: {Offset: 0x5773AC, Find: 14, Replace: 4} # ePub
- - ReplaceInt: {Offset: 0xB7FAC0, Find: 14, Replace: 4} # KePub
+ - ReplaceInt: {Offset: 0x577624, Find: 14, Replace: 4} # ePub
+ - ReplaceInt: {Offset: 0xB7FDA8, Find: 14, Replace: 4} # KePub
diff --git a/src/versions/4.22.15190/libnickel.so.1.0.0.yaml/pgaskin.yaml b/src/versions/4.22.15268/libnickel.so.1.0.0.yaml/pgaskin.yaml
index 6da7e6d..369560f 100644
--- a/src/versions/4.22.15190/libnickel.so.1.0.0.yaml/pgaskin.yaml
+++ b/src/versions/4.22.15268/libnickel.so.1.0.0.yaml/pgaskin.yaml
@@ -518,13 +518,13 @@ Allow rotation on all devices:
Unlike only the DeveloperSettings ForceAllowLandscape option, this patch
also makes the rotation icon show on the new reader as well.
# Always return true for ForceAllowLandscape:
- - ReplaceBytes: {Offset: 0x76745E, FindInstBLX: {SymPLT: "QVariant::toBool() const"}, ReplaceH: 4F F0 01 00}
+ - ReplaceBytes: {Offset: 0x76783E, FindInstBLX: {SymPLT: "QVariant::toBool() const"}, ReplaceH: 4F F0 01 00}
# In ReadingMenuView::ReadingMenuView, replace the value of Device::hasOrientationSensor,
# which is passed to a function to hide/show the rotate icon:
- - ReplaceBytes: {Offset: 0xB96E72, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
+ - ReplaceBytes: {Offset: 0xB971BA, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
# Also fix sizing of popup by doing the same in RotatePopup::RotatePopup, but
# note that this will make the Automatic option show too (and do nothing):
- - ReplaceBytes: {Offset: 0xBB30CE, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
+ - ReplaceBytes: {Offset: 0xBB33DE, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
Don't uppercase header/footer text:
- Enabled: no
@@ -634,7 +634,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: 0xADA8B0 # find by the x-ref to _ZN5QTimeC1Eiiii from an unnamed sub
+ - BaseAddress: 0xADAF98 # 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):
@@ -709,7 +709,7 @@ FeatureSettings - ExportHighlights:
DeveloperSettings - AutoUsbGadget:
- Enabled: no
- Description: Automatically enable USB Storage mode when connected.
- - ReplaceBytes: {Offset: 0x7674FE, FindInstBLX: {SymPLT: "QVariant::toBool() const"}, ReplaceH: 4F F0 01 00}
+ - ReplaceBytes: {Offset: 0x7678DE, FindInstBLX: {SymPLT: "QVariant::toBool() const"}, ReplaceH: 4F F0 01 00}
PowerSettings - UnlockEnabled:
- Enabled: no
diff --git a/src/versions/4.22.15190/nickel.yaml/oren64.yaml b/src/versions/4.22.15268/nickel.yaml/oren64.yaml
index c8d0cee..fb50526 100644
--- a/src/versions/4.22.15190/nickel.yaml/oren64.yaml
+++ b/src/versions/4.22.15268/nickel.yaml/oren64.yaml
@@ -27,7 +27,7 @@ New home screen subtitle custom font:
- Description: |
Increase subtitle font size, font color black. Works best when used
with with patch `New home screen increasing cover size`
- - BaseAddress: 0x1400C98 # FindZlib: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}"
+ - BaseAddress: 0x1485467 # FindZlib: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}"
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
@@ -42,7 +42,7 @@ New home screen subtitle custom font:
Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
# duplicate
- - BaseAddress: 0x14093E8
+ - BaseAddress: 0x148FAF2
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
diff --git a/src/versions/4.22.15190/nickel.yaml/pgaskin.yaml b/src/versions/4.22.15268/nickel.yaml/pgaskin.yaml
index 18caf6e..25a7bc3 100644
--- a/src/versions/4.22.15190/nickel.yaml/pgaskin.yaml
+++ b/src/versions/4.22.15268/nickel.yaml/pgaskin.yaml
@@ -15,11 +15,11 @@ 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: 0x140661E
+ - BaseAddress: 0x1484AE1
- ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
- - BaseAddress: 0x1409CDC
+ - BaseAddress: 0x14939B8
- ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}" |
When booting for the first time after the update, there's a pop-up about a free 30-day Kobo+ trial. There's also a new row for it in the account settings. |
I'm not sure if this is new or not (it's the first time I've seen it), but the top-right of the homescreen with <2 books is showing the current author rather than recommendations for me right now. |
The bug where the PIN entry would change sizes after entering the first digit has been fixed. |
Kobo Plus also now has it's own item in the menu. |
Released in v64. |
@pgaskin Reading this post it doesn't look as if I have much (or even anything???) to do but I'll do my standard new fw routine tomorrow, but it probably won't be until the afternoon. |
Yes, that's correct. |
This is the only change of any kind I can see in the whole 193 css streams (zlib and nozlib) in nickel. Nothing to see here, move along. I suppose there may be another fw update when the Nia actually ships. |
Test nickel patches (@jackiew1)The text was updated successfully, but these errors were encountered: