Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-22-2024, 09:55 AM   #1
thcrt
Junior Member
thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!
 
Posts: 4
Karma: 100000
Join Date: Oct 2024
Device: Kindle PW3, Kindle K4B, Kindle K4S
Launch KoReader from the home screen

I have two K4s, each of which has KoReader installed. I'm not planning to have any other KUAL extensions installed on them, so it'd be nice to be able to launch KoReader directly instead of going through KUAL.

It looks like there are two ways of going about this: KPVBooklet and KOL.

KOL, which I've used successfully on my PW3, is a Booklet, which to my knowledge isn't supported at all by the K4 on 4.x firmware.

Meanwhile, KPVBooklet, despite being deprecated and warning that it only works on old model&firmware combinations, still only lists devices running 5.x firmware as supported.

Is there any way to achieve this on a K4, or am I out of luck? I could also add something to upstart but I'd rather not figure that all out.

Cheers!
thcrt is offline   Reply With Quote
Old 10-22-2024, 11:43 AM   #2
thcrt
Junior Member
thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!
 
Posts: 4
Karma: 100000
Join Date: Oct 2024
Device: Kindle PW3, Kindle K4B, Kindle K4S
After investigating further, upstart wouldn't be the right tool for the job, that's not part of the K4's init system. Rather, it uses a complicated process with /etc/init.d and /etc/rc*.d and /etc/inittab that I don't understand (I'm only experienced with systemd init). I couldn't get anything working and running on boot after half an hour of trying, so I'd really rather just add a shortcut to the home screen if that's possible.
thcrt is offline   Reply With Quote
Advert
Old 10-22-2024, 01:22 PM   #3
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
You might look into building your own kindlet, which is how the original KUAL was done or hijacking the store menu/icon. There have been some threads about that.
j.p.s is online now   Reply With Quote
Old 10-22-2024, 04:05 PM   #4
thcrt
Junior Member
thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!
 
Posts: 4
Karma: 100000
Join Date: Oct 2024
Device: Kindle PW3, Kindle K4B, Kindle K4S
Quote:
Originally Posted by j.p.s View Post
You might look into building your own kindlet, which is how the original KUAL was done or hijacking the store menu/icon. There have been some threads about that.
Unfortunately, I have zero experience with Java or with the Kindle platform. Just trying to do this with SysVinit, which I've now spent a couple hours on, was both painful and completely fruitless. And looking at the source for KOL, it's hardly a trivial 10 lines.

I was just hoping there was a known solution I could turn to.
thcrt is offline   Reply With Quote
Old 10-22-2024, 05:57 PM   #5
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
I suspect that even if you were experienced and comfortable with both SysVinit and general kindle hacking you would still have a long tough road ahead of you.

Maybe someday someone willing and able will take this on and run with it, but I doubt it, especially since most people are happy, or at least willing, to launch KOReader from KUAL.
j.p.s is online now   Reply With Quote
Advert
Old 10-22-2024, 07:02 PM   #6
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 910
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by j.p.s View Post
I suspect that even if you were experienced and comfortable with both SysVinit and general kindle hacking you would still have a long tough road ahead of you.

Maybe someday someone willing and able will take this on and run with it, but I doubt it, especially since most people are happy, or at least willing, to launch KOReader from KUAL.
This is probably a stupid question, but can KUAL be configured to launch KOReader automatically when it is invoked? That could accomplish what this user wants, albeit with a somewhat longer start time.

Dave
dhdurgee is offline   Reply With Quote
Old 10-22-2024, 07:57 PM   #7
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by dhdurgee View Post
This is probably a stupid question, but can KUAL be configured to launch KOReader automatically when it is invoked? That could accomplish what this user wants, albeit with a somewhat longer start time.

Dave
Sorry, I have no idea.
j.p.s is online now   Reply With Quote
Old 10-23-2024, 10:03 AM   #8
thcrt
Junior Member
thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!
 
Posts: 4
Karma: 100000
Join Date: Oct 2024
Device: Kindle PW3, Kindle K4B, Kindle K4S
Quote:
Originally Posted by j.p.s View Post
I suspect that even if you were experienced and comfortable with both SysVinit and general kindle hacking you would still have a long tough road ahead of you.
Actually… I got it working

After a tedious amount of mucking about with shell scripts in a million places, I managed to find the right magic directory to put mine in. I also wasted an embarrassing amount of time before realising I forgot to set the executable permission (in my defence… systemD unit files don’t need it, obviously, and my mental model wasn’t set up for a system of just shell scripts).

I’ll make a post later on with the exact method I used, which involves adding a script to /etc/rc5.d. If it’s not too difficult I may create a MRPI package since at first glance those seem to be buildable out of just a shell script. I’ll look into it further when I get home later today.
thcrt is offline   Reply With Quote
Old 10-23-2024, 12:07 PM   #9
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Congratulations.
j.p.s is online now   Reply With Quote
Old 11-02-2024, 06:39 PM   #10
SoulRBL
Junior Member
SoulRBL began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2024
Location: California, USA
Device: Kindle PW3, Kobo Libra H2O
Quote:
Originally Posted by thcrt View Post
Actually… I got it working

After a tedious amount of mucking about with shell scripts in a million places, I managed to find the right magic directory to put mine in. I also wasted an embarrassing amount of time before realising I forgot to set the executable permission (in my defence… systemD unit files don’t need it, obviously, and my mental model wasn’t set up for a system of just shell scripts).

I’ll make a post later on with the exact method I used, which involves adding a script to /etc/rc5.d. If it’s not too difficult I may create a MRPI package since at first glance those seem to be buildable out of just a shell script. I’ll look into it further when I get home later today.
That is awesome! If and when you do get around to posting your method, I'd love to do the same! Thanks in advance
SoulRBL is offline   Reply With Quote
Reply

Tags
koreader


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide elements from the KOReader home screen?` Tomifonication KOReader 1 06-19-2024 10:10 PM
Koreader crashing on launch Samzza PocketBook 2 01-11-2024 04:06 AM
Launch KUAL extension from within KOreader Barbas Kindle Developer's Corner 10 01-18-2023 12:37 PM
Microsoft Home E-Reader will be launch on the first week of November Jason News 21 11-07-2007 06:55 AM
Ricavision Home E-Reader to launch in November? Alexander Turcic News 18 10-24-2007 12:36 PM


All times are GMT -4. The time now is 07:11 PM.


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