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 10-21-2021, 09:40 PM   #1
undecimo
Junior Member
undecimo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2021
Device: Kobo Aura & Libra 2
Modding Libra 2

Just received a Libra 2 today and started poking around after updating to the October firmware.

KFMon and NickelMenu installed without complaint.

KOReader presented its bomb screen because it couldn't identify the device. I wasn't sure of the Libra 2's codename, so I modified frontend/device/kobo/device.lua to assign any unidentified devices to the Libra H2O bucket. KOReader then launched and rendered nicely, but 180 degrees from the desired orientation. (Touches were parsed correctly as the device rotated, but the screen orientation always redrew upside down.)

I haven't had a chance to hack further, but it appears that it won't take much work to get KOReader up and running.
undecimo is offline   Reply With Quote
Old 10-21-2021, 10:52 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,981
Karma: 41943051
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
It's been mentioned elsewhere, but the codename for the Libra 2 is "io". And for the Sage it is "cadmus".
davidfor is offline   Reply With Quote
Advert
Old 10-22-2021, 02:39 AM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
I'll be working on initial support over the next week (might had been this week-end, but apparently my Sage is currently lost in the post-office ether ).

If you're willing to dig into it over shell (i.e., ssh/telnet), I have a test script that'll spit out all the gory details I need that I can send you?
NiLuJe is offline   Reply With Quote
Old 10-22-2021, 02:43 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
As in, unpack this in a temporary folder on your device, run the devcap_test.sh
script from said directory, and send me the output of /mnt/onboard/devcap_log.txt & /mnt/onboard/devcap_done.png once it's done .
Attached Files
File Type: gz Kobo-DevCap-Test.tar.gz (650.2 KB, 44 views)
NiLuJe is offline   Reply With Quote
Old 10-22-2021, 03:32 AM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Because I forgot to mention it earlier: for better accuracy, this should be run from within Nickel, after a cold boot .

I also wouldn't mind a look at the full KFMon log (/usr/local/kfmon/kfmon.log).
NiLuJe is offline   Reply With Quote
Advert
Old 10-22-2021, 10:22 AM   #6
undecimo
Junior Member
undecimo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2021
Device: Kobo Aura & Libra 2
Logs attached. Thanks for the quick reply.

In the KFMon log, you'll see that I had a few .ini files set up - I copied the whole .adds folder from my old Aura. Tapping the icons in Nickel brought up an image preview instead of launching the associated app, but the generator :main :kfmon section in NickelMenu did populate correctly.

Plato was much more confused than KOReader and couldn't even render a list of books. I didn't try pbchess.
Attached Thumbnails
Click image for larger version

Name:	devcap_done.png
Views:	117
Size:	216.7 KB
ID:	189746  
Attached Files
File Type: txt devcap_log.txt (41.9 KB, 55 views)
File Type: txt kfmon_log.txt (89.3 KB, 42 views)
undecimo is offline   Reply With Quote
Old 10-22-2021, 05:16 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Can you try this one, and do *not* touch the screen at the end (wait for the 10s timeout)?

(I kinda forgot about this bit ;p).

The goal is to avoid any broken Nickel refresh for the final screenshot .
Attached Files
File Type: gz Kobo-DevCap-Test.tar.gz (650.2 KB, 38 views)
NiLuJe is offline   Reply With Quote
Old 10-22-2021, 05:36 PM   #8
undecimo
Junior Member
undecimo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2021
Device: Kobo Aura & Libra 2
Done. Did not touch the screen.
Attached Thumbnails
Click image for larger version

Name:	devcap_done.png
Views:	144
Size:	13.7 KB
ID:	189757  
Attached Files
File Type: txt devcap_log.txt (26.1 KB, 46 views)
undecimo is offline   Reply With Quote
Old 10-22-2021, 05:48 PM   #9
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Okay, that looks slightly less worse .

Does stuff magically work if you copy the fbdepth binary from that final package to the koreader folder (.adds/koreader, FYI), overwriting the older one in there?

(I suspect we're not quite there yet, though. I'll double-check the kernel tomorrow, once I have a working brain again ).

Last edited by NiLuJe; 10-22-2021 at 05:53 PM.
NiLuJe is offline   Reply With Quote
Old 10-22-2021, 05:59 PM   #10
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
To that effect, try this one, which dumps a few more things in the log .

(I also wouldn't mind an actual *picture* of the screen after the test, because the screengrab are getting confused by the rotation shenanigans ;p).
Attached Files
File Type: gz Kobo-DevCap-Test.tar.gz (650.6 KB, 49 views)
NiLuJe is offline   Reply With Quote
Old 10-22-2021, 06:25 PM   #11
undecimo
Junior Member
undecimo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2021
Device: Kobo Aura & Libra 2
Working perfectly with one additional edit to device.lua. touch_mirrored_x needs to be false.

So good to be back in KOReader, I really don't like Nickel...
undecimo is offline   Reply With Quote
Old 10-22-2021, 11:57 PM   #12
7hir7een
Reader of Books
7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.
 
7hir7een's Avatar
 
Posts: 197
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra 2, Kobo Elipsa, Kobo Libra H2O, Kindle Oasis 3
Quote:
Originally Posted by NiLuJe View Post
Does stuff magically work if you copy the fbdepth binary from that final package to the koreader folder (.adds/koreader, FYI), overwriting the older one in there?
It does with touch_mirrored_x = false,

Glad to have it up and running without weird mirror world shenanigans... I made the mistake of upgrading for the 32gb and then realized, oh no, can't live without koreader. Now I can start playing around with it!
7hir7een is offline   Reply With Quote
Old 10-23-2021, 08:35 AM   #13
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
I'm not entirely convinced we're quite there yet...

Could you try enabling KFMon's boot spinner (touch /mnt/onboard/.adds/kfmon/config/BAR), rebooting, and then sending me the KFMon log again?
NiLuJe is offline   Reply With Quote
Old 10-23-2021, 11:09 AM   #14
undecimo
Junior Member
undecimo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2021
Device: Kobo Aura & Libra 2
Sure, here's the log.
Attached Files
File Type: txt kfmon_log.txt (144.5 KB, 39 views)
undecimo is offline   Reply With Quote
Old 10-23-2021, 12:40 PM   #15
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,132
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Ahah, inching closer to the truth...

Could I get a *picture* of the screen/device after running this version (again, no touching ;p).
Attached Files
File Type: gz Kobo-DevCap-Test.tar.gz (650.6 KB, 34 views)
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Libra Libra H2O vs Libra 2 (from reddit) Deobulakenyo Kobo Reader 19 10-20-2021 10:21 PM
Advice on modding for highlighting? 303 Kobo Reader 0 08-07-2020 02:25 PM
modding the EE? summatusmentis enTourage Archive 28 07-08-2010 04:53 PM
Modding My Kindle DiggerG Amazon Kindle 15 11-01-2009 01:01 PM
case modding alexxxm Sony Reader 6 01-01-2008 03:44 PM


All times are GMT -4. The time now is 04:43 PM.


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