Page 19 of 50
#271 RE: [Guide] How to flash a modded ASUS/ASRock/Gigabyte AMI UEFI BIOS by rootuser123 30.05.2018 17:59

@Fernando For newer Gigabyte motherboards with an EFIFlash.exe date modified of 24/01/2017 in the BIOS zip file, use this efiflash from @Mov AX, 0xDEAD : Flashing Gigabyte while avoiding "Invalid BIOS image" (2) I've personally tested it on my Z370 board and it works perfectly to flash modded BIOS.

#272 RE: [Guide] How to flash a modded ASUS/ASRock/Gigabyte AMI UEFI BIOS by Starhowl 01.07.2018 21:05

I failed at the point of a failed security check repeatedly. Trying to flash it via the ASUS Flashback Utility on my P8Z77-V DELUXE the blue LED-button blinked a few times, then remained constant but no flashing happened. Does anyone have an idea what I could do to make it work or how I'd be able to circumvent this security check?

#273 RE: [Guide] How to flash a modded ASUS/ASRock/Gigabyte AMI UEFI BIOS by 100PIER 15.07.2018 09:31

i have also a ASUS P8Z77-V Deluxe mboard. Do use Flashback button method using a small USB2.0 key properly FAT32, MBR structure formatted. It does work 100% sure !

#274 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 15.07.2018 09:47

Is there somewhere a Guide Line on how to flash a modded AMI UEFI BIOS Aptio 5 for MSI machines ?
Who can help me ?
I have modded (via UBU tool, UEFITool) original BIOS for a MSI portable PC without 'flash back button'.
The current interface offered by MSI is thru UEFI, but does seem accept ["Secure Flash check" error message] only official MSI BIOS version and not the modded ones I have to test.

#275 RE: [Guide] How to flash a modded AMI UEFI BIOS by Fernando 15.07.2018 09:56


>This< guide has been written by our BIOS Guru CodeRush.
You should better ask him. I am not an an expert regarding your problem.

#276 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 15.07.2018 10:32

Thanks Fernando, I do contact CodeRush.

#277 RE: [Guide] How to flash a modded AMI UEFI BIOS by Lost_N_BIOS 15.07.2018 10:42


@100PIER - AFU and Intel FPT both should be able to flash MSI Aptio V BIOS, be sure to use -savemac when flashing with Intel FTP
And always create a backup and verify it is in tact and OK before you do any flashing, so you have copy of your mac and serials etc.

Commands to backup BIOS
fptw -d backup.bin
afuwin.exe backupBIOSname.bin /0

#278 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 15.07.2018 14:13

Thank you for your reply.
As I am very new on AFU and Intel FPT tools I am discovering I will need your help and experience.

The current offered interface to update the MSI portable PC BIOS is thru the UEFI BIOS menu. I don't see any 'flash back button' on MS GS63 Stealth 8RE W10 PC.
When submitting, under the MSI UEFI BIOS menu, the modded BIOS produced via UBU tool I get a 'secure error' message, and the modded BIOS can't be flashed.

1) So, do you think that modding properly via AFU tool the already modded BIOS file, the MSI BIOS menu should accept the modded-modded BIOS file ? or do I have to use another procedure ?

2) If I assume the modded-modded BIOS file flash is possible, but does not start or is not working, how can I re-install the original BIOS if the BIOS menu is no longer offered ?
I am lost.

Sorry for my ignorance, but at the moment I don't understand the procedure/concept for flashing MSI BIOS and would like avoid to brick this recent machine.

I am familiar with ASUS BIOS flashing procedur (very easy via the flash back button), but I discover that for MSI it is not the same simplicity..

#279 RE: [Guide] How to flash a modded AMI UEFI BIOS by Lost_N_BIOS 15.07.2018 22:24


Flash back is Asus. AFU does not modify any BIOS, only flashes BIOS. Yes, if you modify the BIOS you have to use another method besides BIOS built in flashing method or you get security issue.

For MSI, if you have a bad flash, you need CH341A flash programmer to recover, and either jumper cables with that or a PCB adapter like this one (MSI JSPI External Flashrom module)

It's available from this seller on ebay, send him message and ask for MSI JSPI External Flashrom module set -
You can either use this with CH341A programmer, or the one linked above from ebay (Better, but more $$)

There is also this guide for MSI recovery

You should be able to flash modified BIOS with AFU from DOS, but you may need to use /GAN switch (and older ES versions AFU) as outlined in the guide Fernando linked above.

If you are unsure if your BIOS mod is OK, upload your BIOS here and we can check to see if it looks OK. What all mods did you do to the BIOS?

#280 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 16.07.2018 11:16

Thanks for your clear reply. About the CH341A flash programmer method I don't see how I can use it.
I have no access to the BIOS component because if I open the PC portable the warranty does no longer apply.
Moreover I don't understand on how does work the BIOS component reprogrammation.
Practically, do we have to unsolder the current component on the motherboard (if accessible) ?, install it into the programmer (if compatible) ?, program it using another PC ? (under W10 interface ?), resold the component on the original machine and then do test.
For me all these manipulations are very risky and out of my skill, and does break the MSI warranty of this recent machine. It is not doable for me.
I do prefer, if possible, a pure 'software' BIOS recovering solution working 100%, and if it is not possible with MSI notebook it is dommageable for me.

