Contribute
Register

[WIP-Guide] Hp Envy 15-as133cl

Status
Not open for further replies.

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,525
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Since I have already applied Os Check fix on my dsdt, I have disabled OSID->XSID + _OSI->XOSI and removed SSDT-XOSI.aml

here's the new files

Code:
Franciss-MacBook-Air:~ francis$ kextstat|grep -y acpiplat

   15    2 0xffffff7f82518000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>

Franciss-MacBook-Air:~ francis$ kextstat|grep -y appleintelcpu

Franciss-MacBook-Air:~ francis$ kextstat|grep -y applelpc

Franciss-MacBook-Air:~ francis$ kextstat|grep -y applehda

   93    1 0xffffff7f8212f000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <92 91 90 12 7 6 5 4 3 1>

  130    0 0xffffff7f822b3000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <129 100 93 92 91 90 6 5 4 3 1>

Franciss-MacBook-Air:~ francis$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Franciss-MacBook-Air:~ francis$ pmset -g assertions

2017-11-03 13:03:14 -0400

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 95(hidd): [0x0000001200098056] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968062.3"

    Timeout will fire in 600 secs Action=TimeoutActionRelease

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Franciss-MacBook-Air:~ francis$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No

Shutdown fix patch may not be a good idea (it is a rather drastic patch). Try without.
 
Joined
Aug 14, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
here we go, dsdt patched without the shutdown fix v2

shutdown is still not working :/

Code:
Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y acpiplat

   15    2 0xffffff7f82529000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y appleintelcpu

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applelpc

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applehda

  103    1 0xffffff7f82140000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <102 101 90 12 7 6 5 4 3 1>

  133    0 0xffffff7f822c4000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <132 103 102 101 96 90 6 5 4 3 1>

  135    0 0xffffff7f8215f000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (280.12) 2D6BB587-0D94-3E6D-AFBE-A4A03F37A6A9 <4 3>

Franciss-MacBook-Air:RehabMan francis$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Franciss-MacBook-Air:RehabMan francis$ pmset -g assertions

2017-11-03 13:19:35 -0400

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 95(hidd): [0x0000000c0009804a] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968047.3"

    Timeout will fire in 120 secs Action=TimeoutActionRelease

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Franciss-MacBook-Air:RehabMan francis$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No
 

Attachments

  • ioreg.zip
    601.2 KB · Views: 57
  • RehabMan.zip
    73.8 KB · Views: 50
  • CLOVER.zip
    1.8 MB · Views: 51

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,525
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
here we go, dsdt patched without the shutdown fix v2

shutdown is still not working :/

Code:
Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y acpiplat

   15    2 0xffffff7f82529000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y appleintelcpu

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applelpc

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applehda

  103    1 0xffffff7f82140000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <102 101 90 12 7 6 5 4 3 1>

  133    0 0xffffff7f822c4000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <132 103 102 101 96 90 6 5 4 3 1>

  135    0 0xffffff7f8215f000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (280.12) 2D6BB587-0D94-3E6D-AFBE-A4A03F37A6A9 <4 3>

Franciss-MacBook-Air:RehabMan francis$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Franciss-MacBook-Air:RehabMan francis$ pmset -g assertions

2017-11-03 13:19:35 -0400

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 95(hidd): [0x0000000c0009804a] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968047.3"

    Timeout will fire in 120 secs Action=TimeoutActionRelease

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Franciss-MacBook-Air:RehabMan francis$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No

kextcache output is missing.

You can get verbose shutdown by booting verbose. The logs there may provide more information which may help you.
 
Joined
Aug 14, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
What?! I didnt manually change the timestamp... Whats wrong with it?! ><

I did update my post one minute later with the right clover folder (i had forgot to do once again the f2/f4 combo)

i'll try again in 30 minutes...


Sorry the terminal output, since i didnt change the kexts in s/l/e, i thought i didnt need to output that...
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,525
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
What?! I didnt manually change the timestamp... Whats wrong with it?! ><

I did update my post one minute later with the right clover folder (i had forgot to do once again the f2/f4 combo)

i'll try again in 30 minutes...


Sorry the terminal output, since i didnt change the kexts in s/l/e, i thought i didnt need to output that...

Correct procedures for collecting EFI/Clover:
- reboot
- press F2 and F4 in Clover
- finish booting
- mount EFI
- copy EFI/Clover on the EFI partition to the clipboard
- paste into the desktop
- delete Clover/themes from the desktop copy
- use Finder right-click "Compress" option to create the ZIP

That procedure will preserve the timestamps on all files on your EFI/Clover.
 
Joined
Aug 14, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
yes thats what I did/do :/

anyway I tried filming the verbose shutdown in slow motion.. but I can't see anything wrong in the shutdown output.. is there anyway I can get a text out of it??? like a shutdown.log??

thank you!
 
Joined
Aug 14, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
Here we go!! Thats slow motion video for you!!

I cannot have a better picture...
 

Attachments

  • Screenshot_2017-11-03-22-08-34.png
    Screenshot_2017-11-03-22-08-34.png
    2.7 MB · Views: 113

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,525
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Here we go!! Thats slow motion video for you!!

I cannot have a better picture...

After "CPU halted", everthing should stop and the laptop should shutdown.
No further ideas for you.
Perhaps you should do some google searching for others with the same laptop.
 
Joined
Aug 14, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
okay well.. i've started reading my preboot.log and disable thing that was not needed... and moving more thing to hotpatch..

So right now.. based on your hotpatch guide...

