Everything started with the following question:
Hi dude, tomorrow I’m going to Helsinki and I don’t remember this laptop’s password, can you help me ?
A few searches looking for the typical master or universal passwords didn’t help much (nope, “admin” does not work as a backdoor bios password as most sites say, really). The owner was really fed up with HP support and it was quite late at night, so calling nor sending emails were going to help either.
Searching a bit deeper on forums, people were complaining about the same problem without solution: “Cannot reset omnibook xe3 bios password”, and the well known common thrick to erase the bios password was futile (removing the CMOS battery for a while to erase the password and settings). According to some posts, the password was actually stored on a [24C16] [EEPROM] close to the BIOS chip… So there we go
First, locate and remove the [smd] chip (excuse me for the poor quality of the picture :-/):
Second, solder wires with metal legs (taken from spare resistors, for instance) to the chip to adapt it to a TE20 programmer:
Third, download [icprog] and [configure it properly] (I use TE20 which is recognized as a JDM programmer, but YMMV). Now, it comes the most interesting part… figuring out where is the password from the eeprom hexdump… will it be human readable ? cyphered ? Let’s see:
The first number matches with the laptop's serial number, good... there's garbage in the middle (perhaps a ciphered password?) and then more serial numbers found on the chassis (some of them partially) and one unknown string: 15371K... perhaps the cleartext password ?
I was running out of time so I decided to write the eeprom filling the strange middle characters with 0′s in an attempt to clear a possibly ciphered password... and if the laptop prompted for a password, I would try 15371K... None of these finally occured:
Re-soldered the chip back, reassembled the laptop (a painful task, lot's of screws !) and switched it on. The initial boot screen was frozen on the first 2 reboots, without password prompt, just a static HP logo in the middle of the screen with no response, but wait, don't panic !
After rebooting for three times on a row, the laptop complained about corrupted bios, one more reboot and I was able to enter the BIOS ! Happy end, isn't it ? Well, sort of, there are some pending curiosity issues here:
- It seems that the bios detected corrupted data on 24C16 and then restored or cleared its contents, then:
- Which was the actual password ? The cleartext one or the "ciphered" one ?
- Was the password really inside this particular eeprom or somewhere else ?
Nevermind, the laptop is now 100% functional with Ubuntu installed and flying to Helsinki: http://www.futurlec.com/Memory/24C16SMD.shtml : http://en.wikipedia.org/wiki/EEPROM : http://en.wikipedia.org/wiki/Surface-mount_technology : http://www.mercaelectronica.com/descargas/index.htm : http://www.iearobotics.com/proyectos/skypic/docs/conf_icprog.html