Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem that bios is in exe format #103

Closed
mojarrah opened this issue Dec 10, 2023 · 165 comments
Closed

Problem that bios is in exe format #103

mojarrah opened this issue Dec 10, 2023 · 165 comments

Comments

@mojarrah
Copy link

System
Alienware a51 R4 pc

  • Motherboard: ms-7a87
    image

  • BIOS Version: 2.0.7

  • GPU: 3090

Hey. Hope you are doing great. I wanted to follow your steps to activate rebar. but I was surprised that dell bios is .exe and not .bin

How can we fix it?

This is the bios link

https://dl.dell.com/FOLDER08945518M/1/Alienware_Area_51_R4_2.0.7.exe

@xCuri0
Copy link
Owner

xCuri0 commented Dec 10, 2023

On most prebuilts usually the only way to flash is through use of a hardware flasher like CH341A (take multiple backups of BIOS when doing this)

@Electron-PSO might know more about this

@xCuri0 xCuri0 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
@mojarrah
Copy link
Author

mojarrah commented Dec 10, 2023

Could we talk on discord? whats your username

@Electron-PSO
Copy link

Hello @mojarrah

You can extract the .rom file from the EXE file by using the /writeromfile switch at the command line

Alienware_Area_51_R4_2.0.7.exe /writeromfile

Once you have the file, you should be able to use the AMI AFUWin64 v3.05.04 with GAN support to flash it.

As xCuri0 said, make backups first though

AFUWINx64.EXE /O to save current ROM image to file

@mojarrah
Copy link
Author

@Electron-PSO Got it, but could we discuss it on Discord now? whats your username? mine uchihamj

@mojarrah
Copy link
Author

@Electron-PSO here or there, Use what's best for you. The problem is that any version of the bios I can't even open the exe file normally when clicking it in windows 11. Any version of the bios. It gives an error unable to load driver!!! Can you try please to extract it on your side and upload it. That would be l insanely helpful!!!

@Electron-PSO
Copy link

Hello @mojarrah,

Here is the rom file extracted from the 2.0.7 exe you posted

alienware_area_51_r4_2.0.7.rom.zip

Did you use the command line when you tried to extract it? Like this?

Writeromfile

@mojarrah
Copy link
Author

Hello @Electron-PSO

Can confirm the ROM is working. Thanks

Moreover, I have written the same command but didn't work on the machine. It is Windows 11. Maybe it needs to be on Windows 10 to be extracted

Plus, can you please now in the form of steps, tell me exactly what I should do now(anything other than the rebar steps since they are on the site) and if you name any program send its link please

@Electron-PSO
Copy link

Hello @mojarrah ,

After you have the ReBAR modified file, you'll need something like AMI AFUWin64 v3.05.04 with GAN support to flash it.

See this guide for instructions. I'm not sure about Win11, but I have managed to get Dell Alienware machines to flash in windows before.

https://winraid.level1techs.com/t/guide-how-to-flash-a-modded-ami-uefi-bios/30627

@mojarrah
Copy link
Author

@Electron-PSO Downloaded the correct AMI version now

Can you mod the rom file with the uefirebar and upload it, please? since it is different from what other people have shown

@Electron-PSO
Copy link

Hello @mojarrah ,

It shouldn't be that different.

Search for the DXE section and insert the ReBar ffs at the end of it?

@mojarrah
Copy link
Author

@Electron-PSO Look what it is giving me

image

@mojarrah
Copy link
Author

@Electron-PSO also modded the bios successfully

@mojarrah
Copy link
Author

@Electron-PSO But it is giving this error when trying to flash

@Electron-PSO
Copy link

You might want to try making a USB boot stick using Rufus and selecting FreeDOS

Then boot from the stick and try the command line things there

Win11 might be the issue or it might be an unsupported Flash Chip

Try it first, if there is still a problem, we'll have to find an alternative.

https://rufus.ie/en/

@Electron-PSO
Copy link

P.S I'm at work, so it is difficult for me to respond quickly.

@mojarrah
Copy link
Author

@Electron-PSO downloaded windows 10. Now. The problem was from windows 11

But when flashing, it gives an error

Rom file size doesn't match the bios file and that true

Rom file 16mb

.exe around 8mb

image

@Electron-PSO
Copy link

Can you read the BIOS chip with the /O option?

@Electron-PSO
Copy link

Electron-PSO commented Dec 11, 2023

AFUWINx64.EXE backup.rom /O to save current ROM image to file

@mojarrah
Copy link
Author

@Electron-PSO image

It is showing this when writing the command

@mojarrah
Copy link
Author

@Electron-PSO tried multiple times, it opens another cmd that shows the options I can use

@Electron-PSO
Copy link

You need to specify the file name you want to make

AFUWINx64.EXE backup.rom /O

@mojarrah
Copy link
Author

Did and it said it's done. I restarted then used rebar program to to put 32 value. It said it did success. Restarted again but it still shows as disabled in gpuz

image

@mojarrah
Copy link
Author

@Electron-PSO look

image

@xCuri0
Copy link
Owner

xCuri0 commented Dec 11, 2023

Make sure you have updated vbios on 3090

NVIDIA put out an update for it that's required for resizable bar to work

@mojarrah
Copy link
Author

