XPS9350-macOS icon indicating copy to clipboard operation
XPS9350-macOS copied to clipboard

High Sierra Install Stuck on Apple Logo - No Loading Bar

Open jerryzj opened this issue 7 years ago • 55 comments

您好

最新的10.13.3在安裝時會卡住且不會顯示任何進度

jerryzj avatar Jan 25 '18 03:01 jerryzj

Have the similar issue like this.

https://www.tonymacx86.com/threads/stuck-on-installation.243855/

jerryzj avatar Jan 25 '18 03:01 jerryzj

I have the same issue, when booting with verbose it says : "attempting system restart...MACH Reboot" it is stuck there.

WilliamPrvz avatar Jan 29 '18 15:01 WilliamPrvz

Hi, can drop MATS table resolve the issue?

syscl avatar Jan 29 '18 19:01 syscl

There's no drop mats option. Should I put it in config.plist ? just to be sure, This is for high sierra right ?

WilliamPrvz avatar Jan 29 '18 19:01 WilliamPrvz

I've dropped mats table and now it is stuck at warning fcurrentcapacity max capacity adjusted from 7570 to 6388 And there is a prohibited sign in the middle of the screen

WilliamPrvz avatar Jan 29 '18 20:01 WilliamPrvz

@WilliamPrvz Do you disable inject Intel in Graphics card section?

syscl avatar Jan 30 '18 01:01 syscl

@syscl no I didn't

WilliamPrvz avatar Jan 30 '18 21:01 WilliamPrvz

@WilliamPrvz Please try to disable it then see if this work.

syscl avatar Jan 30 '18 21:01 syscl

@syscl just tried it, nothing changed. should I make my own clover file than changing it to yours after the installation ? just to be sure, when replacing the clover files with yours, should i replace everithing? and should I install all UEFI64Drivers ? thanks for your help

WilliamPrvz avatar Jan 30 '18 21:01 WilliamPrvz

You can try to replace everything with my Clover folder to see if this works.

syscl avatar Jan 30 '18 21:01 syscl

@syscl You can try to replace everything with my Clover folder to see if this works. this is what I am doing.

WilliamPrvz avatar Jan 30 '18 21:01 WilliamPrvz

@syscl I followed the guide like it is written but it doesn't work. I must be doing something wrong. Could you be more precise ? What should I do ? Thanks for being patient.

WilliamPrvz avatar Jan 30 '18 21:01 WilliamPrvz

@syscl so i've removed the battery kext and it stopped saying warning fcurrentcapacity max capacity adjusted from 7570 to 6388. But it is still stuck here.

WilliamPrvz avatar Jan 31 '18 11:01 WilliamPrvz

@WilliamPrvz Have you booted in verbose mode to see where it's stuck?

