corna / me_cleaner

Tool for partial deblobbing of Intel ME/TXE firmware images
GNU General Public License v3.0
4.47k stars 278 forks source link

x299 mobo cant boot after removed intel me #339

Open jiangzh-acetrade opened 4 years ago

jiangzh-acetrade commented 4 years ago

Hi

I running the me_cleaner.py to remove intel me out of my mobo's bios, output as follows:

[root@localhost scripts-2.7]# ./me_cleaner.py 0203.rom Full image detected Found FPT header at 0x1010 Found 11 partition(s) Found FTPR header: FTPR partition spans from 0x1000 to 0xa8000 Found FTPR manifest at 0x1448 ME/TXE firmware version 11.10.0.1287 (generation 3) Public key match: Intel ME, firmware versions 11.x.x.x The HAP bit is NOT SET Reading partitions list... FTPR (0x00001000 - 0x0000a8000, 0x000a7000 total bytes): NOT removed FTUP (0x00110000 - 0x0001bc000, 0x000ac000 total bytes): removed DLMP ( no data here , 0x00000000 total bytes): nothing to remove PSVN (0x00000e00 - 0x000001000, 0x00000200 total bytes): removed IVBP (0x0010c000 - 0x000110000, 0x00004000 total bytes): removed MFS (0x000a8000 - 0x00010c000, 0x00064000 total bytes): removed NFTP (0x00110000 - 0x0001bc000, 0x000ac000 total bytes): removed ROMB ( no data here , 0x00000000 total bytes): nothing to remove FLOG (0x001bc000 - 0x0001bd000, 0x00001000 total bytes): removed UTOK (0x001bd000 - 0x0001bf000, 0x00002000 total bytes): removed ISHC (0x001bf000 - 0x0001f0000, 0x00031000 total bytes): removed Removing partition entries in FPT... Removing EFFS presence flag... Correcting checksum (0x84)... Reading FTPR modules list... FTPR.man (uncompressed, 0x001448 - 0x002018): NOT removed, partition manif. rbe.met (uncompressed, 0x002018 - 0x0020ae): NOT removed, module metadata kernel.met (uncompressed, 0x0020ae - 0x00213c): NOT removed, module metadata syslib.met (uncompressed, 0x00213c - 0x0021a0): NOT removed, module metadata bup.met (uncompressed, 0x0021a0 - 0x00274a): NOT removed, module metadata pm.met (uncompressed, 0x00274a - 0x0027f8): NOT removed, module metadata vfs.met (uncompressed, 0x0027f8 - 0x003158): NOT removed, module metadata evtdisp.met (uncompressed, 0x003158 - 0x0032e6): NOT removed, module metadata loadmgr.met (uncompressed, 0x0032e6 - 0x00340e): NOT removed, module metadata busdrv.met (uncompressed, 0x00340e - 0x0037b4): NOT removed, module metadata gpio.met (uncompressed, 0x0037b4 - 0x0038fe): NOT removed, module metadata prtc.met (uncompressed, 0x0038fe - 0x003aae): NOT removed, module metadata policy.met (uncompressed, 0x003aae - 0x003c72): NOT removed, module metadata crypto.met (uncompressed, 0x003c72 - 0x003dfc): NOT removed, module metadata heci.met (uncompressed, 0x003dfc - 0x003fc8): NOT removed, module metadata storage.met (uncompressed, 0x003fc8 - 0x0042c4): NOT removed, module metadata pmdrv.met (uncompressed, 0x0042c4 - 0x0043e8): NOT removed, module metadata maestro.met (uncompressed, 0x0043e8 - 0x0044d2): NOT removed, module metadata fpf.met (uncompressed, 0x0044d2 - 0x0045de): NOT removed, module metadata hci.met (uncompressed, 0x0045de - 0x0046e0): NOT removed, module metadata fwupdate.met (uncompressed, 0x0046e0 - 0x0047ea): NOT removed, module metadata ptt.met (uncompressed, 0x0047ea - 0x0048f6): NOT removed, module metadata touch_fw.met (uncompressed, 0x0048f6 - 0x004a40): NOT removed, module metadata rbe (Huffman , 0x004a40 - 0x007100): NOT removed, essential kernel (Huffman , 0x007100 - 0x016d40): NOT removed, essential syslib (Huffman , 0x016d40 - 0x028c00): NOT removed, essential bup (Huffman , 0x028c00 - 0x051880): NOT removed, essential pm (LZMA/uncomp., 0x051880 - 0x053e80): removed vfs (LZMA/uncomp., 0x053e80 - 0x05bc00): removed evtdisp (LZMA/uncomp., 0x05bc00 - 0x05d600): removed loadmgr (LZMA/uncomp., 0x05d600 - 0x060380): removed busdrv (LZMA/uncomp., 0x060380 - 0x061c40): removed gpio (LZMA/uncomp., 0x061c40 - 0x062ec0): removed prtc (LZMA/uncomp., 0x062ec0 - 0x063a80): removed policy (LZMA/uncomp., 0x063a80 - 0x068580): removed crypto (LZMA/uncomp., 0x068580 - 0x076140): removed heci (LZMA/uncomp., 0x076140 - 0x07a040): removed storage (LZMA/uncomp., 0x07a040 - 0x07e640): removed pmdrv (LZMA/uncomp., 0x07e640 - 0x07f7c0): removed maestro (LZMA/uncomp., 0x07f7c0 - 0x081580): removed fpf (LZMA/uncomp., 0x081580 - 0x082e00): removed hci (LZMA/uncomp., 0x082e00 - 0x0836c0): removed fwupdate (LZMA/uncomp., 0x0836c0 - 0x088200): removed ptt (LZMA/uncomp., 0x088200 - 0x09d380): removed touch_fw (LZMA/uncomp., 0x09d380 - 0x0a8000): removed The ME minimum size should be 352256 bytes (0x56000 bytes) The ME region can be reduced up to: 00001000:00056fff me Checking the FTPR RSA signature... VALID Done! Good luck!

and I flashed this new rom into my mobo, it wont boot, qcode stuck in 00, nothing else, if I use the original version, it boot successfully into os.

my mobo is an asus x299 mobo, use intel 11.10.X.X version me.

Thanks in advance!

ValoWaking commented 3 years ago

Try to open u bios with MMTool and find there BootGuardDXE and delete. Than try to boot.