![]() |
#1 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
K5 FW 5.3.7.3 ignores ENABLE_DIAGS!
I updated the firmware to the latest version (5.3.7.3) on a K5 (Touch), and now it boots to main even when there is an ENABLE_DIAGS file. That rather complicates things a bit. Jailbreak survived the update, and MKK and KUAL work fine after reinstalling them.
Sadly, MfgTool does not work on my current Win7 x64 box (though freescale/nxp has a new version that supports i/MX6), so I cannot boot to diags that way. I will need to add a DIAGS extension for KUAL, that sets the idme boot mode var and does an orderly reboot. |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Try RP (Rescue Pack) - it adds ssh to diags and re-enables the recognition of ENABLE_DIAGS.
I am not sure if it is suppose to work on a K5, but check it out. There is also an extra add-on to RP - the Cowards Rescue Pack. It will trigger entry into Diags if you leave the cable connected when you re-boot. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
SSH was in diags (from kubrick). I was not aware of ENABLE_DIAGS needing rescue pack. I have not been following these forums for some time (until recently). I have been reading old threads lately (relevant to things I am interested in lately). Thanks for the pointer... Rescue pack it is...
|
![]() |
![]() |
![]() |
#4 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Your welcome.
I have been on the "help desk" here nearly every day. A lot of these answers I have memorized. ![]() |
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
While the RP itself works perfectly well on a K5, the *CRP* detection doesn't "take" during boot, for some mysterious reason I never really bothered to look into since those can be put into USB downloader mode anyway
![]() Triggering the CRP job after boot works, on the other hand, so, meh. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
If I get my hands on newer devices that I can risk by opening and poking and prodding, I plan to find a testpoint or via (or more likely a resistor) that connects to the "magic pin" that enables USB downloader mode. It has to go to one of the pins that sets the boot mode (which need to be tied to resistors, and perhaps some sort of electrical switching mechanism). They must be routed to resistors, which must be on a top or bottom layer (at least according to my understanding about how these i.MX SoC devices work.
We just need to figure out which side of which resistor to short to ground without releasing the magic smoke, and we can adapt Kubrick to these new devices too... ![]() Last edited by geekmaster; 05-02-2016 at 09:42 PM. |
![]() |
![]() |
![]() |
#7 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Don't some of those ship with a nice "USB Mode" label near some pins somewhere on the board?
|
![]() |
![]() |
![]() |
#8 | ||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
Last edited by geekmaster; 05-02-2016 at 10:02 PM. |
||
![]() |
![]() |
![]() |
#9 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I have pictures, PW2, PW3, KT2 posted somewhere (in my PW3 and/or KT2 treads). Those are the ones that I hadn't tried, the ones I was going to control with the control outputs of the Jim.fx adapter board. Now with the info GM quoted, it should be a piece of cake to test it they are working in consumer boards (the other pad outlines work as labeled). |
|
![]() |
![]() |
![]() |
#10 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Unfortunately, users will still need to ground a pad before releasing power, to acquire USB downloader mode -- not for the timid. Perhaps we need to design and publish a simple test jig (per kindle model, and which anyone can build) that presses a wire into the correct location without error when the Kindle (with cover removed) is lowered onto it... |
|
![]() |
![]() |
![]() |
#11 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
That is a possibility, 'jig' idea.
In the "serial jailbreak for dummys" sticky our links to ways to make the connections without soldering. One of them, the "rubber pad and pins" method might be a starting point for the jig. = = = = You don't have to rebuild the initramfs - it can be modified "in place" by simply appending a gzip'd, cpio archive, that over-writes what you don't want and also adds what you do want to the initramfs. I started to write it up - and will finish RSN because it is how I am going to make a "rescue kernel" for my bricked K2. (I made a system image change and forgot completely about updating the md5 system manifest == immediate brick.) PEBKAC at its worse. |
![]() |
![]() |
![]() |
#12 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
https://www.mobileread.com/forums/sho...30&postcount=1 posts 1, 6, probable others |
|
![]() |
![]() |
![]() |
#13 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
That appending a gzip file to another gzip file is correct, because it is "standard" to make a big gzip by appending multiple smaller gzips. I did that back in the day on a few occasions. So yes, the tail-end gzip should overwrite files on earlier prepended gzips...
That Oasis "teardown" thread had pics that showed LOTS of exposed pads. I wonder if there are serial and bootmode (and perhaps JTAG) pins in that pin grid array. A test jig should also work for serial port access on all the kindles that have bare pads with no connector. What license do you suggest we use for an "open hardware" test jig design (and perhaps 3D printer STL files)? Last edited by geekmaster; 05-03-2016 at 05:54 PM. |
![]() |
![]() |
![]() |
#14 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
And we have only seen one side of the board.
That was two pictures of the same side. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paperwhite ignores indents | brahms | Kindle Formats | 58 | 03-25-2016 01:58 AM |
Sigil ignores some CSS-specified fonts | tetrault | Sigil | 12 | 01-29-2016 10:43 AM |
FBReader ignores margin-top | AlanHK | ePub | 24 | 03-25-2015 06:59 AM |
Alternative way to enter diagnostics mode (instead of the ENABLE_DIAGS file)? | Synthead | Kindle Developer's Corner | 3 | 07-15-2013 11:46 AM |
Paperwhite freezed completly with ENABLE_DIAGS | DennisFuel | Kindle Developer's Corner | 9 | 01-12-2013 09:20 AM |