Good news, everyone! :angel:
I was able to fix the blank screen issue by upgrading to a newer kernel, as
palmbeach05 suggested.
Now my phone's screen turns on correctly every time I press the power button! :victory:
Here's how I did it under Debian GNU/Linux.
First, extract the ROM's boot image:
Code:
$ aunpack miui_me860_santajin_4.2.7_58b76313b6_4.2.zip
$ cd miui_me860_santajin_4.2.7_58b76313b6_4.2
$ abootimg -x boot.img
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
$ cd ..
Now extract
krystianp's boot image and then modify it to include the ROM's initrd.img filesystem image and finally flash the result: :fingers-crossed:
Code:
$ aunpack kernel-2014_02_10_01_49_cm10_1.zip
$ cd kernel-2014_02_10_01_49_cm10_1
$ abootimg -x boot.img
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
$ abootimg --create boot.img -f bootimg.cfg -k zImage -r ../miui_me860_santajin_4.2.7_58b76313b6_4.2/initrd.img
reading config file bootimg.cfg
reading kernel from zImage
reading ramdisk from ../miui_me860_santajin_4.2.7_58b76313b6_4.2/initrd.img
boot.img: updated is too big for the Boot Image (4268032 vs 4216832 bytes)
$ printf 'bootsize = 0x%x\n' 4268032 >> bootimg.cfg
$ abootimg --create boot.img -f bootimg.cfg -k zImage -r ../miui_me860_santajin_4.2.7_58b76313b6_4.2/initrd.img
reading config file bootimg.cfg
reading kernel from zImage
reading ramdisk from ../miui_me860_santajin_4.2.7_58b76313b6_4.2/initrd.img
Writing Boot Image boot.img
$ sudo fastboot flash boot boot.img
sending 'boot' (4168 KB)...
OKAY [ 0.756s]
writing 'boot'...
OKAY [ 0.927s]
finished. total time: 1.683s
$ sudo fastboot reboot
rebooting...
finished. total time: 0.004s
Congrats! You have successfully injected a newer kernel into the ROM! :victory:
For your convenience, if you lack the tools/knowledge to follow the steps shown above, I have prepared
a ClockWorkMod-flashable update ZIP file containing the boot image I built above.
Enjoy!