Giter Club home page Giter Club logo

Comments (165)

Electron-PSO avatar Electron-PSO commented on June 24, 2024 1

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

from rebaruefi.

xCuri0 avatar xCuri0 commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Could we talk on discord? whats your username

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@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!!!

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Hello @mojarrah ,

It shouldn't be that different.

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO Look what it is giving me

image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO also modded the bios successfully

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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/

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO image

It is showing this when writing the command

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

You need to specify the file name you want to make

AFUWINx64.EXE backup.rom /O

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO look

image

from rebaruefi.

xCuri0 avatar xCuri0 commented on June 24, 2024

Make sure you have updated vbios on 3090

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO @xCuri0

vbios and everything updated
image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 what do you think?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@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

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

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

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO Yes

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO also,

I used /O command again to check if the bios really flashed. And then I did put it in uefi tool. And the result were the bios didn't change. It didn't apply the modded bios. it's still the same. It didn't flash the modded bios

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO Is there a way to force it 100% to flash?

from rebaruefi.

xCuri0 avatar xCuri0 commented on June 24, 2024

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 Damn, I don't have a hardware flasher currently. Is their another way/software I can try

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Would ReBarState be happy if the flash hadn't worked?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Didn't get what you mean @Electron-PSO

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Did you use the /GAN command to flash the BIOS file?

It might not be needed, but worth a try.

AFUWINx64.exe modified.rom /GAN

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Yes

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

If ReBarState couldn't set the variable it should error?

Try setting it to 1GB bar size

Then reboot

Then check with CPU-Z

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Tried but didn't work also!!

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

OK

Ignore that last post

I see it does create and is happy with the variable on systems without the BIOS mod

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

So ReBarState shows it is set to some GB?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

I set it to 10, which is 1gb(as far as I now) and it says successful. But still says disabled after reboot

image

from rebaruefi.

xCuri0 avatar xCuri0 commented on June 24, 2024

Would ReBarState be happy if the flash hadn't worked?

Yes all it does is write a UEFI variable

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

So what to do?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

I'm still finding it hard to believe the flash program can erase, program and verify without it actually doing it.

Not sure what to do now.

You could try a different flashing program or you could just do it the physical way.

If I had the board on my desk I would do this:

  • Unsolder the chip
  • Put it in a programmer
  • Read and save the current file
  • Erase the chip
  • Program it with the new file
  • Resolder it

But that depends on your ability to do the job.

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO
Do you recommend another flashing program? What is it?

Also, is their somehow a bios settings that is activated that didn't allow it to be flashed

Btw, when it flashed it didn't reboot by itself like I would expect it to happen, it just closed the cmd pop up. I rebooted manually

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

For some Dell machines, I have used a Windows GUI version of the AMI flash tool

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

I'll have a look for it

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Here is the official link to the AMI flash utilities

https://www.ami.com/bios-uefi-utilities/

There are Win GUI versions in the zip folders

x64

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

There are multiple links for download

Drop the link for the exact one I should use

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO got it now and opened successfully The correct version

Moreover, what settings I should check to make it work 100%

image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 I flashed it successfully now using fpt win32 version as winpad site suggests. The problem now is if I activate the rebar and reboot screen no longer work. The system boot but their is no screen. I have to reset the bios using the battery to get it working. What is the solution?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Apologies for the delay,

I was travveling home and had some sleep.

It should be the Aptio V version

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Try a small BAR size first

1GB

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Then check in GPU-Z

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

What number to put in rebar to equal 1gb? @xCuri0 @Electron-PSO

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

It is 2^x so for 1GB set it to 10

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO it worked!!!!

Now how I can set it to the maximum of what my gpu can handle?

It's a 3090 24gb vram

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

You'll need 15 as the bar size to give you 32GB. That will be enough to fit the 24GB VRAM

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

What's the best value?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Which Intel FPT did you use?

Have a link to it also?

I'm helping someone with a system and they have flashing issues too

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Will send the link after the pc boot from pc bios reset

Moreover, it isn't working with anything above 1 or 2gb

@xCuri0

