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

Flashing Asus TUF Gaming FX505GT (FX505GT-BI5N7) #50

Open
terminatorul opened this issue Mar 12, 2024 · 17 comments
Open

Flashing Asus TUF Gaming FX505GT (FX505GT-BI5N7) #50

terminatorul opened this issue Mar 12, 2024 · 17 comments

Comments

@terminatorul
Copy link
Owner

@pexcfequinnet

  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • CPU Model: Intel Core i5-9300H
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

explorer_i1VwWlfXFw

Excuse me? how do you enable rebar? im on AMD variant and everytime i want to flash bios it says selected file is not a proper bios.
FX505DU
Ryzen 7 3750H
GTX 1660Ti Mobile
image

Originally posted by @merlinch in #1 (comment)

@terminatorul
Copy link
Owner Author

terminatorul commented Mar 12, 2024

@pexcfequinnet Can you still provide information on how you flashed the board ?

@merlinch people report success using afudos.exe or afuwin.exe for flashing the firmware, from an USB stick with FreeDOS installed. Although I understand for laptops it is possible it just doesn't work without a (cheap) hardware flasher

If you try afudos, make sure you have a good battery level, as I understand Asus laptops do not have dual BIOS or flashback, for BIOS recovery.

@merlinch
Copy link

Refering to #41

After trying all possible methods, I finally came to the conclusion that on Asus laptops where there is no support for the Asus AI suite, the only way to flash the modded BIOS is with a programmer CH341A

so maybe he use bios flasher

@pexcfequinnet
Copy link

pexcfequinnet commented Mar 13, 2024

@pexcfequinnet

  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • CPU Model: Intel Core i5-9300H
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

explorer_i1VwWlfXFw

Excuse me? how do you enable rebar? im on AMD variant and everytime i want to flash bios it says selected file is not a proper bios. FX505DU Ryzen 7 3750H GTX 1660Ti Mobile image

Originally posted by @merlinch in #1 (comment)

Since I have an Intel variant of this laptop, I can use Intel Flash Programming Tool to flash the bios.
For this to work I have to disable bios lock using grub-mod-setup_var.

I don't know if there's anything similar for AMD, and using an external programmer might be the only way there.

@Bl4ckfrost
Copy link

Bl4ckfrost commented Mar 17, 2024

@pexcfequinnet Hi, How did you solve the problem of the lack of "Above 4G Decoding"? The DSDT Patching can't be done according to my attempts in "FX505GT" and "FX506LH" BIOS.

On the "FX506LH"(Mine), "Above 4G Decoding" is present but can't be enabled. "Above 4G MMIO BIOS assignment" is present and can be enabled.
On the "FX505GT" BIOS, "Above 4G Decoding" is completely missing. "Above 4G MMIO BIOS assignment" is the same as in "FX506LH". So I think both laptops are almost in the same situation.
fx506lh

@pexcfequinnet
Copy link

pexcfequinnet commented Mar 17, 2024

@pexcfequinnet Hi, How did you solve the problem of the lack of "Above 4G Decoding"? The DSDT Patching can't be done according to my attempts in "FX505GT" and "FX506LH" BIOS.

On the "FX506LH"(Mine), "Above 4G Decoding" is present but can't be enabled. "Above 4G MMIO BIOS assignment" is present and can be enabled. On the "FX505GT" BIOS, "Above 4G Decoding" is completely missing. "Above 4G MMIO BIOS assignment" is the same as in "FX506LH". So I think both laptops are almost in the same situation. fx506lh

@Bl4ckfrost Looking at the the image you uploaded here, the "Above 4G Decoding" in your bios seems to be a header type so no value can be changed there. As for the "Above 4G MMIO BIOS assignment", enable that solve the problem for 4G decoding in GPU-Z and you can continue patching the bios file from there.

@Bl4ckfrost
Copy link

Bl4ckfrost commented Mar 17, 2024

@pexcfequinnet I already did the "Adding FFS module" step.
In the "Using UEFIPatch" step, UEFIPatch say "No patches can be applied to input file", so skip to "DSDT Patching".
In "DSDT Patching", now "Above 4G Decode" is enabled in GPU-Z, so according to my understanding "DSDT Patching" is not required.
The mod bios and the original have identical padding, that means everything is fine.
So next step is disable the BIOS Lock with Grub and flash the modded BIOS with FPT, I am right?

@pexcfequinnet
Copy link

@pexcfequinnet I already did the "Adding FFS module" step. In the "Using UEFIPatch" step, UEFIPatch say "No patches can be applied to input file", so skip to "DSDT Patching". In "DSDT Patching", now "Above 4G Decode" is enabled in GPU-Z, so according to my understanding "DSDT Patching" is not required. The mod bios and the original have identical padding, that means everything is fine. So next step is disable the BIOS Lock with Grub and flash the modded BIOS with FPT, I am right?

