03-30-2012, 07:14 AM | #121 | |
Member
Posts: 14
Karma: 12366
Join Date: Mar 2012
Device: Kindle 4GNT
|
Quote:
So it's neither a usable kernel for fastboot, nor a complete image of the unpartitioned mmc-space usable for dd. I guess you'd have to use the "skip"-option on dd to ensure you copy the kernel completely. Of course, once you have the unpartitioned 32MB somewhere, you can also use a simple hexeditor. Unfortunately, I only checked for that after I tried to flash it. So at the moment, my Kindle seems "broken some more". MfgTool still can see it when magic-booting but sending it to fastboot doesn't seem to work. I can confirm that 0xE41000 looks like a good guess for the diags-kernel in the non-touch, too. With 0x4E3000 (padded to 4K boundaries), it looks slightly larger than the non-diag (0x48A540). I guess, I'll have to read into how to flash with MfgTool / how to create own profiles next.. @geekmaster: The problem with the runme.sh-scripts is that I have to be able to copy them to the Kindle - which is next-to-impossible in the short timespan I can access it - and the system has to boot far enough to start accessing scripts - which I also strongly doubt. Though I gotta admit that I didn't yet access the serial port to watch the boot messages. Looks like this might be a good idea, too. Regards, TCC |
|
03-30-2012, 07:33 AM | #122 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Then your source (InFile, if= ) and destination (OutFile, of= ) options are reversed. The command "as posted" is reading from the mmc not writing to it. It might also be that you left out some of what you did from this post. Could you confirm the details of what you tried please? Last edited by knc1; 03-30-2012 at 07:36 AM. |
|
Advert | |
|
03-30-2012, 09:06 AM | #123 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Quote:
dd.. then fastboot flash.. But if I didn't write main kernel with dd, but copied it, fastboot should have been written it right back. So I guess it's ok that nothing good happened. But suddenly USBnetwork stopped working! "lsusb" shows no Kindle device. I tryed to flash diags again, but it still is not working. May be someone can backup full mmcblk0? Is it at least possible? Last edited by murz_07; 03-30-2012 at 09:12 AM. |
|
03-30-2012, 01:05 PM | #124 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The problem was that the SKIP option was left off of the dd commands (now added in the post above). I am remaking and reposting the kernel images.
I have *way* too many urgent things going on right now (remember that "geekmaster vacation" thread?), and I did not take the time to examine the images before posting them. Due to my current lack of time, I am taking shortcuts and not testing things like I usually do... UPDATE: New kernel images were extracted using the dd "skip" option to begin at the correct offset in mmcblk0. The kernel image download links were updated in the first post. Can somebody with more free time please take over these tasks so I do not have to rush so much that I skip steps and overlook mistakes? Thanks. Last edited by geekmaster; 03-30-2012 at 01:44 PM. |
03-30-2012, 01:20 PM | #125 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Although it *might* be possible to use dd to write a kernel image into a portion of /dev/mmcblk0 (with the correct dd seek offset), that is not a *normal* way to do this, and it would require testing and verification. Because it is a device, it might not support the dd "seek" option needed to do that, and that area of mmc might be protected from writing by the kernel mode device drivers... Last edited by geekmaster; 03-30-2012 at 01:51 PM. |
|
Advert | |
|
03-30-2012, 01:55 PM | #126 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Kernel images in first post have been updated to use correct offsets.
Last edited by geekmaster; 03-30-2012 at 01:59 PM. |
03-30-2012, 01:57 PM | #127 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Try the new kernel image in the first post. Flash it with fastboot.
|
03-30-2012, 02:02 PM | #128 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Just flash the new kernel image from the first post with fastboot... |
|
03-30-2012, 02:04 PM | #129 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Quote:
I flashed it and FINALLY my Kindle Touch DID SOMETHING after trying to boot in in main mode! But now it is stucked on "Kindle tree screen". What should I do to make it work? I used mmcblk0p1 from the first post, is there firmware 5.0.4 version like kernel I've just flashed? USBnetwork is still not working.. Last edited by murz_07; 03-30-2012 at 02:24 PM. |
|
03-30-2012, 02:25 PM | #130 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
If you damaged your diags kernel, you can boot diags with the kernel in the kexec thread (booting from USB drive), or you can flash that kernel to your mmc with fastboot. You might also need to reset the boot counter (search the posts). Erasing mmcblk0p3 would also reset the counter, but you would lose your collections database if you do that. A 5.0.4 mmcblk0p1 has not been posted as far as I know. You could always run the 5.0.4 update from amazon to upgrade from 5.0.0, after you get it running. Last edited by geekmaster; 03-30-2012 at 02:30 PM. |
|
03-30-2012, 02:29 PM | #131 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Quote:
I'll try to erase mmcblk0p3, but I doubt there is anything.. I've just run dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K with data.tar.gz you provided in "Select boot.." and RUNME.sh Nothing changed. USBnetwork doesnt work. Last edited by murz_07; 03-30-2012 at 02:54 PM. |
|
03-30-2012, 02:50 PM | #132 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Also a request for clarification from the O.P. (which you cut from the quote to make your point). To which the O.P. made a clarifying post and we are understanding each other just fine, without any outside help, thank you. |
|
04-06-2012, 10:11 AM | #133 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: kindle touch
|
How to flash kernel-5.0.4.img
when I do:
dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K it shows: dd:writing '/dev/mmcblk0p3':No space left on device How should I deal with it? And how to use fastboot to flash kernel-5.0.4.img? |
04-06-2012, 10:37 AM | #134 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
dd continues to output blocks until the destination runs out of room or the source is completely copied when you don't tell it how many blocks to copy. And in the case given, with /dev/zero as the source, you will never reach the last block of the source. Last edited by knc1; 04-06-2012 at 10:43 AM. |
|
04-06-2012, 11:57 AM | #135 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The "right" way is more complicated (which I try to avoid whenever possible), and requires that you find out how many blocks your destination has. There are a number of ways to do that. Using "fdisk -l" is one of them (but those are 512-byte blocks, so you have to divide by 8 to get 4K blocks), or you can use "df" (but that gives 1K blocks so you need to divide by 4). Then you need to add the computed block count to the "count=" parameter of "dd". As you can see, it is a lot more complicated than my one-line answer, which just ignores the "normal" error when the device gets full. Another way would be just to write enough to "kill" the partition format, such as "count=1000" or something... The point is to make the partition no longer mountable, so that the startup scripts will reformat that partition during the next reboot. Last edited by geekmaster; 04-06-2012 at 11:59 AM. |
|
Tags |
debricking |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
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 06:09 PM |
Sell Kindle Keyboard 3G, Nook Simple Touch | austinmitchell | Flea Market | 5 | 03-01-2013 12:34 PM |
I have some questions about K4 touch debricking | drjonvargas | Kindle Developer's Corner | 4 | 04-22-2012 04:46 PM |
kindle touch simple debricking for help | non_fox | Amazon Kindle | 4 | 04-18-2012 09:32 PM |
Troubleshooting simple kindle touch (and k4nt) debricking method | geekmaster | Amazon Kindle | 0 | 03-02-2012 11:31 PM |