09-11-2022, 05:14 PM | #16 |
Junior Member
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. |
09-12-2022, 05:59 PM | #17 |
BLAM!
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 .
|
Advert | |
|
09-12-2022, 06:01 PM | #18 |
BLAM!
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). |
09-12-2022, 06:03 PM | #19 | |
BLAM!
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:
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). |
|
09-12-2022, 06:41 PM | #20 |
Enthusiast
Posts: 37
Karma: 18
Join Date: Feb 2022
Device: PW3, PW4 and PW5 Signature Edition
|
could we use this to force downgrade or jailbreak?
|
Advert | |
|
09-12-2022, 07:21 PM | #21 |
BLAM!
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?
|
09-13-2022, 05:47 AM | #22 |
Enthusiast
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?
|
09-13-2022, 06:05 AM | #23 |
Junior Member
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. |
09-13-2022, 12:08 PM | #24 |
BLAM!
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
|
|
Tags |
kindle modifications |
|
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 |