It is currently Thu Sep 02, 2010 4:44 pm Advanced search


Advertise Here

Hacked BIOS permits tweaking of speeds, timings, etc

Anything related to hardware, hacks or mods with the 311 series.

Hacked BIOS permits tweaking of speeds, timings, etc

New postby mattday » Mon Feb 15, 2010 8:02 am

I've been sitting on this for far too long in a 90% complete state. So this weekend I decided it was time I finished it off and got it out to those people who might appreciate it. It is a hacked BIOS I have been working on which opens up a *lot* more configuration options and should address most of the issues people have with overclocking. Some of the most popular features will be the ability to unlink FSB and memory frequencies and set these frequencies independently in the BIOS. There are also options to specify the amount of graphics RAM (regardless of system RAM), set memory timings, chipset voltage and lots more.

Edit: There is now a ReadMe sticky for the BIOS. Make sure you have read it carefully.

Notes and limitations:

The attached files are based on the standard 1Mb F.12 and F.14 BIOSs. No other versions are currently available (i.e. later versions or 2Mb ROMs). There is also an unwhitelisted version courtesy of icelord. I have only hacked the English string table, so if your BIOS language is anything else then some of the options will not make sense.

Technical details:

Skip this part if you are just interested in checking out the new possibilities - it is intended as a brief explanation for any other hackers.

Using Marcan's scripts to pull apart the BIOS into constituent parts, it is possible to examine the SetupUtility. This contains Advanced and Power forms which are not normally seen. Looking at the disassembly, I suspect there is a key (or key combination) which will bring up an OEM system configuration menu immediately after power on. From here it looks like there are options such as language setting, internal EFI shell or the possibility to enter the setup utility with the additional menus enabled. I hope to get a better understanding at some point, but for now I have simply modified the code which checks whether the menus should be enabled (by replacing a couple of jz with jnz). With the extra menus visible, the FSB and memory speed settings don't actually work, and the System Health menu does not provide any data. There may be subtle reasons for this which I have yet to fully understand, or they could just be broken. In either case, I have removed the System Health menu and implemented a work-around for entering the 2-byte frequency values via two separate controls, one for each of the bytes. The string table had to be hacked to work with the modified setup form. It turned out this was not feasible by hand in a hex editor so I ended up writing a small program for this. The modified SetupUtility can be reinserted into the fd file using EzH2O.

Further development:

Please, don't post in this thread saying "Wow, thanks, this is awesome". Start a new thread if you must, but only post stuff relating to this hacked BIOS here. If you appreciate it, think about sending a small donation to my paypal account: money@(myusername).net. If you do, I will be much more likely to complete further development ;) :D :ugeek:

Disclaimer:

As usual, use this BIOS at your own risk. I have taken every care to ensure it is correct, but can accept no responsibility for damage to your computer.
Attachments
3651H14.zip
Hacked BIOS: H.14 (unwhitelisted by icelord)
(786.9 KiB) Downloaded 2193 times
3651F140.zip
Hacked BIOS: H.14
(789.53 KiB) Downloaded 948 times
3651F120.zip
Hacked BIOS: H.12
(789.61 KiB) Downloaded 333 times
Last edited by mattday on Thu Mar 18, 2010 1:17 pm, edited 3 times in total.
mattday
Mini Expert
 
Posts: 62
Joined: Mon Nov 09, 2009 4:13 am
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 10:51 am

Can you post here pulled out hacked SetupUtility module?
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby mattday » Mon Feb 15, 2010 11:53 am

icelord wrote:Can you post here pulled out hacked SetupUtility module?

Yes, attached below.

Also, I have just updated original post with hacked F.14 BIOS.
A quick check revealed the only changes made in SetupUtility between F.12 and F.14 were the version strings, so it can be safely plugged in to F.14.
Attachments
H.14_SetupUtility.zip
Hacked SetupUtility module
(93.88 KiB) Downloaded 885 times
mattday
Mini Expert
 
Posts: 62
Joined: Mon Nov 09, 2009 4:13 am
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 12:03 pm

mattday wrote:
icelord wrote:Can you post here pulled out hacked SetupUtility module?

Yes, attached below.

Also, I have just updated original post with hacked F.14 BIOS.
A quick check revealed the only changes made in SetupUtility between F.12 and F.14 were the version strings, so it can be safely plugged in to F.14.


Thanx a lot! btw, while Replace module, what GUID you use? or what method you use for replace module?
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 12:41 pm

mattday, do you know "Clear CMOS" procedure? i think most overckockers start with large values of FSB :lol:
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby mattday » Mon Feb 15, 2010 12:57 pm

icelord wrote:
mattday wrote:
icelord wrote:Can you post here pulled out hacked SetupUtility module?

Yes, attached below.

Also, I have just updated original post with hacked F.14 BIOS.
A quick check revealed the only changes made in SetupUtility between F.12 and F.14 were the version strings, so it can be safely plugged in to F.14.


Thanx a lot! btw, while Replace module, what GUID you use? or what method you use for replace module?


GUID for SetupUtility: FE3542FE-C1D3-4EF8-657C-8048606FF670

NB. Marcan's script says the GUID is ...7C65... instead of ...657C.... I don't remember which is correct, but EzH2O needs 657C.

