07-13-2012, 09:03 AM | #46 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: Airis dBook
|
Hello there!
First of all, thanks all for the great work! I'm in the process of recovering/unbricking/throwing_to_the_garbage an out-of-warranty Kindle 3 Wifi. I'm having trouble flashing anything with the latest version of k3flasher (v06). So far I've tried to flash a uImage without success ending in a "Segmentation fault", although the "info" command works as expected. A couple of days ago I successfully flashed a whole mmcblk0p1.img without problems using a previous version of this wonderful tool, which I no longer have to compare... I'm on Ubuntu 11.04 64 bits if it helps. I include the strace of the command: ./k3flasher atk/image/mx35to2_mmc.bin program 0x00041000 uImage in case it's of any utility. Keep up the good work! |
07-13-2012, 12:02 PM | #47 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Indeed, a buffer calculation was too small for flashing files. Fixed in v07, up in a second.
|
07-13-2012, 02:46 PM | #48 | |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
Quote:
Best, |
|
07-13-2012, 02:48 PM | #49 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
07-13-2012, 02:59 PM | #50 | |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
Quote:
Best, David |
|
07-13-2012, 03:35 PM | #51 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I can't think of any (as you said, you can't really protect a hardware failure - except maybe a good case), but: making a backup of the flash memory as one of the first things before installing jailbreaks/hacks probably doesn't hurt and is one of the possible applications of k3flasher/ATK. I've included a simple shell script that creates a bunch of backup images for the various parts of the flash memory in the more recent versions of k3flasher.
|
07-19-2012, 01:03 PM | #52 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Feedback
A simple success report:
I've fairly easily compiled the tool and used it to dump the kernel from my kindle. I'm glad you're working on such a tool, since I've got laying around a port of the newer kernel that runs on K4 that I never tested for the fear of bricking the device. In the coming days I'll test it! |
07-20-2012, 01:03 PM | #53 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
In order to see if it boots, can I just flash the uImage to the location where the current kernel is or do I have to put also the modules in the appropriate location?
|
07-20-2012, 01:06 PM | #54 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
There **should** be enough modules built-into the kernel to boot and mount the root filesystem. At least with a kernel command line argument of: rdinit=/bin/sh
**should** |
07-20-2012, 06:26 PM | #55 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Yep, but if running more heavily modularized kernels, the modules must be installed separately. But in that case: "nbd"-mode to the rescue :-) You can simply mount the root partition in that mode - from USB downloader mode on the K3.
It all gets a bit more difficult, since kernels on the Kindle typically have a initramfs for early boot initialization - and this is within the uImage, but it might contain kernel modules. I think the original kernel carries a few modules there (3G and/or eink?). |
08-04-2012, 08:01 PM | #56 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Yay! just got it to compile(finally!). Now to go use the script to dump my rootfs.
|
08-05-2012, 12:33 PM | #57 |
Member
Posts: 10
Karma: 40
Join Date: Aug 2012
Device: Kindle 3 Keyboard/3G
|
Hello,
following the instructions from this thread and the readme into k3flasher I get the next results: Code:
./k3flasher mx35to2_mmc.bin info 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 E: opening RAM kernel image: No such file or directory E: error when uploading ramkernel E: aborting. It is suggested you power-cycle the device. I'm completely noob with this stuff and in Linux environment. According to the result that comes out, I get the feeling that what is not working properly is precisely the kernel, since I do not get results the MAC number or serial number of the Kindle, the device can't be put into ram kernel mode, but what's the meaning of it? I downloaded the pastebin images and trying to load the kernel on the device, I get the same errors. I did it as: Code:
./k3flasher mx35to2_mmc.bin 0x00041000 program kernel.bin I: Suitable device found E: wrong transfer length, wanted to Receive 8 bytes 4 bytes But received. I: above errors can be ignored, it's due to the ROM device Being in kernel mode E: opening RAM kernel image: No such file or directory E: error when uploading ramkernel E: aborting. It is you power-cycle Suggested the device. Last edited by DROM; 08-05-2012 at 12:51 PM. |
08-05-2012, 06:10 PM | #58 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
08-06-2012, 03:24 AM | #59 | |
Member
Posts: 10
Karma: 40
Join Date: Aug 2012
Device: Kindle 3 Keyboard/3G
|
Quote:
Thanks for the help everyone. |
|
08-06-2012, 08:22 AM | #60 | |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Ah, sorry, I'm only seeing this now. It's written in the OP, you need to extract the RAM kernel from an ATK installation:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Kindle Touch] Boot over USB HID serial / "USB downloader" mode | eureka | Kindle Developer's Corner | 16 | 02-25-2012 10:21 PM |
USB Host Mode (Master Mode) on K3 | ericepe | Kindle Developer's Corner | 1 | 01-24-2012 04:59 AM |
USB Drive Mode | copyrite | Amazon Kindle | 7 | 02-08-2011 10:47 AM |
USB Drive Mode on K3 | Paulinafrica | Amazon Kindle | 5 | 12-17-2010 12:43 AM |
Where did the USB transfer mode go? | codo coderson | HanLin eBook | 2 | 11-28-2010 07:04 AM |