![]() |
#106 | |||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|||
![]() |
![]() |
![]() |
#107 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Hi again.
CAN ANYBODY PLEASE get main kernel image and post it here? I really need it! |
![]() |
![]() |
Advert | |
|
![]() |
#108 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 12366
Join Date: Mar 2012
Device: Kindle 4GNT
|
Hello,
after some experiments, I guess my Kindle (4, nontouch) is broken pretty good. Fun is: I didn't even try anything strange - it froze while trying to connect to a network and then never bounced back. Originally, i could reboot it to the startscreen, with the loading bar stuck at about half. After some time, it rebooted. It did that again and again and din't care whether it was connected to PC, Power supply or not at all. After finding this forum, I was able to use MfgTool to boot into debug mode. Unfortunately, it froze soon after. With some more tries and quick copying I was able to activate USB-storage and to get the "ENABLE_DIAGS" file onto it. This way, I at least could try some stuff before the kindle froze. Still, it didn't help much. Starting fastboot and connecting via fastboot worked (I installed the driver via inf-wizard in libusb). That way, I at least knew that some parts still work. The kindle doesn't seem to crash in fastboot but - of course - it's not of much use in fastboot. I can verify the information from getvar (mac, serial, product) and the kindle responds to information from here but it doesn't help me getting it up and running, again. "fastboot check" reports CRC-failures on bist, userdata, kernel, diags_kernel, system, diags and data. Even after doing a "fastboot erase diags", check fails. Same response after "fastboot flash diags mmc..." (I dd'ed the partitions from another kindle 4nt as I didn't find a diags backup online) - although it sometimes fixes that "not booting to diags but to black screen" problem. I tried flashing "system" with mmcblk0p1.bin and although fastboot pretends that is succeeded (still check fails), I've read that fastboot 350MB is too much for flashing via fastboot and should be written via dd - once you can use usb-net (which I can't because diags mode freezes before I can do anything). For the record: I tried bootmodes factory and reset and although my kindle did "something" after reboot, it refused to load correctly. Some little thing that confused me: The "Adjust battery" in diags mode often reports a negative battery charge current. Still, that screen assured me that charging the battery works. When the Kindle is connected to a charging device, the device battery level rises.. (up to 100 where it is at the moment). Very many thanks for all the documentation and tools that have been compiled in this forum. Without these, I'd have given up some time ago and I guess this will prove useful if I ever decide to toy with my next Kindle. I'm pretty much labeling this Kindle "broken beyond repair", so if anyone has some ideas, experimental kernels or stuff like this, I'd be more than happy to try it. Regards, TCC |
![]() |
![]() |
![]() |
#109 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
Quote:
Can you select in diags "Export USB device"? If so, you can try to install RUNME hack and put RUNME.sh with proper commands inside to Kindle. For that proper content refer partially to instructions here: https://www.mobileread.com/forums/sho...70&postcount=3 From link above follow instructions from point 1) EXCEPT - the data.tar.gz download from here: https://www.mobileread.com/forums/sho...d.php?t=169645 (see attached files) Thanks geekmaster, I didn't know that exists some universal file. I think that's all I can say to your problem. Also I appreciate that you asked after trying all options and you was looking on forum for answers. ![]() murz_07: Spoiler:
EDIT: murz_07: Nope, you can't ![]() Last edited by hostar; 03-30-2012 at 02:44 AM. |
|
![]() |
![]() |
![]() |
#110 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Extracting kernel images from mmcblk0 takes a bit of effort. We typical backup only the first 32MB of /dev/mmcblk0, which contains all the stuff outside the normal partitions. I plan to write a script to make backing up these kernel images easier. Because kernel versions should match the partition they boot, it would help to know the kindle model AND firmware version, but using the wrong kernel version should still work (better than being bricked, at least). ![]() Last edited by geekmaster; 03-29-2012 at 06:08 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#111 | ||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
My testing shows that kindles charge best in fastboot mode. ![]() Last edited by geekmaster; 03-29-2012 at 05:57 PM. |
||
![]() |
![]() |
![]() |
#112 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
Quote:
![]() Is it possible to extract and backup it? EDIT: I see... |
|
![]() |
![]() |
![]() |
#113 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You can backup the kernels with:
dd if=/dev/mmcblk0 of=/mnt/us/mmcblk0.img bs=1K count=32K That will save the first 32MB of the mmc device (with the "write-only" areas showing as all "\x00"). You can extract kernel images from that, which you can flash with fastboot. The main kernel starts at 0x41000 and the diags kernel starts at 0xe41000 (on the touch). I am not sure about the K4, but you can find them by searching for "Linux-" with grep. The flash header is in the 32-bytes before the "Linux-" string, and it contains the length of the flash image. It should be rounded up to the next erase block boundary. The kernel images are normally padded with a bunch of /x00 or /xff from the end of the kernel identified in the flash header up to the flash erase block boundary. As you can see, it would be easier if this were automated in a script, which is what I plan to do. ![]() |
![]() |
![]() |
![]() |
#114 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
UPDATE: Added missing "skip" option to "dd" commands, and updated kernel download links in first post.
EDIT: I show how I do what I do, as below, so that others may learn how to do as I do. Even if I did not provide these images, others could by using these methods. Hopefully, you can use these methods to solve OTHER problems as well. Good luck, enjoy and learn!Yes... I am working on it... What model kindle and what firmware version? I have too much going on right now to look through old posts for it. It would help a LOT if required details were supplied with each request. Tested on touch 5.0.4: Code:
[root@kindle us]# hexdump -C -n$((32768*1024)) /dev/mmcblk0|grep -B2 "Linux-" 00041000 27 05 19 56 69 ce dd f4 4f 44 58 1d 00 4d ab 40 |'..Vi...ODX..M.@| 00041010 70 00 80 00 70 00 80 00 b4 3c c1 c3 05 02 02 00 |p...p....<......| 00041020 4c 69 6e 75 78 2d 32 2e 36 2e 33 31 2d 72 74 31 |Linux-2.6.31-rt1| -- 00e41000 27 05 19 56 69 af 75 1f 4e b2 dc 2a 00 4e 2a 00 |'..Vi.u.N..*.N*.| 00e41010 70 00 80 00 70 00 80 00 42 2f b5 70 05 02 02 00 |p...p...B/.p....| 00e41020 4c 69 6e 75 78 2d 32 2e 36 2e 33 31 2d 72 74 31 |Linux-2.6.31-rt1| [root@kindle us]# dd if=/dev/mmcblk0 of=/mnt/us/kernel.img bs=1K count=4971 skip=$((0x41000/1024)) or dd if=/mnt/us/mmbclk0.img of=/mnt/us/kernel.img bs=1K count=4971 skip=$((0x41000/1024)) The second linux kernel found is the diags kernel, which boots the diags partition. Of course, the lengths shown above may be different for other firmware versions, and the offsets may be different for different kindle models. I will check into it... Tested on K4 4.0.1: Code:
[root@[192_168_15_244] us]# hexdump -C -n$((32768*1024)) /dev/mmcblk0|grep -B2 "Linux-" 00041000 27 05 19 56 ee 89 78 6d 4e 7c 0c 6f 00 48 a5 40 |'..V..xmN|.o.H.@| 00041010 70 00 80 00 70 00 80 00 04 f9 5a 54 05 02 02 00 |p...p.....ZT....| 00041020 4c 69 6e 75 78 2d 32 2e 36 2e 33 31 2d 72 74 31 |Linux-2.6.31-rt1| -- 00e41000 27 05 19 56 2a 4a 2e 2c 4e 61 8a 64 00 4e 29 80 |'..V*J.,Na.d.N).| 00e41010 70 00 80 00 70 00 80 00 ab 66 60 c5 05 02 02 00 |p...p....f`.....| 00e41020 4c 69 6e 75 78 2d 32 2e 36 2e 33 31 2d 72 74 31 |Linux-2.6.31-rt1| [root@[192_168_15_244] us]# dd if=/dev/mmcblk0 of=/mnt/us/kernel.img bs=1K count=4614 skip=$((0x41000/1024)) or dd if=/mnt/us/mmbclk0.img of=/mnt/us/kernel.img bs=1K count=4614 skip=$((0x41000/1024)) ![]() Kernel image files extracted using dd commands shown above were added to the first post in this thread: https://www.mobileread.com/forums/sho...d.php?t=170929 ![]() Last edited by geekmaster; 03-30-2012 at 02:45 PM. |
![]() |
![]() |
![]() |
#115 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2012
Device: Kindle 4
|
Guys, I'm really sorry that I'm OT but one dumb friend tried to instal Duokan on my K4NT. He copied Duokan files and that Diag file to my Kindle.
He was lost at that Tequila diags, panicked and tried to Exit from it. He tried Restart but it always get back into Diag mode ... So he did something stupid. In Tequila he selected Section D) Exit, Reboot or Disable Diag ... And selected 1.St option ... Now my Kindle is Frozen. Can you navigate me, how to get my Kindle back to work? I'm really sorry but I don't know what to do. |
![]() |
![]() |
![]() |
#116 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() Use MfgTool to boot to diags. Start SSH from menu N) U) Z) then at shell type: idme -d --bootmode main rm -f /mnt/us/ENABLE_DIAGS reboot You can download MfgTool from first post in this thread. ![]() Last edited by geekmaster; 03-29-2012 at 08:22 PM. |
|
![]() |
![]() |
![]() |
#117 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2012
Device: Kindle 4
|
geekmaster Thank You Very Much!
It worked, I was afraid that I lost my Kindle in Silicon Heaven. He is definatelly EX-Dumb Friend. |
![]() |
![]() |
![]() |
#118 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 12366
Join Date: Mar 2012
Device: Kindle 4GNT
|
Hi hostar, thanks for your reply.
Quote:
So I can enable USBnet. But I'm lucky to have ssh-connected to the Kindle before it freezes - so zero chance of running a 350-MB-dd. Quote:
Also thanks to geekmaster for the information on the crc fail. One of my guesses was that the flash just was extremely broken and therefore refusing to accept anything. I think I'll try reflashing the diags-kernel and hope that this fixes the freezes. My main problem is that everything outside of fastboot is a race against time. Regards, TCC |
||
![]() |
![]() |
![]() |
#119 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K Using my data.tar.gz from the "Select Boot" thread. |
|
![]() |
![]() |
![]() |
#120 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Hello.
I tyred to flash main kernel tou provided using fastboot, tried dd if=/dev/mmcblk0 of=/mnt/us/kernel-5.0.4.img bs=1K count=4971, but my Kindle Touch still can't boot in main mode. I don't know firmware version, I used mmcblk0p1.img from the first post. |
![]() |
![]() |
![]() |
Tags |
debricking |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which one Nook simple touch or Kobo mini? | capuchino71 | Which one should I buy? | 18 | 07-12-2013 05:09 PM |
Sell Kindle Keyboard 3G, Nook Simple Touch | austinmitchell | Flea Market | 5 | 03-01-2013 11:34 AM |
I have some questions about K4 touch debricking | drjonvargas | Kindle Developer's Corner | 4 | 04-22-2012 03:46 PM |
kindle touch simple debricking for help | non_fox | Amazon Kindle | 4 | 04-18-2012 08:32 PM |
Troubleshooting simple kindle touch (and k4nt) debricking method | geekmaster | Amazon Kindle | 0 | 03-02-2012 10:31 PM |