Mini Howto: Flash Tour Dsdt Into Bios, needed : Linux , OS X & $$ |
|
|

Aug 1 2010, 02:15 PM


- Initiate
- Group: Comrade
- Posts: 13
>UPDATED<
CAUTION :
USE AN ORIGINAL BIOS FROM YOUR MB VENDOR ONLY...Why to Flash DSDT into Bios?
fix acpi errors and you'll have a perfect working Bios
....also make permanent your DSDT hacks
CAUTION : do this only if you have tested your DSDT over long time !!!
CAUTION :
ONLY FOR ADVANCED KNOWLEDGE ... YOU CAN BRAKE YOUR MB !!!let's go:
1.Linux
get iasl compiler
CODE
sudo cp /proc/acpi/dsdt /home/......<working dir>
cd /home/......<working dir>
iasl -d dsdt
iasl -tc dsdt.dsl
now fix your acpi errors...
CODE
iasl -ta dsdt.dsl
get your fixed dsdt.aml to a place you can find later
why use linux?
...for all ACPI functions of course...
...for latest iasl , don't use asl , less optimizations and more errors and warnings...
2.$$
get the Bios.bin (rom ...or what ever) to a place you'll work
CODE
cbrom Bios.bin /acpitbl extract
get a copy of ACPITBL.BIN to a place you'll can find later and rename it to ACPITBL-original.BIN
3.OS X
get a HexEditor
with HexEditor open a window with ACPITBL-original.BIN and a window with dsdt.aml
select and-from DSDT word to the end of the ACPITBL-original.BIN file and paste there all the dsdt.aml
save as ACPITBL.BIN
HexEdit.png ( 648.63K )
Number of downloads: 2614.$$
copy it over ACPITBL.BIN
CODE
cbrom Bios.bin /acpitbl release
cbrom Bios.bin /acpitbl ACPITBL.BIN
thats it..now flash your fixed bios
p.s.
don't blame me if you did something bad...
i hope your mb is DualBios and you'll get a second shot if samething gone wrong....
from here to where?with similar way you can fix your FADT to have native Restart (no chameleon patch needed any more) ,
basically if you know what chameleon is patching at boot you can make it "native"
...and so more other magic thinks you can do now on ...don't wait me to tell you more
This post has been edited by gsam_fan: Aug 2 2010, 07:43 AM

Aug 1 2010, 10:23 PM




- Advanced Member
- Group: Comrade
- Posts: 159
QUOTE
3.OS X
get a HexEditor
with HexEditor open a window with ACPITBL-original.BIN and a window with dsdt.aml
select and-from DSDT word to the end of the ACPITBL-original.BIN file and paste there all the dsdt.aml
save as ACPITBL.BIN
Aa lot easier to just use this small exe file and stay in windows
GetDSDT.EXE.zip ( 3.08K )
Number of downloads: 150like:
1.
#GetDSDT.exe ACPITBL.BIN
this will dump two files, DSDT and OTHERS.HEX (OTHERS.HEX are rest of tables)
And to put together your new DSDT and rest tables that are in OTHERS.HEX just use simple copy command in windows
#copy / b OTHERS.hex + DSDT.aml ACPITBL.BIN
this will create new ACPITBL.BIN with new DSDT in it, and all your other tables inside.
Enjoy!

Aug 2 2010, 05:17 AM

- Member
- Group: Staff
- Posts: 51
Be careful with bioses that contain sensitve modules.

Aug 2 2010, 06:24 AM


- Initiate
- Group: Comrade
- Posts: 13
QUOTE (jadran @ Aug 1 2010, 11:23 PM)

Aa lot easier to just use this small exe file and stay in windows
GetDSDT.EXE.zip ( 3.08K )
Number of downloads: 150like:
1.
#GetDSDT.exe ACPITBL.BIN
this will dump two files, DSDT and OTHERS.HEX (OTHERS.HEX are rest of tables)
And to put together your new DSDT and rest tables that are in OTHERS.HEX just use simple copy command in windows
#copy / b OTHERS.hex + DSDT.aml ACPITBL.BIN
this will create new ACPITBL.BIN with new DSDT in it, and all your other tables inside.
Enjoy!
...well we like to use Snow...want we?

Aug 2 2010, 06:25 AM


- Initiate
- Group: Comrade
- Posts: 13
QUOTE (iNDi @ Aug 2 2010, 06:17 AM)

Be careful with bioses that contain sensitve modules.
listen to Staff... don't do anything if you don't know what you are doing

Aug 2 2010, 06:34 AM

- Advanced Member
- Group: Staff
- Posts: 714
Even is a mini guide, it dosen't cover the basic safety rules, plus replacing DSDT in BIOS with one extracted from OS (dosen't matter which one) is a very bad idea!
Update you mini guide.

