02-04-2018, 12:11 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2018
Device: Paperwhite 3
|
Unbricked PW3 successfully, now I don't have diags
Howdy,
This starts when I was trying to downgrade my Paperwhite 3 (Non JB- FW 5.8.9.0.1 from factory, upgraded to FW 5.9.2.0.1 via Kindle update) via the serial port. In this process I erased MMC0 by mistake and naturally ended up with a hard bricked kindle. In the shining light of this I figured out how to successfully unbrick and downgrade my firmware, and now have a functioning Kindle again at FW 5.8.2. Now my issue is that I cannot get in to diags, it seems that even though I've successfully flashed the firmware, I think I am missing the DIAGs partition. Trying to bootm 0xE4100 doesn,t work, giving an error that uboot can't get kernal image, and chucking the ENABLE_DIAGS on the root of the /mnt/us directory and rebooting just boots normally. I have tried flashing multiple firmware versions, as well as flashing an older firmware, then updating to a newer one, and while they all work, none of them seem to re-write the diag partition. I'm kind of stuck here, a nod in the right direction would be apreciated Last edited by ForensicKindle; 02-04-2018 at 12:30 AM. |
02-04-2018, 09:01 AM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
02-05-2018, 09:53 AM | #3 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2018
Device: Kindle PW3
|
sorry, what is this diags and which step has erased it? I can try to dump my pw3 if it would be helpful.
|
02-05-2018, 10:06 AM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Touchscreen Kindles are all "dual boot" (except KOA2, which is its own type of funky), like having both WinXP and Win10 on the same PC with a choice of which to boot. In the case of the Kindles, they are called: "main" and "diags" (named for their purpose). Directions and download here: https://www.mobileread.com/forums/sh...03#post3569803 The two files needed are: diag-uImage diagsys.bin And none other (some of the others contain personalized information for owner and device and should never become public). Last edited by knc1; 02-05-2018 at 10:09 AM. |
|
02-05-2018, 11:07 AM | #5 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2018
Device: Kindle PW3
|
Where is this "Erase All"? I ask it because I did downgrade to 5.7.4 initial and sometimes I tried resetting with creating DO_FACTORY_RESTORE file and I would like to know if anything lost on my device in that case.
|
02-05-2018, 11:33 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you haven't seen it, you don't have to worry about it.
If you do see it, do not be tempted to find out if it really works, it really does. |
05-01-2018, 08:29 PM | #7 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: PW3, PW4
|
Quote:
I was under the impression, possibly mistakenly, that the serial was also present in the diag partition. (In addition to it's obvious presence in uBoot) If so, that's good news because I accidentally killed my wife's diag partition and kernel on her PW3. I could just restore them from my intact PW3. |
|
05-01-2018, 08:58 PM | #8 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
That is correct.
Just run my back-up script on the good device and among the files it creates will be the two that you need. serial number and some other things are stored outside of the file systems, which makes them common to both systems. |
05-01-2018, 10:53 PM | #9 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: PW3, PW4
|
I was able to restore the diag FS with:
Code:
dd if=/mnt/us/backup/diagsys.bin of=/dev/mmcblk0p2 Code:
dd if=/mnt/us/backup/diag-uImage of=/dev/mmcblk0 bs=4096 skip=3649 count=2048 Code:
0+0 records in 0+0 records out 0 bytes (0B) copied, 0.005913 seconds, 0B/s Update: Well I got the diag system restored. Odd thing is the root password computed from that kindles serial doesn't work any more. The password computed from the donor kindles serial does... The only thing changed was the diag kernel and diag FS. Update 2: And after a subsequent reboot into the diag system it works with the original password. There's probably a process that sets the shadow file during bootup based on the value of /proc/usid. Either way, you were right and it works. Last edited by ColtB45; 05-02-2018 at 12:18 AM. Reason: Update |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW3 PW3-4, PW3-32, fw-5.8.9.0.1 software jailbreak | knc1 | Kindle Developer's Corner | 203 | 01-27-2020 11:53 PM |
Troubleshooting Kindle PW3 bricked "DIAGS EXIT Please use serial port" | neverthesane | Amazon Kindle | 2 | 05-20-2018 02:27 PM |
Free (ADE-DRM ePub) Don't Look, Don't Touch, Don't Eat [Biology & Evo Psych & Anthro] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 05-31-2015 06:41 AM |
my k4b was unbricked wrong kernel | yukimura39 | Kindle Developer's Corner | 4 | 07-26-2013 02:32 AM |
Classic Anyone successfully rooted 1.7? | jhempel24 | Barnes & Noble NOOK | 12 | 12-17-2011 04:26 PM |