Mobileread
Original "Simple" debricking methods for K5-Touch, K4-Mini, & K3-Keyboard
#91  Poetcop 03-13-2012, 12:09 AM
Thanks geekmaster, I've booted into fastboot so many times (maybe as many as 100) that I couldn't even remember how I do it! I've edited the original post. Man am I happy - I feel lucky to have chosen a Kindle, because of its great community. If there's ever something I can do to give back I'll do it.
Reply 

#92  geekmaster 03-13-2012, 12:43 AM
Quote Poetcop
Thanks geekmaster, I've booted into fastboot so many times (maybe as many as 100) that I couldn't even remember how I do it! I've edited the original post. Man am I happy - I feel lucky to have chosen a Kindle, because of its great community. If there's ever something I can do to give back I'll do it.
Don't be surprised if your karma jumps to 2600 after you provide something useful that you developed or documented (IMHO).

EDIT: I edited my post too...
Reply 

#93  js1d3 03-16-2012, 04:44 AM
Quote geekmaster
You can download it here, and run it at a DOS prompt:

http://www.mobileread.com/forums/sho....php?p=2000997

Each kindle needs its own set of libusb-win32 device drivers installed, to work with fastboot for windows. There are multiple ways to do this, and multiple versions of libusb drivers for windows.

You can read some details about how *I* installed them for my K4 and Touch here:

http://www.mobileread.com/forums/sho....php?p=2001621

You still need to know which libusb-win32 version, and what installers to use, and more (that you can learn from the libusb websites). More information will be provided later (perhaps in a wiki page). Hopefully there is enough information at the above links for you to figure out how to use it now if you need it.

This eliminates the problem of needed Windows for MfgTool and linux for fastboot, and the problem of the kindle dropping out of fastboot mode when the USB connections is disconnected or reset (by rebooting the host PC or VM). But it has the added complication of needed Windows device drivers.

At least there are alternative methods of using MfgTool and fastboot now, so you can use whichever method works best for you.

Hi man, mi kindle model is touch 3g (the last touch model). I have been reading all the steps from the previous report by Poetcop and trying to repeat but I don't understand some things and terms. I downloaded libusb and get recognized my kindle by windows xp (in virtual box), i copied the same text from .inf that you use geekmaster. I don't understand the next step that runs fastboot.win.public there are some .dos files that can´t work correctly I suppose. Also in the report from Poetcop mentioned that uses Linux, what version recommends to install in mac osx (virtual box) and how I can run ssh file


Quote
Oh frabjous day! Caloo calay! My Kindle Touch is unbricked, freed from the black screen of death! I'm so grateful to the friendly wizards on this board, especially hostar and double especially geekmaster. You have achieved amazing things. Let me put down the steps precisely, in case it might help someone:

* First, I installed hostar's windows port of yifan lu's fastboot tool, fastboot_win_alpha. That was the key. The only complicated part was the libusb-win32 installation, but I got through it by following the instructions on the sourceforge page carefully:
http://sourceforge.net/apps/trac/libusb-win32/wiki
geekmaster's screencaps should also help.

* Then I booted into fastboot mode, for the thousandth time, but this time to actually do something. In case you don't know, you hold down the power button until the light goes off, and then, without releasing, press the home button and then release the power button.

* Then I ran the following commands:
fastboot flash diags mmcblk0p2_ssh.img [from the first post in this thread]
fastboot setvar bootmode diags
fastboot reboot
That got me into diags mode, for the first time in weeks, and my heart sang!

* I started ssh, following geekmaster's instructions to "Select menu items N) U) Z) X). Wait 20 seconds for dropbear to startup"

* In linux on my mac os x, entered ssh root@192.168.15.244, with password mario. It complained that the device had a different signature or some such, so I had to delete the line containing 192.168.15.244 from known_hosts, at which point I was able to get in.

* I'd forgotten to copy mmcblk0p1.img to my /mnt/us, and I discovered that the USB mode option in diags didn't work after starting ssh, but on choosing Reboot (D, R from the main menu) it did work again. Then I went back in with ssh.

* dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4
which took 137.6 seconds.

* Now to reboot into main. Disable Diagnostics didn't work, with the message "device_info.xml not found, check device settings", but no problem with my new fastboot powers, I just chose "Install fastboot bundle" and then ran fastboot setvar bootmode main, fastboot reboot.

* The normal, healthy Kindle reset screen, and the same screens I saw when I first bought it. I wonder if this was affected by me running fastboot setvar bootmode factory at one point. I had to unplug and plug the usb back in to get the normal directory to mount, but when I did unlike when I exported it before, it was populated with the expected folders.
I marked with blackie the steps that I don't understand, and what exactly is the definition of ssh and how to work with linux (which version) to restore my kindle touch. Excuse me for my ignorance, I don´t really know much of system or this process, I beg if can explain in more details some terms and steps to follow. At this moment I only can get the kindle in fasboot mode the same as the images from this post
http://www.mobileread.com/forums/sho...1&postcount=25
Reply 

#94  geekmaster 03-16-2012, 09:53 AM
Quote js1d3
... I downloaded libusb and get recognized my kindle by windows xp (in virtual box), i copied the same text from .inf that you use geekmaster. I don't understand the next step that runs fastboot.win.public there are some .dos files that can´t work correctly I suppose. Also in the report from Poetcop mentioned that uses Linux, what version recommends to install in mac osx (virtual box) and how I can run ssh file
...
I marked with blackie the steps that I don't understand, and what exactly is the definition of ssh and how to work with linux (which version) to restore my kindle touch. Excuse me for my ignorance, I don´t really know much of system or this process, I beg if can explain in more details some terms and steps to follow. At this moment I only can get the kindle in fasboot mode the same as the images from this post
http://www.mobileread.com/forums/sho...1&postcount=25
I do not have or use a Mac. Your questions will require some research and testing to create a detailed and accurate answer.

