Open pgaskin opened 7 months ago
ereaderfiles.kobo.com
. Appears to be the same backend (cf proxied openresty proxied s3).monza
, monzaTolino
), kobo12 (spaBW
, spaColor
, spaTolinoBW
, spaTolinoColor
).kobo_config.sh
BRAND=$( ntx_hwconfig -S 1 -p /dev/mmcblk0p6 -d Customer )
(0x21 is tolino)COLOR=$( ntx_hwconfig -S 1 -p /dev/mmcblk0p6 EPD_Flags CFA )
(ON means color)E70T0*
is monza/monzaTolinoE60T0*
is spaColor/spaBW/spaTolinoColor/spaTolinoBWon-animator.sh
pickel showpic PARTIAL_UPDATE
(where PARTIAL_UPDATE is 1 for color devices and 0 otherwise) (cc @NiLuJe)rcS
spaColour|spaBW|spaTolinoColour|spaTolinoBW) export COORDINATES="1070 250 150 600";;
upgrade-mt8113t-ntx.sh
[ -e bl2.img ] && ( echo 0 > /sys/class/block/mmcblk0boot0/force_ro && dd if=bl2.img of=/dev/mmcblk0boot0 bs=512 && echo 1 > /sys/class/block/mmcblk0boot0/force_ro )
[ -e u-boot-mtk-fit.bin ] && dd if=u-boot-mtk-fit.bin of=/dev/mmcblk0p2 bs=512
[ -e boot.img ] && dd if=boot.img of=/dev/mmcblk0p4 bs=512
[ -e tee.img ] && dd if=tee.img of=/dev/mmcblk0p5 bs=512
[ -e ntxfw.bin.header ] && dd if=ntxfw.bin.header of=/dev/mmcblk0p7
[ -e ntxfw.bin ] && dd if=ntxfw.bin of=/dev/mmcblk0p7 seek=1 bs=512
[ ! -d /data/misc/wifi ] && mkdir -p /data/misc/wifi
[ -e wifi.cfg ] && cp wifi.cfg /data/misc/wifi/
[qApp_tolino=true]
(cc @jackiew1)DefaultSerif
and DefaultSansSerif
(pseudo-fonts?) (cc @jackiew1).[isColorDevice=true]
(cc @jackiew1)00000000-0000-0000-0000-000000000390
00000000-0000-0000-0000-000000000391
00000000-0000-0000-0000-000000000393
00000000-0000-0000-0000-000000000690
00000000-0000-0000-0000-000000000691
00000000-0000-0000-0000-000000000693
(TODO: is this tolino?)reduceRainbowChangedSignal()
(this is for the "Reduce Rainbow" reading setting -- see the kobo docs)saveHighlight()
490661bd-1aaa-4ffe-8680-b0a51f103ad8
a del Pomar & Ismael Gonz
(huh?)application/json; charset=UTF-8
(how many different ways will they spell that in request headers lol)Apr 2 2024
near app_version (TODO: why)Ballpoint Pen
bookDataParsed
bookDetailsAction
bookDetailsRequest
Brush Color
Brush Eraser
Brush Shade
Brush Size
Calligraphy Pen
CFA Mode
Delete known networks
Delete Wi Fi networks
deviceIsMonza
deviceIsMonzaTolino
deviceIsSpaTolino
DT_EINK_10_NETRONIX DT_EINK_UPD_PP_16.0.0
(cc @NiLuJe)eBook Reader
eBooks and documents in your Dropbox folder will also now appear on your eReader under More > My Dropbox. Once you download an item from My Dropbox, you'll find it under My Books.
eventFilter overrideCFA=
Firmware Configuration Version:
(TODO: is this wifi config?)ForceWaveformMode
Force crash:
ForceCfaMode
Highlighter Color
Highlighter Shade
Highlighter Size
Invalid VCOM
Inventory request:
It looks like your Internet connection is currently unavailable.<br><br>Would you like to retry?
It looks like your Internet connection is currently unavailable.<br><br>You can skip setup, but some features like Store and Sync support will not be available until you sign in. You can sign in later in More > Settings > Accounts.
(TODO: is this just for tolino?)Kobo Clara BW
Kobo Clara Colour
Kobo Libra Color
(since just these three were added, spa is probably clara, and monza is probably libra)In harmony with the tolino brand the typeface is nice and familiar without being too sweet. The Bariol typeface is very readable even at small sizes, thanks to its sober shapes and its simple construction. See more information: http://atipofoundry.com/fonts/bariol
/mnt/onboard/vcom.txt
(Note: May slow performance or blur images
Note: VCOM is a voltage
(cc @NiLuJe)contains Reader® Mobile software under license from Adobe Systems Incorporated, Copyright © 1995-%2
(TODO: figure out if they updated rmsdk)Pen Color
Rakuten Sans
Rakuten Serif
Reader: Kobo Reader
Reader: New PDF Reader
Reader: Normal PDF Reader
Reader: plugins
rm -rf
/mnt/onboard/.kobo/dict,kepub,slideshow,*.sqlite is now rm -rf %1
%1 Stylus
to %1
makeTolinoAuthRequest
/ makeTolinoBoshRequest
/ makeTolinoInventoryRequest
(will need to look into this more in the disassembly, but if this is all that's required for tolino cloud stuff, it may be nicer to implement a compatible api than the kobo sync stuff)/sys/devices/platform/1001e000.i2c/i2c-2/2-0024/ic_ver
(cc @NiLuJe)TolinoAuthenticatedCommand
TolinoAuthenticationCommand
TolinoAuthenticationParser
TolinoBookDetailsParser
TOLINO_OAUTH_HOST
TOLINO_SERVICE_URLS
TOLINO TESTING
tolino_bosh_api_endpoint
tolino_inventory_api_endpoint
tolino shine
tolino shine color
TOLINO_VISION_6`tolino vision color
trace default fullpage=
trace FXL=
trace imgRects
trace override=
treadervision6
trilogy|kraken|pixie|phoenix|dragon|nova|condor
-> trilogy|kraken|pixie|phoenix|dragon|nova|condor|monza|monzaTolino|spaColour|spaBW|spaTolinoColour|spaTolinoBW|io|goldfinch|luna
Turn LED ON/OFF:
v%0/inventory/%1/downloadinfo
v6/inventory?fullResponse=%0&size=%1&page=%2&contentTypeFilter=%3&sort=%4%5&extendedDataType=%6
VCOM: %1 mV detected, update? The device will be restarted.
(based on the stuff earlier, this is for a dialog, presumably when vcom.txt is changed)Waveform Mode:
(cc @NiLuJe)You can now export notebooks from your eReader to Dropbox.
AbstractLibraryController<Achievement>
is goneAffiliate::getBrandedStylusName()
ApplicationSettings::tolinoDemoModeEnabled()
AwardDetailsBuilder
AwardDetailsController
AwardDetailsView
AwardsView
is goneBookMark::getColor
ColorUtil::cssHighlightingClassName
CustomWebView::getImgRectsInView
DemoModeManager::slidesList
Device::allowsUsbPlugInDuringSetup
(is this what I think it is...)Device::getTolinoPowerOffImage
Device::
isMonza
isMonzaKobo
isMonzaTolino
isSpa
isSpaKoboBW
isSpaKobo
isSpaTolinoBW
isSpaTolinoColour
isSpaTolino
supportsFoxitPdf
usingMonotype
DevSettings::
cfaMode
overrideStylusColors
waveformMode
dpdoc::Document::m_darkMode
(TODO: look at rmsdk)FontManager::addCoreFont
(TODO: look at fontickle)HardwareInterface::vcom
IOUtil::
getTolinoSideloadBooksDir
getTolinoSideloadBooksDirName
IOUtil::
removeDbFiles
removeDictDataDir
removeImageDataDir
removeKepubDataDir
removeSlideshowDataDir
KepubBookReaderBase::reloadChapter
Migration175_AddBookmarkColor
MTKCondorDeviceConfig::
supportsHWDithering
(cc @NiLuJe)MTKMonzaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)MTKSpaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)ReaderProxy::currentPage()
ReaderProxy::selectBookmark(QMap<QString, QVariant> const&)
ReaderProxy::setDarkMode(bool)
ReaderProxy::unload()
ReaderProxy::updateEnvironmentMatrix(int, int, bool, int)
WirelessWorkflowManager::restartBluetooth
(TODO: NickelMenu)`see https://github.com/pgaskin/kobopatch-patches/issues/128#issuecomment-2050588806
Resource extraction:
go run github.com/pgaskin/qrc/cmd/qrc2zip@latest --output nickel.21908.qInitResources_styles.zip --recursive --verbose nickel 1 26762560 26622584 26750920
go run github.com/pgaskin/qrc/cmd/qrc2zip@latest --output nickel.21908.qInitResources_resources.zip --recursive --verbose nickel 1 21737592 101096 21736112
go run github.com/pgaskin/qrc/cmd/qrc2zip@latest --output nickel.21908.qInitResources_certificates.zip --recursive --verbose nickel 1 26923968 26765808 26919792
go run github.com/pgaskin/qrc/cmd/qrc2zip@latest --output nickel.21908.qInitResources_translations.zip --recursive --verbose nickel 1 26622256 21738816 26621512
https://krc.storage.pgaskin.net/nickel.21908.qInitResources_certificates.zip https://krc.storage.pgaskin.net/nickel.21908.qInitResources_resources.zip https://krc.storage.pgaskin.net/nickel.21908.qInitResources_styles.zip https://krc.storage.pgaskin.net/nickel.21908.qInitResources_translations.zip
@pgaskin I don't see 4.39 on your fw page. How do I get a copy?
I'll be adding it once I figure out which device is which, and whether the Tolino install instructions are the same.
OK.
I am currently about 90% certain the kobo11 variant of this firmware should be safe to install on older devices, but I'll confirm it myself later today.
Update: Do not install this firmware on older devices until I look into a few things. I found some stuff which may cause nickel to fail to start correctly.
I don't need to actually install 4.39 to be able to make some progress. I just need to be able to extract nickel
, libnickel.so.1.0.0
and librmsdk.so.1.0.0
, particularly nickel
.
I'm going to start figuring out which device is which, then I'll take a break until this evening (~5h) since there's some other stuff I need to do.
I don't plan to release the patches for this version until next week at the earliest, even if they're done.
I think we should probably support Tolino, put a note that it's not fully tested, and put comments in the patches which are for only tolino/kobo (I don't think there should bee to many of those).
I should be able to have a good look at nickel in 5 hours. I may not still be awake by the time you resume but I'll add some notes here if there's anything worth saying. 😄
The 4 patchable files seem to be identical in mark11 and mark12. That's a good thing isn't it?
Yep
0x1624760
codename | family | id | name |
---|---|---|---|
monza | dragon | 00000000-0000-0000-0000-000000000390 | Kobo Libra Colour |
monzaTolino | dragon | 00000000-0000-0000-0000-000000000690 | tolino vision color |
spaBW | dragon | 00000000-0000-0000-0000-000000000391 | Kobo Clara BW |
spaColour | dragon | 00000000-0000-0000-0000-000000000393 | Kobo Clara Colour |
spaTolinoBW | dragon | 00000000-0000-0000-0000-000000000691 | tolino shine |
spaTolinoColour | dragon | 00000000-0000-0000-0000-000000000693 | tolino shine color |
/mnt/onboard/Books
.
/mnt/onboard/Books
)tolino
instead of Kobo
tolino stylus
instead of Kobo Stylus
mytolino.com
instead of help.kobo.com
https://duckduckgo.com/?ka=1
instead of https://www.google.com
or whatever the affiliate default is[qApp_tolino=true]
Color
instead of Colour
in various placeseReader
instead of KOBOeReader
Authorization: Bearer ...
client_type: application/json; charset=UTF-8
(WTF!!! I think this is a copy-paste error on Kobo's side)Hardware-Id: ...
Reseller-Id: 3
User-Agent: DT_EINK_10_NETRONIX DT_EINK_UPD_PP_16.0.0
client_type: TOLINO_VISION_6
client_version: 16.0.0
v%0/inventory/%1/downloadinfo
(TolinoBookDetails)
contentUrl
v6/inventory?fullResponse=%0&size=%1&page=%2&contentTypeFilter=%3&sort=%4%5&extendedDataType=%6
(TolinoInventory, InventoryParser)
EBOOK
RECENT,DESC
ACSM
EPUB
SKOOBE,KOBODRM,PREVIEW
Device::allowsUsbPlugInDuringSetup
/bin/ntx_hwconfig -S 1 -p /dev/mmcblk0p6 BootPartNo %0
to boot from the recovery partition instead overwriting the entire uboot like on i.MX.Device::
isMonza
isMonzaKobo
isMonzaTolino
, same for spa
Device::usingMonotype
is true for monza and spa, kobo only
DefaultSerif
is Rakuten Serif
DefaultSerif
is Georgia
DefaultSans
is Rakuten Sans
DefaultSans
is Avenir Next
Version::buildDate
from Apr 2 2024
490661bd-1aaa-4ffe-8680-b0a51f103ad8
isBundledUserId
Reader: New PDF Reader
Reader: Normal PDF Reader
Device::supportsFoxitPdf
= Device::supportsStylus
|| Device::isIo
(io is Libra 2)SandboxReadingWidget::setReader(QWidget* arg1, ReadingView* arg2)
SandboxReadingWidget::setSketchLayer(QWidget* arg1)
Throughout nickel CSS:
Based on changes in librmsdk.so.1.0.0
it looks like DefaultSerif & DefaultSansSerif may be mapped to 'Rakuten Serif' & 'Rakuten Sans' respectively.
So far, these are the only nickel patch changes I've had to make to get kobopatch to run without error. Whether the patches still do what they're supposed to do is another matter!
ATM I'm not sure what the best way to support Tolino might be. The change re Tolino and font Bariol is repeated very many times in nickel CSS. Every hard-coding of font-family: Bariol
also has [qApp_tolino=true]
in the same CSS style.
However some [qApp_tolino=true]
styles are used to set a Tolino-specific font-size. I haven't had time yet to assess how that might affect existing patches if we want to include Tolino in the same patch.
I'm glad we've got some extra time available before having to release 4.39 patches.
Based on changes in librmsdk.so.1.0.0 it looks like DefaultSerif & DefaultSansSerif may be mapped to 'Rakuten Serif' & 'Rakuten Sans' respectively.
Yes, kobo seems to have revamped the fonts in general (see my earlier content).
Whether the patches still do what they're supposed to do is another matter!
Main thing to look for is tolino overrides in the same CSS file.
ATM I'm not sure what the best way to support Tolino might be
For patches which change the font, remove the tolino override. For patches which don't, add another option to replace that.
However some [qApp_tolino=true] styles are used to set a Tolino-specific font-size. I haven't had time yet to assess how that might affect existing patches if we want to include Tolino in the same patch.
Yeah, tolino seems to use a larger font size by default for many things, including the dictionary. I'll need to look at bariol to figure out whether Kobo thinks German users have impaired vision, or if bariol just looks smaller at the same size.
I think for now, we should just replace it with the Kobo value by removing the tolino override in the font size patches.
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/pgaskin.yaml: Increase size of kepub chapter progress chart: could not apply patch "Increase size of kepub chapter progress chart": line 28: inst 4: ReplaceZlib: not a zlib stream
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/pgaskin.yaml: Remove forgot pin button from lock screen: could not apply patch "Remove forgot pin button from lock screen": line 20: inst 4: ReplaceZlib: not a zlib stream
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/jackie_w.yaml: Custom page navigation scrubber: could not apply patch "Custom page navigation scrubber": line 303: inst 4: ReplaceZlib: find string not found in stream ({font-family:Avenir;font-weight:bold;font-style:normal;})
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/jackie_w.yaml: Customise Header back button: could not apply patch "Customise Header back button": line 383: inst 4: ReplaceZlib: find string not found in stream (#backLabel #label{font-family:Avenir;font-style:normal;font-weight:bold;)
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libadobe.so.yaml/pgaskin.yaml: Remove PDF map widget shown during panning: could not apply patch "Remove PDF map widget shown during panning": line 9: inst 4: ReplaceBytes: could not find specified bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/librmsdk.so.1.0.0.yaml/geoffr.yaml: Default ePub sans-serif font (Gill Sans): could not apply patch "Default ePub sans-serif font (Gill Sans)": line 69: inst 3: FindReplaceString: FindBaseAddressString: FindBaseAddress: could not find bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/librmsdk.so.1.0.0.yaml/geoffr.yaml: Default ePub serif font (Amasis): could not apply patch "Default ePub serif font (Amasis)": line 42: inst 3: FindReplaceString: FindBaseAddressString: FindBaseAddress: could not find bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/pgaskin.yaml: Replace adobe page numbers toggle with invert screen: could not apply patch "Replace adobe page numbers toggle with invert screen": line 44: inst 4: ReplaceBytes: could not find specified bytes at offset
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/pgaskin.yaml: Hide browser from beta features: could not apply patch "Hide browser from beta features": line 82: inst 3: ReplaceBytes: could not find specified bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/pgaskin.yaml: Allow rotation on all devices: could not apply patch "Allow rotation on all devices": line 406: inst 4: ReplaceBytes: could not find specified bytes at offset
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/pgaskin.yaml: Customize ComfortLight settings: could not apply patch "Customize ComfortLight settings": line 529: inst 4: ReplaceInt: could not find specified bytes at offset
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/pgaskin.yaml: Remove line from bottom tab bar: could not apply patch "Remove line from bottom tab bar": line 166: inst 3: ReplaceBytes: could not find specified bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/geoffr.yaml: Set KePub hyphenation: could not apply patch "Set KePub hyphenation": line 327: inst 3: ReplaceBytes: could not find specified bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/libnickel.so.1.0.0.yaml/geoffr.yaml: My 24 line spacing values: could not apply patch "My 24 line spacing values": line 54: inst 9: ReplaceBytes: could not find specified bytes at offset
A bunch more than usual, some expected, most easy, but some will be annoying to update.
Will need to pay extra attention when updating things in places near tolino-specific code.
I think I already fixed these 4:
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/jackie_w.yaml: Custom page navigation scrubber: could not apply patch "Custom page navigation scrubber": line 303: inst 4: ReplaceZlib: find string not found in stream ({font-family:Avenir;font-weight:bold;font-style:normal;})
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/nickel.yaml/jackie_w.yaml: Customise Header back button: could not apply patch "Customise Header back button": line 383: inst 4: ReplaceZlib: find string not found in stream (#backLabel #label{font-family:Avenir;font-style:normal;font-weight:bold;)
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/librmsdk.so.1.0.0.yaml/geoffr.yaml: Default ePub sans-serif font (Gill Sans): could not apply patch "Default ePub sans-serif font (Gill Sans)": line 69: inst 3: FindReplaceString: FindBaseAddressString: FindBaseAddress: could not find bytes
/home/patrick/kp/src/kobopatch-patches/src/versions/4.39.22801/librmsdk.so.1.0.0.yaml/geoffr.yaml: Default ePub serif font (Amasis): could not apply patch "Default ePub serif font (Amasis)": line 42: inst 3: FindReplaceString: FindBaseAddressString: FindBaseAddress: could not find bytes
although the last two will need a patch name change due to 'Amasis' & 'Gill Sans' no longer being relevant. I'll need to test these two quite carefully once I've got a device I can safely update.
The included Bariol font is locked but it (or a version of it) seems to be freely available via the web. It's a sans-serif font with "rounded ends". Quite nice, if a little "thin". Slightly worrisome that the web versions are double the filesize of the Kobo versions so I don't know how good glyph coverage will be.
@jackiew1
Based on changes in librmsdk.so.1.0.0 it looks like DefaultSerif & DefaultSansSerif may be mapped to 'Rakuten Serif' & 'Rakuten Sans' respectively.
Device::usingMonotype
is true for monza and spa, kobo only
DefaultSerif
is Rakuten Serif
DefaultSerif
is Georgia
DefaultSans
is Rakuten Sans
DefaultSans
is Avenir Next
Mostly finished looking at firmware changes.
@jackiew1
Based on changes in librmsdk.so.1.0.0 it looks like DefaultSerif & DefaultSansSerif may be mapped to 'Rakuten Serif' & 'Rakuten Sans' respectively.
Device::usingMonotype
is true for monza and spa, kobo only
- When false,
DefaultSerif
isRakuten Serif
- When true,
DefaultSerif
isGeorgia
- When false,
DefaultSans
isRakuten Sans
- When true,
DefaultSans
isAvenir Next
How does this work if Georgia and Avenir are no longer listed in fw fonts?
How does this work if Georgia and Avenir are no longer listed in fw fonts?
I'm not exactly sure, but this is one of the things I noticed which caused me to change my mind about compatibility with older devices for this update.
I also just tried installing it on my Aura2Ev1 (from 21908), and it's bootlooping. I plan to figure out why, but I'm going to finish the patch updates first.
Pushed the initial update. Still quite a bit of work to do (see the commit message and the comment above).
Some information regarding Tolino's API: The bosh API is deprecated and is being replaced with a new API: https://api.pageplace.de
and https://api.prodref.pageplace.de
for the dev version.
Here's the current tolino API config:
BASE_API_URL=https://api.pageplace.de
CONFIG_URL=https://api.pageplace.de/v1/resellers
FTU_COUNTRIES_RESELLERS_URL=https://api.pageplace.de/v1/reseller-group/devices
FTU_REPORTING_SELECTED_RESELLER_URL=https://api.pageplace.de/v1/client-metrics/reseller-selection
UPDATE_CHECK_URL=https://api.pageplace.de/v1/devices/versioncheck
HOTSPOT_NETDATA_URL=https://api.pageplace.de/v1/devices/netdata
PING_URL=https://api.pageplace.de/online-check?responseStatus=204
BOSH_TIME_URL=https://api.pageplace.de/v1/server-time
INVENTORY_URL=https://api.pageplace.de
FAMILY_URL=https://api.pageplace.de
FAMILY_RESELLERS_URL=https://api.pageplace.de/v1/reseller-group/family/resellers
FEEDBACK_URL=https://api.pageplace.de/v1/feedback
LOST_DATA_RECOVERY_URL=https://bosh.pageplace.de/bosh/rest/admin/v1/usercontentrecovery
RECOMMENDATIONS_URL=https://api.pageplace.de/v2/recommendations
So for most cases, bosh is no longer used at Tolino (The bosh API was different from this).
Weirdly, Kobo seems to only use Bosh, even though Tolino replaced it a few version ago.
Homepage is https://duckduckgo.com/?ka=1 instead of https://www.google.com or whatever the affiliate default is
Does this mean duckduckgo is hardcoded or affiliates can still overwrite it? On current Tolinos, the affiliates have the ability to replace it.
Affiliates can still overwrite it.
@pgaskin My recent commit for update to patch Custom collection/author header title font
was supposed to reference this issue but I forgot. Sorry.
@pgaskin Having spent more time looking at all the changes, this is my current plan for your consideration:
/fonts
dir. The Kobo didn't list it as a new font. All the others I tried (AtkinsonHyperlegible, Bitter, 'Noto Sans', Ubuntu, Vollkorn) worked just as you'd expect with any other sideloaded font. However, it may not be a coincidence that the Bariol font files are "locked" and all the rest are not. BTW the font Texturina has to be the ugliest thing I've ever seen. I wonder what it's supposed to be used for? Not reading English, I hope!ETA: 4.39 doesn't seem to distinguish between Tolino Shine and Tolino Vision for font-size. It's literally one-size-fits-all.
If/when necessary do a 2nd pass to add corresponding Tolino font-size customisations to nickel.yaml patches which already offer Kobo font-size customisations. Ideally I'd prefer to work with a volunteer Tolino beta-tester who's keen to help bring kobopatch to the Tolino community.
The new Tolino with Kobo firmware will only release at the beginning of May, but I'd be happy to help testing, as well as translating some stuff.
If/when necessary do a 2nd pass to add corresponding Tolino font-size customisations to nickel.yaml patches which already offer Kobo font-size customisations. Ideally I'd prefer to work with a volunteer Tolino beta-tester who's keen to help bring kobopatch to the Tolino community.
The new Tolino with Kobo firmware will only release at the beginning of May, but I'd be happy to help testing, as well as translating some stuff.
Thanks very much for volunteering 😄 Which Tolino model do you (or will you) have?
Are you contactable via MobileRead or just here at GitHub?
If/when necessary do a 2nd pass to add corresponding Tolino font-size customisations to nickel.yaml patches which already offer Kobo font-size customisations. Ideally I'd prefer to work with a volunteer Tolino beta-tester who's keen to help bring kobopatch to the Tolino community.
The new Tolino with Kobo firmware will only release at the beginning of May, but I'd be happy to help testing, as well as translating some stuff.
Thanks very much for volunteering 😄 Which Tolino model do you (or will you) have?
Are you contactable via MobileRead or just here at GitHub?
Just GitHub so far, but I'll sign up on MobileRead later.
I'm planning to order a shine color. I'm also active on some German tolino forums (I was previously modding & reverse engineering the older Tolinos) and can probably get some people on there to test too,also on the older models once/if Tolino starts switching from Android to Kobo's OS (They're preparing that in their beta firmware, although I don't have up-to-date builds to see how far they got).
Yeah, tolino seems to use a larger font size by default for many things, including the dictionary. I'll need to look at bariol to figure out whether Kobo thinks German users have impaired vision, or if bariol just looks smaller at the same size.
I've been watching some of the YouTube early review videos. Looking at the HomeScreen and Tabs it looks like the sans-serif font used on the Tabs may be Bariol. So maybe DefaultSansSerif is also Bariol, even on Kobos?
[ETA: Hmm. Just seen a different video and now I'm not so sure. I wonder if the review devices have different fws depending on how long ago the reviewer received it?]
Also, if the version of Bariol I found on the internet is similar to what will be shipped in Kobo fw I think you can stop worrying about German users and possible impaired vision. 😄 It's simply a font which displays much smaller at the same font-size than something like Georgia or Caecilia.
MTKMonzaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)
MTKSpaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)
Seems to be 0x4237
for everything (which is... mildly strange), unless I missed something?
MTKMonzaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)MTKSpaDeviceConfig::
supportsEclipseWaveform
supportsHWDithering
touchFirmwareVersion
touchHardwareVersion
usbProductId
(TODO: get values)Seems to be
0x4237
for everything (which is... mildly strange), unless I missed something?
Haven't seen you for ages. Have you got a secret new project? 😄
Yes, the shared product id caused a minor kerfuffle for the calibre driver. Hopefully querying the .kobo/version
file instead will do the necessary.
On a different colour-related subject ... ages ago you shared some calibre code to maximise the quality of grayscale thumbnails/screensavers. Do you have any thoughts about potential for improving colour equivalents?
Haven't seen you for ages. Have you got a secret new project? 😄
Nah, IRL just got busier than expected ;).
Yes, the shared product id caused a minor kerfuffle for the calibre driver. Hopefully querying the .kobo/version file instead will do the necessary.
Ah. Didn't expect people to have already gotten their hands on some and bothered calibre with it, should have checked that.
Yeah, assuming they don't reintroduce something like what happened in 4.35 with devices sharing a PCB IDs (which appears to be the case for the B&W/Color pairs...), the Nickel version tag ought to be accurate.
Do you have any thoughts about potential for improving colour equivalents?
That's going to be annoying, yeah.
I suspect we'll need to blow up saturation like crazy (which probably explains why they started shipping openCV). I expect dithering to be supported on device by the MDP, though, so there's that, at least.
The only prior experience with this I've had is on PocketBook, where if you don't let InkView (the PB middleware) pre-process the images, you end up with a pretty underwhelming result (not that it's particularly great when you do, but I digress... ;p).
The good news is that, as far as calibre is concerned, this should be a non-issue, as I expect Nickel to be doing that on-device, and, IIRC, the driver has a setting that lets Nickel generates all the thumbnails (or did I dream that one up?).
Ah. Didn't expect people to have already gotten their hands on some and bothered calibre with it, should have checked that.
I think "people" is restricted to a single Libra Colour user who accidentally received their new toy ridiculously early. Unless it all happened via PM they didn't appear to be particularly helpful in supplying useful info but they did go so far as to say that their device connected successfully to calibre using the incomplete beta driver. I hope the updated driver will be OK for all 3 devices. Time will tell.
The good news is that, as far as calibre is concerned, this should be a non-issue, as I expect Nickel to be doing that on-device, and, IIRC, the driver has a setting that lets Nickel generates all the thumbnails (or did I dream that one up?).
The calibre KOBOTOUCH driver lets users choose whether or not to let calibre create and send all the correctly-sized thumbnails/screensavers (Colour vs. B&W, pre-optimised grayscale or not, pre-letterboxed or not). But I think you wrote most of that. 😄 My memory is that you felt quite strongly, at the time, that it was better to let calibre do as much of the B&W image manipulation as possible rather than leaving it all up to the Kobo. I really hope that's true, if not I've misrepresented you on MR in the last few days. 😊
To the best of my knowledge the following is true ... if the user opts to not let calibre send all the thumbnails then the device extracts the page 1 cover as the basis for creating all the required thumbnails. They are only created as required, so if you page through the booklist it can be a slow process populating the GUI with images after the initial book transfer.
Are you saying that with colour it might be better to let the Kobo do all the image manipulation work itself?
But I think you wrote most of that. 😄 My memory is that you felt quite strongly, at the time, that it was better to let calibre do as much of the B&W image manipulation as possible rather than leaving it all up to the Kobo. I really hope that's true, if not I've misrepresented you on MR in the last few days. 😊
Yup. Nickel got better at it over the years, but for B&W, I still stand by that (i.e., properly dithered B&W PNGs).
They are only created as required.
Yup; it's not terrible on modern devices, though.
Are you saying that with colour it might be better to let the Kobo do all the image manipulation work itself?
That's what I expect, yeah. We'll have to see how it actually fares, but I have very low expectations of the Kaleido tech without heavily pre-processed images from what I've seen on PB ;p.
the device extracts the page 1 cover as the basis for creating all the required thumbnails.
Or, well, the actual cover (as per ePub 2/3 metadata) for properly authored books.
I don't remember if what happens otherwise (or for PDFs) as a fallback is the "render page 1" option, or just "create a synthetic text cover" (which is something that does happen as a placeholder during thumbnail generation, at least).
I just did some quick tests. You're probably right that the actual cover is extracted from kepub, if it's found, but if not, page 1 is extracted. For standard epub it's always extracted as a rendering of page 1, no matter whether it's epub2 or epub3, even if the epub3 has the correct cover-image
property in the OPF. PDF looks like it's the same as epub.
And now we have to fix NickelHook too...
My Libre Colour showed up today. Only thing I have loaded on it right now is NickleClock (works no problems) so let me know if you need anything off of it to help
hey all! i've been keeping up some local manually edited copies of kobopatch for the two new firmwares (.39.22801 and .22861), I don't have everything 100% working but if it would be helpful I could open a branch with my mods on it, or else help commit some updates here?
There's some WIP stuff in here. The details of what needs to be done are here. I still need to look at 4.39.22861 as well.
Feel free to open PRs for each patch you've updated for 22801 if it hasn't already been done, and I'll take a look.
We are currently very busy with other things, but I hope to get the patches updated and released sometime in the next week or two, then I'll be working on NickelMenu.
Update: I've been busy for the last month, but I hope to get to this on the weekend if I have time.
122