Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] Lenovo V580(c) (H1ETxxWW) Whit...
Last Post: mansur.sh.n
Today 10:38 AM
» Replies: 587
» Views: 147390
lenovo z570 Advanced Menu Unlocked
Last Post: d3m3n7r
Today 10:32 AM
» Replies: 8
» Views: 4445
[REQUEST] Acer Aspire S3-391 BIOS Unlock
Last Post: yousade
Today 08:23 AM
» Replies: 56
» Views: 25364
[REQUEST] Thinkpad T14S G3 AMD (Type 21C...
Last Post: Dudu2002
Today 04:37 AM
» Replies: 1
» Views: 69
[REQUEST] Lenovo B490 (H1ETxxWW) Whiteli...
Last Post: sardax
Yesterday 10:03 PM
» Replies: 101
» Views: 31847
[REQUEST] Acer Aspire E1-571(G) BIOS Unl...
Last Post: Dudu2002
Yesterday 04:44 PM
» Replies: 127
» Views: 58015
Acer Predator Helios 300 N17C1 G3-572-79...
Last Post: chadreuel
Yesterday 11:39 AM
» Replies: 0
» Views: 127
[REQUEST] Acer Nitro 5 AN515-56 BIOS Unl...
Last Post: Dudu2002
Yesterday 07:25 AM
» Replies: 5
» Views: 897
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
Yesterday 03:52 AM
» Replies: 1972
» Views: 662105
[Request] Acer Aspire Z1620 (h61h aio v1...
Last Post: spingernexx
04-24-2024 06:09 PM
» Replies: 2
» Views: 176
[REQUEST] Lenovo G505 (82CNxxWW) Whiteli...
Last Post: khaos
04-24-2024 04:15 PM
» Replies: 155
» Views: 55356
Asus Prime b250m plus, RAM compatibility
Last Post: Slayery777
04-24-2024 06:23 AM
» Replies: 0
» Views: 160
[REQUEST] Bios Unlock Request Clevo W230...
Last Post: happycrazyman
04-23-2024 03:53 PM
» Replies: 0
» Views: 140
Rog Strix B650E-F BIOS File Extraction
Last Post: panmetrix24
04-23-2024 11:25 AM
» Replies: 0
» Views: 156
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Pipo89
04-23-2024 06:47 AM
» Replies: 236
» Views: 69831
[REQUEST] Acer Nitro 5 AN517-41 BIOS Unl...
Last Post: onetapxdf
04-23-2024 03:37 AM
» Replies: 11
» Views: 1380
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: Dudu2002
04-23-2024 03:14 AM
» Replies: 203
» Views: 70775
[REQUEST] Lenovo V570(c) (44CNxxWW) BIOS...
Last Post: d3m3n7r
04-22-2024 05:20 PM
» Replies: 18
» Views: 11199
[REQUEST] Lenovo Y520-15IKBN (4KCNxxWW) ...
Last Post: ati90
04-22-2024 05:02 AM
» Replies: 64
» Views: 37117
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: SteamTug
04-22-2024 04:24 AM
» Replies: 1731
» Views: 546153

Lenovo Ideapad N581 bricked
#1
Hi,

I am in a bit of a predicament. I had a working and moddifed (whitelist removed) BIOS installed on my Lenovo Ideapad N581 and all I wanted to do was to change the amount of shared GPU RAM. Yet somehow I must have done something wrong such that my device seems to be bricked now Sad

Looking for ways to resolve this issue I found a whole lot of information about the recovery mode. The recovery mode itself seems to be working just fine. I extracted the ROM from the official v96 Lenovo BIOS update executable, put it on a freshly formatted USB-Stick and renamed it to QIWG5.BIN, which I believe is the correct name for the recovery image.

While in recovery mode the USB-Stick is accessed and the file seems to be read. Then the LED of the stick turns dark for approx. 3 seconds after which it comes back online and the whole process starts again and again and again ...
If I change the filename to something else the reading process is much shorter which leads me to believe that the filename I used is the correct one. It seems to me that the recovery mode somehow refuses to flash the ROM.

The same v96 BIOS update file is being offered as download not just for all variants of the N581 but also the N580 and N585 products. Could the behaviour of the recovery mode have something to do with this? Do I need to extract a certain part from the ROM?

As a second measure I took my whole notebook apart in order to get access the to CMOS battery and disconnect it. For this I even had to use my soldering iron because the battery was hard-hooked to the board ...
Unfortunately disconnecting the battery for approx. 30-60 minutes did not work either ...

As a measure of last resort I would try to manually flash something onto the chip itself, but for that I would of course need the exact data. Ideally it would be nice to get my hand on an exact BIOS dump (backup) from someone who has the same variant of the N581 notebook, that at least should work if I am not mistaken?



EDIT: I just realized that BIOS settings are nowadays stored in a non-volatile RAM and the CMOS battery is mostly just for the RTC. Is there some way to corrupt the data of the NVRAM? Is the NVRAM integrated along with BIOS ROM itself or is it most likely an extra external chip? If it is an extra chip it should be easy to corrupt the data which would then give a CMOS checksum error, forcing it to reset to default values.
find
quote
#2
You have to read your Full Dump Firmware from Eeprom Chips and I will check them
to correct It using Original Bios Files !
Let me know
Regards

P.S. Recovery Procedure is a bet on Lenovo Wink

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#3
I did find two flash Flash-EEPROMs in close priximity to the chipset, one 4MByte (EN25Q32B) and one 2MByte chip (EN25QH16). Am I assuming correctly that the 32Mbit chip probably holds the code of the BIOS while leaving the settings to the 16Mbit chip to store? Anyway, I will try to get a complete data-dump from both. However I need to try this in-situ because at the moment I do not have access to the neccessary SMD soldering hardware. Unfortunatly I neither have a SPI programmer but I shall try to repurpose an 8bit Atmel microcontroller to get a readout, might have to order a 5V to 3.3V level shifter though ... we shall see, it's all I have rigth now so wish me luck Wink


Attached Files Thumbnail(s)
   
find
quote
#4
Alright I made some progress: I was able to read and flash some other BIOS IC that I found on an old mainboard which I no longer need using an 8-bit AVR µC and the flashrom linux tool. Since that worked rather nicely I unsoldered the 4MB flash chip from my notebook. That eon IC is a nasty little bugger and flashrom had som trouble correctly identifying it at first. Lowering the SPI frequency and getting the supply voltage down to 3.3V did wonders, however I had to lower the serial frequ to 9600 Baud as well ause the lvl shifter doesnt like 3.3V.

Anyway, I did read the flash chip 3 times which took one hour each. Now the weird thing is that the chip seems empty. Except for one instance every single Byte reads 0xFF. I don't think there was a problem with reading process, flashrom did not say anything and as I said I did read it 3 times giving me same result each time.

Is there any way to get the 4MB of data from the official BIOS update that are supposed to go onto that chip?
find
quote
#5
Lenovo ThinkPad N581 FPT -d ... -bios

W25Q32BV 4MB 1st ---> 4096 KB +
W25Q16BV 2MB 2nd ---> 2048 KB


W25Q32BV 4MB 1st ---> Starting Offset FullDump Firmware 6144 KB = 0x00000000 physical address
W25Q16BV 2MB 2nd ---> Ending Offset FullDump Firmware 6144 KB = 0x00600000 physical address


This Fimware has two chunks and start into 1st Chip, these the Offsets :

0x00000000 - 0x00600000

0x00000000 - 0x00001000 = Descriptor Size 0x00001000
0x00001000 - 0x00180000 = ME (GbE) Size 0x0017F000
0x00180000 - 0x00600000 = BIOS (PDR) size 0x00480000

So Bios Firmware is splitted into two chunks :

1st Chip from 0x00180000 until 0x00400000 End of 1st Chip then continue into (Size 0x00280000)
2nd Chip from 0x00000000 until 0x00200000 End of 2nd Chip (Size 0x00200000)
Total (size 0x00480000)

The EC firmware is allocated before Bios Region and usually into 2nd Chip when It is 4096 KB.
In your case is into 1st Chip before Bios Region.

Like You can see your Bios Regios is splitted between two Eeprom Chips so I have to replace
your data (UUID, Serial, Model, Win License) into Bios Region and then into Full Dump Firmware
and at last I can split again your files to reprogram Eeprom Chips !
I have the Firmware but You have to reprogram all two Chips and will loose your Significant Data.
Let me know
Regards

Doante to me for my work and time . . . look into my Signature Wink

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#6
Oh oh, this is all more complicated than I thought really. I was just browsing through some the intel application notice "Intel 7 Series Chipset and Intel C216 Chipset SPI Programming Guide" and it pretty much says the same you were laying out Wink

Do you need any more information other than what is in the attached picture? You can erase any of the Windows SLICs and whatever else there is on the flash regarding the windows license cause I don't need it and I don't use windows a lot either.

I just donated to you for your help Smile

What I really don't get however is, why the freakin chip seems to be empty ... Maybe there was a problem when I first tried to access it, cause I was using a supply voltage of 3.7V which is slighty above the spec. Now with just 3.3V it takes roughly 60 minutes to read the [censored] thing cause I can't use a higher speed for the µC <-- RS232 --> PC connection. Maybe there still is a problem with the SPI connection, i don't know ... but the winbond SPI flash I was using just to test the process did not give me any headaches whatsoever.


Attached Files Thumbnail(s)
   
find
quote
#7
I managed to get a dump of both flash-ics using a raspberry pi. It looks as if during my previous attempts at accessing the flash the first 4K block was erased but everything else remained untouched, probably because the voltagelvls and timings were not within the specs.

I'd say that everything is still in order except that the Descriptor region is empty ... what are my options? Is there any way to get my hands on just the BIOS ROM so I can hack together two new binary files with the Intel Flash Image Tools?


Attached Files
.bin   4mb.bin (Size: 4 MB / Downloads: 11)
.bin   2mb.bin (Size: 2 MB / Downloads: 10)
find
quote
#8
In which Eeprom Chip is been erased the 4KB ( i can rebuild It) ?
If You will be more detailed I can rebuild all Firmware Wink
Let me know
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#9
The data of the 2MB EEPROM should be alright because I have not touched the chip since yesterday. I did play around with 4MB chip about a month ago and tried to read it but since I did not have the raspberry pi, just some atmel µC SPI Interface, I had some trouble with it. It looks as if (luckily) just the descriptor region (0h - FFFh) has been erased, everything else looks fine to me.
find
quote
#10
I tried to rebuild all !
Here You go (your files were just NWL + AVD) :

http://rghost.net/8GrVL8Nlg

let me know
Regards

Donate to me for my work and my time . . . look into my Signature Wink

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)