Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Today 01:55 AM
» Replies: 0
» Views: 21
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: voyageur
Yesterday 04:33 PM
» Replies: 475
» Views: 167097
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
Yesterday 03:44 PM
» Replies: 49
» Views: 32832
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
Yesterday 09:24 AM
» Replies: 7
» Views: 211
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
Yesterday 03:11 AM
» Replies: 1780
» Views: 493997
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1277
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 553308
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 142911
Unlock bios insyde
Last Post: Matox3140
11-19-2024 03:40 PM
» Replies: 0
» Views: 178
Whitelist WIFI card removal Lenovo Yoga ...
Last Post: Dudu2002
11-19-2024 12:58 PM
» Replies: 1
» Views: 188
[REQUEST] H310 MSI Gaming Infinite S (MS...
Last Post: awittyusername
11-19-2024 09:21 AM
» Replies: 10
» Views: 110
[REQUEST] Gigabyte GA-B85M-HD3 Rev 2.0 u...
Last Post: Maduli
11-19-2024 02:22 AM
» Replies: 0
» Views: 131
[REQUEST] Lenovo Ideapad 330-15ICH BIOS ...
Last Post: Dudu2002
11-18-2024 01:25 PM
» Replies: 8
» Views: 1896
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: Dudu2002
11-18-2024 01:23 PM
» Replies: 640
» Views: 220772
[Request] Unlocked Bios for Asus TUF FX5...
Last Post: FlT4ever
11-18-2024 01:05 PM
» Replies: 1
» Views: 415
[REQUEST] Lenovo ThinkPad Edge E125(v1.1...
Last Post: kamome74
11-18-2024 10:43 AM
» Replies: 0
» Views: 170
[REQUEST] Xpg 15g 4070 2023ver InsydeH20...
Last Post: MireVelli
11-18-2024 07:26 AM
» Replies: 2
» Views: 177
Please help me recover my bios
Last Post: FuryOP
11-17-2024 12:37 PM
» Replies: 0
» Views: 195
[Request-Camilo] Sony Vaio SA/SB/SC/SD/S...
Last Post: edit
11-17-2024 12:13 PM
» Replies: 107
» Views: 136931
[REQUEST] Lenovo Thinkpad Edge E440 & E5...
Last Post: Dudu2002
11-17-2024 06:50 AM
» Replies: 196
» Views: 91894

Dell N5010: trying to update microcode
#1
I originally posted the below in the general help section, but I thought I might get better results here as it is related to CPU microcode.  I'm not trying to expand CPU functionality, but I am trying to manually update the microcode for security.

I tried to add the updated microcode for my i7 640m processsor since Dell isn't applying the updates. The latest microcode has a Spectre patch I wanted to apply.

I booted into DOS and used AFUDOS  3.07.01 command /O to backup my current BIOS.

I used MMTOOL 4.50.0.23 to insert the 06-25-05 file from Intel located here.  There was only one other microcode listed under the CPU Patch tab, but it was for a different CPU ID.  Which seems odd as my i7 640m was an upgrade, but I haven't had any issues with it. Did I need to delete that other microcode?

I then booted back into DOS and flashed with AFUDOS using the /P /B /K command per this guide.  That gave me a ROM ID does not match BIOS ID error, so I added /X to the command.  That happily bricked my laptop.

I have a hardware flasher so I can recover it, but I'd prefer to hardware flash it with a bios file patched with the latest micro code.  Before I do that I could use some help determining where I went wrong.

Thanks in advance for any help.

This is my backup file.

This is my modified file.
find
quote
#2
Quote:determining where I went wrong.

Okay, now we'll think. I open your backup file using the mmtool program using different versions and I see the following:
   
Which can I make a preliminary conclusion?
find
quote
#3
woowoo, you changed size of microcode's section and didn't aligned lengths of each microcode by 0x800. I think that's the reason.
find
quote
#4
(06-11-2018, 11:20 PM)LLC Wrote:
Quote:determining where I went wrong.

Okay, now we'll think. I open your backup file using the mmtool program using different versions and I see the following:

Which can I make a preliminary conclusion?

Thank you LLC.  I am seeing the same thing now that I am using 5.007.  However 5.007 isn't letting me remove or add microcode.  Is there something else I need to do in that version of MMTool to enable editing?
find
quote
#5
(06-12-2018, 02:09 AM)DeathBringer Wrote: woowoo, you changed size of microcode's section and didn't aligned lengths of each microcode by 0x800. I think that's the reason.

Thank you DeathBringer. I think part of the problem was I was using an out dated version of MMTool like LLC mentioned. 

For the alignment you've mentioned do I need to check something in a hex editor to see?

In the meantime I got a little impatient and removed the bios chip and tried manually flashing.  This time I edited the full bios image by deleting the one micro code I could see in MMTool 4.50 and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected. 

This is the link to the full 4mb rom I modified and hard flashed.
find
quote
#6
This bios was type aptio 4 ,so open it from mmtool 4.53.xxxxx is correct.
DeathBringer said was right ,you can made some mod for ucode module  ,it will show normally on cpu path from mmtool .

Test my mod and open it on mmtool 4.5 version ,then going to [CPU path] tab.
http://www.mediafire.com/file/jyu8jvuuc0...0.rom/file

===========
If ME need to update??

find
quote
#7
genius239, in your modified file, ucodes is not aligned at 0x800, and include old version patch of same cpuid and platform. So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked? I have not found a free download for version mmtool 4.53, it lists the sequence with no alignments already as in version 5.00.0007 and have ability to add/remove patchs ?
find
quote
#8
Sorry let you misconstrue ,my really mean is ,this ucode module need to modify.

find
quote
#9
(06-12-2018, 08:11 PM)woowoo Wrote: ... and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected.
You added old version: 0x04, date - 06/28/2013, but you need new one: 0x06, date - 01/23/2018.

(06-13-2018, 01:11 AM)LLC Wrote: So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked?
I've checked - alignment is necessary in this BIOS.
find
quote
#10
(06-13-2018, 12:09 PM)DeathBringer Wrote:
(06-12-2018, 08:11 PM)woowoo Wrote: ... and adding the micro code I wanted.  It works, but InSepctre from Gibson Research Corporation www.grc.com is still saying I'm not protected.
You added old version: 0x04, date - 06/28/2013, but you need new one: 0x06, date - 01/23/2018.

(06-13-2018, 01:11 AM)LLC Wrote: So alignment is necessary or not to get update the cpu patch (when you need to actually load not the first records), is it something depending on the bios version? Has anyone checked?
I've checked - alignment is necessary in this BIOS.

Thank you for all of your help with this DeathBringer.  Where did you get the file you linked from 1/23/18?  Intel's page links to a file dated 4/25/2018, but when I loaded it in MMTool it showed 6/28/13 like you pointed out. I thought it might have just been a problem with MMtool. 

Edit, I just looked at the link and realized platomav is hosting a repository of all of them. 

I'll have to research how to do the alignment you're talking about.  I'll post another rom once I figure it out before I flash.
find
quote


Forum Jump:


Users browsing this thread: 8 Guest(s)