• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

nvflashk - Flash any BIOS to NVIDIA GPUs - Safe board ID bypass up to 4xxx series

Joined
Aug 20, 2023
Messages
33 (0.07/day)
Hey overclockers. I recently got back into building PCs and overclocking after 5 or so years and realized I couldn't flash my ASUS 4090 TUF OC edition to the 1000W XOC BIOS as planned due to 'Board ID mismatch'. There were patched versions of nvflash floating around on TechPowerUp, but nothing for this series. Luckily I'm a software engineer with some reverse engineering chops, so I just went ahead and patched nvflash myself. Turns out this was something a lot of people needed, especially for turning their 1.07v cards back into 1.1v cards! So I'm releasing it in the wild, posting it on here and overclock.net and on Reddit /r/nvidia. This is my first post so hopefully it doesn't get caught up by spam filters, but I can be vouched for from other communities! A ton of people have flashed over their GPUs already, especially FE owners!

How's it work?
When you go to flash a vBIOS to a GPU, nvflash double checks a few parameters (don't quote me on this, guessing a lot):
  • GPU PCI Device ID (GPU chip, i.e. 2xxx/3xxx/4xxx) - You'll see this if you try flashing across series
  • PCI Subsystem ID (PCB ID) - You'll see this for any non-standard vBIOS
  • Board ID (PCB+GPU ID) - You'll usually see this on XOC bios or where the GPU was revised but the PCB remained the same (i.e. 1.07v 4090 revision)
  • Hierarchy (Unknown, potentially Lovelace/Turing/etc) - Dunno when you see this
  • A couple other minor items that appear to just be software-defined metadata
I managed to locate a backdoor of sorts that nVidia implemented to have a 'mismatch bypass', and I have forced that bypass to be enabled at all times when using the -6 parameter. This makes this a very, very dangerous version of nvflash. It will attempt to flash anything to anything. Literally - you can try to flash a 3060 XOC BIOS to a 4090 FE, even. We now know it won't work and will just say 'Nothing happened!', but it will try!

nvflashk will still confirm you want to perform those bypasses and only when they're necessary, unlike former versions of patched nvflash that used a simpler board ID bypass. I've also added some warnings and a harmless touch of my humor to some messages. It is otherwise a fully normal, fully functioning nvflash.

Note that this doesn't mean your GPU will actually boot the BIOS you decide to flash, it just means nvflashk will get it there. I've read about some signing stuff nVidia did with some cards that may cause issues, but you should always be able to flash back either way.

I don't believe this tool will allow you to flash uncertified/modified BIOSes yet, but I will check on that and work on it.

Where do I get it? How do I use it?
You can find it (and significantly more detailed usage instructions) here: notfromstatefarm/nvflash (or on the releases page)

Proof it works?

Gains from going to a 1.1v BIOS:

Here's a video proving it works and upgrades the voltage on my card:

And even crazier, flashing a Founders Edition BIOS to my 4090 TUF:

For those worried about viruses or whatever, feel free to compare the binaries. You should only see a handful of string changes and a couple of shifted/NOP'd instructions. Filesize is identical. Nothing that could constitute a virus. Or just don't use it and stay slow.

Contribute!
If you guys manage to flash anything that hasn't been tried before (and currently that's most things), please post and let us know so I can add it to the README!
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,742 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Nice work! and great documentation on Github
 

OneMoar

There is Always Moar
Joined
Apr 9, 2010
Messages
8,794 (1.65/day)
Location
Rochester area
System Name RPC MK2.5
Processor Ryzen 5800x
Motherboard Gigabyte Aorus Pro V2
Cooling Thermalright Phantom Spirit SE
Memory CL16 BL2K16G36C16U4RL 3600 1:1 micron e-die
Video Card(s) GIGABYTE RTX 3070 Ti GAMING OC
Storage Nextorage NE1N 2TB ADATA SX8200PRO NVME 512GB, Intel 545s 500GBSSD, ADATA SU800 SSD, 3TB Spinner
Display(s) LG Ultra Gear 32 1440p 165hz Dell 1440p 75hz
Case Phanteks P300 /w 300A front panel conversion
Audio Device(s) onboard
Power Supply SeaSonic Focus+ Platinum 750W
Mouse Kone burst Pro
Keyboard SteelSeries Apex 7
Software Windows 11 +startisallback
bitchin can't wait to give my 3070ti some more beans
 
