syscl / XPS9350-macOS

macOS patches for Dell XPS 13 9350 (Skylake)
916 stars 74 forks source link

zaima,处理完deploy.sh后重启不能进系统 #158

Open 9iulii opened 6 years ago

9iulii commented 6 years ago

读条到一半显示屏好像亮了一点,然后开始无限菊花。v模式下看到的只有左上角一个光标。 型号为xps9350-3k 求助

ianis58 commented 6 years ago

Same problem for me ... If anyone have a solution for the blinking cursor, please share with us... :) thanks !

9iulii commented 6 years ago

oichideMacBook-Pro:xps9350-macos oichi$ ./deploy.sh [ ---> ] Updating files from https://github.com/syscl/XPS9350-macOS... Already up-to-date. [ Note ] Your laptop is non-Iris version(i5-6200U). [ OK ] Pre stage cleanup. [ OK ] Create ./DSDT. [ OK ] Create ./DSDT/prepare. [ OK ] Create ./DSDT/precompile. [ OK ] Create ./DSDT/compile. /dev/disk0 (internal, physical):

: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *128.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage OS 127.2 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1 (internal, virtual):

: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS OS +126.8 GB disk1 Logical Volume on disk0s2 95568624-5CE8-47CF-9C07-9CAF9B385825 Unencrypted

/dev/disk2 (external, physical):

: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *15.6 GB disk2 1: EFI EFI 209.7 MB disk2s1 2: Apple_HFS macOS Sierra 10.12.6 5.2 GB disk2s2

/dev/disk3 (disk image):

: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme +100.0 MB disk3 1: Apple_HFS ShadowsocksX-NG-R8 100.0 MB disk3s1

Enter EFI's IDENTIFIER, e.g. disk0s1: disk0s1 Available touchpad kext: [ 1 ] ApplePS2SmartTouchPad [ 2 ] VoodooPS2Controller Please choose the desired touchpad kext (1 or 2): 2 [ Note ] Use VoodooPS2Controller. [ OK ] Mount disk0s1. [ OK ] Copy untouch ACPI tables. ./deploy.sh: line 1743: [: !=: unary operator expected [ ---> ] Disassembling tables... [ OK ] Disassemble DSDT. [ OK ] Disassemble FACP. [ OK ] Search specification tables by syscl/Yating Zhou. [ ---> ] Patching DSDT.dsl [ OK ] _DSM->XDSM. [ OK ] Fix word field length Dword->Qword credit syscl. [ OK ] OS Check Fix. [ OK ] Fix brightness keys(F11/F12). [ OK ] HDAS->HDEF. [ OK ] Inject Audio Info. [ OK ] Rename GFX0 to IGPU. [ OK ] Inject USBX and PNLF credit syscl. [ OK ] Fix USB _PRW. [ OK ] IRQ Fix. [ OK ] SMBus Fix. [ OK ] AC Adapter Fix. [ OK ] Add MCHC. [ OK ] Fix _WAK Arg0 v2. [ OK ] Add IMEI. [ OK ] Fix Non-zero Mutex. [ OK ] Fix MDBG Error credit x4080, syscl. [ OK ] PPMC and PMCR combine together credit syscl. [ OK ] Insert DMAC(PNP0200). [ OK ] Make Device(MATH) load correctly in macOS. [ OK ] SBTN->SLPB with correct _STA 0x0B. [ OK ] iGPU TPMX to MEM2. [ OK ] IMTR->TIMR, _T_x->T_x. [ OK ] PXSX2ARPT with _PWR fix. [ OK ] Correct USB(XHC) information and injection credit syscl. [ OK ] Remove WMI(PNP0C14). [ OK ] Inject SSD device property credit syscl. [ OK ] Remove _PWR, _PSW in PWRB(PNP0C0C). [ OK ] Inject reg-ltrovr for IOPCIFamily::setLatencyTolerance setting ltrOffset for PCI devices successfully (c) syscl. [ OK ] Fix shutdown become reboot issue. [ OK ] Remove DSDT backup. [ ---> ] Patching .dsl [ OK ] Rename GFX0 to IGPU. [ ---> ] Patching .dsl [ OK ] _DSM->XDSM. [ OK ] Rename GFX0 to IGPU. [ OK ] _DSM->XDSM. [ OK ] Fix PARSEOP_IF error credit syscl. [ ---> ] Fixing reboot issue [ OK ] Fix reboot issue credit syscl. [ ---> ] Copying tables to precompile... [ OK ] Copy tables to precompile. [ ---> ] Copying untouched tables to ./DSDT/compile... [ OK ] Copy untouched tables to ./DSDT/compile. [ ---> ] Compiling tables... [ OK ] Compiling DSDT. [FAILED] Compile DptfTa. Error 6092 - Could not open file "/Users/oichi/Downloads/xps9350-macos/DSDT/precompile/.dsl" (Source Input) - No such file or directory

Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160422-64(RM) Copyright (c) 2000 - 2016 Intel Corporation

