The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.
← Previous pageNext page →

    Insyde hacking - New Vaio Z - Advanced menu in BIOS

    Discussion in 'VAIO / Sony' started by psyq321, Apr 4, 2010.

  1. Sunfox

    Sunfox Notebook Deity

    Reputations:
    29
    Messages:
    738
    Likes Received:
    16
    Trophy Points:
    31
    Whoops, wrong thread.
     
  2. kingsxw

    kingsxw Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    step 7
    flash modified BIOS:with "flash1t new.rom /f"
    but it told the /f switch is invaild
    I used /all instead of,is this correct?
     
  3. kingsxw

    kingsxw Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    Other questions:
    How to get VSS_SIZE value?
    I find "24 56 53 53" twice in dumped rom file:
    00390048h and 003a9b5bh.Is VSS_SIZE = 003a9b5bh - 00390048h =019b13h (VSS_SIZE = 0x019b13)?

    And how to know PATCH_OFFSET value for a non sony notebook?
    thx. :)
     
  4. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    To get the VSS size, you will need d6z's tools from:

    http://thechaw.com/insydecodr

    But you will need to edit main.py and start from there.

    Also, I found out that there is no fingerprint module in the new Z firmware :(

    This is why New Z does not support power-on fingerprint scan.

    I find this highly ridiculous, as even Old Z and even TZ before had this feature. What is wrong with Sony?
     
  5. peanut2002

    peanut2002 Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Hey, psyq321, I'm really enjoying your experiment. Thanks again.

    If possible to enter advance bios, can we set temperature of "low fan speed"?

    Can we make it variable?

    What about fan speed? is it possible to set fan's RPM or just "Low" & "High" ?
     
  6. no2chem

    no2chem Notebook Enthusiast

    Reputations:
    1
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    5
    my guess is it probably wont be too hard to port it
     
  7. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    Fingerprint check module is probably exactly the same in Old Z EFI.

    With EzH2O that could be "transplanted" (but, this is not going to be easy as you'd need to have right versions of EzH2O for old and new EFI, and all versions I tried with Old Z EFI ended with crashing)

    However, bigger problem is the driver itself. EFI has a basic driver model, and that fingerprint sensor must have a low-level EFI driver in order for EFI to "see" it and use it during POST. If Sony changed fingerprint hardware, and I believe they did, old driver will not work.

    Of course, the best way (next to Sony just doing the damn thing) would be to have the source of that InsydeH2O EFI - which I don't believe it will happen :)
     
  8. pmfcmmak

    pmfcmmak Notebook Consultant

    Reputations:
    123
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    30
    Or we just get coreboot running, which will solve all our problems :D
     
  9. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    Unfortunately no :(

    There are ACPI thermal settings, including the threshold points for fan activity - but those seem to be either ignored or they cannot stop the fan.
     
  10. snip3r_3

    snip3r_3 Notebook Enthusiast

    Reputations:
    0
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    16
    TRIM is only for SSDs. There is no need for HDDs to have TRIM support...

    I enjoyed reading this thread, and am going to experiment myself with my S series VAIO. Its also running the Insyde H2O bios, and I would love to unlock advanced options, especially the overclocking/under/overvolting sections. However it may be quite different from the Z's bios...
     
  11. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    If it has InsydeH2O they are all mostly the same.

    The only difference in Sony's implementation might be the VSS offset for the visibility flag for advanced menu, which was 0x25A for the old Z and 0x258 for the new Z

    You can also find the location of this flag by decompressing the setup utility binary BLOB and then running one of d6z's tools (you might have to patch it with OPCODE 0x27 support - I can upload mine)

    With setup dump, you will be able to see which byte is controlling the visibility
     
  12. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    argh I hate dos, give me linux ...
    Whenever I type "cd C:" it goes back to the A ...

    it shows : C:\
    and then A:\ again ...
     
  13. beaups

    beaups New Jack Hustler

    Reputations:
    476
    Messages:
    2,376
    Likes Received:
    4
    Trophy Points:
    56
    To get to c drive in dos you just type "c:"
     
  14. Oscar2

    Oscar2 Notebook Deity

    Reputations:
    209
    Messages:
    1,030
    Likes Received:
    0
    Trophy Points:
    55
    The difference in DOS is that if you type cd C:\Mydir and cd D:\Foo then if later on you type C: you will find that drive C is in the directory MyDir. If you type D: that drive D is in directory Foo
     
  15. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    I still hate it :p

    But ehh in the "manual" it says the command "python etc etc" but python is not recognized as a command.
     
  16. laptopzzzz

    laptopzzzz Notebook Guru

    Reputations:
    58
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    15
    ofc I mean that the HDD will get replaced with a singel SSD :)

    Will TRIM work then? Anyone tested?
     
  17. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    I tried it and I got an error: can not open this fd or something like that.
     
  18. Oscar2

    Oscar2 Notebook Deity

    Reputations:
    209
    Messages:
    1,030
    Likes Received:
    0
    Trophy Points:
    55
    Python is not included in windows so you have to install it. You can find it at:
    http://www.python.org/download/
     
  19. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    Done that, and then I switched to command prompt and the APP folder on the usb key. Then I typed python advanced_menu.py dump.rom new.rom
    Rebooted to usb key and then fla new.rom /f but then I got the "error" fd can not open. :(
     
  20. ZugZug

    ZugZug Notebook Evangelist

    Reputations:
    165
    Messages:
    540
    Likes Received:
    9
    Trophy Points:
    31
    When flashing new ROM just skip option/switch altogether (i.e. no /f at the end). That's what I did.
     
  21. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    Still can not open fd :(
     
  22. ZugZug

    ZugZug Notebook Evangelist

    Reputations:
    165
    Messages:
    540
    Likes Received:
    9
    Trophy Points:
    31
    Try also naming file new.fd instead of new.rom, although I doubt that would help. Another advice would be to copy original rom to hard drive, run advanced menu script there and then copying new rom to flash drive.
     
  23. supergabe

    supergabe Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    I assume the memory speed is unlinked due to the CPU turbo features, so I don't see why it wouldn't work. Also, mine came with sticks rated for 1333MHz.
     
  24. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    I don't get it why it doesn't work :( Can not open fd file >.>
     
  25. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    How can I be the only one with this problem? I've got the HDD version(thus european). >.>
     
  26. ZugZug

    ZugZug Notebook Evangelist

    Reputations:
    165
    Messages:
    540
    Likes Received:
    9
    Trophy Points:
    31
    How is your flash drive partitioned? Could it be that you are launching command from the wrong "drive" so it does not see the ROM file?
     
  27. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    [​IMG]
    [​IMG]
    [​IMG]

    I have to type python in the App folder otherwise it won't recognize the python command.

    edit: does it matter which file system the usb stick is? I don't think it does but does it?
    I do see the red ribbon on the screen and its initializing but then says: this FD cannot open.
     
  28. ZugZug

    ZugZug Notebook Evangelist

    Reputations:
    165
    Messages:
    540
    Likes Received:
    9
    Trophy Points:
    31
    From the command line window snapshot the "new.rom" file is created/output to your user directory on hard drive. Did you copy it to flash?
     
  29. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    Yep in the 2nd snapshop you can see the new.rom :p
     
  30. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    Did you try with putting the new.rom in the same folder as flash1t? E.g. root folder?
     
  31. Negaiido

    Negaiido Notebook Consultant

    Reputations:
    12
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    30
    Wow cool it really works :D the manual is incorrect :p

    By the way my HDD is configured in RAID :S, changing it to IDE or AHCI leads to BSOD.

    edit:

    next stop, finally getting ubuntu to work.

    THX a lot :D
     
  32. alaskajoel

    alaskajoel Notebook Deity

    Reputations:
    1,088
    Messages:
    1,031
    Likes Received:
    964
    Trophy Points:
    131
    I tried this too but it didn't work the first time. Looked at it again, and changed the Flash drive from Fat32 to NTFS, and it works now. When i copied the original rom to the hard drive (ntfs), run the advanced menu script and copied back to Flash (fat32) it would give me the unable to open error.
     
  33. ZugZug

    ZugZug Notebook Evangelist

    Reputations:
    165
    Messages:
    540
    Likes Received:
    9
    Trophy Points:
    31
    Interesting. My flash drive is formatted FAT32 and worked flawlessly. But I remember that in the past some FAT32 formatted flash cards would not read correctly on a different system until reformatted there (and then may not read on original or another camera/player/computer).
     
  34. lklfluidzlkl

    lklfluidzlkl Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Will Flashing The Bios Work On Sony Vaio VGN-FW560F.
    Will It Enable The AHCI?
     
  35. beaups

    beaups New Jack Hustler

    Reputations:
    476
    Messages:
    2,376
    Likes Received:
    4
    Trophy Points:
    56
    Hi. This is a great thread. I successfully used the info here to flash my Z112 some time ago and enabled the advanced menu.

    Now...I would like to boot from an express card SSD. I see references to PCMCIA boot and more boot options, etc. in the txt file from page 1 but I do NOT see any of those options in my BIOS screens. Any ideas on what I could change?
     
  36. foxalopex

    foxalopex Notebook Enthusiast

    Reputations:
    0
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    5
    As great as this advanced menu hack is, I wonder if anyone has found a way to get bios to unfreeze the SSD Drives which would allow for secure erase. At the moment the only way to do that is to hotplus the SSDs which is sort of dangerous.
     
  37. beaups

    beaups New Jack Hustler

    Reputations:
    476
    Messages:
    2,376
    Likes Received:
    4
    Trophy Points:
    56
    perhaps psyq could provide a method to edit some of the other values since ezh2o isn't working?

    I'd specifically like to enable the advanced boot menu...there are references to pcmcia card and others and I'd really like to be able to boot to my expresscard ssd. There are some other things I'd like to play with too.

    Normally I like to dig in with trial/error...but obviously that's risky business on our bios :)

    Thanks in advance.
     
  38. etiko

    etiko Notebook Consultant

    Reputations:
    12
    Messages:
    163
    Likes Received:
    0
    Trophy Points:
    30
    i have seen this all post's, and im realy excited with the possibility with mod my Insyde bios too, but my notebook is a HP Dv7 2160ep, W\ a q9000, and ati mobility hd4650, the overclock options would be nice, can anyone help-me made something like that in vaio?
     
  39. ZoinksS2k

    ZoinksS2k Notebook Virtuoso

    Reputations:
    525
    Messages:
    2,223
    Likes Received:
    1
    Trophy Points:
    56
  40. NHT

    NHT Notebook Evangelist

    Reputations:
    18
    Messages:
    525
    Likes Received:
    1
    Trophy Points:
    31
    I'm very impressed with your work, psyq321. I want to use the script on the old Z because the EFI boot doesn't work anymore in later BIOS. What do I need to find out in order to get things work?
    Are they VSS_OFFSET, VSS_SIZE, PATCH_OFFSET (0x25a I guess)?

    VSS_OFFSET can be found by looking for $VSS (0x3b0048 in my case). But how about VSS_SIZE?
     
  41. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
  42. dwbox57

    dwbox57 Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Well done folks. I've been looking to do this since I acquired my new Z the first week out in the US. I immediately put in faster memory, and could not change the memory speed. The processes for Windows are quite clear, and worked perfectly. So I say thank you.

    Now, if I could find the TPM, I would be happy.
     
  43. zhangxnwc

    zhangxnwc Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Hi, I'm patching a VPCS1(since these are much similar to Z models). The patch worked fine after changing VSS_OFFSET to 0x200000 lesser than the original value ( which resulted 0x151048) but when I flashed it, no advanced menu showed up. So is it possible that the offset is different? Is there any way to find out the offset? Are the settings around VAR.magic+0x258 non critical so I can test each byte?
    I used R0282Q3.ROM from http://customersupport-download.sony.com.cn/VAIO/EP0000223751.exe which is 2MB in size.
     
  44. psyq321

    psyq321 Notebook Evangelist

    Reputations:
    242
    Messages:
    430
    Likes Received:
    58
    Trophy Points:
    41
    It is not just VSS offset - it could be that the "advanced menu toggle ON/OFF" variable is not at the VSS offset 0x258 (or 0x25a, like it was on the old Z). Usually those settings at 0x25x are not critical - so you can try "poking" - at your own risk, of course :)

    But, if you want to do it analytically, you need to dump the setup executable from the BIOS/EFI and find what is the offset the setup application checks before showing the advanced menu.

    For that, you need to utilize the python tools from the link above - but, as I stated, you might need to modify them a bit for your notebook model, so some python and EFI knowledge is needed.

    Basically the procedure is the following:

    - Extract the setup executable binary from the entire ROM dump (Insyde uses LZMA compression, and you will need appropriate LZMA libs for the python scripts to work)

    - As all EFIs use (almost) the same syntax for the menu control, you can dump that with dumpsetup.py (potentially you need to modify it a bit)

    - Analyze the textual output of the setup menu script, and you'll easily find what is the offset the setup application checks to show advanced menu

    - Use this offset and flag and patch it
     
  45. fabk

    fabk Notebook Enthusiast

    Reputations:
    0
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    5
    can someone give me some help please?? i'm doing this for an s11 model; i've already extracted the .rom file, but when i try to read it with ezh2o v2.1.0.13 and i select "other -> setup menu" from the menu bar, it crashes!! i don't know what to do... i wanted to obtain the screen i see on the 2nd post, the one by psyq.

    EDIT1: btw, icould easily extract the .rom by launching the setup, going into "Users -> username -> AppData -> Local -> Temp" , searching for the most recent folder and copying the files inside. you can find Insydeflash and the .rom . i think that's an easier way to do the job...

    EDIT2: sorry to everyone, i just saw the z11 doesn't have a downloadable executable to update the bios, so the only way i through the procedure of the first post. in my case there's an update on the sony support site.
     
  46. rayzer

    rayzer Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Hi, great work. I'm trying to unlock the advanced menu on a Acer 1810T.

    So far I've extracted the setup portion of the BIOS dump with the main.py but dumpsetup is not working it exits with:

    Code:
    Traceback (most recent call last):
      File "dumpsetup.py", line 272, in <module>
        strings = StringTable(pe, STRING_TABLE)
      File "dumpsetup.py", line 41, in __init__
        offsets = struct.unpack("<%dI"%count, self.data[16:16+count*4])
    struct.error: unpack requires a string argument of length 336091144
    I suppose I have to change the STRING_TABLE = 0x10b30 value, but how do I get the right value?
     
  47. SprintSlash

    SprintSlash Newbie

    Reputations:
    0
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    5
    Process was quite simple and smooth for me, took <10 mins (I did the python stuff on another machine, and just did the read/write rom in one pass). It's very nice to see the advanced controls in the BIOS!

    I wonder if there is a way to adjust the default screen brightness for while on AC and while on battery?
     
  48. beaups

    beaups New Jack Hustler

    Reputations:
    476
    Messages:
    2,376
    Likes Received:
    4
    Trophy Points:
    56
    ^ you can do that right in windows power management
     
  49. SprintSlash

    SprintSlash Newbie

    Reputations:
    0
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    5
    Yes, I am aware, but I was wondering if it is possible to keep the brightness level outside of Windows.. like at computer startup, DOS, or in BIOS...
     
  50. beaups

    beaups New Jack Hustler

    Reputations:
    476
    Messages:
    2,376
    Likes Received:
    4
    Trophy Points:
    56
    ^On Z, no. How much time are you spending in dos and bios?
     
← Previous pageNext page →