sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.7k stars 393 forks source link

ChromeOS freezes upon showing ChromeOS logo on Lenovo Yoga 11e 4th gen #113

Open GeorgGearlQ opened 4 years ago

GeorgGearlQ commented 4 years ago

Hi. I'm having trouble getting ChromeOS to work on my Lenovo Yoga 11e 4th gen Celeron laptop. I've tried several different recoveries, including eve, pyro and rammus, and the last 4 releases of the brunch framework to build an img I could boot.

I've tried booting via USB and micro SD, with secure boot enabled and disabled, I've tried disabling devices such as Webcam and then boot, with no luck.

All the images works on my Lenovo L540 laptop, but whenever I try them on the yoga, it builds the root c, then boots, and freezes within 2 secs after showing the ChromeOS logo.

I hope there is some way to get it to work. But thanks for an awesome framework!

GeorgGearlQ commented 4 years ago

Screenshot_20200506_221719_com huawei himovie overseas This only happens when I try to boot an image made with the eve recovery.

sebanc commented 4 years ago

Hi,

Thanks for the detailed description and the printscreen.

The printscreen situation is normal as eve recovery is built with cpu instructions which are not supported by your pc. However, the fact that it does not work with the 2 other recoveries (pyro and rammus) is not normal, my first idea would be the wifi driver failing.

Could you try booting try adding "options=iwlwifi_backport" to the kernel command line (after cros_debug) ?

If it does not work, could you try adding "module_blacklist=iwlwifi" to the kernel command line ?

GeorgGearlQ commented 4 years ago

I've tried both now, no change sadly. I hope i did it right, i pressed "e" on the boot entry, added the lines each time, and pressed f10 to boot.

sebanc commented 4 years ago

Seems fine, my only doubt is when you say "added the line", the text should be following cros_debug separated by a space.

Could you also try "module_blacklist=hid_sensor_cros_compat" ?

GeorgGearlQ commented 4 years ago

Yeah, i worded it poorly, i did the way you just said. I tried to add the blacklist for the sensor, but that didnt work.

I forgot to mention, that at the moment the yoga gets stuck on the chromeos logo, the LED in the keyboard for the mute button lights up. I don't know if that is relevant or not.

I also tried your latest update from earlier today.

sebanc commented 4 years ago

The LED info is interesting, could you try booting with "module_blacklist=yoga_usage_mode,thinkpad_acpi" ?

GeorgGearlQ commented 4 years ago

It still freezes, although now the LED for the mute button is not lighting up anymore.

sebanc commented 4 years ago

Could you try the latest release ? I included a specific patch for your device, hope it works this time.

If it still does not work, could you try with "octopus" recovery image ?

GeorgGearlQ commented 4 years ago

I'm sorry for all the trouble, but it still freezes, also with the octopus recovery image.

However, it runs really well on my Lenovo L540 with dual boot. It's a bit weird, I've seen people saying they can run ChromeOS on other revisions of the yoga. My yoga got a pretty recent bios (2-3 months old), could they have changed something that would cause issues? Just a random thought.

sebanc commented 4 years ago

No worries, for now we have tried all the things i had in mind.

A more recent bios should not cause that unless its faulty in which case other distros would probably be affected too. Could you try to see if cloudready boots ?

Also, sometimes after a bios update you need to reset bios settings to default, you can also try it.

GeorgGearlQ commented 4 years ago

I have reset my bios. I tried CloudReady and it works. The light on the mute button lid up for a second, then turned off and it started to load.

sebanc commented 4 years ago

Could you send me a dmesg and an lsmod from Cloudready ?

To obtain them, run in crosh shell: "dmesg > ~/Downloads/dmesg.txt" "lsmod > ~/Downloads/lsmod.txt"

GeorgGearlQ commented 4 years ago

Here they are.

dmesg.txt lsmod.txt

sebanc commented 4 years ago

Thanks ! I had a look at them, unfortunately i cannot directly identify what could be the issue with chromeos but I will try to increase generic kernel support in the next release.

sebanc commented 4 years ago

I have just added you to the brunch-testing repo, when you have the time could you try the release that is there ?

GeorgGearlQ commented 4 years ago

Sorry, but how do find it? I can't seem to figure out where to download it.

EDIT: Nvm, saw the mail with the invite

sebanc commented 4 years ago

It's in another repository of my github account named "brunch-testing" instead of just "brunch", it's a private repository, you may need to validate something by email before you can see it.

GeorgGearlQ commented 4 years ago

I have tried booting it now, and it freezes like the other releases.

sebanc commented 4 years ago

Sorry to hear that, I hope that at some point I will figure it out

sebanc commented 4 years ago

There are some changes in the latest build which might help if you want to try: https://github.com/sebanc/brunch-testing/releases

GeorgGearlQ commented 4 years ago

I tried it, sadly no change. I'm getting another windows touch device later today that I'm gonna try and install ChromeOS on instead, hopefully that device is gonna play nice with the brunch framework.

I've tried every single chromium distro on the yoga, and only cloudready works, every other distro does the same thing and then freezes, so it seems to be a general issue with my yoga.

EDIT: That other device was a dud it seems.

GeorgGearlQ commented 4 years ago

I've bought a chromebook, but ill keep trying to install it on the Yoga once in a while with new updates.

sebanc commented 4 years ago

Nice ! Enjoy your chromebook :)