View Single Post
Old 06-16-2012, 10:41 AM   #372
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 rynax View Post
Things I have question is , since you need the diags kernel for diags mode, why the steps involve flash the main kernel?

Quote
" Also, you should keep the kernel versions matching the one that amazon shipped with whatever version of boot partitions you use."
I guess the boot partition is referring to the partition 1 for normal mode and partition 2 for diags mode?

Is there diags_kernel image file that is not 5.0.0?
When a K4 or K5 is bricked, the problem is generally in the main kernel. Although you can repair that damage by fixing or replacing individual files in the main boot partition (mmcblk0p1), it is much simpler to just flash a known-good copy of mmcblk0p1 to the kindle to debrick it. That is why the thread is called "simple debricking". Because the main partition is too large to flash with fastboot, we need to use a different method. The simplest method is to boot diags and use SSH to do a "dd" command to rewrite the main partition with the good mmcblk0p1 image file. Although SSH works on a K4, the required files were removed from the K5 and need to be replaced before you can use diags SSH on a K5. There are many ways to do this, but the simplest way on a bricked kindle is to use fastboot to flash diags mmbblk0p2 with SSH files pre-installed.

The simple debricking instructions were written when the kernels had not changed since introduction of those kindle models. Starting with 5.0.4 and 4.1.0, there are new kernels, so it became important to either flash boot partitions that match your kernels. Rather than have people try to figure out whether or not they need to flash a kernel, the process is so fast it is simpler to tell people to always do it.

The point is that if you have a main kernel that is not compatible with the main partition, you will have problems in main or diags, depending on which partition has an incompatible (mismatched) kernel.

You can download a 5.1.0 diags kernel and partition. For main, it is easier to downgrade to 5.0.0, then install whatever firmware upgrades you want. Beware that if you have wireless on, amazon may push an OTA upgrade to your device.
geekmaster is offline   Reply With Quote