Board index Do you need information? BIOS Utilities & Flash Programs Converter wph --> bin need!

Converter wph --> bin need!

Discusses BIOS flashers and utilities from Award, AMI and Uniflash
Post Mon Apr 27, 2009 8:33 pm
Ger@ld BIOS Rookie
Recommended by Wim's BIOS... BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

Post Mon Apr 27, 2009 8:33 pm
Ger@ld BIOS Rookie

Posts: 37
Location: Germany, Dresden
Hello,

a friend did brick his Acer Aspire 1652WLMI
The recover with Crisis disk and bios.wph file failed.
Is it possible, to convert a wph file to bin? :roll:
With an bin File I'm able to remove the FLASH Chip, reprogram and replace it 8)
Unfortunaly new BIOS is also an wph file :evil:

thanks Ger@ld


Post Sat May 23, 2009 7:15 pm
drgn997 New visitors - please read the rules.

Posts: 5
Hello,
I had a similar problem with an Acer Aspire 3000-ZL5, all you need is an Hex Editor. On Acer Support website there're 4 BIOS updates, 3 for laptops with ATIs Graphics Card and 1 more for Intel Graphic Card, versions 3A43 and 3A45. There are 4 files available, the size of your Firmware chip is 512KB (7FFFFh starting from 00000h). Open the WPH BIOS file that corresponds to the graphic card installed in your laptop with your Hex Editor and go to the file position 80000, erase everything from that position to the end, you should end up at 7FFFF if done correctly, nothing more nothing less than that. At file offset 7FFF0 it should start with byte E9 xx xx than in these versions should be E9 3F B4. Save the file with a different name or overwrite it and you'll end up with a file size of 524,288 bytes, once you check this you're ready to program your chip with this file. Very simple.

DRGN997

Post Sat May 23, 2009 8:33 pm
Ger@ld BIOS Rookie

Posts: 37
Location: Germany, Dresden
Hi drgn997,

I've found the same way :D
But unfortunately is my english not so good, to tell, what I did :oops:
I tested two ways:
At first I take a backup from my Award BIOS with WinPhlash (Phoenix flashtool) and again with Winflash. With Award BIOS files I'm familiar :wink: So I'd found it.
To verify, if it's right, I did this modification with the original wph file and did open original wph and this new rom file Phoenixeditor.
Bingoooo! Phoenixeditor can open both files without error 8)

A good question is, for wath is the rest in wph? Maybe an image from NVRAM :?:
Or informations about flash-algorythm? In HEX-editor be some chip names visible...

Ger@ld

Post Wed Dec 23, 2009 9:44 am
toosour New visitors - please read the rules.

Posts: 6
Was so happy to see this post.

Exactly what I am looking for my Sony Vaio VGN FE31Z.

Grateful for any pointers for converting the Sony Vaio .wph to .bin

The uploaded .wph can be found here:

htt://vikiran.org/BIOS.zip

Thanks

Post Thu Dec 31, 2009 5:32 am
drgn997 New visitors - please read the rules.

Posts: 5
toosour wrote:
Was so happy to see this post.

Exactly what I am looking for my Sony Vaio VGN FE31Z.

Grateful for any pointers for converting the Sony Vaio .wph to .bin

The uploaded .wph can be found here:

htt://vikiran.org/BIOS.zip

Thanks


Hello,
all you need to do is to open the .wph file with an HEX editor an delete everything from address 100,000 Hex to the end, save changes and then rename it to a .bin extension. You'll end up with a file with a size of 1,048,576 bytes.

The last eight bytes of the file are:
EA A0 B8 00 F0 00 00 00

DRGN997

Post Sat Jan 09, 2010 3:06 am
sharky BIOS Newbie

Posts: 27
toosour wrote:
Grateful for any pointers for converting the Sony Vaio .wph to .bin


Usually the easiest way is to check the file size (in kB) then round it down to the next power of 2. Examples are 128, 256, 512, 1024, 2048, 4096. The rounded down number is the destination file size. Then you run (Linux/*BSD/Solaris/...)
dd if=bios.wph bs=1024k count=1 of=bios.bin

bs specifies the destination size, bios.wph is the original file and bios.bin is the .bin file you want. The example above is for a .wph file slightly larger than 1024kB. For a .wph file slightly larger than 512kB, you have to use bs=512k instead. You can probably guess how to handle .wph files with a size slightly larger than 2048kB.

To verify that the file is OK, run
hexdump -C bios.bin|tail -n 2

and the output should look like
0007fff0  ea xx xx xx xx xx xx xx  xx xx xx xx xx xx xx xx  |................|
00080000

or
000ffff0  eb xx xx xx xx xx xx xx  xx xx xx xx xx xx xx xx  |................|
00100000

or
000ffff0  e9 xx xx xx xx xx xx xx  xx xx xx xx xx xx xx xx  |................|
00100000


Basically, the last line should start with e9/ea/eb and the first column (address) should be 0x7fff0 (for 512kB BIOS) or 0xffff0 (for 1024kB BIOS). Stuff marked with xx or .. is not important.

Post Thu Jan 14, 2010 10:19 pm
THEREU New visitors - please read the rules.

Posts: 1
Could you help me with how to convert .bin file to .wph?

the bios file is here ftp://ftp.hp.com/pub/softlib/software10 ... p43099.exe

When i extract the executable i get a asp5.13 which is a bin file, how do i convert .bin file to .wph?

Post Fri Jan 15, 2010 1:24 am
sharky BIOS Newbie

Posts: 27
THEREU wrote:
Could you help me with how to convert .bin file to .wph?


Sorry, that is not possible without detailed board information (and no, the board name, chipset and configuration are not enough). Besides that, .wph is undocumented and a manually created .wph has the risk of bricking your computer.

Why would anyone want to convert a .bin to a .wph? Either you use the vendor flashing tool with the BIOS file (.bin or .wph or whatever) that comes with it, or you use an external programmer or flashrom or Uniflash with a BIOS .bin.

Post Sun Oct 17, 2010 3:32 am
solectron New visitors - please read the rules.

Posts: 1
Hi all, need urgent help on how to convert the wph format to bin/rom ,greatly appreciate to who answer this post, currently i download the dell Inspiron N4010 BIOS and extract the bios by using /writeromfile command ,its come out another wph format and my programmer doen't regonise its,please hell to teach me on how to convert it using hex edit ?

Recommended by Wim's BIOS... BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

Return to BIOS Utilities & Flash Programs