Contribute
Register

can't install or upgrade sierra

Status
Not open for further replies.
Joined
Nov 7, 2014
Messages
186
Motherboard
ASUS Z370-A
CPU
i7-8700K
Graphics
Radeon VII
Mac
  1. iMac
Hi,Rehabman, long time no see . Maybe you don't remember me , i asked you for help two years ago with the title "
volume adjustment and display brightness control " . Finally i installed Yosemite and Ei capitan even Sierra once successfully (see my laptop in my profile). Those days i got one 4K monitor as the external display for one of the x411 laptop folks worked in 10.12 (i got his efi folder) , so i planned to upgrade from Yosemite to Sierra. But without luck , i have tryed fresh install and upgrade , the same result stucking in there as shown below . Any idea ? great rehabman
3f0dff5d5db12eb2e7b0ccf7065fff19
 
Hi,Rehabman, long time no see . Maybe you don't remember me , i asked you for help two years ago with the title "
volume adjustment and display brightness control " . Finally i installed Yosemite and Ei capitan even Sierra once successfully (see my laptop in my profile). Those days i got one 4K monitor as the external display for one of the x411 laptop folks worked in 10.12 (i got his efi folder) , so i planned to upgrade from Yosemite to Sierra. But without luck , i have tryed fresh install and upgrade , the same result stucking in there as shown below . Any idea ? great rehabman
3f0dff5d5db12eb2e7b0ccf7065fff19

Follow the Clover guide linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

Although you should read the FAQ for an overview of issues, the Clover guide is linked from the first question: "Q. Where do I start?", just after the bold face "Clover Guide".
Here is a direct link, just to be clear:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Also, your profile must be filled out with complete details as requested in the FAQ, again under "Q. Where do I start?". All seven details requested are equally important.

And if you have an issue (after following the guide), or on any other problem, you must provide a detailed description of the problem including information that helps us understand what you're doing. Always attach "Problem Reporting" files as per FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
The required files and data are fully detailed in the last question in the FAQ:
"Q. What are typical "Problem Reporting" files?"
 
Follow the Clover guide linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

Although you should read the FAQ for an overview of issues, the Clover guide is linked from the first question: "Q. Where do I start?", just after the bold face "Clover Guide".
Here is a direct link, just to be clear:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Also, your profile must be filled out with complete details as requested in the FAQ, again under "Q. Where do I start?". All seven details requested are equally important.

And if you have an issue (after following the guide), or on any other problem, you must provide a detailed description of the problem including information that helps us understand what you're doing. Always attach "Problem Reporting" files as per FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
The required files and data are fully detailed in the last question in the FAQ:
"Q. What are typical "Problem Reporting" files?"
Hi ,rehabman thank you for your reply and sorry for the delay .Those two days i having been trying all by myself. And i have worked something out . I've installed Sierra successfully,and taken into the 4k resolution. Unfortunately, i can't move on without your help.
I noticed some useful stuff in your post “http://www.tonymacx86.com/el-capita...aq-read-first-laptop-frequent-questions.html” which i think it's guidance.
Q. Are QHD+/UHD laptop displays supported?

Requirements for QHD+/UHD displays:
- patched IOKit framework (to remove pixel clock limitations)
- DVMT-prealloc set to 96MB or 128MB in BIOS
- Haswell: ig-platform-id 0xa2e0008
- Haswell: framebuffer configuration for 0xa2e0008 patched to match DVMT-prealloc value (Broadwell determines BIOS size dynamically)
- "normal" requirements for Haswell/Broadwell systems

Refer to this post as an example: http://www.tonymacx86.com/yosemite-...novo-yoga-2-pro-hd4400-qhd-qe-ci-working.html

For patching IOKit, clear instructions for using the-darkvoid's XPS9530.sh script are in the Y50 guide: http://www.tonymacx86.com/el-capita...-y50-uhd-1080p-using-clover-uefi-10-11-a.html

IMPORTANT!: Contrary to many of the guides you will read, Windows is NOT a valid way to determine what DVMT-prealloc is set to. There is no correlation, especially with Windows 10.

What i've done :
  • Haswell: ig-platform-id 0xa2e0008 (config.plist inject)
  • DVMT-prealloc set to 96MB or 128MB in BIOS