Not sure what you mean about FSB - default should be 512+21=533MHz - i.e. standard for N270.
mattday
Mini Expert
 
Posts: 62
Joined: Mon Nov 09, 2009 4:13 am
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 1:10 pm

thanx for GUID

i try to change to 512+26 - no result :(
i'm not try much more values due unknown clear CMOS procedure if BIOS hangs while start at high freq.
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby mattday » Mon Feb 15, 2010 1:48 pm

icelord wrote:i try to change to 512+26 - no result :(

That is weird. I just tried the same setting on mine and it causes Windows to bluescreen when booting.
512+88 works perfectly though.
icelord wrote:i'm not try much more values due unknown clear CMOS procedure if BIOS hangs while start at high freq.

I understand now, but don't know if clearing CMOS is possible. Good advice to anyone overclocking: test at sensible steps. I was lucky. When I first started playing with this BIOS the default FSB was 800MHz and could not be changed more than +/- 1MHz. I assumed the setting didn't have any effect and quit setup, saving changes. After booting Windows I realised my N270 was running at 2.4GHz :shock: If my CPU had not been so overclockable I could easily have been screwed.
mattday
Mini Expert
 
Posts: 62
Joined: Mon Nov 09, 2009 4:13 am
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 1:55 pm

mattday wrote:
icelord wrote:i try to change to 512+26 - no result :(

That is weird. I just tried the same setting on mine and it causes Windows to bluescreen when booting.
512+88 works perfectly though.


tested 512+88... nothing - 1.60ghz
you change Linked or only FSB?
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby mattday » Mon Feb 15, 2010 2:16 pm

icelord wrote:tested 512+88... nothing - 1.60ghz
you change Linked or only FSB?

Set to Unlinked, but just tried on Auto and that works too for me (just RAM runs at 1200MHz then).
Anyone else have FSB working or not?
mattday
Mini Expert
 
Posts: 62
Joined: Mon Nov 09, 2009 4:13 am
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby icelord » Mon Feb 15, 2010 2:21 pm

mattday wrote:
icelord wrote:tested 512+88... nothing - 1.60ghz
you change Linked or only FSB?

Set to Unlinked, but just tried on Auto and that works too for me (just RAM runs at 1200MHz then).
Anyone else have FSB working or not?


FSB 560, RAM 560 - boots 1.6
FSB 600, RAM 533 - hangs, need to reset cmos...
FSB 600 RAM 600 - boots 1,6

you use H.14? changes in other options?
.ice
/Compaq Mini 311c/NVIDIA ION/3Gb RAM/320Gb HDD/unWhitelisted BIOS/OEM logo removed/Intel 6250 802.11abgn WiFi+WiMAX 4G + Ericsson F3507g UMTS 3.5G+GPS + BCM92070MD Bluetooth/Win7+Ubuntu/
User avatar
icelord
HP Mini 311 Hacker
 
Posts: 157
Joined: Thu Nov 12, 2009 11:36 pm
Location: Moscow, Russia
HP or Compaq Mini Owner?: Compaq Mini 311

Re: Hacked BIOS permits tweaking of speeds, timings, etc

New postby Bruno_007 » Mon Feb 15, 2010 3:02 pm

Well I got the same problem while changing just the FSB at unlinked, and it refuses to boot now. Do I have to reflash pressing some keys combo at startup or can I do CMOS? I've already tried disconnecting the little cell out and it didn't showed results.

Update: it booted once I removed the 2gb ram module I had in it. I reverted to the default settings and after I got it to boot. Weird, seems like it needs to be investigated more. I'm also using the H14 bios.

Update2: after applying the FSB, althrough the BIOS shows no changes that FSB is applied anyway, at least CPU-Z tells me the FSB I chose.

Update3: I've already found out why he didn't booted with my additional 2gb ram module. I had the unlinked option checked, and the memories were set and trying to run at 533mhz (which I thought that value wasn't in fact the real frequency). So after attempting to run with them at 1066mhz things got pretty! :D

Man I think some guys here will call you a hero! At least that's what I can think of you right now. :lol:
  • Desktop - D925 3.0GHz @4.2GHz 1.44v (@4.5GHz 1.6v at Winter to warm up the room 8-)) + TRUE 120 w/ 3 Fans, P5K-E @NB 1.4v, TE 4GB DDR2 @934MHz CL5, 9800GT @738/1728/1107.
  • Compaq Mini 311c-1010SP - N270 1.6GHz @~2.1GHz, 1+2GB GSKILL 1333MHz CL9 SO-DDR3 @1066MHz CL8 w/ 3:2 ratio, Full ION and H.15 BIOS (thanks mattday and icelord ;)).
Bruno_007
Mini Genius
 
Posts: 264
Joined: Mon Nov 16, 2009 5:23 pm
Location: Portugal
HP or Compaq Mini Owner?: Compaq Mini 311

Next

Return to Hardware and Hacks Related



Who is online

Registered users: Ask Jeeves [Bot], Baidu [Spider], Google [Bot], Google Adsense [Bot], Google Feedfetcher, MSN [Bot], MSNbot Media, Yahoo [Bot]