I’m trying to activate above 4g decoding and resizable bar on my ASUS FA506IHRB, but i can’t. I tried using smokeless umaf, but on gpu z it still says that above 4g decoding is disabled, i tried using grub mod setup var on 0x3 to enable it, but it says error can’t set variable using efi (error: 0X80000000a1) I’m running out of options and i don’t know how to mod the bios to unlock these options. So help would be appreciated
Bro I’ll tell you what I know about grub maybe it will help. Usb Stick Format to FAT32 Name it UEFI_SHELL make a folder named EFI inside that folder Create A folder called grub and a folder called Boot download ia32shell.efi and x64shell.efi name them BOOTX64.efi and bootia32.efi place them in Boot folder. now download grub setup_var.efi place it in grub folder. “Download links at bottom.”
Now how you type the commands correctly… Boot from usb in the shell menu. Go by your ifr.txt file you got from bios. at the top you should see VarStoreId: 0x1 to the right you’ll see Name: Setup Now for the variable you want to change. example if you wanted to remove cfg lock this refers to my computer it will be different on yours.
CFG lock, VarStoreInfo (VarOffset/VarName): 0x5A, VarStore: 0x1, QuestionId: 0x4C, Size: 1, Min: 0x0, Max 0x1 "you will need [VarOffset/VarName] of course the variable you are trying to change. [VarStore] the “Name” of the varstore and the VarOffset[Size]. 2 digit settings are size 1 and 4 digit settings are size 2 for example. This is how it would be typed in shell.
efi\grub\setup_var.efi Setup(0x1):0x5a(1)=0x0
If you wanted to see what the setting is before changing it simply don’t put =0x0. now more detail about the command i used.
Setup is “Varstore Name” make sure the case is right on that one. the (0x1) thats the VarStore, 0x5a VarOffset, (1) that is the Size. =0x0 what to change setting to. rembember everything you put has to be hexadecimal after =0x. Final example on my computer if i wanted to change tRas to 19 would be.
efi\grub\setup_var.efi Setup(0x1):0x383(2)=0x0013 as long as the size is right extra two 00 digits not necessary could use =0x13 instead cause i specified 2 as the size. By the way in case you don’t know press the up arrow key to show previously typed command so you won’t have to retype everyhing just make sure you get size right. if you ever mess up here simple clear cmos would fix it. The Download links are all from github.
Maybe a bit long winded you probably know some of this already but you ain’t the only one reading i suppose could help someone else too. Seeing as how you got an Asus tho
you can leave it named shell get the x64 one. put everything in root of usb not foldered launch shell from your bios. then you’d just have to type setup_var.efi instead.
Ok… thing is in the irf extract setup body i can’t find a cfg lock, the closest thing to that is amisetupnvlock, but i’m not sure if it is the same or if it does something else
Bro if you give me a link to the ifr.txt i’ll take a look at it for you see what kind of useful settings I can uncover and i’ll list them for you. nvlock seems like a bios lock. Perhaps to prevent flashing a modded bios.
I believe i found it try typing it like this make sure you use the setup_var.efi i linked the other one is outdated. first check what it says. like so.
setup_var.efi PCI_COMMON(0xCCCC):0x3 after if it said 0 type
setup_var.efi PCI_COMMON(0xCCCC):0x3=0x1
if it says 0x1 already try 0x0 restart, check it then do 0x1 again restart check again.
try it as 0x0 i swear it’s showing up with a value as 0x1 on my end make sure to restart the pc every time you change something. that setting was specifically for 4g decoding. resizable bar has to be imported into the dxe list. but won’t work without 4g decoding. also it turns out nvlock is RunTimeVariable Protection Support
try disabling nvlock see if that will help.
setup_var.efi Setup(0x1):0xB5(8)=0x0
the size is 8 on that one don’t forget that. make sure you see what it is first before setting the =0x0 you may have to flip 4g decoding around again.
By the way I apologize about the slow responses. it just so happens by the time you post something i’m about ready to go to bed. It’s all good i’m trying my best to help. wish I could come over there and mess with you computer myself.
You really need to have maybe a CH341A flash programmer its what i got. Just In case things go wrong. make a full backup of you bios chip that way. If you intend on using this be careful. the mod i included has rebar and 4g decoding enabled by default.
If you try to flash this the normal way it will probably give an error because it’s modded. Here’s how to get this one to work. Download unmodded bios from asus get version 302 the “ez flash utility one.” then try downloading AI Suite III from github. Go to the ez update. Start with the original unmodded bios first. after the bios is checked, just “before” you hit the flash button. Copy and paste the modded bios over it. then flash it.
If it turns out Asus Suite III doesn’t work on your laptop. launch ez flash from your bios. do the same thing let it check the bios using original first then “before” hitting flash button. replace what’s on the usb with the mod. “Do not pull usb out while flashing.” I’ve done this before with an alienware laptop.
If you decide to play it safe and get a flash programmer first or if it won’t flash. make a full backup of your bios chip. then the mod can be put into the image and flash it that way.
Now if all goes well and it works reset bios settings to default make sure to enable uefi. go see if 4g decoding is enabled. if it is this is how you set up ReBar.
You have to download ReBarState.exe from github
Run Command Prompt as Admin
type “cd” with a space after no quotes, then type or copy directory location from explorer where ReBarState is. then type ReBarState.exe next type 32. if it says successful restart computer. ONLY DO THIS IF 4G DECODING IS ACTUALLY ENABLED. Or it will cause issues. Asus Tuf Gaming A15 Bios Mod.zip (5.5 MB)