@Bl4ckfrost Yes. Before you flash the modded bios you should dump the original bios first to verify the size of the modded bios with the original one. If size is matching with original one (e.g 16384kb to 16384kb), you are ready to flash the modded bios.

@Bl4ckfrost
Copy link

@Bl4ckfrost Yes. Before you flash the modded bios you should dump the original bios first to verify the size of the modded bios with the original one. If size is matching with original one (e.g 16384kb to 16384kb), you are ready to flash the modded bios.

@pexcfequinnet I used the BIOS from ASUS page for the mod. If I remove the capsule header, the sizes mach perfectly. So, "asusmodnocapsule.bin" is the one to flash.
comparison

@pexcfequinnet
Copy link

pexcfequinnet commented Mar 17, 2024

@Bl4ckfrost Yes. Before you flash the modded bios you should dump the original bios first to verify the size of the modded bios with the original one. If size is matching with original one (e.g 16384kb to 16384kb), you are ready to flash the modded bios.

@pexcfequinnet I used the BIOS from ASUS page for the mod. If I remove the capsule header, the sizes mach perfectly. So, "asusmodnocapsule.bin" is the one to flash. comparison

@Bl4ckfrost I'd recommend you to use your dumped bios to mod instead, since the asus bios on their website often does not contain any information specific to your laptop like serial number and mac address.

Edited to add: There is a high chance that your laptop will stop POSTing, because the bios there does not contain the Intel ME region, which is very important for the laptop to POST.

@Bl4ckfrost
Copy link

@pexcfequinnet Is this normal? I put "n" for now.
error

@pexcfequinnet
Copy link

@pexcfequinnet Is this normal? I put "n" for now. error

@Bl4ckfrost Seems like something is wrong with your ME region. I'd say try dumping only the bios region using fptw64 -bios -d <yourfilename.bin> and then try modding again to see if the error presist.

@Bl4ckfrost
Copy link

@pexcfequinnet It worked lol. Thanks for helping me!
I flashed the new modded dump using "fptw64 -bios -f <filename.bin>" and and it worked perfectly.
success1
success2

@pexcfequinnet
Copy link

pexcfequinnet commented Mar 18, 2024

@pexcfequinnet It worked lol. Thanks for helping me! I flashed the new modded dump using "fptw64 -bios -f <filename.bin>" and and it worked perfectly. success1 success2

@Bl4ckfrost Nice job! Be sure to post on #1 to let the creator know.

@Tykwha
Copy link

Tykwha commented Mar 24, 2024

@pexcfequinnet It worked lol. Thanks for helping me! I flashed the new modded dump using "fptw64 -bios -f <filename.bin>" and and it worked perfectly. success1 success2

@Bl4ckfrost Nice job! Be sure to post on #1 to let the creator know.

Bro, maybe u can help me? After flashing modded bios on asus laptop and enabling ReBar, get BSODS "VIDEO MEMORY INTERNAL ERROR"

Ryzen 7 4800h
RTX 2060
Asus FX506IV

@pexcfequinnet
Copy link

@pexcfequinnet It worked lol. Thanks for helping me! I flashed the new modded dump using "fptw64 -bios -f <filename.bin>" and and it worked perfectly. success1 success2

@Bl4ckfrost Nice job! Be sure to post on #1 to let the creator know.

Bro, maybe u can help me? After flashing modded bios on asus laptop and enabling ReBar, get BSODS "VIDEO MEMORY INTERNAL ERROR"

Ryzen 7 4800h RTX 2060 Asus FX506IV

@Tykwha other than trying to build the binary file yourself and check for any wrong value if you're using the released one, I can't really help much because I don't know much on AMD platform.

@Uranium2010
Copy link

Uranium2010 commented Apr 11, 2024

@pexcfequinnet I followed the same steps with my laptop but I have a problem, see #79
It looks like we have the same platform.
What is your BIOS version?
NvStrapsRebar version ?
I added the FFS after the last module of the volume (as in the guide), did you do the same?

@pexcfequinnet
Copy link

pexcfequinnet commented Apr 12, 2024

@pexcfequinnet I followed the same steps with my laptop but I have a problem, see #79 It looks like we have the same platform. What is your BIOS version? NvStrapsRebar version ? I added the FFS after the last module of the volume (as in the guide), did you do the same?

@Uranium2010 I'm currently on version 305, modded with the latest released version of NvStrapRebar.
As for the FFS module, I followed exactly what the instructions told me to do:

  1. Adding the module to the end of the volume.
  2. Skipping DSDT as it is not needed (any attempt at patching DSDT give me errors).

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

6 participants