I do not have time to provide a detailed answer to your post for a few days. Could somebody else please answer these questions? Please try to provide simple, accurate and tested answers, and links to any referenced materials (like I "normally" do). Thanks.

There are also other options available for solving these problems. Start by reading this thread:
"Select Boot": http://www.mobileread.com/forums/sho...d.php?t=169645

The kindles run linux inside. Your post indicates that you may need to learn some basic linux commands (such as "dd", and more) -- or wait for others to provide a RUNME.sh script that will do these commands for you. Here is some information about some basic linux commands: http://www.my-guides.net/en/content/view/29/26/

I will eventually get back to this in a few days to see how it is going. If there has been no progress, I will see what I can do for you then...

Thanks...
Reply 

#95  hostar 03-16-2012, 11:42 AM
Quote js1d3
Hi man, mi kindle model is touch 3g (the last touch model). I have been reading all the steps from the previous report by Poetcop and trying to repeat but I don't understand some things and terms. I downloaded libusb and get recognized my kindle by windows xp (in virtual box), i copied the same text from .inf that you use geekmaster. I don't understand the next step that runs fastboot.win.public there are some .dos files that can´t work correctly I suppose. Also in the report from Poetcop mentioned that uses Linux, what version recommends to install in mac osx (virtual box) and how I can run ssh file




I marked with blackie the steps that I don't understand, and what exactly is the definition of ssh and how to work with linux (which version) to restore my kindle touch. Excuse me for my ignorance, I don´t really know much of system or this process, I beg if can explain in more details some terms and steps to follow. At this moment I only can get the kindle in fasboot mode the same as the images from this post
http://www.mobileread.com/forums/sho...1&postcount=25
If you want to fix your device with fastboot, first you need to boot to fastboot mode. It can be made from diag mode over "Fastboot mode install", or over Recovery mode with Mfgtool. (more info here)

As geekmaster said, by "Linux" is mere meant Linux inside Kindle.
As I understand, you have emulated Windows XP on your Mac.
About these DOS files. These are NOT DOS, it's just console applications and it fully run under Windows.

Following instructions are for Windows.
Before you run fastboot, you need to install drivers. It's a little bit tricky, because I don't know, if original fastboot drivers works with Touch model.
I recommend you to download libusb-win32 here, follow instructions here.

Then extract fastboot_win_public.zip to some directory in Windows even with source code. Go to source folder and doubleclick to "cmd.bat". Command prompt should appear.
Type
Code
cd ..
fastboot.exe getvar bootmode
If drivers works, bootmode will show. If drivers doesn't work, <waiting for device> show.In this case interrupt it with Ctrl+C.

If drivers didn't work, install drivers with geekmaster's custom inf and try run fastboot again.

You can't write main partition from fastboot, only diags (for example the version with SSH).

I hope I didn't confused you. Just read existing instructions on forum, and ask if you didn't understand something.
Reply 

#96  Poetcop 03-18-2012, 11:33 PM
I just noticed this post about my report, otherwise I would have answered sooner. As it is geekmaster and hostar did a great job with hints to get you started, js1d3. Your real challenge now is to get talking to your Kindle in fastboot mode, which you can test by running a simple command like "fastboot getvar serial" (gets the serial number of your Kindle). Let us know when you get to that checkpoint, or if you need more help to make it there!
Reply 

#97  geekmaster 03-19-2012, 12:05 AM
Quote Poetcop
...
Your real challenge now is to get talking to your Kindle in fastboot mode, which you can test by running a simple command like "fastboot getvar serial" (gets the serial number of your Kindle).
...
If using fastboot for linux, be sure to run it as root (or prefix the command with "sudo "). If not root, it will not see any USB devices in fastboot mode (< waiting for device >).

If using fastboot for windows, be sure to install the lubusb-win32 device drivers, or it will not see any devices in fastboot mode (< waiting for device >).

The Mac version probably needs to run as root too...
Reply 

#98  supprman 03-19-2012, 10:12 AM
remember
Code
mntroot rw
Quote Poetcop
* dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4
which took 137.6 seconds.
big help, very clear, thanks so much!
Reply 

#99  geekmaster 03-19-2012, 11:46 AM
Quote Poetcop
* dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4
which took 137.6 seconds.
In the "dd" command, "bs=4" sets a block size of 4 BYTES. Although that works fine, it is better to use a block size optimized for the device being written to.

If you look at my original post, I used "bs=4K" (which is 4096 bytes, corresponding to the mmc nand physical erase page size). Writing a smaller blocksize (such as 1024 bytes) causes extra read/modify/write cycles (unless cached with deferred writes in the firmware), and takes much more time.

Using a tiny block size (like 4 bytes) causes MANY extra writes, which may take a lot of extra time unless the mmc firmware gathers and defers writing until it has a full erase block, and even then, there would be a lot of extra system overhead for all those extra write operations being passed to the kernel mode mmc device driver.

SUMMARY: It would have been better to use:
dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4K
Reply 

#100  mars77 03-24-2012, 02:40 PM
hello!

my kindle is bricked too, stuck at the screen with the tree.
it gets unstuck/reboots when using mfg tool and the main profile and i can use my kindle then until i restart it or power it off, then it is stuck again.

i dont understand much about what is written in this thread, maybe someone with more experience than me is willing to waste his valueable time and help me out and contact me on icq (75955166) to give some dedicated help?

have a nice weekend!
Reply 

 « First  « Prev Next »  Last »  (10/139)
Today's Posts | Search this Thread | Login | Register