Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2024, 04:20 PM   #1141
bopuc
livin' with ebooks
bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'
 
bopuc's Avatar
 
Posts: 36
Karma: 42048
Join Date: Jun 2014
Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA)
Device: Libra2, KOA
Quote:
Originally Posted by geek1011 View Post
I wrote a tool for that, https://github.com/pgaskin/qrc. You can also find extracted firmware files here.
Wow, this is great. Thank you.

So basically: I "just" roughly guess what UI element a section of QSS is affecting, try patching it to see what it does, rinse/repeat?

Now if only the QML was also accessible 😅

(I've been building web stuff since 1995. One of my first jobs was doing the embedded web-based UI for ruggedized WiFi routers. Poking through the extracted resources linked above brings back memories. e.g.: resources for multiple devices and partner branded editions all living in the same directory…)
bopuc is offline   Reply With Quote
Old 06-15-2024, 04:35 PM   #1142
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by bopuc View Post
Wow, this is great. Thank you.

So basically: I "just" roughly guess what UI element a section of QSS is affecting, try patching it to see what it does, rinse/repeat?

Now if only the QML was also accessible 😅

(I've been building web stuff since 1995. One of my first jobs was doing the embedded web-based UI for ruggedized WiFi routers. Poking through the extracted resources linked above brings back memories. e.g.: resources for multiple devices and partner branded editions all living in the same directory…)
Nickel is QtWidgets, not QML. You'll have to reverse the setupui functions if you want to conclusively determine what is what. There is also a ShowWidget dev option which draws widget names.

But yeah, it's mostly trial and error until you develop an intuition for how nickel works.
geek1011 is offline   Reply With Quote
Old 06-16-2024, 06:25 AM   #1143
bopuc
livin' with ebooks
bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'bopuc understands when you whisper 'The dog barks at midnight.'
 
bopuc's Avatar
 
Posts: 36
Karma: 42048
Join Date: Jun 2014
Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA)
Device: Libra2, KOA
Thank you again.

Quote:
Originally Posted by geek1011 View Post
You'll have to reverse the setupui functions if you want to conclusively determine what is what..
Has anyone done that already? Would be useful to really "get in there"!

Quote:
Originally Posted by geek1011 View Post
There is also a ShowWidget dev option which draws widget names.
I was very excited about this, turned it on and… doooh. Generic non-semantic styling markup, only at the last child level (no containing block info)… and a terrible mess on the screen making it essentially not something useable for our purposes, sadly. Sigh. 😅
bopuc is offline   Reply With Quote
Old 06-19-2024, 03:48 PM   #1144
jaydee34983
Member
jaydee34983 began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Apr 2024
Device: Kobo Libra Colour
As a convert from Amazon Kindle to Libra Colour, I'd be much obliged if the current batch of fw 4.38.xx Kobopatches could be adapted to the Libra Colour fw (4.39.22861).

Perhaps a new branch of the kobopatch yaml files starting with the patches that already work with Libra Colour (with only the patches known to work on Colour), that would be continually updated as the 4.38.xx Libra 2 patches get modified to be compatible with 4.39.xx Colour?

(I'm specifically wanting the "Hide Browser from Beta Features" patch from libnickel.so.1.0.0.yaml which doesn't seem to work on the Colour).

Not complaining though, appreciate the work the devs here put in. Thank you for even considering.

Last edited by jaydee34983; 06-19-2024 at 03:51 PM.
jaydee34983 is offline   Reply With Quote
Old 06-19-2024, 05:45 PM   #1145
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,436
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
You can follow the progress on GitHub:

https://github.com/pgaskin/kobopatch-patches/issues/128

Kobo made many changes in 4.39 to go with the new devices, not to mention 5.0 that's being used on Tolino devices. The downside of being an early adopter of a new device is that the QoL will not be available at launch.
Aleron Ives is offline   Reply With Quote
Old 06-19-2024, 11:51 PM   #1146
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Also see https://github.com/pgaskin/kobopatch...efa498ba9684c5.

I've been unusually busy recently; I hope to get some time to finish it on the weekend.
geek1011 is offline   Reply With Quote
Old 06-20-2024, 04:44 PM   #1147
jaydee34983
Member
jaydee34983 began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Apr 2024
Device: Kobo Libra Colour
Thank you so much, you're doing a great work!
jaydee34983 is offline   Reply With Quote
Old 06-24-2024, 06:21 PM   #1148
BionicGecko
Addict
BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.
 
BionicGecko's Avatar
 
Posts: 353
Karma: 3893015
Join Date: Aug 2016
Location: Czech Republic
Device: Voyage, Oasis, Scribe, Colorsoft, Libra Colour
Many thanks to geek1011, Aleron Ives and all the devs who make all this possible! I’m in the same boat as jaydee34983, as a long time Kindle user I decided to scratch my color itch with a Libra Colour. Installed NickelMenu, love the flexibility of the platform so far!

While we wait for the devs to find the time to complete the patches for 4.39.22861, would anyone have a list of the patches which already work on the Libra Colour? I’m mostly interested in the Header/Footer patches, so if someone can confirm those work then I’ll dive in and figure out how to install them.
BionicGecko is offline   Reply With Quote
Old 06-24-2024, 08:19 PM   #1149
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by BionicGecko View Post
Many thanks to geek1011, Aleron Ives and all the devs who make all this possible! I’m in the same boat as jaydee34983, as a long time Kindle user I decided to scratch my color itch with a Libra Colour. Installed NickelMenu, love the flexibility of the platform so far!

While we wait for the devs to find the time to complete the patches for 4.39.22861, would anyone have a list of the patches which already work on the Libra Colour? I’m mostly interested in the Header/Footer patches, so if someone can confirm those work then I’ll dive in and figure out how to install them.
Again, see https://github.com/pgaskin/kobopatch...efa498ba9684c5. This lists all the patches which don't work yet. Everything else should work, or at least not break anything. You can find the other updated patches on GitHub for now.
geek1011 is offline   Reply With Quote
Old 06-24-2024, 08:42 PM   #1150
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,436
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
Maybe you should release v85 with a note on which patches aren't included yet just to address the confusion people have?
Aleron Ives is offline   Reply With Quote
Old 06-24-2024, 08:46 PM   #1151
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Aleron Ives View Post
Maybe you should release v85 with a note on which patches aren't included yet just to address the confusion people have?
Other problem is none of it's actually been tested on a real device yet... I might upload a build here, but I'm not going to make a release yet. Also, some of the best patches (IMO) aren't updated yet.
geek1011 is offline   Reply With Quote
Old 06-24-2024, 09:37 PM   #1152
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,436
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
Ah, I didn't realise they were untested. I just meant that most people don't know how to use GitHub, so they won't see the commit for 4.39. Even if you upload a build here, after a few pages people will forget and start asking again. ^^;
Aleron Ives is offline   Reply With Quote
Old 06-25-2024, 02:45 AM   #1153
BionicGecko
Addict
BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.
 
BionicGecko's Avatar
 
Posts: 353
Karma: 3893015
Join Date: Aug 2016
Location: Czech Republic
Device: Voyage, Oasis, Scribe, Colorsoft, Libra Colour
Quote:
Originally Posted by geek1011 View Post
Again, see https://github.com/pgaskin/kobopatch...efa498ba9684c5. This lists all the patches which don't work yet. Everything else should work, or at least not break anything. You can find the other updated patches on GitHub for now.
Thank you, I indeed saw that comment but I’m new to all this and didn’t realize the quoted parts referred to actual, individual patches rather than to general concepts affecting all patches.

Quote:
Originally Posted by Aleron Ives View Post
Maybe you should release v85 with a note on which patches aren't included yet just to address the confusion people have?
Apologies for being confused, the whole thing is admittedly a bit overwhelming for a newbie to the platform, and as far as I understand, what seems to be the “easy” way to learn about the patches and install them (e.g. KoboPatchFan) cannot be used yet.
BionicGecko is offline   Reply With Quote
Old 06-25-2024, 04:53 AM   #1154
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,436
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
You're certainly not the first person to be confused about how to patch the new devices.

You don't need KoboPatchFan; kobopatch is a CLI program. You just edit the YAML files to enable the patches you want and then run the appropriate script for your OS to apply the patches to a firmware ZIP file. kobopatch spits out a KoboRoot.tgz file that you copy to your device to do a firmware "update" with the patches.
Aleron Ives is offline   Reply With Quote
Old 06-25-2024, 05:49 AM   #1155
BionicGecko
Addict
BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.
 
BionicGecko's Avatar
 
Posts: 353
Karma: 3893015
Join Date: Aug 2016
Location: Czech Republic
Device: Voyage, Oasis, Scribe, Colorsoft, Libra Colour
Thanks Aleron Ives!

I figured it out, and for the other curious people with one of the new devices in their hands, I created an unofficial release package with the updated patches. I attach it here; geek1011 or the other devs, if you disagree with me posting this here, please revert, I will delete it ASAP.

A couple of points to keep in mind:
  • This is based on a snapshot of today's master branch for 4.39.22801
  • Although the latest patch updates in GitHub target firmware 4.39.22801, this package assumes 4.39.22861 is installed, as this is the version I have installed. Consequently, not all patches may work
  • Patches specifically mentioned in the "Missing" section here have been disabled
  • Patches can be installed by following the standard kobopatch installation instructions (see here for an example).
  • This is by no means an official release; the patches are untested, use at your own risk

Many thanks to all the devs who make this possible!
Attached Files
File Type: zip kobopatch_4.39.22861-UNOFFICIAL-INCOMPLETE-UNTESTED.zip (6.57 MB, 84 views)

Last edited by BionicGecko; 06-25-2024 at 05:52 AM.
BionicGecko is offline   Reply With Quote
Reply

Tags
kobopatch, patches, patching, request, requests

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 05:28 PM
Kobobooks.com future feature request thread Mrs_Often Kobo Reader 47 11-08-2012 12:59 PM
[Old Thread] Calibre 'feature request' thread Waba Calibre 2 02-10-2010 08:52 PM
Feature request thread? Dahak Calibre 1 08-02-2009 01:51 AM
3rd party software request thread Adam B. iRex 23 11-28-2008 02:08 PM


All times are GMT -4. The time now is 10:51 PM.


MobileRead.com is a privately owned, operated and funded community.