Aug 2 2010, 06:43 AM

- Initiate
- Group: Comrade
- Posts: 22
If this implies BIOS mooding,right way is to extract ACPI TABLE from BIOS modd them and insert back.

Aug 2 2010, 07:39 AM


- Initiate
- Group: Comrade
- Posts: 13
QUOTE (THe KiNG @ Aug 2 2010, 07:34 AM)

Even is a mini guide, it dosen't cover the basic safety rules, plus replacing DSDT in BIOS with one extracted from OS (dosen't matter which one) is a very bad idea!
Update you mini guide.
ok i'll do that..you are right
>Post Updated<

Aug 2 2010, 10:21 AM




- Advanced Member
- Group: Comrade
- Posts: 159
QUOTE (gsam_fan @ Aug 2 2010, 07:24 AM)

...well we like to use Snow...want we?

Yes i like to use Snow for Final Cut, but not for bios stuff, if U need to come to windows(native or virtual) to use cbrom, why complicate with HEXEDIT?
Well it is your choice...

Aug 7 2010, 01:35 AM

- Initiate
- Group: Comrade
- Posts: 4
Hi first time post here and I am trying to perfect my BIOS
I have not used Linux but windows instead with the commands
cbrom x48ds5.f8c /acpitbl extract
cbrom x48ds5.f8c /acpitbl release
cbrom x48ds5.f8c /acpitbl ACPITBL.BIN
Without any mods to any of the extracted files but when I flash the new BIOS x48ds5.f8c it does not work and my motherboard resarts and loads the backup BIOS
Would my issue be that I am using windows and not linux ?
The only Linux I have is on a bootable CD and I dont think I can access any other media devices
Edit : discovered I can use a USB device to do this is linux but cant seem to find the iasl compiler it give errors when I run make
This post has been edited by numberonekiwi: Aug 7 2010, 03:21 AM
X48-DS5 Q6600 4GB-1066 Corsair 2x500GB 2x200GB ATI 4670

Aug 7 2010, 04:35 AM


- Member
- Group: Comrade
- Posts: 38
This topic is very very dangerous. It should be removed immediately. Ok for test, hack etc.,, but not this, in this way. It's not so simple.

Aug 11 2010, 10:10 PM

- Initiate
- Group: Comrade
- Posts: 4
Hi been looking around for reasons this may not be working for me but issuing these 3 commands still gives me an unbootable bios
cbrom x48ds5.f8c /acpitbl extract
cbrom x48ds5.f8c /acpitbl release
cbrom x48ds5.f8c /acpitbl ACPITBL.BIN
I have tried 2 different versions of cbrom but still same issue either bios reverts to backup bios or I need to short pins 1 and 7 of the main bios to restore from backup bios
Is there another step required ? Surely just issuing the above commands would not change anything but it does even the bios checksum in q-flash changes from 8D00 to 8300
X48-DS5 Q6600 4GB-1066 Corsair 2x500GB 2x200GB ATI 4670

Aug 12 2010, 10:43 AM

- Member
- Group: Staff
- Posts: 51
QUOTE (numberonekiwi @ Aug 11 2010, 11:10 PM)

Hi been looking around for reasons this may not be working for me but issuing these 3 commands still gives me an unbootable bios
cbrom x48ds5.f8c /acpitbl extract
cbrom x48ds5.f8c /acpitbl release
cbrom x48ds5.f8c /acpitbl ACPITBL.BIN
I have tried 2 different versions of cbrom but still same issue either bios reverts to backup bios or I need to short pins 1 and 7 of the main bios to restore from backup bios
Is there another step required ? Surely just issuing the above commands would not change anything but it does even the bios checksum in q-flash changes from 8D00 to 8300
its called sensitive modules. some modules must remain at the same offset inside the rom. using cbrom could possibly change the module offset = no boot.

Aug 13 2010, 09:22 PM

- Initiate
- Group: Comrade
- Posts: 4
I understand now what is going on I made a copy of the bios and modded one when issuing command cbrom x48.x40 /d I see that ACPITBL is at the bottom of the list rather than the 3rd in the list
X48-DS5 Q6600 4GB-1066 Corsair 2x500GB 2x200GB ATI 4670

Aug 17 2010, 01:18 AM