Joined
Aug 11, 2014
Messages
866 (0.23/day)
Processor ryzen 5 5600x
Motherboard AB350m Pro4
Cooling custom loop
Memory TEAMGROUP T-Force TXKD416G3600HC18ADC01 16gbs XMP
Video Card(s) HP GTX1650 super 4gb
Storage MZVLB256HBHQ-000H1 PM981a (256GB)/3TB HDD
Display(s) Nitro XF243Y Pbmiiprx
Case Rosewill CULLINAN
Audio Device(s) onboard
Power Supply Corsair 750w
Mouse Best Buy Insignia
Keyboard Best Buy Insignia
Software Win 10 pro
Welcome to TPU!
 
D

Deleted member 218758

Guest
EDIT: Rephrased:
Ok

This is what you miss from the full version:
~ VendorID bypass (can)
~ SubsystemID bypass (can)
~ PCI BoardID bypass (can)

~ BoardID bypass (half, falcon issues)
~ ChipID bypass (can't)
~ USB FW check bypass (can't)
~ Mobile iGPU reflash allow (can't because of above)
~ version check bypass (not included)
~ downgrade-lock bypass (not included)
~ Golden Card system bypass (for FE/Consumer/Engineer Board) (half included)

EDIT2:
This "backdoor" is intentionally build functionally by the Developers @ NvidiaHQ
Nvflash operates on a golden-card system.
This means that depending on the Bios that is loaded on your card (Founders/GlobalVendors/XOC/MASTER) Certificate;
It will change operation and allow more or less.

If company for example utilizes a node of headless units or a mining farm, the tool will also change its operation mode and is capable to work via FTP too.
Nvflash is also capable to download and create signable signatures, including replace them + rebrand several partitions of the Card and the EEPROM (InfoROM, Vendorlayout, MemStraps and so on...)
There is no "backdoor" but purpose left behind functionality for cards with Engineering/Master certificate.
It is left there for debugging purposes, yet the history of mods was based on either changing the target identifiers, or completely jumping the check and forcing the debug commands.

Oh also those 2-3 times YES/y confirmations for every override operation, exist in the very core of the program.
Including some funny left behind "cult" joke by the engineers themselves ~ on a help message :)
 
Last edited by a moderator:
Joined
Aug 20, 2023
Messages
33 (0.07/day)
This is just the initial release of the bypass, Veii definitely has the more flexible one that covers more edge cases.

The real plan for nvflashk is being a graphical interface and a bunch of QOL features like auto-recovery and searching TPU's database for compatible BIOSes! For now I'd say just choose whichever one you want and whichever one works. I'll probably have a test version ready by the end of the week.
 
Last edited:
Joined
Jan 6, 2022
Messages
50 (0.05/day)
Location
UK - Sheffield
System Name Maddogg Custom Build
Processor i9 14900KF 5.7ghz (ALL P CORES) 4.5ghz (ALL E CORES)
Motherboard ASUS PRIME Z690
Cooling Deepcool LT720 360mm AIO
Memory 32GB G.SKILL Trident Royal 4000mhz DDR4
Video Card(s) EVGA NVIDIA RTX 3090Ti
Storage Samsung 970 EVO NVME
Display(s) Gigabyte G32QC 31.5" 165hz 1440p
Case Lian Li O11 Dynamic EVO XL
Audio Device(s) Corsair Virtuoso 7.1 Headset
Power Supply Corsair HX1200
Mouse Corsair M65 ELITE Gaming Mouse
Keyboard Corsair K70 RGB mk2 SE
Software Windows 11 Pro (Ghost Spectre)
Benchmark Scores 3DMark Timespy - 42255 https://www.3dmark.com/fs/32119474
Thanks @kefi just flashed my MSI RTX 3080 Gaming X 10GB (350W) with Strix 3080 OC 450W Bios

Animated GIF
 
Joined
Feb 1, 2013
Messages
1,264 (0.29/day)
System Name Gentoo64 /w Cold Coffee
Processor 9900K 5.2GHz @1.312v
Motherboard MXI APEX
Cooling Raystorm Pro + 1260mm Super Nova
Memory 2x16GB TridentZ 4000-14-14-28-2T @1.6v
Video Card(s) RTX 4090 LiquidX Barrow 3015MHz @1.1v
Storage 660P 1TB, 860 QVO 2TB
Display(s) LG C1 + Predator XB1 QHD
Case Open Benchtable V2
Audio Device(s) SB X-Fi
Power Supply MSI A1000G
Mouse G502
Keyboard G815
Software Gentoo/Windows 10
Benchmark Scores Always only ever very fast
So the BIOS themselves are viewable (https://github.com/bmgjet/Ampere-Bios-Editor), but it was only the signing that was impossible? Now with this bypass, edited BIOS files can be flashed directly regardless of the signature on the file, it would seem. Is that correct? If so, can't wait for that "Editor" to come soon.
 
Joined
Jan 6, 2022
Messages
50 (0.05/day)
Location
UK - Sheffield
System Name Maddogg Custom Build
Processor i9 14900KF 5.7ghz (ALL P CORES) 4.5ghz (ALL E CORES)
Motherboard ASUS PRIME Z690
Cooling Deepcool LT720 360mm AIO
Memory 32GB G.SKILL Trident Royal 4000mhz DDR4
Video Card(s) EVGA NVIDIA RTX 3090Ti
Storage Samsung 970 EVO NVME
Display(s) Gigabyte G32QC 31.5" 165hz 1440p
Case Lian Li O11 Dynamic EVO XL
Audio Device(s) Corsair Virtuoso 7.1 Headset
Power Supply Corsair HX1200
Mouse Corsair M65 ELITE Gaming Mouse
Keyboard Corsair K70 RGB mk2 SE
Software Windows 11 Pro (Ghost Spectre)
Benchmark Scores 3DMark Timespy - 42255 https://www.3dmark.com/fs/32119474
Preview of the UI and database search tool coming later this week..!
View attachment 310066


Have fun, and keep an eye on those thermals!
@kefi I watch my thermals closely with my monitor screen in my case, (Monitors GPU Hotspot etc) hasn't gone above 68 degrees C (on a TimeSpy Stress Test)

Appreciated though been waiting for this for 30/40 series used to run 2070 GALAX HOF vbios when there was a nvflash a few years ago with mismatch removed on my gigabyte 2070 Super. Look forward to been able to play with the GUI when it releases. Keep up the good work
 

b1t5murf

New Member
Joined
Aug 22, 2023
Messages
2 (0.00/day)
Preview of the UI and database search tool coming later this week..!
Awesome work with the flash tool.

I'm curious to know, is the GUI frontend a native compiled application or Electron?
 
Joined
Aug 20, 2023
Messages
33 (0.07/day)
Awesome work with the flash tool.

I'm curious to know, is the GUI frontend a native compiled application or Electron?
Thank you! It’s a Tauri app, which is basically Electron except it has a Rust backend instead of NodeJS, and it uses webview instead of the gigantic chromium. I’ve used Electron a lot for some crazy stuff but for a small utility I found it overkill, and Rust also will be able to deal with the low level systems stuff without the need for intermediate native node modules.
 

b1t5murf

New Member
Joined
Aug 22, 2023
Messages
2 (0.00/day)
Thank you! It’s a Tauri app, which is basically Electron except it has a Rust backend instead of NodeJS, and it uses webview instead of the gigantic chromium. I’ve used Electron a lot for some crazy stuff but for a small utility I found it overkill, and Rust also will be able to deal with the low level systems stuff without the need for intermediate native node modules.
I'm familiar with the Tauri ecosystem.

Have you considered Delphi?
It would give you the low level power, quickly putting a nice UI together and compile a self-contained, no external runtime needed executable :)
 
Joined
Jan 29, 2012
Messages
6,881 (1.47/day)
Location
Florida
System Name natr0n-PC
Processor Ryzen 5950x-5600x | 9600k
Motherboard B450 AORUS M | Z390 UD
Cooling EK AIO 360 - 6 fan action | AIO
Memory Patriot - Viper Steel DDR4 (B-Die)(4x8GB) | Samsung DDR4 (4x8GB)
Video Card(s) EVGA 3070ti FTW
Storage Various
Display(s) Pixio PX279 Prime
Case Thermaltake Level 20 VT | Black bench
Audio Device(s) LOXJIE D10 + Kinter Amp + 6 Bookshelf Speakers Sony+JVC+Sony
Power Supply Super Flower Leadex III ARGB 80+ Gold 650W | EVGA 700 Gold
Software XP/7/8.1/10
Benchmark Scores http://valid.x86.fr/79kuh6
nice tool.

To bad I cant flash more ram into my 3070ti... fk nvidia
 
  • Haha
Reactions: izy
Joined
Feb 11, 2020
Messages
44 (0.03/day)
Nice, I wonder what are the odds we will one day we see modded bioses that allow dlss3 on ampre boards.
 

OneMoar

There is Always Moar
Joined
Apr 9, 2010
Messages
8,794 (1.65/day)
Location
Rochester area
System Name RPC MK2.5
Processor Ryzen 5800x
Motherboard Gigabyte Aorus Pro V2
Cooling Thermalright Phantom Spirit SE
Memory CL16 BL2K16G36C16U4RL 3600 1:1 micron e-die
Video Card(s) GIGABYTE RTX 3070 Ti GAMING OC
Storage Nextorage NE1N 2TB ADATA SX8200PRO NVME 512GB, Intel 545s 500GBSSD, ADATA SU800 SSD, 3TB Spinner
Display(s) LG Ultra Gear 32 1440p 165hz Dell 1440p 75hz
Case Phanteks P300 /w 300A front panel conversion
Audio Device(s) onboard
Power Supply SeaSonic Focus+ Platinum 750W
Mouse Kone burst Pro
Keyboard SteelSeries Apex 7
Software Windows 11 +startisallback
Nice, I wonder what are the odds we will one day we see modded bioses that allow dlss3 on ampre boards.
zero
that requires ampere only hardware
 
Joined
May 3, 2019
Messages
2,052 (1.02/day)
System Name BigRed
Processor I7 12700k
Motherboard Asus Rog Strix z690-A WiFi D4
Cooling Noctua D15S chromax black/MX6
Memory TEAM GROUP 32GB DDR4 4000C16 B die
Video Card(s) MSI RTX 3080 Gaming Trio X 10GB
Storage M.2 drives WD SN850X 1TB 4x4 BOOT/WD SN850X 4TB 4x4 STEAM/USB3 4TB OTHER
Display(s) Dell s3422dwg 34" 3440x1440p 144hz ultrawide
Case Corsair 7000D
Audio Device(s) Logitech Z5450/KEF uniQ speakers/Bowers and Wilkins P7 Headphones
Power Supply Corsair RM850x 80% gold
Mouse Logitech G604 lightspeed wireless
Keyboard Logitech G915 TKL lightspeed wireless
Software Windows 10 Pro X64
Benchmark Scores Who cares
Joined
Jan 6, 2022
Messages
50 (0.05/day)
Location
UK - Sheffield
System Name Maddogg Custom Build
Processor i9 14900KF 5.7ghz (ALL P CORES) 4.5ghz (ALL E CORES)
Motherboard ASUS PRIME Z690
Cooling Deepcool LT720 360mm AIO
Memory 32GB G.SKILL Trident Royal 4000mhz DDR4
Video Card(s) EVGA NVIDIA RTX 3090Ti
Storage Samsung 970 EVO NVME
Display(s) Gigabyte G32QC 31.5" 165hz 1440p
Case Lian Li O11 Dynamic EVO XL
Audio Device(s) Corsair Virtuoso 7.1 Headset
Power Supply Corsair HX1200
Mouse Corsair M65 ELITE Gaming Mouse
Keyboard Corsair K70 RGB mk2 SE
Software Windows 11 Pro (Ghost Spectre)
Benchmark Scores 3DMark Timespy - 42255 https://www.3dmark.com/fs/32119474
Couldn't you already do that? I had my 3080 Gaming X on 3080 SuprimX 450W vBios, ran like a champ, till I sold it.
Suprim X isn't 450W check the bios mate :) Been there done that its faster yes. BUT not full fat 450W fast.

Was it any better, i have the same MSI card?

Have a full cover block on it, so thermals don't matter.
Overclocking headroom is greater for core clocks without a doubt. Memory clocks are still pretty fixed average around +1000mhz on mem clock. can get higher but thermals get out of control due to the memory layout on the pcb.
 
Joined
May 3, 2019
Messages
2,052 (1.02/day)
System Name BigRed
Processor I7 12700k
Motherboard Asus Rog Strix z690-A WiFi D4
Cooling Noctua D15S chromax black/MX6
Memory TEAM GROUP 32GB DDR4 4000C16 B die
Video Card(s) MSI RTX 3080 Gaming Trio X 10GB
Storage M.2 drives WD SN850X 1TB 4x4 BOOT/WD SN850X 4TB 4x4 STEAM/USB3 4TB OTHER
Display(s) Dell s3422dwg 34" 3440x1440p 144hz ultrawide
Case Corsair 7000D
Audio Device(s) Logitech Z5450/KEF uniQ speakers/Bowers and Wilkins P7 Headphones
Power Supply Corsair RM850x 80% gold
Mouse Logitech G604 lightspeed wireless
Keyboard Logitech G915 TKL lightspeed wireless
Software Windows 10 Pro X64
Benchmark Scores Who cares
Suprim X isn't 450W check the bios mate :) Been there done that its faster yes. BUT not full fat 450W fast.


Overclocking headroom is greater for core clocks without a doubt. Memory clocks are still pretty fixed average around +1000mhz on mem clock. can get higher but thermals get out of control due to the memory layout on the pcb.

Does the port number mismatch not matter? The Asus has 2x HDMI and the MSI only 1. I might give this a try.
 
Joined
Jan 6, 2022
Messages
50 (0.05/day)
Location
UK - Sheffield
System Name Maddogg Custom Build
Processor i9 14900KF 5.7ghz (ALL P CORES) 4.5ghz (ALL E CORES)
Motherboard ASUS PRIME Z690
Cooling Deepcool LT720 360mm AIO
Memory 32GB G.SKILL Trident Royal 4000mhz DDR4
Video Card(s) EVGA NVIDIA RTX 3090Ti
Storage Samsung 970 EVO NVME
Display(s) Gigabyte G32QC 31.5" 165hz 1440p
Case Lian Li O11 Dynamic EVO XL
Audio Device(s) Corsair Virtuoso 7.1 Headset
Power Supply Corsair HX1200
Mouse Corsair M65 ELITE Gaming Mouse
Keyboard Corsair K70 RGB mk2 SE
Software Windows 11 Pro (Ghost Spectre)
Benchmark Scores 3DMark Timespy - 42255 https://www.3dmark.com/fs/32119474
Does the port number mismatch not matter? The Asus has 2x HDMI and the MSI only 1. I might give this a try.
Runs fine on mine with Display Port :)

Does the port number mismatch not matter? The Asus has 2x HDMI and the MSI only 1. I might give this a try.
As soul stated you can run the SUPRIM X bios which is 430W completely fine and RGB works too. depends on your intentions mate :)
 
Joined
May 3, 2019
Messages
2,052 (1.02/day)
System Name BigRed
Processor I7 12700k
Motherboard Asus Rog Strix z690-A WiFi D4
Cooling Noctua D15S chromax black/MX6
Memory TEAM GROUP 32GB DDR4 4000C16 B die
Video Card(s) MSI RTX 3080 Gaming Trio X 10GB
Storage M.2 drives WD SN850X 1TB 4x4 BOOT/WD SN850X 4TB 4x4 STEAM/USB3 4TB OTHER
Display(s) Dell s3422dwg 34" 3440x1440p 144hz ultrawide
Case Corsair 7000D
Audio Device(s) Logitech Z5450/KEF uniQ speakers/Bowers and Wilkins P7 Headphones
Power Supply Corsair RM850x 80% gold
Mouse Logitech G604 lightspeed wireless
Keyboard Logitech G915 TKL lightspeed wireless
Software Windows 10 Pro X64
Benchmark Scores Who cares
Runs fine on mine with Display Port :)

I just tried a flash of the MSI supreme x bios as test, flashed my stock back to be sure i can, works fine. problem is i seem to have lost the wattage reading on HWinfo64. I am using a stream deck to display them, it has dissapeared and i cannot find it in HWinfo now. Weird as it is still there in GPUz
Untitled.jpg
 
Joined
Aug 20, 2023
Messages
33 (0.07/day)
I just tried a flash of the MSI supreme x bios as test, flashed my stock back to be sure i can, works fine. problem is i seem to have lost the wattage reading on HWinfo64. I am using a stream deck to display them, it has dissapeared and i cannot find it in HWinfo now. Weird as it is still there in GPUz
View attachment 310174
Yes, losing accurate power readings is common when cross-flashing. This is why it's best to get something like a WireView when pushing power limits up on other BIOSes.
 
Joined
May 3, 2019
Messages
2,052 (1.02/day)
System Name BigRed
Processor I7 12700k
Motherboard Asus Rog Strix z690-A WiFi D4
Cooling Noctua D15S chromax black/MX6
Memory TEAM GROUP 32GB DDR4 4000C16 B die
Video Card(s) MSI RTX 3080 Gaming Trio X 10GB
Storage M.2 drives WD SN850X 1TB 4x4 BOOT/WD SN850X 4TB 4x4 STEAM/USB3 4TB OTHER
Display(s) Dell s3422dwg 34" 3440x1440p 144hz ultrawide
Case Corsair 7000D
Audio Device(s) Logitech Z5450/KEF uniQ speakers/Bowers and Wilkins P7 Headphones
Power Supply Corsair RM850x 80% gold
Mouse Logitech G604 lightspeed wireless
Keyboard Logitech G915 TKL lightspeed wireless
Software Windows 10 Pro X64
Benchmark Scores Who cares
Yes, losing accurate power readings is common when cross-flashing. This is why it's best to get something like a WireView when pushing power limits up on other BIOSes.

Thx
Seems fine in GPUz but HWinfo has lost it, weird :(
 
Top