jaromeyer / XPS9570-Catalina

macOS Big Sur for the Dell XPS 15 9570 using the OpenCore bootloader.
195 stars 22 forks source link

Big Sur installation stuck #38

Open wing199901 opened 4 years ago

wing199901 commented 4 years ago

This happens when I installing the new Big Sur update.

My Spec: XPS 9570 8750h 1080p 20GB RAM Western Digital's Black SN750 500GB

IMG_6084

jaromeyer commented 4 years ago

when exactly does that happen? when booting the installer or later?

wing199901 commented 4 years ago

when booting the preboot partition

wing199901 commented 4 years ago

It happens when Big Sur installation finished, I think it is about the kext? Do I need to do the kextcache -i?

jaromeyer commented 4 years ago

Try to boot with an external screen

AWV2804 commented 4 years ago

When Big Sur is installing, it just goes black and restarts.

theilliteratemessiah commented 4 years ago

Facing the same problem. System keeps restarting a few seconds after display turns on on the external display.

System: Dell 9570 i9

Please advise.

(Edit) There is a message on the screen that suggests the the restart was caused by a panic.

toonvanstrijp commented 4 years ago

@AWV2804 @theilliteratemessiah

Run this python script: (save as file named: edid.py and run: python3 edid.py)

from subprocess import check_output
from base64 import b64decode, b64encode

def shout(cmd) -> str:
    '''sh cmd then return output
    '''
    return check_output(cmd, shell=True, encoding='utf-8').strip()

edid = shout('ioreg -lw0 | grep -i "IODisplayEDID"')
edid = edid.split('<')[1].split('>')[0]
edid = edid[:108] + 'a6a6' + edid[112:]
data = [int(edid[i:i+2], 16) for i in range(0, len(edid), 2)]
checksum = hex(256 - sum(data[:-1]) % 256)[2:]
data[-1] = int(checksum, 16)
data = b64encode(bytes(data)).decode('utf-8')
print(data)

The output should look similar to this (yours would be different ofcourse):

AP///////wBNEI0UAAAAAAUcAQSlIhN4DuqRqVM1vCUMUVUAAAABAQEBAQEBAQEBAQEBAQEBpqYAoPBwPoAwIDUAWMIQAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gBGTlZEUoBMUTE1NkQxAAAAAAACQQMoARIAAAsBCiAgAN8=

Then use a code editor to change the config.plist The go to DeviceProperties > Add > PciRoot(0x0)/Pci(0x2,0x0) add a new key named AAPL00,override-no-connect and put the data below it in <data></data>

It should look something like (look at line 151 and 152):

Screenshot 2020-10-01 at 21 26 42

I hope this helps! :)

Fyobl commented 4 years ago

33 <-- Had the same issue to the above guys a few days back.

Can Confirm this works as had the same issue a few days back but got it working with the above method.

theilliteratemessiah commented 4 years ago

This is amazing, many thanks @ToonvanStrijp - Your solution has helped to install Big Sur successfully on my Dell machine.

Kudos to you!

frbuccoliero commented 4 years ago

The go to DeviceProperties > Add > PciRoot(0x0)/Pci(0x2,0x0) add a new key named AAPL00,override-no-connect and put the data below it in <data></data>

Haven't updated to Big Sur yet, is this sometihing you suggest to do anyway before proceeding to update or just in case i face this specific problem?

theilliteratemessiah commented 4 years ago

@frbuccoliero - Yes, I added that value to the config.plist on the USB keys EFI and on the internal SSD's EFI. Then I performed an in-place upgrade and it worked well. As always, YMMV.

Best of luck.

jaromeyer commented 4 years ago

@frbuccoliero edid patching should only be required for the 4k model

CarstenK1 commented 4 years ago

@frbuccoliero edid patching should only be required for the 4k model

Maybe a stupid question, but since you're Setup worked fine for my XPS. For update to BigSur I just start MacOS, update the Efi Partition with new files, change the serial and do the update? I used the 4k config.plist

thespacemanatee commented 4 years ago

@ToonvanStrijp How did you update that data field with your patched edid? It tells me that I am unable to update that field since the string isn't in hex.

oldman20 commented 1 year ago

@toonvanstrijp How did you update that data field with your patched edid? It tells me that I am unable to update that field since the string isn't in hex.

same question, @toonvanstrijp !!

Edit: seem error save when open with ProperTree, and fine with Clover Configurator, not sure working or not And voila! Wrong code format, cause when I reboot cant boot macOS GUI Desktop, still can see mouse cursor and hear sound when hold any keys So I tried with here method and working fine!

33 <-- Had the same issue to the above guys a few days back.

Can Confirm this works as had the same issue a few days back but got it working with the above method.