- Initiate
- Group: Comrade
- Posts: 18
Here my method if you have a
AMI BIOS.
You will need:
- BIOS from your motherboard (download from manufacturer site)
- Your DSDT.AML with your fixes already compiled
- MMTOOL program
MMTOOL.EXE.zip ( 153.54K )
Number of downloads: 121
- Windows to run MMTOOL program
Run MMTOOL
Click LOAD ROM and find your original Manufacturer ROM downloaded
Click in REPLACE tab
Click in BROWSE button (to load your fixed DSDT.AML)
Find ACPI AML in the grid below and SELECT it
Click in REPLACE button, your fixed DSDT.AML will replace the original DSDT from manufacturer
Click in SAVE ROM AS and save your ROM with other name.
Update your BIOS with your new ROM.
This method is just for AMI BIOS Roms, pay attention cause if something get wrong in update you can damage your motherboard.This is the method that I used with my
ASUS P6T, I dont know if will work with other motherboards.
[]s
VultU
ps.: sorry about the bad english. This post has been edited by vultu: Aug 17 2010, 04:19 PM
Hackintosh | ASUS P8P67-M PRO | Core i7 2600K@5 GHz | 16 GB DDR 3 | M4 128 GB SSD | 2x Seagate 1.5 TB SATA 2 | ATI 6850

Aug 17 2010, 12:01 PM

- Initiate
- Group: Comrade
- Posts: 4
I only have award bios v6.0
This post has been edited by numberonekiwi: Aug 17 2010, 12:02 PM
X48-DS5 Q6600 4GB-1066 Corsair 2x500GB 2x200GB ATI 4670

Aug 17 2010, 02:40 PM


- Member
- Group: Comrade
- Posts: 38
QUOTE (vultu @ Aug 17 2010, 01:18 AM)

Here my method if you have a
AMI BIOS.
You will need:
- BIOS from your motherboard (download from manufacturer site)
- Your DSDT.AML with your fixes already compiled
- MMTOOL program
MMTOOL.EXE.zip ( 153.54K )
Number of downloads: 121
- Windows to run MMTOOL program
Run MMTOOL
Click LOAD ROM and find your original Manufacturer ROM downloaded
Click in REPLACE tab
Click in BROWSE button (to load your fixed DSDT.AML)
Find ACPI AML in the grid below and SELECT it
Click in REPLACE button, your fixed DSDT.AML will replace the original DSDT from manufacturer
Click in SAVE ROM AS and save your ROM with other name.
Update your BIOS with your new ROM.
This method is just for AMI BIOS Roms, pay attention cause if something get wrong in update you can damage your motherboard.This is the method that I used with my ASUS P6T, and I already did the same with my old ASUS P5Q.
[]s
VultU
ps.: sorry about the bad english.Impossible this method, "in this simple way" with p5q series. The dsdt table is NOT separated like in this/your bios from the other table, serie p6 etc, but dsdt table is together other acpi table and can not be substitute in this SIMPLE way.
Fake
This post has been edited by vincent99: Aug 17 2010, 02:41 PM

Aug 17 2010, 04:17 PM


- Initiate
- Group: Comrade
- Posts: 18
QUOTE (vincent99 @ Aug 17 2010, 11:40 AM)

Impossible this method, "in this simple way" with p5q series. The dsdt table is NOT separated like in this/your bios from the other table, serie p6 etc, but dsdt table is together other acpi table and can not be substitute in this SIMPLE way.
Fake

You're right, I can not remember which motherboard was.
I'll fix the text, but with the P6T works that is the motherboard I have right now.
Maybe this method works only with P6T Im so luck.
Hackintosh | ASUS P8P67-M PRO | Core i7 2600K@5 GHz | 16 GB DDR 3 | M4 128 GB SSD | 2x Seagate 1.5 TB SATA 2 | ATI 6850

Aug 19 2010, 03:36 AM




- Advanced Member
- Group: Comrade
- Posts: 232
Yeah P5Q boards are definitely different. I could never get this to work on my P5Q-E either.
There's a similar tutorial for AMI BIOS buried somewhere on InsanelyMac that I followed but I always got checksum errors when trying to flash the modified BIOS. I tried several times until I was 101% sure I had done everything right.
btw if you use the new Chameleon 2.0 RC5 you no longer need to remove the CPU aliases from the DSDT. I put mine back just because I could.
ASUS P5Q-E - P45/ICH10R - Marvell 88E8056 - Focusrite Saffire 6 USB - EVGA GTX660 - C2D E8500 - 10.8.2 retail - Chameleon 2.2 svn r21xx

Sep 10 2010, 09:59 AM




- Advanced Member
- Group: Comrade
- Posts: 159
After dealing with DSDT in 1B module of ami bios(because no DSDT bootloader for Tiger), I found great tool for automating all this, it is called AMI SLIC TOOL 1.61 that version can alter DSDT from any module in your bios. I tested with MSI witch has standalone ACPI module and Asrock bios witch has DSDT in 1B module, all works.
link to program:
http://forums.mydigitallife.info/threads/4...IC-Modification