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
Feeling lucky? This giveaway is for you!
Last Post: skolopendra
Today 05:57 PM
» Replies: 0
» Views: 23
REQUEST please msi b650 gaming plus wifi
Last Post: samtron6
Today 05:34 PM
» Replies: 1
» Views: 92
Winflash "flash bios is not an upgrade" ...
Last Post: apacha
Today 01:47 PM
» Replies: 22
» Views: 306
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Today 11:50 AM
» Replies: 1085
» Views: 383024
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: Dudu2002
Today 11:47 AM
» Replies: 635
» Views: 183932
[REQUEST] ASUS ROG GL553VD BIOS Unlock
Last Post: Reklez
Today 09:09 AM
» Replies: 116
» Views: 39714
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: Dudu2002
Today 08:19 AM
» Replies: 474
» Views: 134482
[REQUEST] Lenovo ThinkPad T480s (N22ETxx...
Last Post: No_013
Yesterday 08:56 PM
» Replies: 21
» Views: 6426
[Freebie Guide]How get unlocked hidden s...
Last Post: Alan23
Yesterday 06:24 PM
» Replies: 4
» Views: 12521
[REQUEST] Alienware M16 R1 AMD 7745HX RT...
Last Post: Arc717
Yesterday 06:15 PM
» Replies: 0
» Views: 111
Lenovo 15ARE05 - RTC timer, stuck on boo...
Last Post: CrisPell
Yesterday 04:30 PM
» Replies: 0
» Views: 89
BIOS Help - ASUS Zenbook Flip UX360UAK s...
Last Post: MrMike
Yesterday 03:02 PM
» Replies: 0
» Views: 88
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
Yesterday 12:31 PM
» Replies: 120
» Views: 81018
LENOVO ideapad 330-14AST
Last Post: pleasehelp
Yesterday 10:50 AM
» Replies: 0
» Views: 133
[REQUEST] Lenovo L540 (J4ETxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 09:17 AM
» Replies: 49
» Views: 5042
CLEVO BIOS Mods
Last Post: daniel_wu
05-17-2024 09:41 PM
» Replies: 250
» Views: 423892
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: fatehkeane@gmail.com
05-17-2024 04:43 PM
» Replies: 54
» Views: 16126
[REQUEST] Alienware M16 R1 AMD Bios Unlo...
Last Post: Arc717
05-17-2024 04:41 PM
» Replies: 0
» Views: 224
Acer Aspire 7739G laptop. i need a modif...
Last Post: DeathBringer
05-17-2024 02:29 PM
» Replies: 7
» Views: 265
[REQUEST] - BIOS crisis assistance for L...
Last Post: sandpa
05-17-2024 02:21 PM
» Replies: 0
» Views: 125

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: 2 Guest(s)