Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2012, 01:57 AM   #181
fredforkindle
Junior Member
fredforkindle began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
I've done sthing stupid!!!

In "Fastboot mode", I run the command "Eraseall" and now the kindle doesn't respond and stuck in the "Tree Screen", cannot enter "Fastboot mode" anymore. Do you guys have any suggestions? or you can declare my kindle totally bricked.
fredforkindle is offline   Reply With Quote
Old 04-21-2012, 04:07 AM   #182
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
I did it! Thank You, actualy I don't remember what I have all done from sugested steps but factory reset from RUNME.sh did the trick.
But, Now I have a new problem. I dont know why, but Wi-Fi on my Kindle touch wifi is not finding any network. What should I do??
Thanks in advance

EDIT1: OMG. Content of Documents folder is not shown. There are no books on my kindle and no possible way to add them (as far as I konw)

Help me please

EDIT2: After Factory reset, kindle user manual started, so I added book I want to read and renamed it as kindle user manual. Now I can read that book so I'm not in a hurry but have not a long term solution.

Please help.

Last edited by vlamark; 04-21-2012 at 04:12 AM.
vlamark is offline   Reply With Quote
Advert
Old 04-21-2012, 05:07 AM   #183
drinkwish
Junior Member
drinkwish began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2012
Device: kindle touch
Quote:
Originally Posted by geekmaster View Post
UPDATE 2012-03-30: New (good) kernel images in download links.

I have posted this information in various forms to multiple threads, but it keeps getting missed by those who need it, so it is being place in its own thread, in hopes that it will be noticed by those who need it.

SUMMARY: You should be able to recover from most kindle touch bricking situations by using MfgTool to get to fastboot mode, then using fastboot to flash mmcblk0p2_ssh.img to the diags partition, then booting diags and exporting the USB drive to copy mmcblk0p1 on it, then starting an SSH shell and using dd to copy the /mnt/us/mmcblk0p1.img to /dev/mmcblk0p1, then finally by running the factory_restore script.

DETAILS:

You can now download an mmcblk0p2.img.gz file from the first post in the "Select Boot" thread. It adds the missing USBnet dropbear SSH files to an otherwise unchanged diags partition. This lets you SSH in from the Diagnostics menu and fix or restore your bricked main system partition from the linux command line. A similar method can be used with a K4NT, which already has SSH built into the diags partition, so NO need to reflash mmcblk0p2 on a K4NT.

The following instructions are for a linux host PC. For windows, you need to adapt them.

Follow the instructions in the "Select Boot" thread to get your bricked kindle into fastboot mode.

In fastboot mode, do:
gunzip mmcblk0p2.img.gz
sudo ./fastboot flash diags mmcblk0p2.img

Then reboot to diags mode. Select menu items N) U) Z) X). Wait 20 seconds for dropbear to startup. Do:
sudo ifconfig usb0 192.168.15.201
ssh root@192.168.15.244

The password is mario.

If you want to replace mmcblk0p1 with a backup copy, you can do that with:
dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4K

Or, if you want to mount the main system drive and repair individual files on it, then do:
mount /dev/mmcblk0p1 /mnt/mmc

With the main system partition mounted, you can then repair or replace damaged or missing files in /mnt/mmc/ (which is the mounted writeable main system partition).

If your kindle still will not boot to the main system framework, then your /var/local partition may be damaged or full. To reset it do this:
dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K

That last step above successfully recovered multiple "difficult" kindles recently, when they still would not boot to the main system partition after doing the previous steps. Resetting /var/local will erase your collections database, so you may want to backup files in /var/local before resetting it.

This is documented in the "Select Boot" and "Fastboot Manifesto" threads (see links provided below).

P.S. There are mmcblk0p1 image files for the kindle touch and K4 available too, in the "forensic images" below.

Good luck!


References and Links

Select Boot for K4 and Touch: https://www.mobileread.com/forums/sho...d.php?t=169645

Fastboot Manifesto: https://www.mobileread.com/forums/sho...d.php?t=170241

Fastboot for Windows: https://www.mobileread.com/forums/sho....php?p=2001683

Fastboot for Mac: https://www.mobileread.com/forums/sho....php?p=2029696

Kindle "Forensic" Images:

Download URLs are here: http://pastebin.com/tx8q9a8N

Debricking my K4, What we Learned: https://www.mobileread.com/forums/sho....php?p=1953663


Successful Debricking Reports

geekmaster (serial port): https://www.mobileread.com/forums/sho....php?p=1893448

