daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.61k stars 471 forks source link

Hibernation is possible? #90

Open InsaneTimeWatcher opened 6 years ago

InsaneTimeWatcher commented 6 years ago

After upgrade to Mojave , and install wifi+bluetooth card , I cannot boot after hibernation ("No bootable devices") , I try stricthibernate option and rtchibernateaware in clover. Earlier in High Sierra sleep not turned to hibernate mode.

influenist commented 6 years ago

You might want to check and alternatively update your hibernation settings. Please first provide the output of: pmset -g

InsaneTimeWatcher commented 6 years ago

I'm try hibernate mode 25 , 0 and 3 , after long sleep notebook is power off (no led indication power button) . Dual-boot system (windows+Mojave)

Currently in use: lidwake 1 autopoweroff 1 standbydelayhigh 10800 autopoweroffdelay 28800 proximitywake 1 standby 1 standbydelaylow 10800 ttyskeepawake 1 hibernatemode 0 powernap 1 gpuswitch 2 hibernatefile /var/vm/sleepimage Standby Battery Threshold 50 womp 1 displaysleep 10 networkoversleep 0 sleep 0 tcpkeepalive 1 halfdim 1 acwake 0 disksleep 10

stevezhengshiqi commented 6 years ago

@TD-BopoH Hi, you can try replace the BOOT and CLOVER folders in v1.2.8 release completely at first.(delete and copy) Because you have inserted wifi+bluetooth card, you can try to uninstall the card and then check the hibernation result in order to verify whether your card causes the unexpected shutdown or not. I am pretty sure v1.2.8 release has good hibernation.

InsaneTimeWatcher commented 5 years ago

I'm try fresh installing os , and latest EFI v1.3.2, with USBPorts-SolderBT.kext and without this kext ,upgrade bios from 603 to 906 , apply patch from DVMT_and_0xE2_fix (with edit clover.plist from readme) , with hibernation mode 25 not success after hibernation ("No bootable devices"). have one ssd with windows and Mojave.

stevezhengshiqi commented 5 years ago

Could you paste your Clover folder? I have the same setup, but I never have these kinds of issue.

InsaneTimeWatcher commented 5 years ago

EFI.zip

with update BIOS I updated ME too

InsaneTimeWatcher commented 5 years ago

After add manually entry In boot (uefi shell) clover , I have problem with switching to microsoft Closing the lid shuts laptop down & goes to Windows #109 I try remove microsoft folder in EFI , after hibernation boot to clover (not resume to hibernation - soft reset) Info from AppleIntelInfo.kext CFG Lock............................. : 0 (MSR not locked)

stevezhengshiqi commented 5 years ago

@timewatchers Try add boot argument dart=0 in config.plist. Could you try to upload your EFI pack directly to this issue site? I have serious delay when download from your link server and I am sorry about that.

InsaneTimeWatcher commented 5 years ago

update previous comment (zip archive), no success with dart=0

pmset -g log `Sleep/Wakes since boot at 2019-04-22 21:18:03 +0300 :0 Dark Wake Count in this sleep cycle:2

Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: E5E77307-179A-4629-B932-2465B4801903 2019-04-22 21:18:46 +0300 Sleep Entering Sleep state due to 'Software Sleep pid=90':TCPKeepAlive=active Using Batt (Charge:78%)
Sleep/Wakes since boot at 2019-04-22 21:18:03 +0300 :0 Dark Wake Count in this sleep cycle:2

Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: (null) 2019-04-22 21:19:27 +0300 Start powerd process is started
2019-04-22 21:19:27 +0300 Assertions Summary- [System: No Assertions] Using Batt
2019-04-22 21:19:27 +0300 HibernateStats hibmode=0 standbydelay=0 0
Sleep/Wakes since boot at 2019-04-22 21:19:27 +0300 :0 Dark Wake Count in this sleep cycle:2

Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: Unknown UUID 2019-04-22 21:19:27 +0300 Failure Sleep Failure [code:0xFFFFFFFF0000001F]:
2019-04-22 21:19:28 +0300 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2019-04-22 21:19:34 +0300 Assertions PID 97(hidd) Created UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968118.3" 00:00:00 id:0x0x900008025 [System: DeclUser kDisp] `

stevezhengshiqi commented 5 years ago

@timewatchers Sorry for typo, I wanted to say add argument darkwake=0 instead of dart=0. Please try.