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
FPT Backup Errors
Last Post: plusiasocial
Today 01:49 AM
» Replies: 1
» Views: 9724
[REQUEST] Lenovo X280
Last Post: plusiasocial
Today 01:46 AM
» Replies: 4
» Views: 2614
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: dfenton
Yesterday 06:13 PM
» Replies: 140
» Views: 100587
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 04:09 PM
» Replies: 46
» Views: 28706
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: basil021985
Yesterday 01:25 PM
» Replies: 798
» Views: 489510
Looking for Medion H110H4-EM V2.0 Bios
Last Post: ocsabi
Yesterday 08:46 AM
» Replies: 0
» Views: 109
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
11-17-2025 12:10 AM
» Replies: 0
» Views: 199
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
11-16-2025 05:05 PM
» Replies: 1775
» Views: 837128
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
11-16-2025 01:57 PM
» Replies: 280
» Views: 130672
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: DeathBringer
11-16-2025 10:37 AM
» Replies: 128
» Views: 129951
Toshiba C855 replacement battery problem
Last Post: Rad25
11-16-2025 09:45 AM
» Replies: 0
» Views: 134
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
11-16-2025 09:36 AM
» Replies: 0
» Views: 173
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-16-2025 07:32 AM
» Replies: 498
» Views: 258498
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 340766
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 212
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265758
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-14-2025 09:37 AM
» Replies: 10
» Views: 6848
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
11-14-2025 03:43 AM
» Replies: 601
» Views: 353255
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
11-14-2025 03:25 AM
» Replies: 7
» Views: 606
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: ngocthienta
11-12-2025 11:16 PM
» Replies: 5
» Views: 2934

amibios 5.12 modding help
#1
Hi.

I have ami bios v5.12 - all good- except that it's efi/uefi portion doesn't hold EFI shell at all. Bios though, does support shell.efi from file system; this just brings a minor cosmetic problem, I don't want my boot drive's root to hold shell.efi - it's ok to hold it in, for example, /EFI/tools/shellx64.efi - but it is found only if located in root of drive. I was wondering if it's possible to change it's location.

With UEFI Tool (yes, whilst computer that I am editing holds Linux, I do most of my work on Mac - and I do not have currently any computer running windows, sorry..) - I can do a search, for shell.efi - and hooray, it finds it from 2 places. Problem is that when I view the data, in hex editor, search the offset mentioned from search, I see that it seems that if I touch there, I will break it. So, I could extract body..... And maybe edit it with something else?

Any ideas would be welcome.
find
quote
#2
(03-25-2023, 03:12 PM)osku81 Wrote: Hi.

I have ami bios v5.12 - all good- except that it's efi/uefi portion doesn't hold EFI shell at all. Bios though, does support shell.efi from file system; this just brings a minor cosmetic problem, I don't want my boot drive's root to hold shell.efi - it's ok to hold it in, for example, /EFI/tools/shellx64.efi - but it is found only if located in root of drive. I was wondering if it's possible to change it's location.

With UEFI Tool (yes, whilst computer that I am editing holds Linux, I do most of my work on Mac - and I do not have currently any computer running windows, sorry..) - I can do a search, for shell.efi - and hooray, it finds it from 2 places. Problem is that when I view the data, in hex editor, search the offset mentioned from search, I see that it seems that if I touch there, I will break it. So, I could extract body..... And maybe edit it with something else?

Any ideas would be welcome.

Hi, you can change the location of the EFI shell executable (shellx64.efi) within the EFI system partition (ESP) on your boot drive. However, it is not a straightforward process and requires some technical knowledge and caution.

One way to achieve this is to use the AMI Firmware Update (AFU) tool to modify the BIOS firmware image. You can extract the BIOS firmware image from your motherboard using the AFU tool, then modify the firmware image to change the path of the EFI shell executable. Once you have modified the firmware image, you can re-flash it onto your motherboard.

However, modifying the BIOS firmware image can be risky and may cause permanent damage to your motherboard if not done correctly. I recommend that you have a backup of your existing BIOS firmware before attempting any modifications, and that you follow the manufacturer's instructions for modifying and flashing the BIOS firmware.

If you choose to modify the firmware image, you can use a hex editor to search for the path to the EFI shell executable within the firmware image, and modify it to the desired path (e.g. /EFI/tools/shellx64.efi). You will then need to rebuild the firmware image and flash it onto your motherboard. bloxd io
Alternatively, you can leave the EFI shell executable in the root directory of your boot drive and create a boot entry in the EFI boot manager to launch it from a different location within the EFI system partition. To do this, you can use a tool like "efibootmgr" in Linux to create a new boot entry with the desired path to the EFI shell executable. This will allow you to launch the shell from the desired location without having to modify the BIOS firmware.
find
quote
#3
I have been provided with BIOS image by manufacturer. AFU tool.. Currently I do already have setup with REFind that allows me to execute shellx64.efi, but I would love to get native way to work as well. I am familiar already with minor modifications of BIOS image; when I purchased my device, I was given option to customise BIOS with desired boot display; unfortunately they forgot to do it, so they gave me bios image... Well anyway; even though I managed to do that, I wouldn't want to tamper it too much..

My previous work I've successfully done with UEFITool as I don't have Windows machines and UEFITool worked succesfully with Apple.. Anyway, point is that I don't know where to exactly look for information where it is detailed where it should search for shellx64.efi and wouldn't want to start guessing due to risks; so I though that maybe I could get some pointers on where to look for it?
find
quote
#4
Adjusting the BIOS firmware image using the AMI Firmware Update (AFU) utility is one approach accomplish this. It is possible to edit the firmware image to change the path of the EFI shell executable after extracting it from the motherboard using the AFU tool. After making changes to the firmware image, flashing it back onto the motherboard is the next step.

find
quote
#5
(04-09-2024, 09:31 PM)vernakuhlman Wrote: Adjusting the BIOS firmware image using the AMI Firmware Update (AFU) utility is one approach accomplish this. It is possible to edit the firmware image to change the path of the EFI shell executable after extracting it from the motherboard using the AFU tool. After making changes to the firmware image, flashing it back onto the motherboard is the next step.
All above is perfectly clear to me. But where in the extracted image is it located, I can't just extract every piece of it, there are ~thousands of entries.
find
quote


Forum Jump:


Users browsing this thread: 2 Guest(s)