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
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Hiva2023
06-14-2024 01:15 PM
» Replies: 1185
» Views: 291706
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: CyberBonk
06-14-2024 12:45 PM
» Replies: 58
» Views: 17673
HP EliteDesk 705 G5 SFF: CPU Upgrade
Last Post: clogscancer
06-14-2024 03:10 AM
» Replies: 3
» Views: 529
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: lollo90
06-13-2024 05:26 PM
» Replies: 45
» Views: 29512
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-13-2024 08:33 AM
» Replies: 0
» Views: 161
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: portapane
06-13-2024 08:28 AM
» Replies: 135
» Views: 74363
[REQUEST] Acer Aspire 4738(G,Z) BIOS Unl...
Last Post: arisprast1
06-13-2024 01:28 AM
» Replies: 62
» Views: 17286
Acer Aspire 7750G: Ivy Bridge support
Last Post: DeathBringer
06-13-2024 12:23 AM
» Replies: 3
» Views: 350
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-12-2024 06:51 PM
» Replies: 42
» Views: 36361
[REQUEST] IGEL M320C Thin Client
Last Post: Trixxtar
06-12-2024 10:33 AM
» Replies: 1
» Views: 1069
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: MATI1XD
06-11-2024 06:36 AM
» Replies: 17
» Views: 3820
MB (A55M-E33 FM2+)
Last Post: TamoNeki
06-10-2024 03:28 PM
» Replies: 15
» Views: 786
Lenovo Ideapad flex 4 14IAU7 missing UUI...
Last Post: balli4u
06-10-2024 01:10 PM
» Replies: 0
» Views: 223
[REQUEST] Lenovo S310 & S410 (8BCNxxWW) ...
Last Post: Dudu2002
06-10-2024 08:34 AM
» Replies: 15
» Views: 7288
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
06-10-2024 06:47 AM
» Replies: 875
» Views: 310328
HELP Unbrick ASUS N550JV
Last Post: halfchemistry
06-10-2024 05:37 AM
» Replies: 9
» Views: 11884
Asus Strix G512LV Bios Unlock
Last Post: loic2907
06-10-2024 04:12 AM
» Replies: 58
» Views: 16980
[Request] HP X99 CPU Support
Last Post: DeathBringer
06-09-2024 01:01 PM
» Replies: 3
» Views: 383
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
06-09-2024 03:50 AM
» Replies: 469
» Views: 144970
[REQUEST] Lenovo ThinkCentre M715q 2nd G...
Last Post: Arcaderix
06-09-2024 02:11 AM
» Replies: 18
» Views: 2227

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