![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Please help with debricking
Hello All,
I have a K3 that is stuck in a reboot loop (boy under tree appears, the progress bar moves about 25% and then it reboots). Before posting here is what I tried: 1. Live CD (Kubrick). It goes through all the steps without errors but does not solve the problem. So I tried it again. No luck. 2. I downloaded the ATK and tried to program the MMC/SD. Kernel is downloaded fine, but the rootfs image does not finish. I get the "Flash Program failed: connection error!" message. 3. Back to my linux machine, I tried the k3flasher Code:
My md5sum are: Code:
k3flasher$ md5sum kernel.bin ec5a0a88f358636e958b10b70c8872f9 kernel.bin k3flasher$ md5sum rootfs.bin 3a4755179cb484ed0c0831e3ba2eb3af rootfs.bin Can anyone please help? Many thanks, KB Last edited by kbreads; 10-21-2014 at 11:34 PM. Reason: Adding K3 prefix |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
First off - Kubrick has already tried (and failed) at using those programs.
Second - Where did you get your rootfs.bin and kernel.bin (no direct links to the files, just the site, please) and what where the actual filenames? Third - How long did you let the battery charge before you started (any) of the flash programming steps and what did you use for a charger? Fourth - What Kubrick options did you use? I.E: Did you try to clear local storage or not? - - - - PS: Next time, if Kubrick doesn't fix it the first time its run - **STOP** - and call for help. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Well, how got the K3 into that reboot loop? The answer would help to diagnose the problem.
And how long did Kubrick take to flash? When the progress bar gets to 25%, chances are that the root filesystem (and of course, kernel, eink data and so forth) is just fine. It might stumble over other issues. Invalidating the user partition would be my next take on it, so the Kindle reformats it. |
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Thanks for the reply.
I got kubrick from here: https://www.mobileread.com/forums/sho...d.php?t=206064 I got the kernel and rootfs images from here: http://pastebin.com/Wdw4L7yT (which was a link from https://wiki.mobileread.com/wiki/K3noobdebrickatk) Battery: the battery is full. I know this because I let it charge on a different kindle overnight, and then attached it to the broken kindle. Kubrick ran for several hours. (I would say greater than 2 hours). I followed the instructions on the screen (ie. I did not explicitly clear local storage, and I do not know how) How do I proceed next? Thank again. KB Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Post the actual filenames you used?
What was the battery capacity reported as from the battery report run on the "good" Kindle before you put it back into the "broke" Kindle? |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Quote:
kernel-3.0.2-factory.img.gz (from http://www.mediafire.com/?k45j3h4zg0cap7q) mmcblk0p1_3.0.2.zip (from https://docs.google.com/open?id=0BwJ...jVuM0FXUzd4d00) Battery capacity: It was 100%. I think it measured 4.2 V. |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Sounds good. I'd suggest to write some garbage onto the flash at where the user partition starts. I'd need to look up the exact offset, and I'll do it, but not before a night's worth of sleep. In some version of k3flasher I actually implemented network block device (NBD) server interface, so you could actually access and format the user partition. Needs a bit of expertise, though.
|
![]() |
![]() |
![]() |
#8 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I assume from that answer that you did not run the battery report.
Capacity is the amount of storage capacity the battery is holding (in maH). Terminal voltage **does not** indicate capacity in Li-Ion batteries, it only indicates the terminal voltage. - - - - Why am I asking, before giving any advice? See: https://www.mobileread.com/forums/sho...49&postcount=3 |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
@kbreads:
Flash a bunch of zeroes or other garbage (like, say, a cat photo JPEG) to offset 0x2adc8000. That would be the beginning of partition 4 of the flash. There's a partition header located, that when mangled triggers the kindle to reformat the user partition. Of course, this leads to you losing all the data on your user partition. If you want to backup, then dump from there a number of 0xc3a37e00 bytes. It will take a looooooooooooooong time. Also, you might want to try to do the same to the /var partition, which is stored in partition 3. Dump some zeros or garbage to offset 0x2a5c8000. Note that this is a rather short partition, only 4MByte, so don't flash too much garbage there. |
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Thanks. I will try that.
Quick question though: what size of garbage do I flash to address 0x2adc8000 and 0x2a5c8000. Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
My suggestion was a cat photo JPEG. Be sure to chose a healthy, good looking cat.
(SCNR. What knc1 said - but 4kByte is probably enough.) |
![]() |
![]() |
![]() |
#13 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Quote:
Unfortunately flashing those partitions did not help. Anything else I can do? Code:
k3flasher$ k3flasher$ dd if=/dev/zero of=4kbimg.img bs=1024 count=4 k3flasher$ sudo ./k3flasher mx35to2_mmc.bin program 0x2adc8000 4kbimg.img I: found suitable device E: wrong transfer length, wanted to receive 8 bytes but received 4 bytes. I: above error can be ignored, it's due to the device being in ROM kernel mode I: RAM kernel should be running now. Trying to re-open device: . I: got it. D: flash_program: 0x2adc8000 4kbimg.img 0x00000000 I: continue flashing at address 0x2adc8000 offset 0x00000000 I: flashing 0x00001000 (=4096) bytes I: downloading 0x00001000 (=4096) bytes, starting at 0x2adc8000 I: different block, read before flash disabled I: writing 0x00001000 (=4096) bytes to address 0x2adc8000, waiting for completion... I: wrote 0x00001000 (=4096) bytes, waiting for completion... I: flashing of 0x00001000 (=4096) bytes complete I: offset 0x00001000 continue_address 0x2adc9000 100.00% k3flasher$ sudo ./k3flasher mx35to2_mmc.bin program 0x2a5c8000 4kbimg.img W: cannot find device (is it in USB loader mode? are you root?) - waiting for it............... I: success. I: found suitable device E: wrong transfer length, wanted to receive 8 bytes but received 4 bytes. I: above error can be ignored, it's due to the device being in ROM kernel mode I: RAM kernel should be running now. Trying to re-open device: . I: got it. D: flash_program: 0x2a5c8000 4kbimg.img 0x00000000 I: continue flashing at address 0x2a5c8000 offset 0x00000000 I: flashing 0x00001000 (=4096) bytes I: downloading 0x00001000 (=4096) bytes, starting at 0x2a5c8000 I: 0x2a5c8000 verified I: offset 0x00001000 continue_address 0x2a5c9000 100.00% |
|
![]() |
![]() |
![]() |
#14 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
(That hold power switch for greater than 20 seconds thing.) Also, expect it to take a relatively long time to re-boot - It has to completely re-format those two partitions. |
|
![]() |
![]() |
![]() |
#15 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2014
Device: Kindle K3
|
Quote:
Just to recap, I flashed the kernel and the rootfs using the live CD. Then as mentioned above wrote 4kb of zeros to 0x2adc8000 and 0x2a5c8000. Answering your other question, kubrick cd ran for 4 hrs 21 min to finish. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help for PW2 debricking. | reggie.yang | Kindle Developer's Corner | 0 | 04-02-2014 10:40 PM |
Help debricking K3 | metafisica | Kindle Developer's Corner | 2 | 06-06-2013 06:33 AM |
Queastions about debricking, | nathansuchy | Kindle Developer's Corner | 2 | 01-21-2013 04:01 PM |
Debricking PW 5.3? | xor_ | Kindle Developer's Corner | 9 | 12-07-2012 11:56 PM |
Debricking | sowtus | Kindle Developer's Corner | 11 | 10-05-2012 11:11 AM |