Here's a couple of settings I had to put in:

  1. Set ACPI/DSDT/Fixes/FixHeaders_20000000=true
  2. SMBIOS model has to be MacBookAir6,2 (I didn't try MacBookPro13,1 on install, but that's what I currently have it set to and that's the best fit for my 9350 with i7/Q+ screen)

That battery kext warning is not the issue.

ggctseng avatar Feb 01 '18 23:02 ggctseng

@ggctseng Changed the symbios to Macbookair6,2 and set ACPI/DSDT/Fixes/FixHeaders_20000000=true, same issue.

WilliamPrvz avatar Feb 02 '18 13:02 WilliamPrvz

@WilliamPrvz Can you check this post?

[Solved] Unable to boot into High Sierra after (successful?) install #21

Search for "THIS IS THE SOLUTION REFERENCED IN MY FIRST POST". Note that the version of clover I used was the RehabMan version.

ggctseng avatar Feb 02 '18 20:02 ggctseng

@ggctseng thanks a lot ! , it worked I successfully installed Mac OS Sierra. For running deploy.sh should I replace the clover folder ?

WilliamPrvz avatar Feb 03 '18 16:02 WilliamPrvz

@WilliamPrvz I think as of right now, a better option is to manually add the specific fixes rather than running deploy.sh on High Sierra

Here are the fixes I have done so far,

In config.plist: Change ig-platform-id to 0x19260004

Follow https://www.tonymacx86.com/threads/guide-laptop-backlight-control-using-applebacklightinjector-kext.218222/ for brightness fix

Follow https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/ for wifi

Follow AppleALC with layout 13 for audio (headphones dont work properly as of now)

rishabhkjain avatar Feb 03 '18 17:02 rishabhkjain

@WilliamPrvz Do you mean replace it with the one in the repository? Note:

  1. I didn't use the files in this repository because it didn't seem like it was ready for High Sierra yet, but it turns out I'm having issues with the files from the other repository and seems like some people are having success with this repository.
  2. I'm going the hot patch route for DSDT/SSDT, whereas both this and zombiethebest repositories uses the "traditional" patching method.

I'm still experimenting and very much a novice so I want to learn more (even though I started doing this a few years ago with a Zenbook, haha. In my defense, I took a couple of years break because my-then wife bought me a real MacBookPro so I sold my Zenbook--she probably got tired of me not coming to bed ;) and things have changed so much with the hackintosh methodologies since then [I think I was using Clover 2XXX back then]), so I'm not technically using the files from either of these repositories (other than the kexts and looking at their deploy.sh scripts to see what has been done).

With that warning in mind, here's what I would do (in your case, if you're using this repository) (again, note from now on I'm only referencing doing stuff to the SSD unless otherwise noted:

BEFORE WE START, I should say I would NOT change the files on your USB--only with the EFS partition on the SSD so that you at least have a fail safe (i.e., you can always boot using your USB).

  1. Start following the instructions at step 7: install Clover to the SSD.
  2. Replace the CLOVER folder on with SSD with the one from the repository (not from the USB because, again, my version is not the same) (step 8, sort of, see next step).
  3. Copy the CLOVER/ACPI/origin folder, which contains your DSDT/SSDT, etc. ACPI table files that you captured using F4 earlier (always capture these tables while you're in Clover, NOT after booting into OS X because they may have been modified) to the same place in the CLOVER folder on the SSD.
  4. Follow the rest of the instructions in "How to use deploy.sh?"

Note 0: You may need to experiment with having either MacBookPro13,1 or MacBookAir6,2 identified in your SMBIOS (I'm not sure if the capitalization matters, but I think it does?). Obviously, I WOULD NOT create the SMBIOS and login to iCloud, etc., until you figure out the one you want to use--actually I wouldn't do it until you the system pretty stable, which means being able to update the kext cache and rebooting a few times without "major" issues, whatever that means to you, but that means at least sleep, and power management. Also note that everytime you change the identifier, the script has to generate a new SMBIOS because serial numbers, etc. depends on the identifier. Again, I mention somewhere else that you should not use MacBook13,2 or 13,3 because those are NOT our configurations and people (including myself) were not able to boot (either during install or after).

Note 1: I deviate a little from the instructions where he says:

  1. Replace the original CLOVER folder on the SSD with the one from the USB drive under my Git/XPS9350-macOS/CLOVER.

which mean replace the CLOVER folder on the SSD using the one from the USB drive because the assumption is that you booted and installed using the one from the repository (at original step 3). However, since you're using my CLOVER folder on the USB, which IS definitely not the same as the one in the repository, you shouldn't use that version.

Note 2: Use Clover (system) preferences pane to mount the EFS partition on the SSD each time. Make sure you have EmuVariableUefi-64.efi in your drivers64UEFI because otherwise the nvram wasn't being saved otherwise (at least not for me). Again, I didn't have that driver in my CLOVER folder on the USB drive (or at least I don't think I did) because I put the minimal of everything in there--however, if you follow his step 7 then you should be fine.

@rishabhkjain Thanks for the pointers as I'm doing the same (and even more rudimentary because I'm not even using the CLOVER folders from the repository--although I may run it once to see what's being done and then put everything back--UEFI seems to make it simple as replacing the CLOVER folders and rebuilding the cache?).

Right now:

My screen brightness keys don't do anything and controls in Display system pref pane don't show up so I'll try following that link.

My WiFi worked but I was getting a lot of Broadcom-related messages at boot and in Console, but I'll look at that guide you linked as well.

My PM is still a little wonky. At one point, I was getting as low as 800mHz but now it doesn't go any lower than 1.3 GHz, even after leaving the system with nothing running.

I also have "extra issues" because I'm hooking my system up to an external monitor Dell U3818DW that has audio as well as a USB hub using DP over the USB-C cable that comes from the monitor, so sound and USB are both problematic.

So, that being said, I haven't had a chance to test the headphone jack without the external screen plugged in (hard to NOT use a 38" monitor, lol), but are you using Apple iPhone headset or regular stereo headphones? I note that my iPhone headphones do not work (no sound, even though the system recognizes it as being plugged in by showing "Headphones" under "Output Devices", but the microphone seems to work).

Does you sleep work? What's not working for you?

ggctseng avatar Feb 03 '18 17:02 ggctseng

@rishabhkjain I have included brightness fix in deploy.sh already. And the ig-platform-id is already 0x19260004

syscl avatar Feb 03 '18 21:02 syscl

@syscl yes, that is true. For me, deploy.sh did not work properly so I started manually patching the default laptop config hence I recommended the patches that I had run.

@ggctseng sleep is a little wonky for me. I use a dual monitor setup for extended screens and it usually works fine. However, if I lock the computer or just step away, getting it awake is a bit finicky. Sometimes lightly pressing the power button brings it to life but others I have to do a force shutdown and restart. I have not played around with CPU PM yet, however, sometimes my fans go on at very high speeds (very loud) for extended periods of time even when I am not doing CPU intensive work.

rishabhkjain avatar Feb 04 '18 00:02 rishabhkjain

@rishabhkjain Re: sound. Just tested, and My iPhone headset works great when the laptop is not connected to the U3818DW (which has speakers in it so it's probably throwing everything off). Well, if it helps, here's my config.plist (NOTE: I removed the SMBIOS section so you have to put yours in--highly recommend you put that in all your config.plists, even on the USB; note my configuration is based on MacBookPro13,1, so you should use that). You should look for the KextsToPatch section, with entries 7-11 being most relevant, but I'm sure there are other patches that are important for sound. All of my kexts are installed in /L/E and I don't have anything in the ACPI/patched folder.

config-gct.plist.zip

I'm going to backup my CLOVER, move the kexts out of the /L/E, copy the CLOVER from the repository into the EFS (and put in my ACPI/origin), and run deploy.sh to see what happens. If anything it will provide me with more details.

ggctseng avatar Feb 04 '18 08:02 ggctseng

@rishabhkjain Forgot to ask how your monitor is connected? You may have the same issues I did if your monitor has speakers (or, even if it doesn't, maybe DP will throw off the audio)?

ggctseng avatar Feb 04 '18 08:02 ggctseng

@syscl I'm hoping you can help.

Problem: After using deploy.sh and changing a couple of things (see below), sound works (including headphones), but no USB devices show up at all--thus, bluetooth, camera, etc., don't show up. Backlighting controls also don't show up. This is an install of High Sierra (10.13.3) with HFS+ instead of APFS using a very minimal CLOVER because I couldn't install using your CLOVER. If it matters, my SK hynix PC300 SSD has been changed to 4k block sizes.

Explanation/Notes: I believe I have identified the same issues others have had with booting after the script runs. I'm very much a novice still so I'm just going to report what I did/noticed. I did spend HOURS trying to capture screenshots, etc., so I really hope you can look at it because, again, others have had the same issues.

  1. I noticed errors in the debug logs for deploy.sh--I had to run it twice because I had spaces in the path where the script was and the script couldn't find certain paths. However, the second time I ran it there were errors as well. Both logs are enclosed. Once script completed, I rebooted.
  2. KP on boot when I rebooted.
  3. I then changed SMBIOS to MacBookPro13,1 (with serials, etc, previously generated with Clover Config), still KP.[NOTE 1]
  4. I was able to boot into OS X only after I also added fix_headers. [NOTE 2]

There are a bunch of ACPI-related errors during the boot screen, which I spent literally over an hour capturing screenshots from. I also used the error reporting script that captured ioReg, my CLOVER folder, etc. and those are enclosed as well.

Please advise. I'm not sure what to do next.

[NOTE 1] I don't know your reasoning for using MacBookPro13,2 as the identifier because that's the XPS 15" (which has 3 TB ports, different processor, etc.). If you look up everymac.com the one that almost matches our XPS 13 is the MacBookPro13,1. At least on paper it is almost identical, with the exception of the MacBook having a slightly faster processor.

[NOTE 2] For completeness, I tried booting using the MacBookPro13,2 and fix_headers, and that didn't work. You'll find that config-test_MBP13_2.plist file in the debug zip file.

Oh, one last note is that in CLOVER pre-boot screen the mouse and keyboard do not work well at all--it's like there are random, long delays.

Clover boot screen captures.zip debug_28513.zip deploy debug log.zip

ggctseng avatar Feb 04 '18 13:02 ggctseng

@ggctseng My monitor is connected via an HDMI cable so I use a USB C to HDMI adapter to connect it to my laptop. What audio patch are you using? I am using the AppleALC method I linked above with CodecCommander but I now have pulsing audio. Maybe I can try using your patch to see if it makes a difference.

rishabhkjain avatar Feb 04 '18 14:02 rishabhkjain

@rishabhkjain You can look at my post before the one where I asked you the question. I have my config.plist in there. You can also look at my latest post where I’m trying to use deploy.sh to make things work.

Note. Im not able to get audio through my monitor in either scenario, but you should be able to see the audio related patches in both.

ggctseng avatar Feb 04 '18 17:02 ggctseng

thank you for you detailed information! I will look into it and polish it!

syscl avatar Feb 04 '18 23:02 syscl

@ggctseng wifi card works natively, should I remove the broadcom kext ? thanks for your help

WilliamPrvz avatar Feb 05 '18 10:02 WilliamPrvz

@ggctseng so I followed what you said and replaced the clover folder with the one in the repository and ran deploy.sh , but again same issue as before, I think it's normal since it was the clover folder in the repositories that had this issue.

EDIT: I added fix header and switched to 13,1 symbios and it booted.

WilliamPrvz avatar Feb 05 '18 11:02 WilliamPrvz

@syscl Thank you for putting together everything. This is the page I referenced for MacBookPro13,1 on Everymac.com.

For comparison, here's the info on Everymac.com for MacbookPro13,2.

The biggest differences are the number of TB ports (4 on the 13,2 and 2 on the 13,1), the screen size (15 vs 13), and Touchbar (13,1 does not have one).

@WilliamPrvz I haven't messed with the broadcom kexts yet. Right now I'm waiting for syscl to see he can help me get USB working. Is there anything not working for you (other than the known issue of SD card reader)? Maybe messed up somewhere when I ran deploy.sh, but I followed the instructions.

ggctseng avatar Feb 05 '18 19:02 ggctseng