[FAILED] Compile SaSsdt. Error 6092 - Could not open file "/Users/oichi/Downloads/xps9350-macos/DSDT/precompile/.dsl" (Source Input) - No such file or directory

Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160422-64(RM) Copyright (c) 2000 - 2016 Intel Corporation

[FAILED] Compile sensrhub. Error 6092 - Could not open file "/Users/oichi/Downloads/xps9350-macos/DSDT/precompile/.dsl" (Source Input) - No such file or directory

Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160422-64(RM) Copyright (c) 2000 - 2016 Intel Corporation

[ ---> ] Copying SSDT-rmne.aml to ./DSDT/compile... [ OK ] Copy SSDT-rmne.aml to ./DSDT/compile. [ OK ] Install SSDT-pr for writing plugin-type to registry. Password: [ OK ] Install X86PlatformPluginInjector (c) syscl. [ ---> ] Installing SSDT-XPS13SKL.aml to ./DSDT/compile... [ OK ] Install SsdtS3 table. [ ---> ] Installing SSDT-ARPT-RP05.aml to ./DSDT/compile... [ OK ] Install ARPT table. [ ---> ] Installing SSDT-XHC.aml to ./DSDT/compile... [ OK ] Install Xhci table. [FAILED] Clean dynamic SSDTs. rm: /Users/oichi/Downloads/xps9350-macos/DSDT/compile/SSDT-*x.aml: No such file or directory [FAILED] Drop. rm: /Users/oichi/Downloads/xps9350-macos/DSDT/compile/.aml: No such file or directory [FAILED] Drop. rm: /Users/oichi/Downloads/xps9350-macos/DSDT/compile/.aml: No such file or directory [FAILED] Drop. rm: /Users/oichi/Downloads/xps9350-macos/DSDT/compile/.aml: No such file or directory [ OK ] Create /Volumes/EFI/EFI/CLOVER/ACPI/patched. [ OK ] Copy tables to /Volumes/EFI/EFI/CLOVER/ACPI/patched. [ ---> ] Updating kexts... [ OK ] Remove pervious kexts in /Volumes/EFI/EFI/CLOVER/kexts/10.12. [ OK ] Update kexts from ./CLOVER/kexts/10.12. [ OK ] Update kexts from ./Kexts. [ OK ] Install VoodooPS2Controller. [ OK ] Remove /Volumes/EFI/EFI/CLOVER/kexts/10.12/BrcmPatchRAM2.kext. [ OK ] Remove /System/Library/Extensions/BrcmFirmwareRepo.kext. [ OK ] Remove /System/Library/Extensions/BrcmPatchRAM2.kext. [ OK ] Install BrcmPatchRAM2. [ OK ] Install BrcmFirmwareRepo. [ ---> ] Generating and setting Mac Serial, MLB and UUID ./deploy.sh: line 1585: /Users/oichi/Downloads/xps9350-macos/tools/macgen/mg-serial: No such file or directory ./deploy.sh: line 1586: /Users/oichi/Downloads/xps9350-macos/tools/macgen/mg-mlb-serial: No such file or directory Add: ":RtVariables:MLB" Entry Already Exists Add: ":RtVariables:ROM" Entry Already Exists Add: ":SMBIOS:SmUUID" Entry Already Exists [ ---> ] Installing audio... [ OK ] Install audio. [ ---> ] Unlocking maximum pixel clock... [FAILED] Patch and sign framework. /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: replacing existing signature /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: code object is not signed at all In subcomponent: /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.tbd [ OK ] Generate configuration file of sleepwatcher launch daemon. [ OK ] Generating script to unmount external devices before sleep (c) syscl/lighting/Yating Zhou. [ OK ] Generate script to load RTWlanUSB upon sleep. [ ---> ] Installing external devices sleep patch... [ OK ] Install sleepwatcher daemon. [ OK ] Install configuration of sleepwatcher daemon. [ OK ] Install sleep script. [ OK ] Install wake script. [ OK ] Fix the permissions of /etc/sysclusbfix.sleep. [ OK ] Fix the permissions of /etc/sysclusbfix.wake. [ OK ] Trigger startup service of syscl.usb.fix. [ OK ] Clean up. [ OK ] Mount disk0s3. [ OK ] Create /Users/oichi/Downloads/xps9350-macos/Backups/2017-10-31-h19_21_53. [ ---> ] Convert UDZO(r/o) to UDRW(r/w) ... [ OK ] Convert UDZO(r/o) to UDRW(r/w). [FAILED] Attach Recovery HD. Can't open /tmp/RecoveryHD/System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: No such file or directory. [FAILED] Patch and sign framework for Recovery HD. /tmp/RecoveryHD/System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: No such file or directory [FAILED] Detach mountpoint. hdiutil: detach failed - 无此文件或目录 [ ---> ] Convert UDRW(r/w) to UDZO(r/o) ... [ OK ] Convert UDRW(r/w) to UDZO(r/o). [ ---> ] Updating Recovery HD for DELL XPS 13 9350... cp: /Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg: Permission denied [ OK ] Clean redundant dmg files. [ OK ] Unmount disk0s3. [ ---> ] Rebuilding kernel extensions cache... [ OK ] Rebuild kernel extensions cache. [ Note ] Congratulations! All operation has been completed. [ Note ] Reboot now. -syscl/lighting/Yating Zhou @PCBeta. oichideMacBook-Pro:xps9350-macos oichi$