@Electron-PSO @xCuri0

vbios and everything updated
image

@mojarrah
Copy link
Author

Literary the only option saying no in gpu z about rebar is: enabled in bios: no

@mojarrah
Copy link
Author

@xCuri0 what do you think?

@mojarrah
Copy link
Author

@Electron-PSO I used /O command again to check if the bios really flashed. And put it in uefi tool. And it's still the same. It didn't flash the modded bios

@Electron-PSO
Copy link

Did you run ReBarState.exe to set the BAR size?

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023

@xCuri0 @Electron-PSO

I removed 3 of the 4

Nothing changed, still beeps

Moreover, now, I searched using uefi editor in the bios for menus related to the thing

I found another thing related to 4g. It's called above 4g mmio bios assignment

Does it have a role?

Yes enable that too

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023

Can you tke out some sticks and try again?

There are some reports of more than 32GB being a problem.

If it is that, then all of this is for nothing until it can be resolved.

I think X299 shouldn't have any issues like this

@mojarrah
Copy link
Author

mojarrah commented Dec 15, 2023

issues

Yes It have doesn't any of these ram issues. I took 3 of the ram sticks. And still beeped.

I will try your last 3 advices and update you asap

@mojarrah
Copy link
Author

@xCuri0

I also found this setting in uefi editor, should I enable it?

image

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023 via email

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023 via email

@mojarrah
Copy link
Author

@xCuri0 the thing I find very strange is when enabling 4g decoding. Then Even 1gb won't work

@Electron-PSO
Copy link

Do you get an improvement in performance with the 1GB or 2GB BAR Size?

@mojarrah
Copy link
Author

Yes. Btw I found something

I had a thought, why is even 1gb not working when enabling 4g decoding

Tried everything, still don't work

Until, right now, I redid the mod but without the uefi patch and then enabled 4g decoding. Tried a value of 1gb. It works. It doesn't beep now. But when using value of 32. It loads windows but doesn't post to screen

@mojarrah
Copy link
Author

@xCuri0 @Electron-PSO read above

@mojarrah
Copy link
Author

@xCuri0 tried everything setup_var and everything else

Like what the heck!!!!

The only time it worked is when I applied 4g decoding and 32 value. Without uefi patch. It turns on and system loads but doesn't post on sceeen(black screen)

If I use the patch with 4g decoding enabled then it will beep

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023 via email

@mojarrah
Copy link
Author

mojarrah commented Dec 15, 2023

@xCuri0 should I change anything using setup var beside the 4g decoding enabled or disabled?

@xCuri0
Copy link
Owner

xCuri0 commented Dec 15, 2023 via email

@mojarrah
Copy link
Author

Tried now with only 4g using setup var and without uefi patch

It boots but doesn't show anything on the screen

@mojarrah
Copy link
Author

@xCuri0 enabled now using setup_var

Above 4GB MMIO BIOS assignment,

Above 4g decoding

64 bit resource something

Still it fully boots but doesn't show anything on screen!!!!!!!!!!

@mojarrah
Copy link
Author

@Electron-PSO @xCuri0 what should I do?!!

@mojarrah
Copy link
Author

@xCuri0 @Electron-PSO

This is the raw working bios

backup2.zip

@xCuri0 This is my bios. Unedited

I tried every single thing. It didn't work!!!!

I am so sad and disparate

@mojarrah
Copy link
Author

@xCuri0 @Electron-PSO anyone?

@mojarrah
Copy link
Author

???

@mojarrah
Copy link
Author

mojarrah commented Dec 28, 2023

@Electron-PSO I got a new asus prime a x299 motherboard

@mojarrah
Copy link
Author

@Electron-PSO but i am having a problem in booting. It would be amazing if you can help me a bit

@mojarrah
Copy link
Author

@Electron-PSO not booting problem from rebar. But booting problem after swapping motherboards

@Electron-PSO
Copy link

Hello @mojarrah is she posting at all?

@mojarrah
Copy link
Author

@Electron-PSO I got it working. But I have a very strange problem

In hwinfo or msi afterburner statistics, cpu is working perfectly except it shows the power consumption of it is 2w max. It goes between 1 and 2!!!!

@Electron-PSO
Copy link

Electron-PSO commented Dec 30, 2023

Windows 10 or 11 ?

Are there any missing devices in Device Manager?

Maybe you need a Chipset.inf for your board?

https://www.intel.com/content/www/us/en/download/19347/chipset-inf-utility.html

@mojarrah
Copy link
Author

@Electron-PSO windows 11

And you are right. Thanks got it fixed

Btw, my alienware board support 64gb max ram and it has 4 slots

But I have 64gb(2x32gb) that I wish so much That I can use it with the board

Is there a way I can mod the bios to support more than 16 GB per slot?

Btw, I can access the bios hidden menus in UEFI bios editor

@mojarrah
Copy link
Author

@Electron-PSO it would be insanely helpful if we can do it

@Electron-PSO
Copy link

The CPU has a 4 channel memory controller.

For best results, I would stick with 4 x 16GB sticks.

There may be a way to get around the limit, but is it worth it?

@mojarrah
Copy link
Author

mojarrah commented Jan 1, 2024

@Electron-PSO its worth it

is their a way to enable it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants