edk2-porting / edk2-msm

Broken edk2 port for Qualcomm platforms xD
https://renegade-project.tech/
BSD 2-Clause "Simplified" License
2.32k stars 439 forks source link

Oneplus 6 Qualcomm crashdump on windows shutdown #143

Closed gauravsuman007 closed 2 years ago

gauravsuman007 commented 2 years ago

Prerequisites

Description

Using the latest release edk2, everytime I shutdown windows 11 (latest updates already installed), my OnePlus 6 goes to Qualcomm crashdump mode. This happens every single time I shut down but doesn't occur when I do a restart.

I'm wondering if this is because windows 11 goes into some kind of hibernation when doing the shutdown and this is not supported? Using the restart would do a proper shut down - start cycle and so maybe it works ok. Just my theory.

Expected behavior: [Using shut down actually powers down the phone]

Actual behavior: [Phone goes into Qualcomm crashdump mode on shutdown]

txurtxil commented 2 years ago

In windows 10 pro same problem.

gauravsuman007 commented 2 years ago

I can confirm that this is an issue with the windows 11 fast startup/hybrid sleep.

I disabled this feature in windows by using the following command in an elevated powershell powercfg -h off

Now my phone shuts down without crashing. I'm still keeping this issue open until the dev team decides that they don't want to support fast startup/hybrid sleep

gauravsuman007 commented 2 years ago

Closed the issue by mistake, need feedback from the dev team before closing the issue