![]() |
#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. |
![]() |
![]() |
![]() |
#17 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
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
![]() |
![]() |
![]() |
![]() |
#18 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
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). |
![]() |
![]() |
![]() |
#19 | |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
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). |
|
![]() |
![]() |
![]() |
#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?
|
![]() |
![]() |
![]() |
#21 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
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?
|
![]() |
![]() |
![]() |
#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?
|
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
#24 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() ![]() Posts: 31
Karma: 100
Join Date: Jul 2024
Device: Kindle Scribe
|
Folks , I would like to add following command to the Kindle DX boot startup process
change the date by command 'date 111120422024' It should set the date from default 1970. What would be the best way to do it on Kindle DX? Last edited by vendo232; 02-03-2025 at 11:57 PM. |
![]() |
![]() |
![]() |
Tags |
kindle modifications |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ant Exec(scp) on Windows Os ? | CapitainDerya | Kindle Developer's Corner | 5 | 08-19-2013 03:37 PM |
How to show kernel boot information instead Amazon boot picture? | madtrapper | Kindle Developer's Corner | 8 | 01-04-2013 08:51 AM |
Story HD Mod: SHD Exec | Wermesz | iRiver Story | 8 | 10-09-2012 01:12 PM |
Opus cannot boot, stuck on boot screen | baloma | Bookeen | 35 | 11-13-2010 04:20 AM |
Best Ereader software for O2 xda exec | rajendra8 | Reading and Management | 2 | 09-10-2009 05:40 AM |