06-09-2019, 08:44 PM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2019
Device: Kindle 3, PW3, PW4(Bricked)
|
Help unbricking PW4 (Serial)
I have a PW4 here which won't boot past the 'boy under a tree' screen.
I have serial access now - and here is the output when booting normally: https://pastebin.com/KeJhgY8R Through the recovery menu - I can get the FAT32 partition to mount and have tried: DO_FACTORY_RESTORE (didn't seem to do anything) Copying the latest update to the device (applied the update, but didn't help at all) Copying the factory image from the "Brand new PaperWhite 4 (2018) factory image JailBreaking" thread (update failed - but sounds like you can't 'downgrade' anyway). Any more suggestions of things I can try? |
06-09-2019, 10:06 PM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Code:
Kernel command line: console=ttymxc0,115200 consoleblank=0 uart_at_4m root=/dev/mmcblk1p8 rootwait quiet secure_cpu=1 androidboot.secure_cpu=1 androidboot.prod=1 androidboot.unlocked_kernel=false |
Advert | |
|
06-09-2019, 10:36 PM | #3 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2019
Device: Kindle 3, PW3, PW4(Bricked)
|
... what does this mean? Is it possible to flash the factory image using fastboot?
|
06-09-2019, 11:16 PM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Also, that was the kernel command line showing that the Android boot system is locked, at the time the kernel begins execution. But perhaps not prior to the kernel execution. Also in those messages you will note that they have started using encrypted signatures for the kernel and modules. Lots of fun there also. - - - - Do not hold your breath for any chance I might try to break into what Amazon/lab126 has done. Maybe younger minds, say half my age, will be better suited than myself. |
|
06-10-2019, 05:54 PM | #5 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2019
Device: Kindle 3, PW3, PW4(Bricked)
|
It sounds like this is more of a mess than it was with the PW3..
This is the kindle that bricked when taken to PNG - something came over the cellular network and is preventing it from booting. It hadn't been flashed with anything wild - so I had hoped a factory reset would fix it. The PW3 I had which suffered the same fate is working fine after a 'fresh' flash. DO_FACTORY_RESTORE doesn't seem to be doing anything - does this still work in the androidized models? Or is mine just crashing too early in the boot sequence? Is there any other way I can factory reset? Nuke a particular partition from fastboot maybe? There is also that mystery image from the PW3 thread - https://www.mobileread.com/forums/sh...3&postcount=10 - part of me wants to try flashing that, but I don't want to make things worse than they already are. |
Advert | |
|
06-10-2019, 06:35 PM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Mystery image: *) Use Kindletool to convert (just kindletool on command line gives help file). *) Remove the rootfs.img file from the converted *.tar.gz compressed archive. *) Create a new mount point (/mnt/pw4 would do nicely) *) Mount that image (mount rootfs.img /mnt/pw4 <- all that is required of a modern Linux) *) Make /mnt/pw4 the current directory (cd /mnt/pw4) Everything in the file system below that new mount point is the Kindle's root file system image - enjoy. If you want to actually RUN binaries of that file system image - - Pick your favorite Linux distribution - Enable qemu-user-binfmt and gemu-user-static of your distro - (probably good to pick up a few how-tos at your local distro's forum) How when you execute an ARMxx binary, the Linux system will just do it. Even if you are running an Intel x64 system. And yes, you can also enable ARMxx-Java so you can play with the Kindle's GUI stuff. But just viewing with a text editor scripts and such will give you a lot of information. If you only have access to Windows, you are s.o.l. for any of the above. (Yes, Virginia, there is a but you will not find him on Windows) |
|
06-10-2019, 10:31 PM | #7 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2019
Device: Kindle 3, PW3, PW4(Bricked)
|
OK so I got the image mounted (diagrootfs.img in this case) in Ubuntu server and had a poke around.
Here is the output of 'tree' - https://pastebin.com/yHdEpGhW There are some 'interesting' files in the root directory: bin dev etc INTERNAL_FEATURES_ENABLED__DO_NOT_RELEASE lib lost+found mnt MNTUS_EXEC opt PRE_GM_DEBUGGING_FEATURES_ENABLED__REMOVE_AT_GMC proc sbin sys system usr var I'm not really sure what I'm looking at now... |
06-10-2019, 11:47 PM | #8 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I.E: They took out the "dual boot" system of two system roots ("main" and "Diags") and just took the original (older, dual boot) initramFS and created all of the "Diags" (new and improved, right!) into what used to be the initramfs. BIG NOTE: The above is all supposition on my part, but it seems to be consistent with the development direction that Lab126 is taking. I have been at this C.S. game since 1962, but I could easily guess wrong. - - - - - If this image can be loaded somehow on a PW4, there should be a number of usable attack vectors. Of course, I do not want to give any of this away in public. Last edited by knc1; 06-10-2019 at 11:50 PM. |
|
06-11-2019, 06:29 PM | #9 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2019
Device: Kindle 3, PW3, PW4(Bricked)
|
I thought I'd give fastboot a shot - to at least get it running.
It seems to 'see' the kindle but every command I give it fails with "FAILED (command write failed (No error))" https://pastebin.com/eNw5QZ6T Any ideas? I'm wondering if something like "fastboot erase userdata" would give me a factory reset and might let the kindle boot? Last edited by SenorClean; 06-11-2019 at 06:31 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW4 PW4 Serial Jailbreaking (OTA updated) | matko | Kindle Developer's Corner | 53 | 11-17-2023 03:34 PM |
Jailbreaking a PW4 with G001 serial number | thechordmaster | Kindle Developer's Corner | 31 | 03-19-2019 12:31 AM |
Need help for unbricking PW 5.3.1 | szfisher | Kindle Developer's Corner | 22 | 07-12-2013 08:38 AM |
HELP PLEASE!!! Unbricking EE | Yellowman1 | enTourage eDGe | 8 | 07-21-2011 08:54 AM |
Help with unbricking kindle via serial port | yifanlu | Kindle Developer's Corner | 12 | 03-10-2011 07:51 AM |