Code:
DSDT/Fixes provide fixed function ACPI patching. Each "Fix" can do a particular kind of patching that can be used instead of typical patching you might do with MaciASL and static patching. For example, "IRQ Fix" can be accomplished with "FixHPET_0010" "FixIPIC_0040" "FIX_RTC_20000" and "FIX_TMR_40000". As an other example, "Fix _WAK Arg0 v2" can be accomplished with "FIX_WAK_200000". You can read the Clover wiki for more information on each patch. Most of the time, there are not many DSDT "Fixes" needed for basic functionality. DSDT "Fixes" are useful for implementing patches that are difficult or impossible to implement with ACPI/DSDT/Patches or additional SSDTs.

Removed "HPET FIX, IRQ Fix and RTC Fix" by using
FixHPET_0010, FIX_RTC_20000, FixIPIC_0040 and FIX_TMR_40000

Also removed "Fix _WAK Arg0 v2" by using
FIX_WAK_200000

And I tried using The shutdown fix using both
Fix_Shutdown0004 and Halt Enabler

So for now i've only patched my dsdt with the following :
Comment Out External ‘BNUM’ Ref
USB3_PRW 0x6D Skylake (instant wake)
Fix Mutex with non-Zero SyncLevel
add patched Q13 method for brightness keys

Did i assumed wrong?

Edit...
From what i can see now, i don't need Fix Mutex since all the mutex are already returning 0x00 :)

Edit2..
I don't know how to port/hotpatch this :
--------USB3_PRW 0x6D Skylake (instant wake)

I want to hotpatch it so I won't have to comment out something in my dsdt... I feel like this might be why I can't shutdown it...

So right now I got this setup :

Removed "HPET FIX, IRQ Fix and RTC Fix" by using
FixHPET_0010, FIX_RTC_20000, FixIPIC_0040 and FIX_TMR_40000

Also removed "Fix _WAK Arg0 v2" by using
FIX_WAK_200000

And I tried using The shutdown fix using both
Fix_Shutdown0004 and Halt Enabler

Renamed _Q13 to XQ13 and added ssdt-hack.aml (with only brightness keys method.. and slightly modded it.)
but it was pretty close to your example :eek:

DSDT PATCHES :
Comment Out External ‘BNUM’ Ref
USB3_PRW 0x6D Skylake (instant wake)

Code:
Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y acpiplat

   15    2 0xffffff7f82530000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y appleintelcpu

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applelpc

Franciss-MacBook-Air:RehabMan francis$ kextstat|grep -y applehda

  105    1 0xffffff7f82147000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <104 103 90 12 7 6 5 4 3 1>

  131    0 0xffffff7f822cb000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <130 106 105 104 103 90 6 5 4 3 1>

  133    0 0xffffff7f82166000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (280.12) 2D6BB587-0D94-3E6D-AFBE-A4A03F37A6A9 <4 3>

Franciss-MacBook-Air:RehabMan francis$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Franciss-MacBook-Air:RehabMan francis$ pmset -g assertions

2017-11-05 05:56:16 -0500 

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     1

   NetworkClientActive            0

Listed by owning process:

   pid 472(AddressBookSourceSync): [0x0000009900018138] 00:00:18 PreventUserIdleSystemSleep named: "Address Book Source Sync" 

    Timeout will fire in 1781 secs Action=TimeoutActionTurnOff

   pid 95(hidd): [0x0000001100098052] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968078.3" 

    Timeout will fire in 600 secs Action=TimeoutActionRelease

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Franciss-MacBook-Air:RehabMan francis$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No

Franciss-MacBook-Air:RehabMan francis$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a846860 [0x7fff8fa5a570]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a7db660 [0x7fff8fa5a570]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a6466c0 [0x7fff8fa5a570]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a695810 [0x7fff8fa5a570]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a694b20 [0x7fff8fa5a570]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc917c24c60 [0x7fff8fa5a570]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc917f3be60 [0x7fff8fa5a570]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc917f3a900 [0x7fff8fa5a570]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc917dada30 [0x7fff8fa5a570]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a66bd70 [0x7fff8fa5a570]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a61ac00 [0x7fff8fa5a570]> { URL = "FakePCIID.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.FakePCIID" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a623570 [0x7fff8fa5a570]> { URL = "FakePCIID_Broadcom_WiFi.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Broadcom-WiFi" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a277c80 [0x7fff8fa5a570]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a075580 [0x7fff8fa5a570]> { URL = "PinConfigs.kext/ -- file:///System/Library/Extensions/AppleALC.kext/Contents/PlugIns/", ID = "as.vit9696.PinConfigs" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc91a0749e0 [0x7fff8fa5a570]> { URL = "AppleALC.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.AppleALC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fc917c07830 [0x7fff8fa5a570]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }

KernelCache ID: F191E0F79C18AC57897452228F75464A
 

Attachments

  • CLOVER.zip
    1.8 MB · Views: 55
  • RehabMan.zip
    74.2 KB · Views: 49
  • ioreg.zip
    607.2 KB · Views: 63
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,525
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Also removed "Fix _WAK Arg0 v2" by using
FIX_WAK_200000

Keep in mind that particular fix is not even needed with current version of macOS/OS X.

And I tried using The shutdown fix using both
Fix_Shutdown0004 and Halt Enabler

You probably don't need either.

I don't know how to port/hotpatch this :
--------USB3_PRW 0x6D Skylake (instant wake)

Patching _PRW is one of the examples explained in the hotpatch guide.
 
Status
Not open for further replies.
Top