2013-05-30

Experiment: GRUB with SLIC for Windows7 activation

The following is not verified. This is EXPERIMENT.


Add regions for XSDT and SLIC in GRUB stage2 image.
Make a partition which GRUB can access.
Install GRUB on the partition.

How to install GRUB natively.
# grub  <--- Enter GRUB shell.
grub> root (hd0, 2)   <--- Select the partition which contains stage1.
grub> setup (hd0)   <--- Install the bootstrap code to MBR.




I think that safe life of GRUB stage2 code is not guaranteed. The code may be disappeared or overlapped.

Some projects are open sourced.
http://forums.mydigitallife.info/threads/17382-Wndows-7-2008-R2-Loaders
https://docs.google.com/file/d/0B4LlbHJyEH47V2xfal83OUE4Yms/edit?usp=sharing
http://forums.mydigitallife.info/threads/16429-WindSLIC-PCI-Replacement-ROM-for-SLIC-Injection
https://github.com/untermensch/WindSLIC
https://docs.google.com/file/d/0B4LlbHJyEH47OFJzQ0Y5MW55Xzg/edit?usp=sharing

The followings are some useful docs.
http://forums.mydigitallife.info/threads/45403-Q-SoftMOD-Is-XSDT-SLIC-reallocation-possible?p=760654&highlight=#post760654
http://forums.mydigitallife.info/threads/2580-No-activation-possible-no-softmod-solution-no-biosmod-what-now/page45?p=39758&viewfull=1#post39758
https://docs.google.com/file/d/0B4LlbHJyEH47aFhvMWZwSFBQUjg/edit?usp=sharing
https://docs.google.com/file/d/0B4LlbHJyEH47WVlBRGN5REJ0SFU/edit?usp=sharing


There is a cool tool for my mobo Intel DH67CF. It's the OA3Intel.
It makes a SLIC region in ACPI table and writes a certain manufacture's SLIC on it.
So GRUB is not needed. Just install Windows7, put OEM key and activate it with the xrm-ms file.

OA3Intel is included in Intel Integrator Toolkit. You can download from Intel website. Please read supported mobo models by Intel Integrator Toolkit.

OA3Intel needs 3 files. Public key, private key and marker. Some leaked files can be downloaded from here.

OA3Intel needs a payload file. But it is not leaked yet. So this method is useless for me.

Additional info.
Each SLIC has a public key and a marker.
Each public key starts with "00 00 00 00 9c" and is 156 bytes long. It contains RSA1 string.
Each marker starts with "01 00 00 00 B6" and ia 182 bytes long.

References
http://forums.mydigitallife.info/threads/8249-Intel-EFI-(Bios)-Mod-for-Slic-2-1
http://windowsforum.kr/1367361
http://forums.mydigitallife.info/threads/1522-pubkey-and-marker?p=17952&viewfull=1#post17952



OA2Intel can inject a SLIC into DH67CF though it is not written on the supported board of OA2Intel.
http://www.boerse.bz/4547012-post1770.html
http://forums.mydigitallife.info/threads/9055-SLP-Marker-File-Update-Utility?p=131390&viewfull=1#post131390
https://docs.google.com/file/d/0B4LlbHJyEH47N1lYRjN3Z2xNbFk/edit?usp=sharing

After SLIC injection, you can verify its status with SLIC_Toolkit.
It can be downloaded from here.

OK... Next step is to install Windows7. After the installation, you can activate it with the following commands.
slmgr -ilc xxx.xrm-ms
slmgr -ipk aaaaa-aaaaa-aaaaa-aaaaa-aaaaa

A good OEM key is written on here.