rastik (serial port): https://www.mobileread.com/forums/sho....php?p=1908487

geekmaster (USB): https://www.mobileread.com/forums/sho....php?p=1959995

blackjack13: https://www.mobileread.com/forums/sho....php?p=1914987

PoetCop: https://www.mobileread.com/forums/sho....php?p=1972739

cscat: https://www.mobileread.com/forums/sho....php?p=1973193

Emrexem: https://www.mobileread.com/forums/sho....php?p=1975892

ernalve: https://www.mobileread.com/forums/sho....php?p=1976684

geekmaster (again): https://www.mobileread.com/forums/sho....php?p=1977994

thomass: https://www.mobileread.com/forums/sho....php?p=1978488

cscat (again): https://www.mobileread.com/forums/sho....php?p=1979349

itsmee: https://www.mobileread.com/forums/sho....php?p=1979376

hostar: https://www.mobileread.com/forums/sho....php?p=1980920

dasmoover: https://www.mobileread.com/forums/sho....php?p=1981772

cscat (again): https://www.mobileread.com/forums/showpost.php?p=1989107

aditya3098: https://www.mobileread.com/forums/sho....php?p=1989110

captainjack: https://www.mobileread.com/forums/sho....php?p=1989347

john_pb: https://www.mobileread.com/forums/sho....php?p=1990205

muydificil: https://www.mobileread.com/forums/sho....php?p=1991180

zcat: https://www.mobileread.com/forums/sho....php?p=1992660

john_pb (again): https://www.mobileread.com/forums/sho....php?p=1993882

lightstrike: https://www.mobileread.com/forums/sho....php?p=1993990

Deathknight: https://www.mobileread.com/forums/sho....php?p=1996204

murz_07: https://www.mobileread.com/forums/sho....php?p=1996402

curb: https://www.mobileread.com/forums/sho....php?p=1997750

PoetCop (again): https://www.mobileread.com/forums/sho....php?p=2002101

mars77: https://www.mobileread.com/forums/sho....php?p=2016752

qsoo: https://www.mobileread.com/forums/sho....php?p=2018097

wsxhwyy: https://www.mobileread.com/forums/sho....php?p=2020557

SharkNX: https://www.mobileread.com/forums/sho....php?p=2022667

mcp1999: https://www.mobileread.com/forums/sho....php?p=2025137

drogon: https://www.mobileread.com/forums/sho....php?p=2032578

kn007: https://www.mobileread.com/forums/sho....php?p=2033355

qtybest: https://www.mobileread.com/forums/sho....php?p=2036942

sohmc: https://www.mobileread.com/forums/sho....php?p=2037627

turambar: https://www.mobileread.com/forums/sho....php?p=2043135

diba (twice): https://www.mobileread.com/forums/sho....php?p=2046336

tamerlaha: https://www.mobileread.com/forums/sho....php?p=2047250

non_fox: https://www.mobileread.com/forums/sho....php?p=2050368

vlamark: https://www.mobileread.com/forums/sho....php?p=2051250

gamerh2o: https://www.mobileread.com/forums/sho....php?p=2051332

(...and others in PMs, IRC, and countless "lurkers"... )



P.S. We need to thank yifanlu for getting us started on the right path.
but what if i even failed to get into fastboot mode with magic key activated?
a HID complicant device can be found, but neither libusb-win32-bin nor a NIC that should have been introduced by kindle was found ??
drinkwish is offline   Reply With Quote
Old 04-21-2012, 08:21 AM   #184
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by fredforkindle View Post
In "Fastboot mode", I run the command "Eraseall" and now the kindle doesn't respond and stuck in the "Tree Screen", cannot enter "Fastboot mode" anymore. Do you guys have any suggestions? or you can declare my kindle totally bricked.
WHY did you ERASE ALL? If you were in an airplane, would you push a button labelled "Self Destruct" too?

"Erase all" means EXACTLY WHAT IT SAYS. You erased EVERYTHING, including the built in u-boot, the built-in fastboot, everything. Rastik did that, and talked about how he recovered with the serial port early on in the kindle touch jailbreak thread.

The fastboot readme and various posts say to only do fastboot commands you are told to use.

Now you need to connect to the serial port and follow the instructions at the FIRST successful debricking report link in the first post in this thread (how I debricked my kindle with a serial port), except you will need to go deeper than that and do what rastik did as well (also linked in the first post).


Last edited by geekmaster; 04-21-2012 at 08:24 AM.
geekmaster is offline   Reply With Quote
Old 04-21-2012, 11:04 AM   #185
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
One more problem appeared, not that important but...
Also, kindle doesnt show dictionary (that is present on it) So, to summarize,
I have kindle main menu, but content of Kindle_Users_Guide.azw is readable until I first time press home taster. Yan Lus launcher is working, WiFi is not and dictionary is not shown but tts is working. Any help?
vlamark is offline   Reply With Quote
Advert
Old 04-21-2012, 11:40 AM   #186
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by vlamark View Post
One more problem appeared, not that important but...
Also, kindle doesnt show dictionary (that is present on it) So, to summarize,
I have kindle main menu, but content of Kindle_Users_Guide.azw is readable until I first time press home taster. Yan Lus launcher is working, WiFi is not and dictionary is not shown but tts is working. Any help?
Perhaps you need to do a factory restore, or the more complete version using the factory_restore script.
geekmaster is offline   Reply With Quote
Old 04-21-2012, 02:17 PM   #187
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
where can I find factory_restore script for k5? link, PM, anything plz (I'm total noob in this, guide step by step would be gr8)

EDIT 1: I've found factory_reset script that helped me from diag menu to get to this state, however am unable to locate factory_restore script. Should I change reset to restore? Or is it some other script?

I still have the same problem.

Last edited by vlamark; 04-21-2012 at 04:09 PM.
vlamark is offline   Reply With Quote
Old 04-21-2012, 05:22 PM   #188
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Maybe it was factory_reset. As I recall, cscat provided a RUNME.sh that calls it.

Or you could zero mmcblk0p3 to do a full reset back to initial out-of-the-box condition:

dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K count=1K
geekmaster is offline   Reply With Quote
Old 04-21-2012, 05:43 PM   #189
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
tried that, no luck. Could You please tell me what image file is good for my kindle touch, so I could try to flash it if possible from RUNME.sh
also command line like one for zeroing mmcblk0p3 would be great.
My kindle is touch - wifi (only) with adds

EDIT1:
is this ok?

dd if=/mnt/us/mmcblk0p1-kt-5.0.0.img of=/dev/mmcblk0p1 bs=1024

Should I use mmcblk0p1-kt-5.0.0.img and do i need any more commands?

EDIT2:
Or this one?

#!/bin/sh
mntroot rw
dd if=/mnt/us/mmcblk0p1-kt-5.0.0.img of=/dev/mmcblk0p1 bs=1024
mntroot ro

Last edited by vlamark; 04-21-2012 at 06:07 PM.
vlamark is offline   Reply With Quote
Old 04-21-2012, 06:15 PM   #190
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by vlamark View Post
tried that, no luck. Could You please tell me what image file is good for my kindle touch, so I could try to flash it if possible from RUNME.sh
also command line like one for zeroing mmcblk0p3 would be great.
My kindle is touch - wifi (only) with adds

EDIT1:
is this ok?

dd if=/mnt/us/mmcblk0p1-kt-5.0.0.img of=/dev/mmcblk0p1 bs=1024

Should I use mmcblk0p1-kt-5.0.0.img and do i need any more commands?

EDIT2:
Or this one?

#!/bin/sh
mntroot rw
dd if=/mnt/us/mmcblk0p1-kt-5.0.0.img of=/dev/mmcblk0p1 bs=1024
mntroot ro
The first option, but only when booted from diags. Do not write to the partition that you booted from. To get SSH on diags, you may need to flash the 5.0.0 mmbclk0p2_ssh.img using fastboot. Then boot diags, then open SSH, then do the dd command you showed.

For that 5.0.0 main partition, you might also need to flash a 5.0.0 main kernel image, using fastboot.

It is best to have a matching kernel and partition image.
geekmaster is offline   Reply With Quote
Old 04-21-2012, 06:41 PM   #191
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by drinkwish View Post
but what if i even failed to get into fastboot mode with magic key activated?
a HID complicant device can be found, but neither libusb-win32-bin nor a NIC that should have been introduced by kindle was found ??
Your post looks like you are trying to see a kindle in USB downloader mode from the fastboot tool -- that will not work. The magic key is not for fastboot. It is for USB Downloader mode, and you need to use MfgTool for that. MfgTool lets you boot to fastboot, or main, or diags. Fastboot lets you SAVE the bootmode "fastboot setvar bootmode diags", for example.
geekmaster is offline   Reply With Quote
Old 04-21-2012, 06:43 PM   #192
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
Since Last post I've been reading fastboot manifesto thread over and over and over again, then same thing in this thread and am simply not sure about anything.

I'm windows 7 user. Have downloaded fastboot_win_public, it missed libusb0.dll so I downloaded it too. However I dont know what to do with it. I've learned to use MfgTool to enter diag, normal or fastboot mode but dont know what to do with fastboot windows program. When I start it it just fills DOS screen with 2 pages of commands wich I don't know how to use.

So, I'm probably stupid for this, and am desperate. I've bought kindle to read books, and just wanted to change fonts... One thing leaded to another and now I don't know what to do.

Please, please, help me. Guide me by hand I have no technical knowlege and am not so good with english. And thank You in advance

EDIT2: I belive I've understood how to use fastboot. So, now main question remains one from EDIT1

EDIT1: I've found only 5.0.1 mmbclk0p2_ssh.img and 5.0.0 without ssh wich one to use?

Last edited by vlamark; 04-21-2012 at 07:20 PM.
vlamark is offline   Reply With Quote
Old 04-21-2012, 07:24 PM   #193
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by vlamark View Post
Since Last post I've been reading fastboot manifesto thread over and over and over again, then same thing in this thread and am simply not sure about anything.

I'm windows 7 user. Have downloaded fastboot_win_public, it missed libusb0.dll so I downloaded it too. However I dont know what to do with it. I've learned to use MfgTool to enter diag, normal or fastboot mode but dont know what to do with fastboot windows program. When I start it it just fills DOS screen with 2 pages of commands wich I don't know how to use.

So, I'm probably stupid for this, and am desperate. I've bought kindle to read books, and just wanted to change fonts... One thing leaded to another and now I don't know what to do.

Please, please, help me. Guide me by hand I have no technical knowlege and am not so good with english. And thank You in advance

EDIT2: I belive I've understood how to use fastboot. So, now main question remains one from EDIT1

EDIT1: I've found only 5.0.1 mmbclk0p2_ssh.img and 5.0.0 without ssh wich one to use?
Downloading the missing DLL will not work. You actually need to install it. There are detailed instructions in the "fastboot for win32" thread.

The p2 image WITH ssh gives you SSH access in diags. Use it.

geekmaster is offline   Reply With Quote
Old 04-21-2012, 08:56 PM   #194
vlamark
Junior Senior Member
vlamark began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Serbia, Šabac
Device: K2 & K5
I did it. Didn't install kernel but have upgraded official fw after. THANK YOU

Last edited by vlamark; 04-21-2012 at 09:03 PM.
vlamark is offline   Reply With Quote
Old 04-21-2012, 09:22 PM   #195
A-I
Member
A-I began at the beginning.
 
Posts: 14
Karma: 28
Join Date: Feb 2012
Device: Kindle Touch, Nook Color
Re: simple kindle touch (and k4nt) debricking method

Hello all,
I've been trying to get my KT back to normal since I bricked it installing KTRotate_0.2 with 5.1.0. I've done a few hundred variations to the steps here and from the Select Boot thread. And at some point, without explicitly deleting any folders, the only folders in my /mnt/us after a factory_reset are:

diagnostic_logs
documents
system (grayed out)
tts

What are the other folders that a factory_reset should come back with?
audible? music?

Also, when I set the MfgTool to "Kindle main" from "Kindle diag", and Restart the KT from the KT menu itself, it gets stuck at the screen

"Please wait a moment
while your Kindle starts up"

I have to then stop the "Kindle main" mode and go back to the "Kindle diag" mode (Button sequence: Off->Magic->OffRelease->MagicRelease). And then, I have to go back to the "Kindle main", and Reboot to get back to the KT, which is now unstable and goes after a while into the screensaver

"Please wait a moment
while your Kindle starts up"

I have a feeling that I hosed mine up pretty bad, and don't mind experimenting with it if anyone have suggestions. Plus even after factory_reset, I only show 3,044Mb free when it should be about 4000Mb. My factory_reset always go back to 5.0.4, and not 5.0.0, even when I try to

Code:
#!/bin/sh
mntroot rw
dd if=/mnt/us/mmcblk0p1-kt-5.0.0.img of=/dev/mmcblk0p1 bs=4K
mntroot ro
Anyone see what I am doing wrong? Or can suggest other things to try?
Thanks.
A-I is offline   Reply With Quote
Reply

Tags
debricking

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 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


All times are GMT -4. The time now is 09:22 AM.


MobileRead.com is a privately owned, operated and funded community.