i used "setup_var 0x2d2 0x4" in my case ( for 128MB) ,followed the guide linked in the posts . i found my DVMT pre-allocated memory like this
Code:
0x33D61         Setting: DVMT Pre-Allocated, Variable: 0x2D2 {05 A6 D1 04 E3 04 1E 02 01 00 D2 02 10 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x33D87             Option: 32M, Value: 0x1 {09 0E D2 04 30 00 01 00 00 00 00 00 00 00}
0x33D95             Option: 64M, Value: 0x2 {09 0E D3 04 00 00 02 00 00 00 00 00 00 00}
0x33DA3             Option: 96M, Value: 0x3 {09 0E D4 04 00 00 03 00 00 00 00 00 00 00}
0x33DB1             Option: 128M, Value: 0x4 {09 0E D5 04 00 00 04 00 00 00 00 00 00 00}
0x33DBF             Option: 160M, Value: 0x5 {09 0E D6 04 00 00 05 00 00 00 00 00 00 00}
0x33DCD             Option: 192M, Value: 0x6 {09 0E D7 04 00 00 06 00 00 00 00 00 00 00}
0x33DDB             Option: 224M, Value: 0x7 {09 0E D8 04 00 00 07 00 00 00 00 00 00 00}
0x33DE9             Option: 256M, Value: 0x8 {09 0E D9 04 00 00 08 00 00 00 00 00 00 00}
0x33DF7             Option: 288M, Value: 0x9 {09 0E DA 04 00 00 09 00 00 00 00 00 00 00}
0x33E05             Option: 320M, Value: 0xA {09 0E DB 04 00 00 0A 00 00 00 00 00 00 00}
0x33E13             Option: 352M, Value: 0xB {09 0E DC 04 00 00 0B 00 00 00 00 00 00 00}
0x33E21             Option: 384M, Value: 0xC {09 0E DD 04 00 00 0C 00 00 00 00 00 00 00}
0x33E2F             Option: 416M, Value: 0xD {09 0E DE 04 00 00 0D 00 00 00 00 00 00 00}
0x33E3D             Option: 448M, Value: 0xE {09 0E DF 04 00 00 0E 00 00 00 00 00 00 00}
0x33E4B             Option: 480M, Value: 0xF {09 0E E0 04 00 00 0F 00 00 00 00 00 00 00}
0x33E59             Option: 512M, Value: 0x10 {09 0E E1 04 00 00 10 00 00 00 00 00 00 00}
0x33E67             Option: 1024M, Value: 0x11 {09 0E E2 04 00 00 11 00 00 00 00 00 00 00}
0x33E75         End of Options {29 02}
According to what i'm sufferring ,maybe some parts of my operations weren't right . Plz help me point it out.
  • patched IOKit framework (to remove pixel clock limitations)
i digged into the XPS9530.sh script .
Patching the IOKit framework

If you have the UHD/4K display, you must defeat the IOKit framework pixel clock checks.

Fortunately, the-darkvoid has already figured out how to patch for this and has provided a nice script in his Dell XPS 9530 repo.

To use it, copy the script and execute it:
Code (Text):

cd ~/Projects/y50.git
curl -o XPS9530.sh https://raw.githubusercontent.com/the-darkvoid/XPS9530-OSX/master/XPS9530.sh
chmod +x XPS9530.sh
./XPS9530.sh --patch-pixelclock
and execute it in terminal .
Code:
# OS X - 10.12
    sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
    sudo codesign -f -s - /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
after that, restart the laptop ,it stucks at apple logo. So i found another way using CoreDisplayFixup.kext (https://github.com/PMheart/CoreDisplayFixup) to across pixel clock check. Am i doing right ?
  • Haswell: framebuffer configuration for 0xa2e0008 patched to match DVMT-prealloc value (Broadwell determines BIOS size dynamically)
Everytime i Added your patch
Code:
<dict>
                <key>Comment</key>
                <string>Enable 128MB DVMT-prealloc, 0x0a2e0008</string>
                <key>Disabled</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
                <data>CAAuCgEDAwMAAAAE</data>
                <key>Replace</key>
                <data>CAAuCgEDAwMAAAAI</data>
            </dict>
system died. If i was wrong ,tell me plz.
  • "normal" requirements for Haswell/Broadwell systems ( ? maybe done or not plz let me know after checking my attached files)
So far, i can see my external display under 3840x2160@30hz using dp port(should be 60hz). But still get some issues:
After i boot ,here i am (with the internal display a splash screen ,and the external display screen blurred)
e2f38ec6cb82a5fac301d952dea770f0


then i type the password and enter, check the display .
affb01959c1fa94828a390a990591113

ee260ecf1cc5a21a8132a65a3eec67a8


I've attached my efi files 、 ioreg and dsdt ssdts. Honestly i am out of solutions . Any suggestion will be ok .Thanks in advanced .
 

Attachments

  • EFI.zip
    16.3 MB · Views: 73
  • hd5200+4k.zip
    602.2 KB · Views: 77
Last edited:
Hi ,rehabman thank you for your reply and sorry for the delay .Those two days i having been trying all by myself. And i have worked something out . I've installed Sierra successfully,and taken into the 4k resolution. Unfortunately, i can't move on without your help.
I noticed some useful stuff in your post “http://www.tonymacx86.com/el-capita...aq-read-first-laptop-frequent-questions.html” which i think it's guidance.


What i've done :
  • Haswell: ig-platform-id 0xa2e0008 (config.plist inject)
  • DVMT-prealloc set to 96MB or 128MB in BIOS
i used "setup_var 0x2d2 0x4" in my case ( for 128MB) ,followed the guide linked in the posts . i found my DVMT pre-allocated memory like this
Code:
0x33D61         Setting: DVMT Pre-Allocated, Variable: 0x2D2 {05 A6 D1 04 E3 04 1E 02 01 00 D2 02 10 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x33D87             Option: 32M, Value: 0x1 {09 0E D2 04 30 00 01 00 00 00 00 00 00 00}
0x33D95             Option: 64M, Value: 0x2 {09 0E D3 04 00 00 02 00 00 00 00 00 00 00}
0x33DA3             Option: 96M, Value: 0x3 {09 0E D4 04 00 00 03 00 00 00 00 00 00 00}
0x33DB1             Option: 128M, Value: 0x4 {09 0E D5 04 00 00 04 00 00 00 00 00 00 00}
0x33DBF             Option: 160M, Value: 0x5 {09 0E D6 04 00 00 05 00 00 00 00 00 00 00}
0x33DCD             Option: 192M, Value: 0x6 {09 0E D7 04 00 00 06 00 00 00 00 00 00 00}
0x33DDB             Option: 224M, Value: 0x7 {09 0E D8 04 00 00 07 00 00 00 00 00 00 00}
0x33DE9             Option: 256M, Value: 0x8 {09 0E D9 04 00 00 08 00 00 00 00 00 00 00}
0x33DF7             Option: 288M, Value: 0x9 {09 0E DA 04 00 00 09 00 00 00 00 00 00 00}
0x33E05             Option: 320M, Value: 0xA {09 0E DB 04 00 00 0A 00 00 00 00 00 00 00}
0x33E13             Option: 352M, Value: 0xB {09 0E DC 04 00 00 0B 00 00 00 00 00 00 00}
0x33E21             Option: 384M, Value: 0xC {09 0E DD 04 00 00 0C 00 00 00 00 00 00 00}
0x33E2F             Option: 416M, Value: 0xD {09 0E DE 04 00 00 0D 00 00 00 00 00 00 00}
0x33E3D             Option: 448M, Value: 0xE {09 0E DF 04 00 00 0E 00 00 00 00 00 00 00}
0x33E4B             Option: 480M, Value: 0xF {09 0E E0 04 00 00 0F 00 00 00 00 00 00 00}
0x33E59             Option: 512M, Value: 0x10 {09 0E E1 04 00 00 10 00 00 00 00 00 00 00}
0x33E67             Option: 1024M, Value: 0x11 {09 0E E2 04 00 00 11 00 00 00 00 00 00 00}
0x33E75         End of Options {29 02}
According to what i'm sufferring ,maybe some parts of my operations weren't right . Plz help me point it out.
  • patched IOKit framework (to remove pixel clock limitations)
i digged into the XPS9530.sh script .
and execute it in terminal .
Code:
# OS X - 10.12
    sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
    sudo codesign -f -s - /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
after that, restart the laptop ,it stucks at apple logo. So i found another way using CoreDisplayFixup.kext (https://github.com/PMheart/CoreDisplayFixup) to across pixel clock check. Am i doing right ?
  • Haswell: framebuffer configuration for 0xa2e0008 patched to match DVMT-prealloc value (Broadwell determines BIOS size dynamically)
Everytime i Added your patch
Code:
<dict>
                <key>Comment</key>
                <string>Enable 128MB DVMT-prealloc, 0x0a2e0008</string>
                <key>Disabled</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
                <data>CAAuCgEDAwMAAAAE</data>
                <key>Replace</key>
                <data>CAAuCgEDAwMAAAAI</data>
            </dict>
system died. If i was wrong ,tell me plz.
  • "normal" requirements for Haswell/Broadwell systems ( ? maybe done or not plz let me know after checking my attached files)
So far, i can see my external display under 3840x2160@30hz using dp port(should be 60hz). But still get some issues:
After i boot ,here i am (with the internal display a splash screen ,and the external display screen blurred)
e2f38ec6cb82a5fac301d952dea770f0


then i type the password and enter, check the display .
affb01959c1fa94828a390a990591113

ee260ecf1cc5a21a8132a65a3eec67a8


I've attached my efi files 、 ioreg and dsdt ssdts. Honestly i am out of solutions . Any suggestion will be ok .Thanks in advanced .

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
ok ,here are my new attached files and outputs.
Code:
Last login: Sat Oct 28 22:30:45 on ttys000
shineedeMacBook-Pro:~ shinee$
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82a6d000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y appleintelcpu
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y applelpc
   87    0 0xffffff7f82320000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <78 12 5 4 3>
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y applehda
   94    1 0xffffff7f8276e000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 83 12 7 6 5 4 3 1>
  110    0 0xffffff7f828f0000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <109 95 94 93 92 83 6 5 4 3 1>
  111    0 0xffffff7f8276a000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (279.48) 14690424-1048-3F1D-8A3D-41657C97EB67 <4 3>
shineedeMacBook-Pro:~ shinee$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
shineedeMacBook-Pro:~ shinee$ pmset -g assertions
2017-10-28 22:33:49 +0800
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 684(AddressBookSourceSync): [0x0000017e00018144] 00:00:19 PreventUserIdleSystemSleep named: "Address Book Source Sync"
    Timeout will fire in 1781 secs Action=TimeoutActionTurnOff
   pid 68(diskarbitrationd): [0x0000000a0001803e] 00:06:32 PreventUserIdleSystemSleep named: "com.apple.DiskArbitration.diskarbitrationd"
   pid 101(hidd): [0x0000000e0009804a] 00:06:27 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968148.17"
    Timeout will fire in 595 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.1a100000 owner=IOUSBHostDevice
   id=501  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice
   id=504  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.14300000 owner=USB Optical Mouse
   id=505  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.14200000 owner=USB Keyboard
Idle sleep preventers: IODisplayWrangler
shineedeMacBook-Pro:~ shinee$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: Yes

Code:
Last login: Sat Oct 28 22:33:47 on ttys000
shineedeMacBook-Pro:~ shinee$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
KernelCache ID: 30C831CFC51135469E43F45549817D65

Thank you !!
 

Attachments

  • EFI.zip
    3.1 MB · Views: 102
  • RehabMan.zip
    24 KB · Views: 58
  • shinee的MacBook Pro.ioreg
    4.7 MB · Views: 99
ok ,here are my new attached files and outputs.
Code:
Last login: Sat Oct 28 22:30:45 on ttys000
shineedeMacBook-Pro:~ shinee$
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82a6d000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y appleintelcpu
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y applelpc
   87    0 0xffffff7f82320000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <78 12 5 4 3>
shineedeMacBook-Pro:~ shinee$ kextstat|grep -y applehda
   94    1 0xffffff7f8276e000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 83 12 7 6 5 4 3 1>
  110    0 0xffffff7f828f0000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <109 95 94 93 92 83 6 5 4 3 1>
  111    0 0xffffff7f8276a000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (279.48) 14690424-1048-3F1D-8A3D-41657C97EB67 <4 3>
shineedeMacBook-Pro:~ shinee$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
shineedeMacBook-Pro:~ shinee$ pmset -g assertions
2017-10-28 22:33:49 +0800
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 684(AddressBookSourceSync): [0x0000017e00018144] 00:00:19 PreventUserIdleSystemSleep named: "Address Book Source Sync"
    Timeout will fire in 1781 secs Action=TimeoutActionTurnOff
   pid 68(diskarbitrationd): [0x0000000a0001803e] 00:06:32 PreventUserIdleSystemSleep named: "com.apple.DiskArbitration.diskarbitrationd"
   pid 101(hidd): [0x0000000e0009804a] 00:06:27 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968148.17"
    Timeout will fire in 595 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.1a100000 owner=IOUSBHostDevice
   id=501  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice
   id=504  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.14300000 owner=USB Optical Mouse
   id=505  level=255 0x4=USB mod=01/01/1970, 08:00 description=com.apple.usb.externaldevice.14200000 owner=USB Keyboard
Idle sleep preventers: IODisplayWrangler
shineedeMacBook-Pro:~ shinee$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: Yes

Code:
Last login: Sat Oct 28 22:33:47 on ttys000
shineedeMacBook-Pro:~ shinee$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
KernelCache ID: 30C831CFC51135469E43F45549817D65

Thank you !!

The ioreg shows no internal display detected.
Try injecting EDID (read Clover documentation regarding config.plist/Graphics/EDID).
 
OK .I am back with some question.
I set config.plist like this (use DarwinDumper&FixEDID )
Code:
<key>Graphics</key>
    <dict>
        <key>EDID</key>
        <dict>
            <key>Custom</key>
            <data>
            AP///////wAGEBKgAAAAABwWAQS1MBt4Im+xp1VMniUMUFSlSwDR
            ANHAswCpQIGAgQBxT+HATdAAoPBwPoAwIDUACDYhAAAaBHSAGHFw
            WoCwWIoACDYhAAAeAAAA/ABpTWFjCiAgICAgICAgAAAA/QAdSx+M
            NgEKICAgICAgAXwCAx3xUBAfIAUUBBMSEQMCFhUHBgEjCR8HgwEA
            AKNmAKDwcB+AMCA1AAg2IQAAGlZeAKCgoClQMCA1AAg2IQAAGgI6
            gBhxOC1AWCxFAAg2IQAAHgEdAHJR0B4gbihVAAg2IQAAHgAAAAAA
            AAAAAAAAAAAAAAAAAAAAAAAAAAAArw==
            </data>
            <key>Inject</key>
            <true/>
            <key>ProductID</key>
            <string>45061</string>
            <key>VendorID</key>
            <string>1552</string>
        </dict>
then Mac os stucks here . (remove it will be ok)
weird ah?
 

Attachments

  • IMG_20171028_232909.jpg
    IMG_20171028_232909.jpg
    2.1 MB · Views: 67
OK .I am back with some question.
I set config.plist like this (use DarwinDumper&FixEDID )
Code:
<key>Graphics</key>
    <dict>
        <key>EDID</key>
        <dict>
            <key>Custom</key>
            <data>
            AP///////wAGEBKgAAAAABwWAQS1MBt4Im+xp1VMniUMUFSlSwDR
            ANHAswCpQIGAgQBxT+HATdAAoPBwPoAwIDUACDYhAAAaBHSAGHFw
            WoCwWIoACDYhAAAeAAAA/ABpTWFjCiAgICAgICAgAAAA/QAdSx+M
            NgEKICAgICAgAXwCAx3xUBAfIAUUBBMSEQMCFhUHBgEjCR8HgwEA
            AKNmAKDwcB+AMCA1AAg2IQAAGlZeAKCgoClQMCA1AAg2IQAAGgI6
            gBhxOC1AWCxFAAg2IQAAHgEdAHJR0B4gbihVAAg2IQAAHgAAAAAA
            AAAAAAAAAAAAAAAAAAAAAAAAAAAArw==
            </data>
            <key>Inject</key>
            <true/>
            <key>ProductID</key>
            <string>45061</string>
            <key>VendorID</key>
            <string>1552</string>
        </dict>
then Mac os stucks here . (remove it will be ok)
weird ah?

The EDID shows it is a UHD display.
Keep in mind the need to defeat the pixel clock limit.
See FAQ.
 
yes,it's a 24inch 3840x2160 @60hz display.
To make it work , i've done :
  • Haswell: ig-platform-id 0xa2e0008 (config.plist inject)
  • DVMT-prealloc set to 96MB or 128MB in BIOS
i used "setup_var 0x2d2 0x4" in my case ( for 128MB) ,followed the guide linked in the posts . i found my DVMT pre-allocated memory like this
Code:
0x33D61         Setting: DVMT Pre-Allocated, Variable: 0x2D2 {05 A6 D1 04 E3 04 1E 02 01 00 D2 02 10 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x33D87             Option: 32M, Value: 0x1 {09 0E D2 04 30 00 01 00 00 00 00 00 00 00}
0x33D95             Option: 64M, Value: 0x2 {09 0E D3 04 00 00 02 00 00 00 00 00 00 00}
0x33DA3             Option: 96M, Value: 0x3 {09 0E D4 04 00 00 03 00 00 00 00 00 00 00}
0x33DB1             Option: 128M, Value: 0x4 {09 0E D5 04 00 00 04 00 00 00 00 00 00 00}
0x33DBF             Option: 160M, Value: 0x5 {09 0E D6 04 00 00 05 00 00 00 00 00 00 00}
0x33DCD             Option: 192M, Value: 0x6 {09 0E D7 04 00 00 06 00 00 00 00 00 00 00}
0x33DDB             Option: 224M, Value: 0x7 {09 0E D8 04 00 00 07 00 00 00 00 00 00 00}
0x33DE9             Option: 256M, Value: 0x8 {09 0E D9 04 00 00 08 00 00 00 00 00 00 00}
0x33DF7             Option: 288M, Value: 0x9 {09 0E DA 04 00 00 09 00 00 00 00 00 00 00}
0x33E05             Option: 320M, Value: 0xA {09 0E DB 04 00 00 0A 00 00 00 00 00 00 00}
0x33E13             Option: 352M, Value: 0xB {09 0E DC 04 00 00 0B 00 00 00 00 00 00 00}
0x33E21             Option: 384M, Value: 0xC {09 0E DD 04 00 00 0C 00 00 00 00 00 00 00}
0x33E2F             Option: 416M, Value: 0xD {09 0E DE 04 00 00 0D 00 00 00 00 00 00 00}
0x33E3D             Option: 448M, Value: 0xE {09 0E DF 04 00 00 0E 00 00 00 00 00 00 00}
0x33E4B             Option: 480M, Value: 0xF {09 0E E0 04 00 00 0F 00 00 00 00 00 00 00}
0x33E59             Option: 512M, Value: 0x10 {09 0E E1 04 00 00 10 00 00 00 00 00 00 00}
0x33E67             Option: 1024M, Value: 0x11 {09 0E E2 04 00 00 11 00 00 00 00 00 00 00}
0x33E75         End of Options {29 02}
According to what i'm sufferring ,maybe some parts of my operations weren't right . Plz help me point it out.
  • patched IOKit framework (to remove pixel clock limitations)
i digged into the XPS9530.sh script .
Patching the IOKit framework

If you have the UHD/4K display, you must defeat the IOKit framework pixel clock checks.

Fortunately, the-darkvoid has already figured out how to patch for this and has provided a nice script in his Dell XPS 9530 repo.

To use it, copy the script and execute it:
Code (Text):

cd ~/Projects/y50.git
curl -o XPS9530.sh https://raw.githubusercontent.com/the-darkvoid/XPS9530-OSX/master/XPS9530.sh
chmod +x XPS9530.sh
./XPS9530.sh --patch-pixelclock
and execute it in terminal .
Code:
# OS X - 10.12
    sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
    sudo codesign -f -s - /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
after that, restart the laptop ,it stucks at apple logo. So i found another way using CoreDisplayFixup.kext (https://github.com/PMheart/CoreDisplayFixup) to across pixel clock check. Am i doing right ?
  • Haswell: framebuffer configuration for 0xa2e0008 patched to match DVMT-prealloc value (Broadwell determines BIOS size dynamically)
Everytime i Added your patch
Code:
<dict>
                <key>Comment</key>
                <string>Enable 128MB DVMT-prealloc, 0x0a2e0008</string>
                <key>Disabled</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
                <data>CAAuCgEDAwMAAAAE</data>
                <key>Replace</key>
                <data>CAAuCgEDAwMAAAAI</data>
            </dict>
system died. If i was wrong ,tell me plz.
  • "normal" requirements for Haswell/Broadwell systems ( ? maybe done or not plz let me know after checking my attached files)
So far, i can see my external display under 3840x2160@30hz (should be 60hz)using dp port. But still get some issues:
After i boot ,here i am (with the internal display a splash screen ,and the external display screen blurred)
 
yes,it's a 24inch 3840x2160 @60hz display.
To make it work , i've done :
  • Haswell: ig-platform-id 0xa2e0008 (config.plist inject)
  • DVMT-prealloc set to 96MB or 128MB in BIOS
i used "setup_var 0x2d2 0x4" in my case ( for 128MB) ,followed the guide linked in the posts . i found my DVMT pre-allocated memory like this
Code:
0x33D61         Setting: DVMT Pre-Allocated, Variable: 0x2D2 {05 A6 D1 04 E3 04 1E 02 01 00 D2 02 10 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
0x33D87             Option: 32M, Value: 0x1 {09 0E D2 04 30 00 01 00 00 00 00 00 00 00}
0x33D95             Option: 64M, Value: 0x2 {09 0E D3 04 00 00 02 00 00 00 00 00 00 00}
0x33DA3             Option: 96M, Value: 0x3 {09 0E D4 04 00 00 03 00 00 00 00 00 00 00}
0x33DB1             Option: 128M, Value: 0x4 {09 0E D5 04 00 00 04 00 00 00 00 00 00 00}
0x33DBF             Option: 160M, Value: 0x5 {09 0E D6 04 00 00 05 00 00 00 00 00 00 00}
0x33DCD             Option: 192M, Value: 0x6 {09 0E D7 04 00 00 06 00 00 00 00 00 00 00}
0x33DDB             Option: 224M, Value: 0x7 {09 0E D8 04 00 00 07 00 00 00 00 00 00 00}
0x33DE9             Option: 256M, Value: 0x8 {09 0E D9 04 00 00 08 00 00 00 00 00 00 00}
0x33DF7             Option: 288M, Value: 0x9 {09 0E DA 04 00 00 09 00 00 00 00 00 00 00}
0x33E05             Option: 320M, Value: 0xA {09 0E DB 04 00 00 0A 00 00 00 00 00 00 00}
0x33E13             Option: 352M, Value: 0xB {09 0E DC 04 00 00 0B 00 00 00 00 00 00 00}
0x33E21             Option: 384M, Value: 0xC {09 0E DD 04 00 00 0C 00 00 00 00 00 00 00}
0x33E2F             Option: 416M, Value: 0xD {09 0E DE 04 00 00 0D 00 00 00 00 00 00 00}
0x33E3D             Option: 448M, Value: 0xE {09 0E DF 04 00 00 0E 00 00 00 00 00 00 00}
0x33E4B             Option: 480M, Value: 0xF {09 0E E0 04 00 00 0F 00 00 00 00 00 00 00}
0x33E59             Option: 512M, Value: 0x10 {09 0E E1 04 00 00 10 00 00 00 00 00 00 00}
0x33E67             Option: 1024M, Value: 0x11 {09 0E E2 04 00 00 11 00 00 00 00 00 00 00}
0x33E75         End of Options {29 02}
According to what i'm sufferring ,maybe some parts of my operations weren't right . Plz help me point it out.
  • patched IOKit framework (to remove pixel clock limitations)
i digged into the XPS9530.sh script .
and execute it in terminal .
Code:
# OS X - 10.12
    sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
    sudo codesign -f -s - /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay
after that, restart the laptop ,it stucks at apple logo. So i found another way using CoreDisplayFixup.kext (https://github.com/PMheart/CoreDisplayFixup) to across pixel clock check. Am i doing right ?
  • Haswell: framebuffer configuration for 0xa2e0008 patched to match DVMT-prealloc value (Broadwell determines BIOS size dynamically)
Everytime i Added your patch
Code:
<dict>
                <key>Comment</key>
                <string>Enable 128MB DVMT-prealloc, 0x0a2e0008</string>
                <key>Disabled</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
                <data>CAAuCgEDAwMAAAAE</data>
                <key>Replace</key>
                <data>CAAuCgEDAwMAAAAI</data>
            </dict>
system died. If i was wrong ,tell me plz.
  • "normal" requirements for Haswell/Broadwell systems ( ? maybe done or not plz let me know after checking my attached files)
So far, i can see my external display under 3840x2160@30hz (should be 60hz)using dp port. But still get some issues:
After i boot ,here i am (with the internal display a splash screen ,and the external display screen blurred)

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Status
Not open for further replies.
Back
Top