+ Reply to Thread
Results 1 to 10 of 127
-
27th January 2012, 06:02 PM #1
Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
Sony VAIO VPC-Z2 (2011) BIOS hack available
Update (03-27): New pre-hacked BIOS version available as regular BIOS update (serial numbers etc. will be retained with this patched BIOS update)
____________________________________________________
After all the hacking I did to my Z1, I finally looked for a new challenge. I decided to have a deeper look at the Z2's BIOS. I disassembled the BIOS ROM with the help of the TianoCore UEFI devkit and I thought, why not unlock the advanced options we already have on our Z1's?
Well you can imagine what happened. Now it looks like this:

Some very interesting options are available to you now. I hope you'll like it. I am also open to any new hack of other BIOSes or platforms. Just drop me a line.
Before I forget it: The disclaimer
This project is 100% spare time driven. There is no warranty or support at all. Don't use this if you are unexperienced with computers. All you do with this BIOS is on your own risk! Flashing is a dangerous process. Make backups of your data. Your warranty may void with flashing this hack. Don't fiddle around with settings you don't understand - you may brick your laptop. All settings in BIOS get stored in the flash rom. Disconnecting the RTC battery will NOT reset the BIOS settings since they are non-volatile. If you fail, there is no return since BIOS recovery is unavailable to the Z2.
You have been warned, now let's have some fun!
Some brief background info for the tech people:
The BIOS is a InsydeH2O BIOS with tianocore module compression. There is a big setup utility (multiple languages) stored at 0x111068 in the BIOS file (length) 0x9705C. If you disassemble it you will notice that BIOS does not check a VSS variable in the advanced options suppress-if condition (like on the VPC-Z1, variable 0x258), it refers to opcode 0x27 instead. This opcode returns true so the advanced options get suppressed completely. I changed this instruction to the opcode 0x28 that returns false so the full options get revealed. In the BIOS ROM, nothing more than one byte was changed (0x27->0x28 in the suppress instruction). 25% of the BIOS ROM appears to be changed, this is a result of the tianocore compression of the 600kib setup module.
Not ALL options are unlocked, some still depend on VSS variables but did not seem important to me. Have a look in the detailed Z2 BIOS options table here.
__________________________________
Prerequisites:
Create a backup of your stock BIOS - you might need it later for warranty reasons etc.:
- Download this BIOS Backup tool
- Extract it and run the contained file dump_BIOS.bat. Read the note and confirm. Then you will find the Backup Image as DUMP.ROM in the same directory.

____________________________
Flashing process:
Close all running applications. Charge your battery and leave your AC adaptor plugged in until you are finished.
Download the attached file and extract it to your local disk drive. Navigate to the directory with the unpacked BIOS package and run WBFLASH.exe as Administrator.
Press Start and follow the screen instructions. After the flash completed, reboot your laptop, enter BIOS setup and load defaults. Chose your individual settings and have fun!
____________________________________
Acknowledgements:
cherrybombaz - volunteer tester - thanks mate!
psyq321 - Z1 BIOS hacker
northox - provided me with his Z2 BIOS dump that led me to the breakthrough
lovelaptops - kept me motivated to do the hack and to search for new adventures - thanks buddy!
TTAV134@mydigitallife - author of background info that helped me hacking the Z2 BIOS
davidxxw@mydigitallife - author of universal bios backup tool
Sony - thanks for the BIOS maze, that was really fun!
NBR - thanks for hosting this community!Last edited by pyr0; 27th March 2012 at 05:11 PM. Reason: Hacked BIOS update R0172H5 added
My Sony VAIO projects:
Bluray | Expresscard eSATA, USB 3.0 | How to make a full back up | Custom S-Buttons | VAIO Z2 (2011) BIOS hack | VAIO S Series (2011) BIOS hack | More hacks in the making
-
27th January 2012, 06:30 PM #2Big time Idiot
- Join Date
- Jan 2008
- Location
- Greater Sac, Cali
- Posts
- 2,757
- Rep Power
- 24
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
Thank you for the info detail! I've been digging around the Vaio SA UEFI with some heavily inadequate tools (my google/bing-fu is really bad, now
).
Vaio SA 13.3" i5 + HD6630m
8GB 128GB 1600x900
-
27th January 2012, 06:33 PM #3
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
This smells like we may have freed another nice laptop from its bad driver support!
Last edited by pyr0; 27th January 2012 at 06:43 PM.
My Sony VAIO projects:
Bluray | Expresscard eSATA, USB 3.0 | How to make a full back up | Custom S-Buttons | VAIO Z2 (2011) BIOS hack | VAIO S Series (2011) BIOS hack | More hacks in the making
-
27th January 2012, 07:20 PM #4New Jack Hustler
- Join Date
- Feb 2009
- Posts
- 2,366
- Rep Power
- 20
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
Nice work. The question is, do you have the guts to start messing around with those graphics settings?
-
27th January 2012, 07:50 PM #5Notebook Guru
- Join Date
- Aug 2008
- Posts
- 54
- Rep Power
- 12
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
Great work - all working perfectly here...
-
27th January 2012, 08:56 PM #6Notebook Virtuoso
- Join Date
- Jan 2010
- Posts
- 2,893
- Rep Power
- 20
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
"lovelaptops - kept me motivated to do the hack and to search for new adventures - thanks buddy!"
You are way too kind, my friend, but I can only say this:
Those who can do, do. Those who can't - and can't teach - are left to inspire the greatness that surrounds. Anonymous
Nice work - and without even having your own Z2 to test it on! Thou rock!Sony Z's, HP/Dell workstations, old-fashioned tablet PCs and, yes, a couple of really cool tablets and Ultrabooks that are easy on the arthritic shoulders and kinda fun excuses for buying new tech toys! Secret weapon: Galaxy Note 2 smartphone w/WACOM [compatible] "S Pen." It's all I ever need these days
-
27th January 2012, 10:27 PM #7Notebook Consultant
- Join Date
- Aug 2011
- Posts
- 103
- Rep Power
- 5
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
will this allow you to always have the backlit keys on?
-
27th January 2012, 11:09 PM #8
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
That is really cool.
Thank you very much.Plus sa vie est infâme, plus'homme y tient; elle est alors une protestation, une vengance de tous les instants.
-
28th January 2012, 05:30 AM #9
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
I can't test, but there ARE options to control the EC (Embedded Controller) and the LEDs - Polling interval, LED switches etc. As there is NO software way to keep keyboard backlight on (hardcoded timeouts in the EC), perhaps these options bring the solution to this.
@ZoinksS2K, try that if you like, perhaps finally you get your request resolved.My Sony VAIO projects:
Bluray | Expresscard eSATA, USB 3.0 | How to make a full back up | Custom S-Buttons | VAIO Z2 (2011) BIOS hack | VAIO S Series (2011) BIOS hack | More hacks in the making
-
28th January 2012, 03:54 PM #10
Re: Sony Vaio Z2 (2011) Advanced Menu BIOS Hack
Here's a video: Vaio Z2 Bios Hack Advanced Menu - YouTube
Sony Vaio Z21: Intel i5-2520M@2.5ghz | 4GB | 2x128GB SSD | Intel HD/AMD 6650M | Windows 7 Ultimate x64
Sony Vaio VGN-Z37D: Intel P8700@2.53ghz | 4GB | 320GB | Intel x4500/Nvidia 9300M GS | Windows 7 Ultimate x64
LaptopRec My Sony Vaio Z21 Review



2Likes
LinkBack URL




Reply With Quote


I`m upgrading, are you? (GTX 780M...
Today, 01:57 PM in Gaming (Software and Graphics Cards)