Comments (165)
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.
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.
Could we talk on discord? whats your username
from rebaruefi.
@Electron-PSO Got it, but could we discuss it on Discord now? whats your username? mine uchihamj
from rebaruefi.
@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.
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](https://private-user-images.githubusercontent.com/134448040/289475529-c27b2c02-a5d3-4ebc-a4cf-450c0a5e0fbd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcxOTM1MDcsIm5iZiI6MTcxNzE5MzIwNywicGF0aCI6Ii8xMzQ0NDgwNDAvMjg5NDc1NTI5LWMyN2IyYzAyLWE1ZDMtNGViYy1hNGNmLTQ1MGMwYTVlMGZiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUzMVQyMjA2NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMWIwMTRjOGRkZjdjN2M4MDhiNmI2MDNhNzlkMDgyY2Y1MWZiNTllZjAxZjY3ZDljOGY3YTA4ZjM4NGJhMzFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.fvTvuqzu4wv2b-5uz7qzBv03LqvWtO7Vk4aBKdybID4)
from rebaruefi.
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.
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.
@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.
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.
@Electron-PSO Look what it is giving me
from rebaruefi.
@Electron-PSO also modded the bios successfully
from rebaruefi.
@Electron-PSO But it is giving this error when trying to flash
from rebaruefi.
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.
from rebaruefi.
P.S I'm at work, so it is difficult for me to respond quickly.
from rebaruefi.
@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
from rebaruefi.
Can you read the BIOS chip with the /O option?
from rebaruefi.
AFUWINx64.EXE backup.rom /O to save current ROM image to file
from rebaruefi.
It is showing this when writing the command
from rebaruefi.
@Electron-PSO tried multiple times, it opens another cmd that shows the options I can use
from rebaruefi.
You need to specify the file name you want to make
AFUWINx64.EXE backup.rom /O
from rebaruefi.
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
from rebaruefi.
@Electron-PSO look
from rebaruefi.
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.
from rebaruefi.
Literary the only option saying no in gpu z about rebar is: enabled in bios: no
from rebaruefi.
@xCuri0 what do you think?
from rebaruefi.
@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.
Did you run ReBarState.exe to set the BAR size?
from rebaruefi.
@Electron-PSO Yes
from rebaruefi.
@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.
@Electron-PSO Is there a way to force it 100% to flash?
from rebaruefi.
from rebaruefi.
@xCuri0 Damn, I don't have a hardware flasher currently. Is their another way/software I can try
from rebaruefi.
Would ReBarState be happy if the flash hadn't worked?
from rebaruefi.
Didn't get what you mean @Electron-PSO
from rebaruefi.
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.
Yes
from rebaruefi.
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.
Tried but didn't work also!!
from rebaruefi.
OK
Ignore that last post
I see it does create and is happy with the variable on systems without the BIOS mod
from rebaruefi.
So ReBarState shows it is set to some GB?
from rebaruefi.
I set it to 10, which is 1gb(as far as I now) and it says successful. But still says disabled after reboot
from rebaruefi.
Would ReBarState be happy if the flash hadn't worked?
Yes all it does is write a UEFI variable
from rebaruefi.
So what to do?
from rebaruefi.
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.
@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.
For some Dell machines, I have used a Windows GUI version of the AMI flash tool
from rebaruefi.
I'll have a look for it
from rebaruefi.
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.
There are multiple links for download
Drop the link for the exact one I should use
from rebaruefi.
@Electron-PSO got it now and opened successfully The correct version
Moreover, what settings I should check to make it work 100%
from rebaruefi.
@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.
Apologies for the delay,
I was travveling home and had some sleep.
It should be the Aptio V version
from rebaruefi.
Try a small BAR size first
1GB
from rebaruefi.
Then check in GPU-Z
from rebaruefi.
What number to put in rebar to equal 1gb? @xCuri0 @Electron-PSO
from rebaruefi.
It is 2^x so for 1GB set it to 10
from rebaruefi.
@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.
You'll need 15 as the bar size to give you 32GB. That will be enough to fit the 24GB VRAM
from rebaruefi.
What's the best value?
from rebaruefi.
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.
Will send the link after the pc boot from pc bios reset
Moreover, it isn't working with anything above 1 or 2gb
Tried multiple values, all of them led to failure!! What should I do?
from rebaruefi.
Did you apply the patches via UEFI Patch tool ?
https://github.com/xCuri0/ReBarUEFI/wiki/Using-UEFIPatch
from rebaruefi.
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.
Good, how to make sure the pad isn't corrupted? I couldn't figure it out
from rebaruefi.
Also, should I remove the .patched extension before flashing or what?
from rebaruefi.
from rebaruefi.
from rebaruefi.
@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.
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.
Alright, so when the uefi patch give me bios.rom.patched
I remove the .patched extension?
from rebaruefi.
@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.
from rebaruefi.
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
from rebaruefi.
@xCuri0 so what do you think?
from rebaruefi.
This is what It shows when I use uefipatch with this code:
.\uefipatch .\rebar.bin
from rebaruefi.
@xCuri0 @Electron-PSO adding to the above
Why there are 3 bars showing in gpuz
BAR0
BAR1
BAR2
from rebaruefi.
It is like this on Nvidia cards
BAR1 is the VRAM
BAR0 are Registers
BAR2 is something else
🤣
from rebaruefi.
So, even with the patches you can't use BAR greater than 2GB?
from rebaruefi.
Yes, I applied the patches but it still won't boot after using big value. Tried 4, 8, 32 nothing worked
from rebaruefi.
Also, right now, I tried 11. Which means 2gb and it is also not working
Only 1gb working!!!!
What is going on?!!!
from rebaruefi.
This is the raw working bios
from rebaruefi.
That file is only 12MB
It should be 16MB for a full chip
from rebaruefi.
Have you got the file you want to flash into the chip?
from rebaruefi.
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
from rebaruefi.
The 16MB file from the exe extraction gives an error?
from rebaruefi.
Gives an error when trying with afu
Haven't tried with ftp yet
I am afraid it could brick my bios
from rebaruefi.
@Electron-PSO what do you think I should Do?
from rebaruefi.
@Electron-PSO That what it gives when I try to flash it using fpt
from rebaruefi.
@Electron-PSO The 16mb one I mean
from rebaruefi.
OK
So you have a 32MB Flash chip
I do love these Dell boards
Always good fun working with them
from rebaruefi.
Have you flashed the board with the latest BIOS using the normal update tool?
from rebaruefi.
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.
I think the 16MB file we got from the EXE is 12MB with some padding at the end
from rebaruefi.
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.
You could just flash the older version then read out the "Bios" part with FMT.
from rebaruefi.
This Dell stuff geeez
If x299 boards were not so expensive, I would recommend just replacing the board with an ASUS alternative.
from rebaruefi.
It doesn't allow me to downgrade to older version when using the .exe
from rebaruefi.
How to get the 12mb version from the exe?
from rebaruefi.
Related Issues (20)
- LGA1151 PCI allocation limited to 64GB HOT 32
- Please add important warning in guide for Optane, Raid, Soft raid users HOT 3
- When trying to flash BIOS, it says not a proper BIOS
- Too stupid to modify REBAR
- Rebarstate does not change bar size
- ASRock H97M-ITxac Error 6126 - syntax error, unexpected '}' during DSDT Patching HOT 11
- ReBar.ffs missing after successful BIOS Flash HOT 1
- "Video Scheduler Error" BSODS HOT 1
- Question regarding X79 boards and DSDT patching
- EFI Error (at Create Timer) (0x01001202000000B4) HOT 3
- Site needs update HOT 2
- Asus motherboard bios file cannot be updated using ezflash after modification
- 4GB Bar on 4GB VRAM card breaks DirectX HOT 1
- Resizable Bar not enabling after patching HOT 3
- QUESTION ReBar setting in BIOS HOT 5
- ReBar not working on Asus B450F. HOT 4
- Dell Precision T3600 HOT 1
- Gigabyte Z87: No ReBar after applying FFS HOT 1
- OS compatibility HOT 1
- ResizableBar still disabled after doing all the steps HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rebaruefi.