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
New Members Say Hi Here
Last Post: boblemagnifique
Today 06:14 AM
» Replies: 162
» Views: 265166
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: Dudu2002
Today 04:03 AM
» Replies: 651
» Views: 338237
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
Yesterday 09:37 AM
» Replies: 10
» Views: 6689
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
Yesterday 03:45 AM
» Replies: 139
» Views: 99618
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 03:43 AM
» Replies: 601
» Views: 351717
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
Yesterday 03:25 AM
» Replies: 7
» Views: 474
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: ngocthienta
11-12-2025 11:16 PM
» Replies: 5
» Views: 2848
Help Acer Aspire 15
Last Post: mvlaurentiu
11-12-2025 06:41 PM
» Replies: 0
» Views: 360
[REQUEST] Acer Exstensa 5220 cpu mod
Last Post: DeathBringer
11-12-2025 04:09 PM
» Replies: 5
» Views: 382
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Gumpween
11-12-2025 03:45 PM
» Replies: 497
» Views: 257320
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: sam4011
11-12-2025 01:37 PM
» Replies: 100
» Views: 58154
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
11-12-2025 10:24 AM
» Replies: 12
» Views: 8657
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: pupa57
11-12-2025 07:28 AM
» Replies: 818
» Views: 459055
Locate BIOS chip on DKL50 LA-E802P Rev:1...
Last Post: valerio_vanni
11-11-2025 08:29 PM
» Replies: 0
» Views: 160
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: wimmme
11-11-2025 10:55 AM
» Replies: 19
» Views: 38767
[REQUEST] Acer Nitro 5 AN515-55 BIOS Unl...
Last Post: mimouzunov
11-11-2025 10:37 AM
» Replies: 100
» Views: 81383
Asus A8JR / Z99J - T7200 CPU - confirmed
Last Post: Longmao0219
11-11-2025 10:16 AM
» Replies: 1
» Views: 3943
Samsung R60 plus
Last Post: Debilix4441
11-11-2025 09:01 AM
» Replies: 15
» Views: 17184
[REQUEST] Lenovo Legion Y540 (BHCNxxWW) ...
Last Post: fgonz
11-11-2025 08:22 AM
» Replies: 18
» Views: 10169
Foxconn 865G7MF Pinmodded Xeon Support
Last Post: Jackal1983
11-10-2025 10:01 PM
» Replies: 18
» Views: 670

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