10-05-2012, 02:45 AM | #1 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
[EXPERIMENTAL] Running PW 5.2.0 Firmware on a Kindle Touch
First things first: no, it doesn't work.
So... I just tried to flash the PW kernel and main partition onto my Kindle Touch. It looks like the device is willing to boot - I get a slightly displaced logo (normal, because the PW has a higher resolution than the Touch), and a spinning wheel under the guy sitting by the tree. However, at that point it just hangs. Any ideas about what could be done to troubleshoot what is going wrong? Last edited by ixtab; 10-05-2012 at 04:19 AM. |
10-05-2012, 02:52 AM | #2 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Ha, I will not even risk to try it. Though, of course there is no risk at all...
You still could SSH to diag (through loading U-Boot in USB downloader mode), right? Then mount /var/local paritiion (p3) and take a look at the common log there (AFAIR, it's /var/local/log/messages). BTW, there are nor module for zForce infrared touchscreen, nor module for KT's accelerometer, neither module for KT's Home button in dumped 5.2.0. But there is module for proximity sensor. Last edited by eureka; 10-05-2012 at 03:06 AM. |
10-05-2012, 03:12 AM | #3 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
A log of some sort would indeed be very helpful, but it seems like it freezes before it even opens a log file... |
|
10-05-2012, 03:47 AM | #4 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
If you've got to a spinning wheel, you've, at least got to upstart script /etc/upstart/early_progress.conf. It means that /var/local should be already mounted, as:
It might help in debugging. |
10-05-2012, 04:14 AM | #5 | |
Groupie
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
|
Quote:
The rest of /var is just a tmpfs filesystem that only lives in memory. That's why it's clean after a reboot. I think if you get the bootup splash, you are already far enough into the boot process that syslog got started so you should find some stuff in /var/log. But only if you don't reboot Try changing all references to /var/log/ in /etc/syslog-ng/syslog-ng.conf to a directory in /var/local/. |
|
10-05-2012, 04:39 AM | #6 |
Member
Posts: 19
Karma: 33225
Join Date: Aug 2012
Device: Kindle Touch
|
Just taking a first look to find the new fonts
/lib/firmware is already missing things that are in K5. /opt/amazon/loc_level_screens are now in 758x1024 (K5 is 600x800) And I can't seem to find the fonts on the first look. They are not in /usr/java/lib/fonts in p1 - it is empty in PW. |
10-05-2012, 04:44 AM | #7 | |
Groupie
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
|
Quote:
Amazon has put several directories with many files into a compressed image that get mounted during startup. You can mount it on Linux with this command: Code:
mkdir fonts ; sudo mount -o loop path/to/fonts.cramfs.img fonts |
|
10-05-2012, 04:57 AM | #8 |
Member
Posts: 19
Karma: 33225
Join Date: Aug 2012
Device: Kindle Touch
|
|
10-05-2012, 05:05 AM | #9 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
I'm just wondering - WHY ON EARTH are they doing that?! They are effectively slowing down the device for no reason: Extracting the files takes time, and accessing them through whichever method they chose will also take more time than directly reading them from the file system. The only reason for doing this would have been if the partition was too small to hold all of the files, but that doesn't seem to be the case. So again: Why the f^Whell did they do this? |
|
10-05-2012, 05:10 AM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Files contain things that will depend on build date and compiler used. There are various ways to check if two files have the same code (which still leaves open the question of different code that is functionally the same). Perhaps the simplest is to use objdump -O binary -J .text .... Other options as desired, and then compare the resultant binary. |
|
10-05-2012, 08:39 AM | #11 | |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Quote:
Then, when looking back at earlier firmware versions, I tend to not search for a global strategy with them. I guess they've got a handful of developers knowledgable enough for system integration jobs, who are always short on time and who have a zoo of come-and-go devels at hand and in the end they must live with what the latter came up with. The whole firmware looks a bit sketchy and assembled from lots of bits and pieces with no clear overall picture. Compare e.g. with Android based firmware - but in the proprietary parts, these tend to get messy, too. |
|
10-05-2012, 10:37 AM | #12 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
And Kindles very rarely (in the hands of common end-users) re-boot. After that first access after a re-boot, the fonts are "Hot" in the VFS cache (present in fast RAM). Which, of course, is also true if the fonts had been read from flash rather than read from a file system in a file that was read from flash. The only stone I can think to throw at lab126 is that they did not use squashFS but instead used the very old cramFS. |
|
10-05-2012, 12:08 PM | #13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
10-06-2012, 06:52 AM | #14 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
I finally finished my exams, and am debricking my touch...
Before I do, I would be glade to do some CRAZY experiments on it. Anyone interested? (I'm going out of station on 17'th so I guess that's the latest) |
10-06-2012, 10:01 AM | #15 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=103378 Anybody want to try that on their new Paperwhite? Or even a K5? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues with Kindle Touch firmware 5.1.0-5.1.2 | osnova | Amazon Kindle | 6 | 11-10-2012 05:26 PM |
[Kindle Touch] 5.1.1 Firmware | kubrick89 | Kindle Developer's Corner | 90 | 07-01-2012 01:38 PM |
[Kindle Touch] Firmware 5.1.0 and jailbreak | ixtab | Kindle Developer's Corner | 85 | 06-28-2012 04:43 AM |
[ Kindle Touch ] Firmware downgrade | vpx | Kindle Developer's Corner | 21 | 03-27-2012 06:00 PM |
new kindle update 1.2, changes to Experimental | huari | Amazon Kindle | 2 | 02-16-2009 10:16 AM |