Tried multiple values, all of them led to failure!! What should I do?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Did you apply the patches via UEFI Patch tool ?

https://github.com/xCuri0/ReBarUEFI/wiki/Using-UEFIPatch

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

I've just applied the parches to the extracted rom file.

Two patches are applied

These would prevent you from using a 32GB BAR size

PciBus | Don't downgrade 64-bit BARs to 32-bit (Haswell)

3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:833E067506C70604000000833E077506C70605000000:66906690669066906690669066906690669066906690

PciBus | Remove <64GB BAR size limit (Skylake/Kaby Lake/Coffee Lake)

3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:B800000000100000004C3B:B8FFFFFFFFFFFFFF004C3B

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Good, how to make sure the pad isn't corrupted? I couldn't figure it out

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Also, should I remove the .patched extension before flashing or what?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO ?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO I am also thinking to reflash the bios using the x64 version of ftp. What do you think? Is there a difference?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

If the 32 bit version worked, keep using it

Steps to take:

  • Make ROM file from EXE
  • Add ReBarDxe.ffs at end of DXE section
  • Apply Patches

you'll get BIOS.ROM then BIOS_ReBAR.ROM then BIOS_ReBAR_Patched.ROM

I like to keep the .ROM extension and only one . in the filename

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Alright, so when the uefi patch give me bios.rom.patched

I remove the .patched extension?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO @xCuri0 tried it now. It applied two patches by it self when I written the code. I flashed the bios. Put a value of 13 which is 8gb. When it rebooted. It started beeping and I had to flash the bios again!!!!

from rebaruefi.

xCuri0 avatar xCuri0 commented on June 24, 2024

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0

Csm is disabled and 4g decoding enabled

Also, I have a skylake processor. And I flashed the bios with win32 version of the tool

And I didn't change anything in patches.txt, I just applied the code as is

image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 so what do you think?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

This is what It shows when I use uefipatch with this code:

.\uefipatch .\rebar.bin

image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 @Electron-PSO adding to the above

Why there are 3 bars showing in gpuz

BAR0
BAR1
BAR2

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

It is like this on Nvidia cards

BAR1 is the VRAM
BAR0 are Registers
BAR2 is something else

🤣

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

So, even with the patches you can't use BAR greater than 2GB?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Yes, I applied the patches but it still won't boot after using big value. Tried 4, 8, 32 nothing worked

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Also, right now, I tried 11. Which means 2gb and it is also not working

Only 1gb working!!!!

What is going on?!!!

@Electron-PSO @xCuri0

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@xCuri0 @Electron-PSO

This is the raw working bios

backup2.zip

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

That file is only 12MB

It should be 16MB for a full chip

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Have you got the file you want to flash into the chip?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

This is the file I read from the chip. And it's the raw version

It's 12mb

The one we get from .exe gives error if you remember from the first time we tried

image

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

The 16MB file from the exe extraction gives an error?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Gives an error when trying with afu

Haven't tried with ftp yet

I am afraid it could brick my bios

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO what do you think I should Do?

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO That what it gives when I try to flash it using fpt

image

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

@Electron-PSO The 16mb one I mean

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

OK

So you have a 32MB Flash chip

I do love these Dell boards

Always good fun working with them

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

Have you flashed the board with the latest BIOS using the normal update tool?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

So it looks like the 12MB file you read out is the option to use.

Update to the latest bios version and then read out the file.

Perform the mods

Flash mod file.

Reboot

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

I think the 16MB file we got from the EXE is 12MB with some padding at the end

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

Yes, I did all of this process on the latest bios version already.

Moreover, I have no problem in downgrading. And I have an older bios version .exe file. But how can extract the 12mb Rom from it?

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

You could just flash the older version then read out the "Bios" part with FMT.

from rebaruefi.

Electron-PSO avatar Electron-PSO commented on June 24, 2024

This Dell stuff geeez

If x299 boards were not so expensive, I would recommend just replacing the board with an ASUS alternative.

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

It doesn't allow me to downgrade to older version when using the .exe

from rebaruefi.

mojarrah avatar mojarrah commented on June 24, 2024

How to get the 12mb version from the exe?

from rebaruefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.