Quote:
Originally Posted by geekmaster
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:
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 ??