9iulii commented 6 years ago

@syscl plz

svindled commented 6 years ago

@9iulii see #155 for a solution on the compile errors.

syscl commented 6 years ago

Sorry for my late reply, I wish I can fix it recently but I am still having lots of homework and exams... :(

Please pull request if there's any fixes.

Thank you in advance, syscl

9iulii commented 6 years ago

@squash- thx! patched is successful. but There is still a FAILED

[FAILED] Patch and sign framework. /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: replacing existing signature /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: code object is not signed at all In subcomponent: /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.tbd

This leads me to stuck in the boot screen.

9iulii commented 6 years ago

@syscl 辛苦了,感谢能抽出空回复我的问题,由于clover更变了dsdt的命名规则,现在我根据squash的提醒这使我成功给全部dsdt打上了补丁。但,仍存在着一个错误,其使我卡在开机苹果logo处,-v下只能看到左上角的光标

[FAILED] Patch and sign framework. /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: replacing existing signature /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay: code object is not signed at all In subcomponent: /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.tbd

再次感谢。

9iulii commented 6 years ago

@ianis58 This is google translation you can try to understand. ※Forgive me not to understand English. 1.see #155 for a solution on the compile errors. 2.run deploy.sh 3.CoreDisplay Should be FAILED then Enter to “/System/Library/Frameworks/CoreDisplay.framework/Versions/Current/” delete "CoreDisplay" then Rename ("CoreDisplay.bak"→"CoreDisplay") 4.reboot

//I do not know what this file is used, but deploy it to make it after I can not enter the system, restore the original file after all normal You can also try

mam15mon commented 6 years ago

还是不成啊。

9iulii commented 6 years ago

@mam15mon 你搞定没有

mam15mon commented 6 years ago

@9iulii 并没有..T.T

Rainshaw commented 6 years ago

@mam15mon 我也是3k触屏,coredisplay报错

mam15mon commented 6 years ago

@syscl 考完试了吧大神~愉快的解决一下吧

syscl commented 6 years ago

尝试把SIP关闭试一下吧~

mam15mon commented 6 years ago

我试了一下关SIP不成,我记得原来运行脚本的时候不报错一次成功了就。大神您抽空试试 @syscl

mam15mon commented 6 years ago

@9iulii 你成功了吗兄弟..