Quote:
Originally Posted by wsxhwyy
Now I need a kernel dump. Maybe flash kernel with dd is better than flash kernel with fastboot. I've checked my kernel's MD5 and it is wrong.
And maybe provide different images from 5.0.0/5.0.1/5.0.3/5.0.4 for those who needs debrick is a better choice.
Call "dd if=/dev/mmcblk0 of=/mnt/us/uImage skip=260 bs=1024 count=4992" to dump kernel.
Now I cannot boot. So I cannot update my device using OTA package.
|
Flashing with dd is potentially dangerous, because it can overwrite "write-only" locations in /dev/mmbblk0, if you do not get the offsets and sizes exactly correct. MUCH safer to use fastboot.
I need some sleep before I strip out any images. I tried one for the k4 but messed up. It is almost 5am here and I have work in the "morning". ;-(
These things take time and I already burned several hours making firmware images for people.
EDIT: 5.0.4 is mostly just a kernel update, and it provides a full kernel image (not patches). Very little change to the main partition. So if you install a 5.0.0 kernel and 5.0.0 main partition, it should upgrade to 5.0.4 fine.
In fact, 5.0.4 should upgrade fine even if the main partition and kernel are not matching versions (unless 5.0.1, 5.0.2, or 5.0.3, which contained patches and could potentially cause problems during an update). They *should* have done a CRC check though to prevent double patching, but perhaps that code was not well-tested (or according to your analysis, may not even have EXISTED)...
Just be patient and you will get your 5.0.0 kernel image (and perhaps a 5.0.4 kernel image too).