Update Intel Microcode to Avoid TSC_DEADLINE Problem


Have you ever feel annoyed when booting into Darkmatter or any Android-x86 version that show a warning like :
[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)

It still boot, but you are feeling annoyed and also worry about what will happen. So I'll show you a simple fix for this :D

This can apply to every Android-x86 version including Darkmatter too (can be applied even on a linux distro). So no need to ask if other OS can be used.

First, download this early initrd contain all the Intel microcode (as 11/2019) :

Then move it to the partition of your Android-x86 (or Darkmatter) partition

Finally, edit grub to include it in initrd load
For example :

search --set=root --file /findme linux /kernel quiet root=/dev/ram0 androidboot.selinux=permissive acpi_sleep=s3_bios,s3_mode SRC=/ initrd /early_ucode.cpio /initrd.img
(Note that you have to apply it on every kernel in order to apply microcode)

Now reboot and test :D

Here is one of the example of an sucessfully applied microcode.

Before :

After :

(Or you notced that TSC_DEADLINE warning is disappeared)

Hope you guys will succeed. Good luck :)