-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating Lenovo x230 BIOS to latest #130
Conversation
Hi,
Glad you could follow my earlier post. The error message "Could not
determine IMG details" does imply that there has been a change in the
format of the FL2 files. However, Lenovo has not done that ever before,
so it might be something else is wrong.
Have a look at the hexdump for the x230.G2HT35WW.s01D3000.FL2.orig file
and see if it looks OK - it normally is full of "ff" until offset 00500000
and has the internal version tring at offset 00500240.
Unfortunately, I am travelling at the moment, so I cannot look closer
myself.
Good luck!
…On Wed, Jul 24, 2019 at 12:15:32AM -0700, blamcaster wrote:
Hey, so version 1.76 of the Lenovo X230 BIOS came out so I thought I'd
update your code based off a previous post you made about how to do
that, so I updated Descriptions.txt with the new strings, the new sha1
and names, the download URL is still the same and EC didn't change. It
downloads and identifies the new version properly, but then it gets
stuck trying to determine the IMG details.
Here is my output from terminal:
***@***.***:~/thinkpad-ec$ make patched.x230.img
Downloading x230 BIOS 2.76 (G2ETB6WW) EC 1.14 (G2HT35WW)
2019-07-23 23:50:48
URL:[1]https://download.lenovo.com/pccbbs/mobiles/g2uj32us.iso
[33927168/33927168] -> "g2uj32us.iso.orig" [1]
scripts/checksum --mv_on_fail g2uj32us.iso.orig g2uj32us.iso
./scripts/ISO_copyFL2 from_iso g2uj32us.iso.orig
x230.G2HT35WW.s01D3000.FL2.orig 01D3000.FL2
./scripts/FL2_copyIMG from_fl2 x230.G2HT35WW.s01D3000.FL2.orig
x230.G2HT35WW.img.enc.tmp
Could not determine IMG details for x230.G2HT35WW.s01D3000.FL2.orig
.d/generated.deps:189: recipe for target 'x230.G2HT35WW.img.orig'
failed
make: *** [x230.G2HT35WW.img.orig] Error 1
So I'm not sure where I've done something wrong or if there is just
something different about the newest BIOS update. Do you think you
could help me figure out what the problem is?
__________________________________________________________________
You can view, comment on, or merge this pull request online at:
[2]#130
Commit Summary
* updated Lenovo x230 BIOS to latest
File Changes
* M [3]Descriptions.txt (5)
Patch Links:
* [4]https://github.com/hamishcoleman/thinkpad-ec/pull/130.patch
* [5]https://github.com/hamishcoleman/thinkpad-ec/pull/130.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [6]view it on GitHub, or [7]mute the
thread.
References
1. https://download.lenovo.com/pccbbs/mobiles/g2uj32us.iso
2. #130
3. https://github.com/hamishcoleman/thinkpad-ec/pull/130/files#diff-0
4. https://github.com/hamishcoleman/thinkpad-ec/pull/130.patch
5. https://github.com/hamishcoleman/thinkpad-ec/pull/130.diff
6. #130?email_source=notifications&email_token=AENZQUYYEF5G36Z3R6YF6JLQA76RJA5CNFSM4IGM6NFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBD6VWA
7. https://github.com/notifications/unsubscribe-auth/AENZQU5DZX2MLDFYDA22MKTQA76RJANCNFSM4IGM6NFA
--
Use Linux! hamish@zot.org
*********************************** O- ***********************************
``... why haven't you indolent fleshers transformed the whole galaxy
into chocolate?''
``Give us time.''
|
Okay, this dump is all ff's until 00800000. I couldn't find a version string. I went ahead and put it on a USB and installed it on my Thinkpad, and it updated the BIOS, but didn't touch my EC firmware, which is still at 1.12. Is it possible that Lenovo has stopped packaging the EC update with the BIOS update? Their web page lists it as being included, but if there's data missing from the image, then maybe they cut it out. |
I faced exactly the same problem with @ibleedcoffee.
How to resolve this ? |
I've gone through all the latest ISO images and a lot of the new FL2 files are now showing this issue. It looks like Lenovo has changed something. Since the EC firmware has not been updated, it is still safe to just create the patch image from an earlier BIOS version. There is some evidence that they are hand-creating these update images, so it is possible that this round was just a mistake, but futher investigations are probably required into these newer FL2 files. |
Actually @ibleedcoffee - after reading your comment again, I see you installed the official update (without patches) and it /did not/ update your EC version to the correct 1.14 version - is that correct? What BIOS version were you previously on? If the official installer - used in the documented manner - did not install the correct EC firmware, then that is pretty clear to me that Lenovo have released some broken firmware updates :-( |
Hi, updated my x230 with Lenovo's latest bios (2.76) today. EC Version is 1.14. Now, if I make patched.x230.img it downloads and patches an older version (2.75). Also, I am not sure, that everything worked as its supposed to. Does the below look good? Can I go ahead and flash the patched 2.75, basically downgrading? Sorry for noobish questions, but this is my first take on modding a bios. Generated dependancies from descriptions
reverifying Your build has completed with the following details: Buildinfo: v1-307-ge5b632-dirty (20190731) patched.x230.img Patches applied: Description: x230 BIOS 2.75 (G2ETB5WW) EC 1.14 (G2HT35WW) Image has been written to file "patched.x230.img.tmp". Your build has completed with the following details: Buildinfo: v1-307-ge5b632-dirty (20190731) patched.x230.img Patches applied: Description: x230 BIOS 2.75 (G2ETB5WW) EC 1.14 (G2HT35WW) |
Hi @nil-0 you look good to go - the Built checksum from your output matches my test builds. While this is based on the 2.75 BIOS, the EC firmware used by both 2.75 and 2.76 is identical (they both use EC 1.14) - so, the patches and EC firmware are all OK to use. |
awesome, thanks a lot Hamish! Now I only have to wait for my brandnew x220 keyboard :) |
It turns out that I added these signatures in a different commit |
Hey, so version 1.76 of the Lenovo X230 BIOS came out so I thought I'd update your code based off a previous post you made about how to do that, so I updated Descriptions.txt with the new strings, the new sha1 and names, the download URL is still the same and EC didn't change. It downloads and identifies the new version properly, but then it gets stuck trying to determine the IMG details.
Here is my output from terminal:
user@work:~/thinkpad-ec$ make patched.x230.img
Downloading x230 BIOS 2.76 (G2ETB6WW) EC 1.14 (G2HT35WW)
2019-07-23 23:50:48 URL:https://download.lenovo.com/pccbbs/mobiles/g2uj32us.iso [33927168/33927168] -> "g2uj32us.iso.orig" [1]
scripts/checksum --mv_on_fail g2uj32us.iso.orig g2uj32us.iso
./scripts/ISO_copyFL2 from_iso g2uj32us.iso.orig x230.G2HT35WW.s01D3000.FL2.orig 01D3000.FL2
./scripts/FL2_copyIMG from_fl2 x230.G2HT35WW.s01D3000.FL2.orig x230.G2HT35WW.img.enc.tmp
Could not determine IMG details for x230.G2HT35WW.s01D3000.FL2.orig
.d/generated.deps:189: recipe for target 'x230.G2HT35WW.img.orig' failed
make: *** [x230.G2HT35WW.img.orig] Error 1
So I'm not sure where I've done something wrong or if there is just something different about the newest BIOS update. Do you think you could help me figure out what the problem is?