|
|
Thread Tools | Search this Thread |
07-20-2019, 05:32 PM | #16 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
P.S.
1. I still believe till now that the kernel versions will turn out to be the same. Or is it wishful thinking? 2. @NiLuJe ... I don't think that what I'm proposing would work, but just for the sake of confirmation: can't we just trick the old man sitting on the armchair in the porch by patching the assertion? |
07-20-2019, 05:51 PM | #17 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
P.P.S.
Looking at screenshots of 5.4.4.2 online, it seems that it is older than the new UI that I wanted. It seems that the new UI debuted on the 5.9.x series ... which might be within reach if 5.4.4.2 was done. Still, only a little disappointing, but not enough to kill the project, since I really believe that it's possible. |
07-20-2019, 06:14 PM | #18 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Probably no: you'd risk random segfaults because of ABI breaks.
And I'd wager > 5.6 is definitely out: it never came out for the PW1. So, different platform. |
07-20-2019, 06:33 PM | #19 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
|
07-21-2019, 05:42 AM | #20 | |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Surprise! It turns out to run the same
A quick Google search reveals this. Quoting from this tutorial: Quote:
|
|
07-21-2019, 08:25 AM | #21 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's not terribly surprising .
|
07-21-2019, 07:12 PM | #22 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
So I have downloaded the Paperwhite 1 5.6.1.1 firmware package and extracted it, then mounted the resultant rootfs.img.
However, I'd like to ask a few things first: - Can I get to monitor the boot process, possibly using dmesg, over USB alone? (I can't do serial) - Can I 'netboot' the Kindle without serial too? - I've seen that the Kindle retrieves each and every splash screen from /opt/amazon/low_level_screens/600x800/* on the Touch, while the Paperwhite uses /opt/amazon/low_level_screens/* (no resolution). In theory, that would mean that the Touch would fail to even start booting because the boot pictures are mislocated. I'm copying those over from the Touch to the Touch path in the Paperwhite image. The question is: are there more resolution- or device-specific files in the rootfs image that I should pay attention to? - I've found and flashed (using dd on the Kindle's main system) a modified diags (mmcblk0p2) partition for SSH access (first thought of modifying it by hand, but then got too lazy). However, mount -o rw,remount /dev/mmcblk0p4 / && touch /ENABLE_DIAGS && reboot doesn't seem to work. I don't have a Windows machine (Linux only), so I can't use MfgTool to "select boot". What do I do? Last edited by WaseemAlkurdi; 07-21-2019 at 07:14 PM. |
07-21-2019, 07:49 PM | #23 | |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Quote:
Another point I noticed is that "diags" boot has a slightly different splash screen (older "Amazon Kindle" vs. newer "Kindle" logo). And it happens that the "diags" system is based on the Kindle 5.0.1 firmware. That seems to confirm that yep, the splash is loaded from /opt/ ... and that the loss of the splash screen (or something possibly more important) due to the path change might be problematic. |
|
07-22-2019, 05:23 PM | #24 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
@NiLuJe @knc1
I'm ready and waiting for your response to start the rootfs transplant. How do you suppose I could monitor the boot process over USB? |
07-22-2019, 05:34 PM | #25 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I tend not to respond when I have no idea .
Random somewhat related comments: * Patching diags to get SSH in there and make it stick is kind of the RescuePack's sole purpose in life . * I don't think anyone ever attempted anything related to USBSerial (I'm not even sure the kernels support that gadget). So, yeah, monitoring would be far more reliable over serial. If it does boot, the kernel logs are somewhat sanely archived by the logging system, although this sometimes goes a bit wonky. |
07-22-2019, 05:52 PM | #26 | ||
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Quote:
I did know that there was something "called" a Rescue Pack (specifically, it's when I noticed this in your Snapshots thread), but I thought it was for bricked Kindles, and didn't read the thread. And I wish I had read this, because it would have saved me a whole load of effort (half of which has been head-scratching because ENABLE_DIAGS did nothing on a Kindle w/o Rescue Pack So, do you think I should jump right in? I'm going to dd if=rootfs.img of=/dev/mmcblk0p4 bs=4096 via a SSH session from diags, then copy /opt/amazon/low_level_screens/* from the Touch rootfs and reboot. If that doesn't work, I'm going to throw in the contents of /lib/modules/* as well [1] Anything I should know? P.S. [1]: I thought about this because of this quote by @knc1: Quote:
|
||
07-22-2019, 06:23 PM | #27 | |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
P.P.S.
In post #4 in this thread, @geekmaster says: Quote:
Provided that we have both SSH in diags and fastboot/imx_usb, what is left to be concerned about? |
|
07-22-2019, 06:44 PM | #28 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Because it is a dual boot system, not a concurrent boot system.
(gm probably will not answer you, he passed away last summer.) |
07-22-2019, 08:13 PM | #29 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
CRP also helps in that you don't even have to have access to the FS anymore: boot with a cable plugged in => diags.
Although, IIRC, that doesn't actually work all that well on the Touch, so, just saying that for future ref ;p. |
07-23-2019, 03:13 PM | #30 | ||||
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Quote:
May their souls rest in peace, they've certainly been a helping hand to lots of people out there ... It's really touching when you re-read the words of a person you've thought to be alive, after you get the news of their death ... it's almost like you've known them in person. Quote:
To update you on my progress, I have done the transplant. And as you have expected, it didn't boot. Initially, I flashed my own fixed-up version of rootfs.img. I basically mounted it, searched for files with yoshime in their names, and replaced them with Kindle Touch versions. This is the list of files from the Touch that had yoshi in their names: Quote:
Quote:
That did not work. Nor did flashing the verbatim image from the Paperwhite In both cases, it's stuck at the tree with the 'Kindle' logo. No signs of life, nothing when plugging USB. The power button would trigger the LED when pressed. Note that I have not flashed the Paperwhite kernel. I feared that the Paperwhite kernel might do something nasty and permanent to the hardware ... and on Android devices, this happens. What now? |
||||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paperwhite w/ 3G firmware version question | cspittell | Amazon Kindle | 7 | 06-15-2018 07:29 PM |
Current Firmware Version of New Paperwhite or Voyage | victoryhollow | Kindle Developer's Corner | 17 | 06-11-2015 08:08 AM |
Paperwhite 2: what firmware version does it come with? | ixtab | Amazon Kindle | 48 | 11-08-2013 10:57 PM |
Backporting firmware 4.0.1 on Kindle 3 - in progress | giorgio130 | Kindle Developer's Corner | 49 | 04-02-2012 04:18 AM |
How to install prior version of Calibre when newer version installed? | SilentSeven | Calibre | 3 | 04-13-2011 12:46 PM |