LongSoft / UEFITool

UEFI firmware image viewer and editor
BSD 2-Clause "Simplified" License
4.17k stars 620 forks source link

UEFITool NE unable to modify images, old engine is not supported #67

Open shuffle2 opened 7 years ago

shuffle2 commented 7 years ago

I have some image which I am able to successfully replace a PE file in on older UEFITool. On current UEFITool, the options to allow modifying the image are always grayed out. I haven't looked into why, but maybe it is because the FIT claims it supports Boot Guard. In any case, UEFITool should not prevent changing this image.

Cr4sh commented 7 years ago

Unfortunately, NE (aka new engine) brach of UEFITool currently does not support image editing at all. If you interested in this functionality -- try to use older version, for example, this one: https://github.com/LongSoft/UEFITool/releases/tag/0.21.5

carlosmogo commented 7 years ago

Hi, I have an asus X99A and a processor e5 2630 v4 works fine for the first time but after restart it appears Q code 19, please you can patch the bios is this http://dlcdnet.asus.com/pub/ASUS/mb/LGA2011/X99-A/X99-A-ASUS-3402.zip?

Magendanz commented 7 years ago

So is image editing something that will be coming soon in NE builds? This seems like core functionality and the menu commands still remain.

lasalvavida commented 6 years ago

It would be nice to be able to use some of the new engine features, but image editing is a must. Is there any way we could get a series of issues outlining specific things that are still to do in the new engine with some direction on what needs to be done? For example in ffsbuilder, making issues for methods that return U_NOT_IMPLEMENTED along with what the method needs to be able to do in order for it to be considered to be implemented.

The reason I say this is because if I have spare cycles, I'd be happy to help where I can, but without a specific task/requirements it would be difficult for someone outside the development loop to contribute.

osresearch commented 6 years ago

Adding a vote for image editing in the new_engine branch. I'm working with UEFI images that use FFSv3. The old engine tool can't parse this version of the file system structure, so I can't replace individual DXE and PEI files.

interferenc commented 6 years ago

Another vote for ffsv3 support in EUFIPatch, please.

osresearch commented 6 years ago

I've modified the old engine to be able to regenerate FFSv3: https://github.com/LongSoft/UEFITool/pull/90

it "works for me" on the Intel firmware images on the s2600wf mainboard that I'm testing with the NERF branch of heads: https://github.com/osresearch/heads/tree/nerf

SourceCodeDeleted commented 4 years ago

Is this still a problem? I can check and try tonight if needed.

NikolajSchlej commented 1 year ago

I will start working on this huge task when I'm done with smaller parsing-related ones. Not many of them left though, so I hope to deliver before the end of this year.

jelischer commented 1 year ago

Please update the README as to whether the NE version can now edit images. There are comments in the wild about how you need to use the "non-NE" version to be able to edit but no comments here as to whether that is still true or when it was changed, or in fact as this bug suggests, there are limitations to the editing ability of the NE version. It makes it hard to work out what to download and use.

wravoc commented 7 months ago

Since the LogoFAIL vulnerability has been discovered, this may be more of a priority.

htm23x commented 3 weeks ago

Any news/dev on NE supporting bios mod/writting? We really need this feature being implemented, please. Thanks.