Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2025, 05:29 AM   #1
wujekbogdan
Junior Member
wujekbogdan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kindle Paperwhite 7th gen
Autostarting KOReader on device startup

Hey,

I've just modded my Kindle 7th gen with WinterBreak and installed KOReader. Now, I'd like to start it on device boot to replace the default Kindle UI with KOReader.

It seems I have to place a startup script in /etc/upstart, but I don't know the exact script syntax or how to choose the right KOReader mode - I want KOReader to start in no framework mode.

Last edited by wujekbogdan; 01-25-2025 at 05:33 AM.
wujekbogdan is offline   Reply With Quote
Old 01-25-2025, 05:49 AM   #2
Ebookus
Digital Grenadier
Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.
 
Ebookus's Avatar
 
Posts: 177
Karma: 1500000
Join Date: Jan 2024
Device: Kindle
You can’t
Ebookus is offline   Reply With Quote
Advert
Old 01-25-2025, 06:19 AM   #3
wujekbogdan
Junior Member
wujekbogdan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kindle Paperwhite 7th gen
I can't start KOReader specifically, or I can't auto-start any script upon boot?
wujekbogdan is offline   Reply With Quote
Old 01-25-2025, 08:06 AM   #4
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Don’t mess with upstart at all, you can brick Kindle.

There is no way to autostart KOReader on start, for a good reason
mergen3107 is offline   Reply With Quote
Old 01-25-2025, 11:25 AM   #5
wujekbogdan
Junior Member
wujekbogdan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kindle Paperwhite 7th gen
> Don’t mess with upstart at all, you can brick Kindle.

I'm not asking for advice; I'm asking if it's possible or not.

> There is no way to autostart KOReader on start, for a good reason

Is there no way to autostart KOReader specifically, or is it impossible to autostart anything?
wujekbogdan is offline   Reply With Quote
Advert
Old 01-25-2025, 08:10 PM   #6
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
You be you, just warning you right now so don’t bakc sith another post “Guys I bricked my Kindle”

It is both - it is hard to add anything (safely) to upstart on Kindle.

On KOReader side, if say KOReader crashes on startup, and it is part of upstart, the upstart will not be happy and send you to a restart. That means it will be in a loop, so that’s probably why I haven’t seen it done yet
mergen3107 is offline   Reply With Quote
Old 01-25-2025, 08:12 PM   #7
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
What’s the main reason you would like to have KOReader start on boot anyway?

There are at least four ways that I know to start KOReader:
KUAL
KOL
WinterBreak’s scriplet
By hand (via ssh/telnet)
mergen3107 is offline   Reply With Quote
Old 01-26-2025, 03:47 AM   #8
wujekbogdan
Junior Member
wujekbogdan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kindle Paperwhite 7th gen
Don't be a gatekeeper. Every guide on modding a Kindle starts with warnings about the risk of bricking the device. We're adults - I get it, I've been warned. If I brick it, then ¯_(ツ)_/¯ - it's not the end of the world.

> On KOReader side, if say KOReader crashes on startup, and it is part of upstart, the upstart will not be happy and send you to a restart. That means it will be in a loop, so that’s probably why I haven’t seen it done yet

If I do the following:
- Place the true startup script in userland - in a directory accessible via USB.
- Place a script that simply triggers that userland script in /etc/upstart.

Then a boot loop isn't that risky. If it happens, I can replace the userland script with a dummy bash echo script, and I'll escape the boot loop.

> What’s the main reason you would like to have KOReader start on boot anyway?

What's the reason people who mod consoles want the modded dashboard to start without any additional interaction? What's the reason people set up useless screensavers or other irrelevant modding stuff?

One reason is improving UX; another reason is pure curiosity or "just because." I believe many people in the modding scene do things just for the sake of doing them - just to prove that something perceived as undoable is actually doable.
wujekbogdan is offline   Reply With Quote
Old 01-26-2025, 09:21 AM   #9
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
It isn't a matter of gatekeeping. It is a matter of telling you it isn't a very good idea even to try. Also, the way you're expecting to recover from a bootloop suggest you have no proper knowledge about how embedded linux work and you picked the worst platform to learn.

If you really want to try then yes: Do your own research. If you need to ask some questions do it on the proper subforum (kindle development)

Here nobody knows and the people offering support on the program doesn't really want to know.

But if you want to know, please do. Be our guest. Hopefully you're able to get some outcome. We just warned you about the more likely outcome you'll get.
pazos is offline   Reply With Quote
Old 01-26-2025, 09:27 AM   #10
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I don't know if old methods like https://www.mobileread.com/forums/sh...d.php?t=221019 are still applicable. Take special note of https://www.mobileread.com/forums/sh...8&postcount=14
Frenzie is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KV Auto-start KOReader on startup of my jailbroken Kindle Voyage Maimun Ahmed Kindle Developer's Corner 4 03-03-2024 08:26 AM
koreader auto-closing on startup option file history xor_ KOReader 1 06-01-2022 04:41 AM
How to let koreader on Android open the last book after startup ? Norbi24 KOReader 3 09-14-2019 10:22 AM
advboot: a new approach to launch nickel or koreader at startup shadoooo Kobo Developer's Corner 127 03-11-2018 04:48 PM
Kobo-advboot Nickel or KOReader startup menu Ken Maltby KOReader 0 01-02-2016 02:22 PM


All times are GMT -4. The time now is 05:56 PM.


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