EN-English - BIOS Update Via EFI Shell
EN-English - BIOS Update Via EFI Shell
This document will help you to get familiar with updating your EC, ME and BIOS Firmware via EFI Shell.
Essential instructions
This paragraph will represent the most concise, yet complete, version of our instructions.
The rest of this document will explain each step in more detail with screenshots.
1. Prepare USB thumb drive, formatted with FAT32. If drive is larger than 32GB, you need to partition it.
Unzip content of EFI Shell into the root of the thumb drive.
Unzip content of EC and/or BIOS updates into your thumb drive (creating subfolders is OK).
Make sure system is ‘plugged in’ with external power.
2. Reboot and disable ‘Secure Boot’ in BIOS Setup (press F2 to enter BIOS Setup).
3. Boot from USB thumb drive (press F7 to select boot media during reboot).
4. Navigate folder structure in EFI shell and run .NSH files to execute the update.
5. Wait for the update to complete. Do not manually shutdown or reboot the system during the update!
If your update consists of multiple parts (multiple ZIP files or subfolders), run the updates one after another.
6. If you get a “Secure Boot Violation” error after updating, this is normal. Remove USB stick and reboot.
7. When update is complete, reboot and enter BIOS Setup.
In the “Exit” menu, select “Load Defaults” (or “Optimized Defaults” or similar).
Finally, finish by selecting “Save & Exit” (or “Save & Reset” or similar).
Figure 1: USB thumb drive formatted in FAT32 Figure 2: Typical directory layout of USB thumb drive with EFI Shell
When entering BIOS Setup (F2), you will see either one of these two systems:
Figure 3: Aptio BIOS (classic) Figure 4: Aptio BIOS (graphical) Figure 5: Insyde BIOS (graphical)
Both systems are equally up to date and fully compliant with BIOS/UEFI standards. While the UI appear different on
first look, the organisation and operation is identical. Aptio Setup will go directly to the setup pages. Insyde BIOS will
greet you with a ‘Welcome’ screen first in which you’ll have to select ‘Setup Utility’ to go deeper into BIOS Setup.
To enable F2 (BIOS Setup) and F7 (Boot Select), hold down the respective hotkey during early boot-up time.
Do not manually shut down or reboot the system during the Update!
Do not remove the external power supply!
If the update asks you to confirm to continue the process, please read the instructions
on the screen carefully and, if you want to proceed, confirm.
If you see any Error messages, please take a picture of the message and send it to
support. A few common messages are explained at the end of this document.
After entering the appropriate folder, run the correct NSH file to Update.
NSH files in EFI Shell are the same as BAT files (Batch files) in MS-DOS.
To run an NSH file, simply type its name into the shell and hit [Return].
You can use [Tab] again to auto-complete the name of the NSH file.
Update files are named F.NSH, FLASH.NSH, FLASHME.NSH, ECFLASH.NSH or similar.
You can use PageUp and PageDown keys on your keyboard to scroll up and down.
Step 5: Run .NSH file from USB thumb drive in EFI Shell
Please navigate with EFI Shell into the subfolder that contains the .NSH file that you want to run. If you have a
system where EC and BIOS are updated seperately from one another, it is generally advised to run EC update first.
This is explained in more detail in the FAQ at the end of this document.
Some BIOS updates come with an update for Intel Management Engine (Intel ME). In some of those cases, the ME
area of the firmware needs to be unlocked first by running a special ‘MESET’ command. In such cases, the MESET
step will be contained in a separate, numbered subfolder of the BIOS update archive.
The exact output on the screen will depend on your system and on each individual update. Please use the following
screenshots for guidance.
Figure 7: Navigating EFI Shell and starting NSH file for EC Update. The names of files and folder might appear different, depending on your update.
1. You can now remove the USB Stick from your system.
2. Enter BIOS Setup Utility (F2), go to “Exit” category.
3. Select and confirm “Load Optimized Defaults” / “Load Setup Defaults” (or similar).
4. If you have disabled “Secure Boot” earlier, please enable it again.
5. Press F10 and confirm for “Save and Exit”. Reboot and enjoy your updated system.
Troubleshooting
There might be a number of situations that might cause an error during one of these steps. This checklist will help
you to fix the most common causes:
→ Have you downloaded the correct package for your model? Please compre the Product ID of the package
with the Product ID that is printed on the product label on the bottom side of your laptop.
→ Occasionally, some USB thumb drives just don’t play well with EFI Shell. They might boot and show the
correct files, but then they might have invalid file content, checksum error or similar issues. Just try one or
two other USB thumb drives. Both USB 2.0 and USB 3.0 should be fine.
→ If you are unable to boot from your USB thumb drive, please double check to see if it is formatted in FAT32.
Formatting in FAT32 is only possible if the partition on the stick is not larger than 32GB. A 64GB stick (or
larger) must be partitioned accordingly. See step 1 on the first page of this guide.
Error 25: The host CPU does not have write access to the target flash area. To enable
write access for this operation you must modify the descriptor settings to give host
access to this region.
This indicates that the ME Firmware Region is protected against overwriting – it’s not a bug, it’s a feature.
If you encounter this error, please run MESET (or similar) as described in Step 5 of this document.
Q: What is EC Firmware?
A: EC stands for “Embedded Controller” - it is responsible for battery and power management, fan control, keyboard
input and RGB LEDs. This Controller is a chip on the mainboard that is separate from the BIOS chip. In the system’s
hierarchy, the EC is activated before the BIOS. Among all the chips that might require firmware updates, the EC chip
is the most low-level one.
Q: If I have separate EC and BIOS updates – which one should I install first?
A: There used to be the rule of thumb that EC should be updated before BIOS. This only really applies to rare
situations where a mainboard/platform has a cross-generational transition, as happened in the past when Windows
7 transitioned to Windows 8 (with UEFI support) or when a platform with a socketed Desktop CPUs is upgraded for a
new CPU generation. When we upload packages with such special requirements, we will always provide an extra
readme in the ZIP file and the EC and BIOS folders will be numbered (1, 2) accordingly.
Let’s imagine the worst case: you are running a BIOS update in Windows and the progress bar is moving from 0 to
100%. Suddenly in the middle of this update, something triggers a reboot. This could be a scheduled Windows
update, a software for a 3rd party or it could be a good old fashioned Bluescreen. Or maybe someone pressed the
power button by accident, triggering a shutdown. In such situations, there is a high risk that your system might not
be able to boot anymore. It would then be necessary to go through complicated BIOS recovery steps. We try to avoid
such situations at all cost. This is why we support EC and BIOS updates only via EFI Shell.
End of document