Need a utility decompress and recompress Phoenix BIOS on HP notebook.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need a utility decompress and recompress Phoenix BIOS on HP notebook.
I need to decompress and manually edit a few values in the BIOS image and then recompress it and flash the BIOS. This is done to add my new wireless card to the whitelist.
It is awful of HP to practice hardware whitelists.
The images are in Phoenix WinFlash .wph format.
phoenixdeco does not work with images for my system. Phoenix BIOS Editor does not work with images for my particular systems. HP created classes that are not in the original Phoenix specification and are not interpreted by Phoenix BIOS Editor, and the BIOS is not properly rebuilt because of that.
I just need a simple utility that will decompress the image into separate ROMs by class and then compress them back into the image once I'm done editing.
I really need help with this. For now I have no wireless.
Thanks in advance.
Thanks for the reply... The card I have is Atheros, so I guess I would need a tool for an Atheros card, or if ethtool works with it, I would need to know what values to write for this card.
This thread is about BIOS tools, not about writing to EEPROM of wireless cards. I have a 0 reply thread about that which I posted like a week ago.
This thread now has replies so I guess there is no chance I will get a solution.
Thanks anyway.
look I did read your question so felt if you could trick the current bios into thinking your wireless card was one supported by the bios....all would be good.
so, now you no longer have a zero reply post.....why not install virtualbox...or any other emulator...and run PBE from there.....or install wine and see if it works from within your current systems?
look I did read your question so felt if you could trick the current bios into thinking your wireless card was one supported by the bios....all would be good.
so, now you no longer have a zero reply post.....why not install virtualbox...or any other emulator...and run PBE from there.....or install wine and see if it works from within your current systems?
Although my BIOS is Phoenix brand, it is modified by HP to the extent that PBE is unable to understand about half of all section classes in it. Basically after rebuilding the BIOS with PBE, the image if you look at it from a HEX editor is almost completely blank. PBE simply omits everything that HP has put in there, and first time I did it, it bricked a motherboard. These boards are $180 so I don't think its such a good idea to try to reproduce that result again. PBE produces such bad image for my machine that it makes BIOS recovery impossible.
So again as my original question states, need some utility that decompresses and recompresses and does nothing else.
Yes, PBE does work with some recent HP notebooks but it does not work with a lot of them.
Thanks for your continued assistance. I'm just about ready to get myself another laptop, although specifications of this one are hard to beat or match, meaning this is about as powerful as they come right now.
Nope, thats all in the wrong direction. I can flash just fine with WinFlash. If you read my original post I need to decompress and then, after modifications, recompress the BIOS image. In case you don't understand what that means, modern Phoenix BIOS is much like an archive, different parts of it are compressed in it. Modern Phoenix BIOS images cannot be modified directly because of that, you will not find the code you are looking for. I can't really explain any better what "archive" means.
The output I need from such program is a bunch of files, which all have purpose, ACPI settings, CPU lists, etc, all in separate files, the sum of those files is greater than the size of the image (once again the image is an archive).
One of those files contains the PCI whitelist. I've looked at the part of code in the PBE temporary files, I see it, I modify it. Too bad PBE can't put my BIOS back together even if I don't modify anything.
I know what uniflash is, its just a universal flasher. Too bad it does not perform compression operations.
I've been at this for about a month now... So unless there is an expert on Phoenix BIOSes on this forum it might be time to call it quits.
Theres a cross platform program called PhoenixDeco. It does decompression. It doesn't work. At least it doesn't interpret the image for my machine. Not surprising considering the PBE result. I guess HP won this round.
I've spent quite a few hours on the line with their support and I finally got their lame excuse for the whitelist. "We discourage the end user from installing non-approved devices that could potentially damage their system."
I guess I'm going to start looking for a new laptop now.
Looking for something of Intel dual core and nVidia video card with 256mb+ non-shared.
Current specs:
Intel Core Duo 1.73GHz
1GB DDR2 667Mhz
nVidia GeForce Go 7600 256mb, onboard non-shared
two 120GB SATA hard drives (yes, two, in a laptop)
Lightscribe DVD-RAM
17" widescreen 1440x900
full keyboard, with the number pad
It weighs like those desktop replacement class laptops, but its a lot slimmer.
Tough to find something matching... nVidia is a must, I've had too many issues with ATI linux drivers.
Phlash16.exe = WinFlash = WinPhlash, all names for the Phoenix flasher program. This is what I use to flash the BIOS. It does nothing else.
Phlash16.exe is the 16bit version is for use with DOS based BIOS recovery diskette, only functions with certain flavours of DOS.
I didn't mean for you to understand me literally, the BIOS image is not a common archive we use but similar in a way. No unfortunately cabextract does not work with Phoenix BIOS images.
PhoenixDeco is the tool intended for this, but it doesn't work with the HP image for some reason. And afterwards I still have to have a tool that puts it all back together.
I doubt Phoenix and other BIOS manufactures will or are creating Windows dependent BIOS. These BIOS manufactures creates a BIOS framework or skeleton for motherboard developers to modify and tweak. If HP is doing what you are saying, you are paranoid. I think the new hardware should work just fine in Linux, but may not work in Windows because how Linux can get around problems in the BIOS.
Putting a wireless NIC in a computer introduces RF interference. Not all wireless NIC have good enough shielding, so it is more likely that HP is doing you a favor. Also the antenna may not match. You will lose efficiency and create over heat problems of the NIC when the RF antenna does not have the correct impedance that the card uses. I suggest use a PCMCIA (Cardbus) or ExpressCard to upgrade the wirless NIC. I have Intel 3945 WiFi NIC that connected internally and I am planning for future WiFi upgrades is to use a ExpressCard.
I suggest backup the notebook BIOS and find if coreboot or LinuxBIOS supports your hardware (Northbridge, Southbridghe, Super I/O, etc). If the chip that contains the BIOS can be removed, replace it with an upgrade version that can store more data.
IMHO, rapidshare sucks for sharing data. Use something better like mediamax.
I've encountered both articles before. The first method bricked a $180 board for me, as my system is too recent for all the tools available. Recovery was impossible in this particular case.
The second method is for mini PCI and I have mini PCI Express. There is probably a pin to do that as well but I do not like the idea of having to flip a switch every time I reboot... As this is a laptop, I use hibernate feature of both linux and windows. Hibernation envolves a complete shutdown and a boot. So every time I close and open the laptop I would have to hit the switch, or else encounter the 104.
I doubt Phoenix and other BIOS manufactures will or are creating Windows dependent BIOS. These BIOS manufactures creates a BIOS framework or skeleton for motherboard developers to modify and tweak. If HP is doing what you are saying, you are paranoid. I think the new hardware should work just fine in Linux, but may not work in Windows because how Linux can get around problems in the BIOS.
Putting a wireless NIC in a computer introduces RF interference. Not all wireless NIC have good enough shielding, so it is more likely that HP is doing you a favor. Also the antenna may not match. You will lose efficiency and create over heat problems of the NIC when the RF antenna does not have the correct impedance that the card uses. I suggest use a PCMCIA (Cardbus) or ExpressCard to upgrade the wirless NIC. I have Intel 3945 WiFi NIC that connected internally and I am planning for future WiFi upgrades is to use a ExpressCard.
I suggest backup the notebook BIOS and find if coreboot or LinuxBIOS supports your hardware (Northbridge, Southbridghe, Super I/O, etc). If the chip that contains the BIOS can be removed, replace it with an upgrade version that can store more data.
IMHO, rapidshare sucks for sharing data. Use something better like mediamax.
I wish I was paranoid. For now I am someone who gets a post code because I insert a wireless card that HP did not approve. Recent HP laptops like mine do not boot at all when code 104 is encountered. unSpawn posted a link to the article that shows the code on the screen and a screenshot of BIOS code where HP buried the whitelist.
Now I found those as well, and I change the IDs to those of my Atheros card, however there is no tool that can assemble my BIOS back together, and the only way I can get it apart with is PBE which does not understand some things in this BIOS.
Now this might sound crazy and reckless to you, but I did in fact insert the card while the system was in standby, and guess what? It works. So its just the BIOS whitelist check thats the issue.
I would really appreciate if someone could help me out at decompressing the BIOS image and putting it back together.
I still have a lot of hope left.
Thanks everyone for your support so far.
PS I think those alternative BIOS solutions are a bit of a long shot. I am an advanced user but not quite that hardcore. After all one board is already bricked.
Lets try to do it in a less intrusive way for now.
*EDIT*
The BIOS chip is really just an SST 1Mbyte flash chip. Its a 40 pin TSOP/SOP package and I haven't found a single BIOS service in continental USA that programs those.(I did find a chinese dude in Canada that does it though) Everyone does 32 pin chips. Just thought I throw it out there. 1Mbyte would probably be enough for pretty much any BIOS solution though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.