The 2 mods I have done on the original BIOS are minor update (via UBU tool), and a major mod (via UEFITool) to replace the original AMI NVMe BIOS module with the "NvmExpressDxe_4" NVMe BIOS module.
The purpose of the NVMe modding is to try if NvmExpressDxe_4 does fix the severe performance issue I detected with this NVMe machine equipped with a Samsung NVMe PM981 512GB.
Here is attached the zipped modded BIOS file.

#281 RE: [Guide] How to flash a modded AMI UEFI BIOS by Lost_N_BIOS 16.07.2018 11:59


Yes, it only can apply if you want to respect that, and in such cases BIOS flashing can be held against you too and they not honor warranty. That tool is only to recover if you have a bad flash, last resort etc.

No, soldering is not necessary, there is cable with clip I showed or the PCB adapter I linked has a MSI specific plug on one end that connects to MSI motherboards.
Show me an image of your motherboard I can show you which pin header the PCB adapter type connects to, and I can show you the BIOS chip where you would use the clip cable type adapter as well.
The programmer is USB, run in windows or Linux you write to the failed BIOS either via cable if using the cable or to a spare rom that comes with the PCB type adapter. No soldering needed for either method.
There is no pure software recovery method for bricked BIOS, normally if that happens you cannot even boot to DOS so there is no way to recover other than above.

You have to accept these challenges when you want to modify your BIOS, any time you flash a modified BIOS you risk bricking the motherboard, there is no way around that other than trying to be 100% sure BIOS is OK before flashing.

What did you update with UBU tool? I'll check the downloads and see if it all look OK, if it does that is till only my hope after checking all "Looks OK" there is no 100% certainty

* Never mind above question - I checked and see you updated CPU microcodes, and the NVME mod, is all I noticed but I didn't check other roms UBU might update.
The file looks OK, no odd errors in any programs, I would feel OK flashing it if it were me.

Flash with AFU from DOS or Intel FPT (make backup with both first! and be sure to use -savemac with FPT)

Here's how from windows with FPT - >> FPTW.exe -F E16K5IMS.10C -savemac -BIOS

You will need FPT from Intel system tools V12 -!GZtHHQhI!EUAG9vM4wnAH_...nzh66iOSWWevrOk

This will flash the "BIOS" region only, will not flash ME or Descriptor. Go into Flash programming tool, then win folder (not win64).
Run command prompt from the "WIN" folder. Back out of the win folder, right click win while holding shift button, select open command window here.
Then copy/paste the above command (Paste with mouse only, control + V does not work here)
If it fails to flash with error, you may have to do the flash from DOS with same commands only using the DOS version from DOS folder.

Modified BIOS will not flash with regular MSI BIOS updating methods, you have to use FPT or AFU

#282 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 17.07.2018 00:05

Many thanks for your help and i have to print and digest when I get time.
At the moment I have never open the PC (not tried for warranty breaking if stucked screws are modified) ans so I can't give you a image of the motherboard.
You said the USB programmer is for recovery and does run Windows or Linux, but if the BIOS notebook is dead how can you run Windows interface ?
I assume we have to use another W10 PC ? Is it correct ?

About mods done via UBU tool here are the screenshots:
Original status:

Final status:

#283 RE: [Guide] How to flash a modded AMI UEFI BIOS by Lost_N_BIOS 17.07.2018 05:56


You would use the flash programming tools on another computer, to get the recovery BIOS module ready, or if using cable use other computer to flash directly from that PC to your laptop. You can use any other computer, windows any version etc.
All that is only necessary if BIOS flash fails, same for opening up the system, only necessary if flash fails and you want to recover vs trying to get them to RMA/reflash the BIOS for you.

Thanks for the images. As mentioned above, I checked the BIOS already many ways, and saw your modifications, all looks good to me. As long as your CPU is not 806EA CPUID, since you removed that CPUID.
If you are unsure, tell me your CPU model, or lookup yourself on CPU-world and see the CPUID and make sure it's not 806EA

#284 RE: [Guide] How to flash a modded AMI UEFI BIOS by 100PIER 17.07.2018 09:10

My CPU is "906EA" as reported by InSpectre, CPUID, HWiNFO, Intel CPU ID, or SIV64 tools.
The severe SSD NVMe Samsung PM981 performance issue is self-explained by this screen:

The purpose of the same ATTO test run with the modded BIOS (original "AMI" NVMe BIOS module replaced with "NvmExpressDxe_4" NVMe BIOS module) is to verify if the source of the performance Read issue (only 1/3 of the Samsung specifications) is the NVMe BIOS module or not.
The expected normal ATTO test result of PM981 should be similar to this one run on X99 for a 970PRO device:

#285 RE: [Guide] How to flash a modded AMI UEFI BIOS by Lost_N_BIOS 17.07.2018 09:18


I see what you mean with the SSD performance. Since that is not your CPUID from the removed microcode, then you should be OK to flash as mentioned above

Xobor Forum Software von Xobor