-
Notifications
You must be signed in to change notification settings - Fork 280
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
Lenovo x270: power-up delays, freeze on suspend #156
Comments
Hi, is there any difference with the sleep issue with/without AC attached? |
Hi @c0d3z3r0 |
There is also another issue regarding the recognition of the nvme drive where I'm not sure if this is related to the ME free BIOS or my sloppiness during flashing. First I thought I just damaged the cable during dismantling or reassembly (it already was quite bend on one spot), but now I'm not sure. Even when totally untouched, my device will sometimes recognize the drive and sometimes fails to do so. Power cycling solves this (also it sometimes takes 2 or 3 attempts. I haven't found any facts what causes this, but I have the impression it's especially common when restarting the device. I'll investigate further and get back here. |
Thanks for the picture :-) Interesting... I'm wondering why they switched back to SOIC8. My x260 has WSON so I could not use my SOIC clip but had to solder the wires to the chip (and then bricked my mainboard somehow -.-). |
Maybe the SOIC allows for easier support when recovering faulty flashed chips :) |
@je-nix Are you using the HAP bit or not? |
@corna I applied me_cleaner without additional parameters, so from my understanding HAP should be enabled. Or am I mistaken? |
@je-nix would you (privately) share a dump of the 25Q80BL? I could take a look at it. |
@c0d3z3r0 Sure, if you are interested I'll send you a dump of it. Unfortunately I already deleted the dumps I created, so I'll have to make another one. Seems I'll have to flash another image with HAP set anyway. It's possible that I've disabled BootGuard (if that is possible in the BIOS settings), as well as all UEFI stuff that you can disable there. My device is booting in "Legacy only" mode, but I'm happy to check / verify the settings. |
@je-nix Boot Guard can't be disabled once enabled by the vendor (the activation state is saved in a write-once area in ME). @c0d3z3r0
|
@corna aah. I remember reading this before... thanks! |
@je-nix if it's ok for you both flash dumps would be great :-) I'll share my findings of course |
@corna Thanks for your reply. I just ran me_cleaner again with the @c0d3z3r0 Sure, as far as I read there should be no critical information in the dump, correct? What would the OEM partition contain (if anything)? MAC addresses? Serial Numbers? |
@je-nix oh, just saw you deleted all previous dumps? do you have a backup of the original content? |
@c0d3z3r0 Sorry, I was a bit unclear there - I deleted the dumps of the second chip (the 25Q80BL), but of course I have kept a dump of the original content of the BIOS chip. |
Thanks for your support @corna and @c0d3z3r0. I created a new image with me_cleaner in which I set the HAP bit (via the May I suggest to expand the wiki entry for External Flashing (https://github.com/corna/me_cleaner/wiki/External-flashing). I would add some reference to the HAP bit options to the "Neutralize Intel ME" chapter. I initially followed this guide and thus missed the options which caused my issues in the first place. I'll leave this issue open for now in case @c0d3z3r0 wants to share his findings for the 25Q80BL chip. |
I've not updated the Wiki in a while, I'm going to add the |
@corna @je-nix I guess the remaining parts of ME do not work correctly after cleaning. The DISABLE_ME jumper on my P320 Mainboard seems to be equivalent to the HAP bit. |
Why do you think that |
@corna I'm sorry, that was not what I meant. -S itself is not a workaround. It's only a "workaround" in je-nix's case. IMHO it should even work without -S (when we want it to be "perfect"). |
I don't think it's a workaround even in je-nix's case: both the HAP bit and the code removal execute more or less the same code, the only difference is:
We can't directly control these, the only way is through the signed Intel ME code. With |
@c0d3z3r0 Thanks for taking a look. There is a ti (texas instruments) uC next to it (model TPS65982DA) which could possibly be the USB C controller. So it probably belongs to it. I've uploaded a picture of the surrounding of the Winbond chip if you want to take a look yourself: https://github.com/je-nix/x270-internals/blob/master/pictures/Winbond_25Q80BL_surrounding.jpg |
@je-nix yep, you're right. Look at 8.4.5 Application Code in the datasheet: @corna I'm sorry for hijacking this issue for non-ME stuff. I think this can be closed now. |
@c0d3z3r0 Great, "mystery" solved. I'd close this issue since it is resolved if you don't have anything further. Thank you again for your great support. |
@je-nix yes, you can close the issue |
Hi everyone
Inspired by your talk on the 34C3, I managed to flash my Lenovo x270 by creating a dump of the BIOS chip, successfully cleaned it with me_cleaner and then flashed that image. The good news: it seems to basically work, the device powers on and runs (no errors, no shutdown after 30 mins or something like that). Unfortunately, I can't verify that ME is disabled since /dev/mem/, which is required by intelmetool, does not exist on my Arch Linux (even when setting the iomen kernel parameter in grub). But that's no big deal for now.
The bad news: I experience a delay of about 20 seconds on power up until the boot screen appears (when powering on the device or restarting it) where the device is turned on, but does not seem to do anything. While I could live with that, the even worse part is that it freezes when I wake up the device from suspend. When I wake it up (push the power button), the device turns on (power LED, display, keyboard lights etc), but then immediately freezes and does not respond to any input (keyboard, acpi, etc). The only option is a forced power off.
Since this can have many different causes, it's hard to debug. But having nothing changed except the ME-free BIOS it kind of points toward this as cause. So I want to ask if this behaviour is already known and a work-around exists (or maybe I did something wrong?).
Thanks already for the support. Please let me know if I can provide additional information. I can also provide model specific information (type and location of the BIOS ROM for the x270 etc) and pictures if needed.
The text was updated successfully, but these errors were encountered: