Microcode Update of Insyde UEFI BIOSes

I am not sure what you mean, can’t find tools mentioned? I linked the tools I mentioned for you to use, sending you a PM not about EZH20, I do not find these tools useful or trustworthy to flash post-edit with, but you can try if you feel brave and have recovery tools in hand.

What tool did I mention that you cannot find? Did you maybe mean the BIOSME.bat batch file? If so, that is inside the stock BIOS download, in the DOS folder. And if using, that batch file may need edited to reflect this BIOS versions ME before using as it is.

Here is BIOS with updated ME (but not latest version, only 6.0.40.1215 vs stock was 6.0.31.1208), but still need meinfowin image from you, here is meinfowin to run

For latest version ME (6.2.50.1062), that can only be done on you end via FW update tool, because there is no RGN files to use to put in BIOS, only UPD files which should only be used by end user to update FW locally using FW Update tool (I’ll help you with this later)

UpdatedME.png


https://nofile.io/f/4dsyPZde0vp/Updated+ME.zip

On the ME FW Update tool, see here first, it may be cause of your 8179 error - http://forum.notebookreview.com/threads/…-ge63vr.813986/
Depending on how/where you are running the tools and with what files (ie what ME you are trying to use to update the ME FW With, what commands you are using etc?)

ME FW update is not something to mess with, if you do it wrong you will have a bricked device until you can get a flash programmer to recover, so tread carefully!

Once your updated to this BIOS, I will help you with latest ME FW UPD file, using ME FW update tool (FWUpdLcl)
If we cannot get it still due to error above, with the files I’ll send you, then I can show you method to change those blocks via grub booting method.

I do have EzH2O v2.1.0.13 on my mega cloud.

@Lost_N_BIOS I use mod3 bios from post 14 (don’t know what mod6 is).

Results of MEInfoWin

Capture.PNG



I don’t want to risk flashing mod6, so I’ll wait till you update mod3 (please explain the differences if you know them).

I tried updating the ME FW using a resetted bios, but no luck, same issue.

Mod3 vs mod6, I assume was explained in the original thread wasn’t it? Anyway, I assumed mod6 latest vs mod3 older, and since MiesMosel was using Mod6 in post above I went with that. Will redo with mod3 later, sorry for my confusion.

In your BIOS, do you have any ME or AMT/MEBx options, please look in all pages. Also, can you enter MEBx, by hitting Control+P many times during bootup, where you would normally try to enter BIOS and continue pressing the combo many times until you see windows loading, then you know it’s not working.
If you do get into MEBx via Control+P or find BIOS options with ME or AMT/MEBx look for ME update or local ME FW update etc and set enable. If none of that works, and the below fails too, I will help you figure out via booting to grub tomorrow and disabling locks

What command and what file are you using when trying to use FW update tool (FWUpdLcl)? This should only be used with ME UPD files, this is the command to use >> fwupdlcl -f me.bin
Here is the latest UPD File, you can try this with the above command (Rename file to me.bin) - https://nofile.io/f/b6Pqdz9v52M/6.2.50.1…5MB_PRD_UPD.zip

Also, from your flash programming tools package, can you run the following commands from “Flash Programming Tool” package at win or win32 folder, and post the error images for each where I can see the command given and error in same image, and upload the output files, thanks
fptw -d spi.bin
fptw -me -d me.bin
fptw -desc -d desc.bin

A quick note: wrong Engine tools are being used. For Ibex Peak you must use IBX System Tools.

I’ll try what you just mentioned and edit this message further on. The differences between mod3/mod6 was never mentioned, the dev only said to use mod3.

Edits:
The bios has no ME or AMT/MEBx options. Only a couple of timeout settings, cpu control settings, power management and break events
Ctrl + p does nothing on boot
using the -f flag is not valid for the windows fw update program (fwupdlcl -f me.bin)

Results from “Flash Programming Tools” (same using DOS bootable):

Capture.PNG

(desc.bin is attached inside a zip file)

desc.zip (4.15 KB)

Thanks @plutomaniac

I linked those tools earlier for meinfowin, did you mean I am using wrong FIT when inserting ME FW, or are you only referring to image in post #22 (I see that now, thanks)? I used Intel ME System Tools v6 IBX r2\Flash Image Tool\6.0.40.1212, and sent FWUpdLcl from the same package.
local FW update locked, hoping this is not BIOS bug as you’ve seen before I noticed when searching here. If we can’t get FWUpdLcl to update the FW, and setup_Var edit doesn’t unlock, do you know other options aside from flash programmer?

I see the following two options I can edit in setup module of BIOS or have him modify via setup_var in grub, but in that same module I also see the Local FW Update at Unicode in hex, but this does not appear in IFR output so I cannot find location to enable/disable that.
Setting: Ignition ME Protect & Setting: Ignition ME Check Inform

