Skip to content
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

I may have found a MODERN laptop with INTEL ME corrupted but with the laptop still able to boot #390

Open
Hunterrules0-0 opened this issue Feb 3, 2023 · 14 comments

Comments

@Hunterrules0-0
Copy link

Whenever I boot the laptop its able to start up however it seems that Intel me is disabled this could be a breakthrough in finding a way to disable it. This laptop was a replacement for my old one that I got from a repair shop. It has not ran me_cleaner and is refurbished

Turning the laptop on and plugging in my pop os usb I get treated to This warning message

It stays here for about 3 seconds before continuing the normal boot
After that everything works just as intended.

Entering the intel management setup screen(Yes this laptop has that) I get treated to This error Which once is finished kicks me out into the normal booting process.

It appears that the intel mangement engine firmware is corrupted and somehow isnt shutting off after 30 minutes
along with that saving and exiting the setup gives me this werid Beep code(https://youtu.be/iNR3we6OtmE) thats unlike any beep code ive ever seen. it could be a beep code for intel me. after the beep code it refuses to restart and goes into a black screen I have to force restart the computer to which finally the computer starts normally. However restarting it reveals that the changes ive made in the setup have been successfully saved. Which leads me to conclude further that the intel mangement engine is corrupted

perhaps theres a way you guys could use this to help you find a way in permentantly disabling the management engine if you have any questions fell free to ask
Have an amazing day

@Hunterrules0-0 Hunterrules0-0 changed the title I may have found a MODERN laptop with INTEL ME corrupted but refusing to turn off after 30 minutes. I may have found a MODERN laptop with INTEL ME corrupted but with the laptop still able to boot Feb 3, 2023
@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 5, 2023

EDIT: I was able to dump the me sector of the bios with flashrom
image
Dumping this part of the mangement engine should not work Me prevents this from happening however here it just straight up gives me the me region

https://gofile.io/d/Ys1i1v

@Hunterrules0-0
Copy link
Author

edit: I forgot to dump the whole bios so sorry heres the whole thing

https://gofile.io/d/t0Cejm

@gladly-hyphenated-21
Copy link

I'm just subscribed to this repo, mainly for interesting ME developments like this, so I am in no way qualified to answer questions here. This does look odd to me too.

Mind sharing the laptop version? It says Lenovo, but which Lenovo laptop specifically?

@ValoWaking
Copy link

ME is only end user interface to receive info from sensors and make / save some bios preset in bios.

this does not mean that there is no backdoor in the device. This indicates the laziness of the manufacturer who released the bios for this device.

@CodeAsm
Copy link

CodeAsm commented Feb 14, 2023

What exactly makes you believe Intel ME is not working/"disabled"?

If I read the error message in both videos, the Bios firmware could not send its "end of POST" to the Intel ME over the "HECI" communication channel. DCMI-HI
DCMI Host Interface Specification
is where i found more information about this HECI communication. especially chapter 3.1.

Im in no way experienced with Intel ME, and particular in your system, I have no idea what is actually happening or in what state, Intel ME is in. There could be more wrong, or even a hardware issue. It seems "only" this communication channel isnt working, the same documentation (in the introductory part) explains this is not the only path for ME and the HOST to talk to eachother, this may mean Intel ME is still fully operational and functional. It might even mean when the HOST boots a OS, Intel ME is still able to perform its duties and communicate with say modules or drivers inside the OS.

Id be intresting to know what the actual detected Intel ME status would be: https://github.com/corna/me_cleaner/wiki/Get-the-status-of-Intel-ME

But im just a fellow user, no experience and thus have to warn you not to just run code from unkown sources. Great you dumped the bios :D and hope your OS of choice is working as intended. if not, try updating the bios or installing chipset specific drivers. yes, this might "fix" the current fault.

more on a PC POST : https://en.wikipedia.org/wiki/Power-on_self-test

@CodeAsm
Copy link

CodeAsm commented Feb 14, 2023

Also, you probably broke the bios normal boot procedure (inpatient reboot, when you deselect certain bios settings from being enabled to disabled, the bios needs to fully reboot the whole system instead of a "soft" reboot).

you may have semi bricked the system doing so. restoring the bios variable storage might fix this.

On your youtube video I also posted this:
`

  1. Remove all power resources (the ac power adapter, removable battery, and coin-cell battery). If your computer has a built-in battery, reset the computer by inserting a straightened paper clip into the emergency-reset hole. Wait for one minute. Then reconnect all power resources.
  2. Replace the system board (service provider only)
    `

I got this specific error because I let the Lenovo diagnositic app detect the error from your video. get the app and more information from here: https://support.lenovo.com/us/en/solutions/ht503581-lenovo-pc-diagnostics-using-beep-codes-thinkpad

I hope you have a way to recover the board to a working state.

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 15, 2023

Wow, I wasn't expecting so many replies. Anyways, I believe that the "me" region of the machine is corrupted. Normally, you're not allowed to dump the "me" region with flashrom, but with this machine, it just straight up dumps the entire thing with the internal programmer. Additionally, no matter what I do, it's impossible to enter the Intel Management Setup menu. When I press boot from any device from the boot menu, I get error codes. However, the machine is able to boot perfectly fine (I'm even typing this message on the laptop). Now about the video i showed. As you may have saw whenever I leave the setup to quickly the laptop makes those werid beep codes. However what I forgot to show was that as soon as I force-restarted the laptop the laptop starts up perfectly with no problems. Even the changes made in the setup are saved.
It appears that most of everything in the bios is working besides the intel management engine

Also im going to update you guys Me status program tomorrow

Edit: So in a previous post I mentioned that this laptop was refurbished. Well as it turns out when entering the setup it seems that someone set the Intel Computrace setting to permanently disabled. Not really important just thought it was werid.

Also no the board is not broken. besides from those minor setbacks its still able to work perfectly fine(Im using pop os right now and its fantastic almost as great as my previous t440 laptop)

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 15, 2023

I'm just subscribed to this repo, mainly for interesting ME developments like this, so I am in no way qualified to answer questions here. This does look odd to me too.

Mind sharing the laptop version? It says Lenovo, but which Lenovo laptop specifically?

The laptop is a leveno t470. Ill give you more info later I promise

If you have any more questions feel free to ask

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 15, 2023

EDIT I WAS RIGHT ME IS CORRUPTED. I ran the metool and it came back with this

image

This was taken on the same laptop

@CodeAsm
Copy link

CodeAsm commented Feb 16, 2023

from what I understand, yes, looks like a broken Intel ME image or atleast communication to it in some ways. possibly other ways are still working. If Intel ME is still happily running, we dont know? altho intelmetool leads me to believe its still running, just crippled a bit?

does lspci | egrep '(ME|HECI)'
still result in being found?

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 16, 2023

from what I understand, yes, looks like a broken Intel ME image or atleast communication to it in some ways. possibly other ways are still working. If Intel ME is still happily running, we dont know? altho intelmetool leads me to believe its still running, just crippled a bit?

does lspci | egrep '(ME|HECI)' still result in being found?

It seems so yeah sadly perhaps it is still running
image
for some reason it says sunrise lake. despite the fact that this machine is skylake

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 16, 2023

EDIT: HUGE UPDATE
as it turns out. it seems that ME will not appear when using lspci if you boot from the f12 menu. for some reason booting from the disk in the f12 menu makes intel me vanish.
image

how does this happen. There should be no difference as again the disk is the default boot option. but I guess there must be something that causes this to happen

Another edit: Running the intel ME checker tool again using the little f12 trick I mentioned earlier I get this
image

@CodeAsm
Copy link

CodeAsm commented Feb 16, 2023

I dont emediatly understand what the difference would be between normal boot and F12 (I know, its some efi boot menu thing) but maybe its not exposing the pci device correctly now? I might be able to look but im also afraid im hunting red herrings.

What I find odd, but maybe this can happen, is your video shows a bios version 1.72 and the ECP seems to be 1.33

  Package      (ID)     UEFI BIOS (BIOS ID)  ECP (ECP ID)      Rev.  Issue Date
  --------------------  -------------------  ---------------   ----  ----------
  1.73      (N1QUJ39W)  1.73 (N1QET98W)      1.36 (N1QHT54W)   01    2023/02/02
  1.72      (N1QUJ38W)  1.72 (N1QET97W)      1.36 (N1QHT54W)   01    2022/11/02
  1.71      (N1QUJ37W)  1.71 (N1QET96W)      1.36 (N1QHT54W)   01    2022/08/24
[snip]...
  1.56      (N1QUJ22W)  1.56 (N1QET81W)      1.34 (N1QHT52W)   01    2019/03/04
  1.55      (N1QUJ21W)  1.55 (N1QET80W)      1.33 (N1QHT51W)   01    2019/01/29

Maybe the refurb company did flash the (then) latest bios, but dint use normal update methods? did you by any chance did a full reset to defaults in the bios any time? I also think that running any normal update procedure might either get rid of this situation and "fix" your bios, or eh... brick it. but I think you only have a broken coms line to the ME part of your cpu

@Hunterrules0-0
Copy link
Author

Hunterrules0-0 commented Feb 16, 2023

I dont emediatly understand what the difference would be between normal boot and F12 (I know, its some efi boot menu thing) but maybe its not exposing the pci device correctly now? I might be able to look but im also afraid im hunting red herrings.

What I find odd, but maybe this can happen, is your video shows a bios version 1.72 and the ECP seems to be 1.33

  Package      (ID)     UEFI BIOS (BIOS ID)  ECP (ECP ID)      Rev.  Issue Date
  --------------------  -------------------  ---------------   ----  ----------
  1.73      (N1QUJ39W)  1.73 (N1QET98W)      1.36 (N1QHT54W)   01    2023/02/02
  1.72      (N1QUJ38W)  1.72 (N1QET97W)      1.36 (N1QHT54W)   01    2022/11/02
  1.71      (N1QUJ37W)  1.71 (N1QET96W)      1.36 (N1QHT54W)   01    2022/08/24
[snip]...
  1.56      (N1QUJ22W)  1.56 (N1QET81W)      1.34 (N1QHT52W)   01    2019/03/04
  1.55      (N1QUJ21W)  1.55 (N1QET80W)      1.33 (N1QHT51W)   01    2019/01/29

Maybe the refurb company did flash the (then) latest bios, but dint use normal update methods? did you by any chance did a full reset to defaults in the bios any time? I also think that running any normal update procedure might either get rid of this situation and "fix" your bios, or eh... brick it. but I think you only have a broken coms line to the ME part of your cpu

Personally having the intel mangement engine not working is a win for me however I still believe that more than just the coms line is broken. As that wouldnt explain why the computer was able to access and dump the me section of the bios without issue which is normally impossible with flashrom as its usally locked and cannot be dumped without an external programmer however with this laptop it does it no question which again ME is suppose to be read-protected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants