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 09-11-2022, 05:14 PM   #16
Cyrill
Junior Member
Cyrill began at the beginning.
 
Cyrill's Avatar
 
Posts: 7
Karma: 10
Join Date: Sep 2022
Location: Switzerland
Device: Kindle K4 (black)
@NiLuJe

/etc/upstart does not exist on my system. I'm on a kindle K4.

Can I safely create `/etc/upstart` if it does not exist, or are there alternatives? I want to make sure my python script restarts after a reboot.
Cyrill is offline   Reply With Quote
Old 09-12-2022, 05:59 PM   #17
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: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
No, the K4 uses a completely different init system, so that's not a drop-in replacement situation .
NiLuJe is offline   Reply With Quote
Advert
Old 09-12-2022, 06:01 PM   #18
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: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'm sure there are many many things with code to handle both init systems, but my mind is blank right now, the only thing that comes to mind is MRPI itself, although that's not exactly an "at boot" situation.

So, better question: What are you even trying to do in the first place?

(On the upside, screwing up with sysvinit on a K4 won't be as bad as screwing up with upstart on FW 5.x, as that can soft-brick a device veeeery easily).
NiLuJe is offline   Reply With Quote
Old 09-12-2022, 06:03 PM   #19
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: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by NiLuJe View Post
So, better question: What are you even trying to do in the first place?
Okay, reading helps. I should just go to bed.

Assuming it's not boot-critical (and it *really* shouldn't be), you'll want to start as late a possible, that means an S99 prefix in the right runlevel (I... can't remember what the various runlevels do anymore, just unpack any of my hacks, they set up stuff in the three of 'em. I want to say that main is 5? or 6? but, really just double-check).
NiLuJe is offline   Reply With Quote
Old 09-12-2022, 06:41 PM   #20
Wolf-HRB
Enthusiast
Wolf-HRB began at the beginning.
 
Posts: 37
Karma: 18
Join Date: Feb 2022
Device: PW3, PW4 and PW5 Signature Edition
could we use this to force downgrade or jailbreak?
Wolf-HRB is offline   Reply With Quote
Advert
Old 09-12-2022, 07:21 PM   #21
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: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
No, because catch-22?
NiLuJe is offline   Reply With Quote
Old 09-13-2022, 05:47 AM   #22
Wolf-HRB
Enthusiast
Wolf-HRB began at the beginning.
 
Posts: 37
Karma: 18
Join Date: Feb 2022
Device: PW3, PW4 and PW5 Signature Edition
may be we could try it, because the core for jailbreak is to make ;log xxxxx command to work, Thus, could we use this method to add that support back to the os?
Wolf-HRB is offline   Reply With Quote
Old 09-13-2022, 06:05 AM   #23
Cyrill
Junior Member
Cyrill began at the beginning.
 
Cyrill's Avatar
 
Posts: 7
Karma: 10
Join Date: Sep 2022
Location: Switzerland
Device: Kindle K4 (black)
Thanks so much!

I will dive into the depths of sys-v init configurations. Seems you have all of the work already in your hacks.
Cyrill is offline   Reply With Quote
Old 09-13-2022, 12:08 PM   #24
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: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Wolf-HRB:
Quote:
Originally Posted by NiLuJe View Post
No, because catch-22?
NiLuJe is offline   Reply With Quote
Reply

Tags
kindle modifications


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ant Exec(scp) on Windows Os ? CapitainDerya Kindle Developer's Corner 5 08-19-2013 04:37 PM
How to show kernel boot information instead Amazon boot picture? madtrapper Kindle Developer's Corner 8 01-04-2013 09:51 AM
Story HD Mod: SHD Exec Wermesz iRiver Story 8 10-09-2012 02:12 PM
Opus cannot boot, stuck on boot screen baloma Bookeen 35 11-13-2010 05:20 AM
Best Ereader software for O2 xda exec rajendra8 Reading and Management 2 09-10-2009 06:40 AM


All times are GMT -4. The time now is 12:54 PM.


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