See also below comment, about sysinfo, thanks!

@FPSUsername please be sure you are using this package (Intel ME System Tools v6 IBX r2) for all tools (FWUpdLcl, meinfowin etc) - https://mega.nz/#!rVt3jJCC!-l2IP-MnuK993…pxzSkz78XBCXfwU
OK, I will redo edit tonight with mod3

This BIOS package from manufacturer comes with tools to update ME from windows, but it looks like it only uses a command sysinfo.exe SMI_disable.cfg during EC FW Update not ME, so it’s possibly the insydeflash disables any lock for ME since it is called after sysinfo.exe SMI_Enable.cfg is called post disable previously.

We’ll get there, just take time to find correct method since I do not have system in hand.

Yes I meant the picture I saw at post #22. OEMs can lock the use of FWUpdate via the BIOS so it’s an option, not a bug. You can use the usual IFR trick but if that doesn’t work you either use a programmer or find a way to unlock the FD and use FPT. Obviously, for anything non-FWUpdate, the user must follow the Engine CleanUp Guide to clean & re-configure the ME firmware.

Thanks! Cleanup guide was used in above BIOS I changed out ME in, however I am unable to find “ME Local FW Update” option via IFR (Only seen in hex), but the above two mentioned settings do show up in IFR >> Ignition ME Protect & Setting: Ignition ME Check Inform, but I am unable to tell what is default value so cannot change
So I am not sure we can even try changing anything via hex or setup_var, since I am unable to find a variable for this setting to use in grub, nor a location to edit via hex from IFR for Local FW Update. The DOS And windows updater from manufacturer updates ME though, so it is possible, unless that gets blocked due to modified BIOS Check.

@FPSUsername - here is same edit to mod3 BIOS from post #14 - After BIOS flash, please check ME version via meinfowin and see if it updated or not. How you are you updating the BIOS anyway, what tool/command?
Try from DOS using the included batch file, put all files in the dos folder into the root of your DOS USB/CD then run the batch file. Choose flashall if asked. If that fails, update your usual way. Wait - see below on windows flasher!

Or, I also included an edited windows flasher, with batch file edited set to update ME and set to re-write the flash descriptor (Which I set to all unlocked)
So this may get it all done in one swoop, update the ME to version I put in BIOS, and then unlock your descriptor region so all regions in the FD are unlocked for read/write. Run DPJ.bat to update in windows
https://nofile.io/f/FGCqCTuJOjz/Mod3+ME.zip

And here is command to use FW Update tool, sorry about previous I was unaware -f was not used in ver 6 >> fwupdlcl me.bin << If that fails try fwupdlcl me.bin -generic
Make sure you are using FW Update tool from this package >> Intel ME System Tools v6 IBX r2 (Included in above package)
If updating with this ME UPD, do after all BIOS flashing is done.

Okay, bios update succeed, I can’t run meinfowin, but in dos mode it gives me this:
FW Version: 6.0.40.1215 (Yep, FW is updated)

but here’s the problem:
Local FWUpdate: Disabled
I still can’t update to 6.0.50.XXXXXXXX in windows or DOS.

Besides that, I couldn’t do the windows bios update because it told me that this bios isn’t for my laptop (so DOS mode it is).


Edit:
About meinfowin, I get this in an admin cmd window.
Error 9270: Fail to load driver (PCI access for Windows)
Tool needs to run with an administrator privilege account.

Oh and I don’t know what happened, but first I did BIOSME.bat, which resulted in my pc restarting, then I did BIOS.bat which updated the bios.

OK, great, some progress. BIOSME.bat is supposed to restart the PC, then run it again (I think, sorry for not mentioning). That or it did it’s thing on restart already, it does that to update the EC and possibly ME.
But, I hoped you would run the update in windows folder though, please do that after the below (DPJ.bat), this way flash descriptor gets written to unlocked.

None of that matters now though, ME is updated from within the BIOS to latest RGN. So now we only need to try to move forward on getting the ME updated via fwupdlcl
First, lets make sure ME State is reset. Go into the system tools package for IBX you download previously, and open command prompt at the flash programming tool >> Windows folder, and run fptw.exe -greset
If that fails, which it shouldn’t, then remove all power for 1+ minute. This means unplug PSU From the wall, remove CMOS battery, and then press and hold power on switch for 10-20 seconds, then let sit for 1+ minutes.
Then put CMOS batter back, plug in PSU and then enter BIOS and load optimized/optimal/setup defaults

Then please run the DPJ.bat from within the windows folder of the files I sent you. Then once it’s done, boot to BIOS and again load optimal/optimized whatever that is called in your BIOS

Then in the folder I sent you, launch command prompt a FWUpdate >> Windows and enter this command >> FWUpdLcl.exe me.bin
This should update ME to the included 6.2.50.1062. If that fails, try again with this command >> FWUpdLcl.exe me.bin -generic

If those both fail, lets check if hopefully the windows BIOS update did as desired and unlocked the FD.
To check that please run the following from the Intel Flash Programming IBX Tools package at flash programming tool >> Windows folder open command prompt and run the commands below again and upload image of all commands and output or errors and upload the new files again (delete all old if you have
fptw -d spi.bin
fptw -me -d me.bin
fptw -desc -d desc.bin

Hmm, I can’t really remove the cmos, I’d have to take apart my laptop and it isn’t really possible since it’s partially broken. The more I disassemble it, the more pieces break.

Capture.PNG.jpg

Capture2.PNG



Edit:
Something weird happened, I let my laptop on for a few minutes and this happened (Oh and you can see some duct tape)
The whole laptop freezes after a couple of minutes. This doesn’t seem to be happening inside the BIOS, only in windows since the last BIOS/ME update

IMG_20180831_110649.jpg



So far the freeze happened three times and once I got a unexpected kernel mode trap BSOD

I rolled back to the bios from post 14

spi_desc_me.zip (2.22 MB)

OK, well then press and hold power on button for 1 minute, with main batter and power cable removed.

Try windows update DPJ.bat again, but before that open platform.ini file and in 4-5 section down edit this entry PatchFv=1 (Change to PatchFv=0) then save and run the batch file.

Actually, stop on above, no need now you got it! Great, thanks for the dumps, looks like you now have flashed FD all unlocked, you can write to ME with FPT now, and should be able to with FWUpdLcl.exe as well.

So, since you went back to mod3 BIOS without that interim ME version I edited in for you, now you can try FWUpdLcl.exe -me.bin using the files I sent you in the Mod3 ME/FWUpdate folder. That will update you to latest ME 6.2.50.1062

Hmm, when I was on your mod3 build with 6.2.40, I couldn’t run FWUpdLcl, I had the same error with the locked ME FW update.
I am not sure what is causing the freezes, it only occurred when there wasn’t any motion on the desktop (such as a video playing or having the clock/calendar opened at the bottom right corner).

I won’t be able to test this weekend as I won’t be at home. I do have a last request. I have a HDD caddy but can’t boot from it. The bios does see it as IDE1 and the main as IDE0 (not sure if it’s called IDE), but no matter what I press in the F12 boot menu, it still boots into the main drive.
I don’t know how familiar you’re with that kind of bios modding, but I’d appreciate if that would work.

It should work now with FD unlocked I think, maybe you did that before FD was unlocked? Well, no matter what you can flash ME via FPT now since FD is unlocked, but unfortunately there is no ME RGN file for that version, only the UPD File which has to be used with the ME FW update tool.
The error may be that specific ME version, which is all I updated in that file, so it’s the only likely culprit.

On your HDD questions, usually you can’t boot from USB HDD caddy like that, if it’s what I’m thinking. When you press F12 and get boot menu, can you see it’s drives? If not, what about if you choose USB HDD and then inside next menu do you see it?

Okay. Well, the hdd caddy replaces the CD/DVD drive. Yes it is visible, but it doens’t show a drive name, it’s listed like:
IDE0: OCZ Vertex…
IDE1:
USB0: V88

What is USB0: V88

Why do any of those show IDE? Are you in IDE Mode? If yes, switch to AHCI, if you are in IDE Mode, make these changes in windows first before you change to AHCI

I am in ACHI mode ofcourse, but the drives show up as IDE in the boot menu.
IDE1 is the hdd caddy. It doesn’t matter if I switch the two drives, it won’t recognize the drive (only on OS level). Pretty weird considering that you can boot from the CD/DVD drive, but not the HDD caddy, which is physically connected to the same pins.

Oh and what V88 is? That’s my usb where I have DOS on so I can flash the bioses.

The regedit values are zero.

IMG_20180901_123916.jpg

IMG_20180901_123851.jpg

Sometimes that is due to the controller inside the caddy, some have a controller rather than simple pass-through making booting from impossible.

5741(g)
Although im not willing to update the firmware, could you guys recommend the best bios flash for providing
uefi support bug free
virtualisation option
intel speedstep.
unlocked no restriction on installing other wifi cards etc im using the Intel 7260ac but its slow on boot.
intel turbo boost would be a bonus.
thanks.
I7-640m, 8gb, ssd crucial drive.

@pedro77 - why ask if you would not update anyway, and then modifications on top of that?? I do not understand your message possibly?