Jump to content



Member Since 25 Jun 2012
Offline Last Active Today, 09:00 PM

#2517674 Clover General discussion

Posted by RehabMan on 17 October 2017 - 09:43 PM

Rev 4250 XCPM patch will no more be unconditional. <key>KernelXCPM</key> <true/>Default value is <false/>.  It can arise some problems because old revision has default to true. But many users can't boot at all because of this. Let it be conditional setting from config or from Clover GUI. Why add "BOOLEAN KernelXCPMAllowed;" to Platform.h when it is not accessed anywhere? And KernelXCPM is just a synonym for KernelIvyXCPM?

#2507791 "Service only ran for 0 seconds"

Posted by RehabMan on 03 October 2017 - 05:03 PM

Yes this is an issue that has been bugging many people since HS developer beta 6 or so.It seems to affect only people with dual Nvidia cards (I have 2 GTX1080s) and I am stuck too. As explained by Rehabman over at the forum that shall not be named, IONDRVSupport.kext fails to load and then the WindowServer process ends up failing to load, and launchd gets stuck trying to respawn it forever. This is the VESA mode driver for nvidia cards that don't work out of the box (maxwell and pascal basically). I have built a live USB installer using the "restore directly from BaseSystem.dmg" technique, and I have copied nvidia webdrivers over and rebuilt kernelcaches etc. When I boot I can watch them load and get registered (once for each card), and then the screen tries to change graphics mode and screen goes blank but stays powered on forever - so this is not the usual AGDP/MacPro6,1 issue (have taken care of it using existing well-known solutions) but a new issue as has been de...

#2503081 Build_Clover.command, another Script to build standard Clover (or customized)

Posted by RehabMan on 28 September 2017 - 01:57 PM

if you mean the terminal resize?the 3 line is printf '\e[8;34;90t'which means change the terminal to 34x90so edit/comment out. Yeah... In my fork, I removed all that clearing screen/relocating my terminal window...  Annoying stuff. My fork is still a work-in-progress (need to work on version markers, and clean things up), but it does work now with edk2 from github, minimal (almost none at all) patches to edk2, Clover itself on github (a few fixes/additions). And patches are integrated into my edk2 fork, which makes updating to upstream edk2 commits super easy.

#2502065 Build_Clover.command, another Script to build standard Clover (or customized)

Posted by RehabMan on 27 September 2017 - 02:42 PM

SF is offline again. Until it gets back online, those svn errors will be seen often. Glad I'm moving to github :-)

#2499308 Clover General discussion

Posted by RehabMan on 22 September 2017 - 04:11 PM

Was already filed as bug #410. Thanks for pointing this out. It is the fix I have decided to implement in my Clover fork. Because really there is no edk2 bug here, just an overly pedantic compiler.

#2499238 Xcode9

Posted by RehabMan on 22 September 2017 - 01:48 PM

I got Xcode9 without my wish. It just ask me update now or tomorrow. Before updating to Xcode9, I created a copy of Xcode 8.3.3. It was simple copy/paste in Finder.

#2499209 Xcode9

Posted by RehabMan on 22 September 2017 - 12:44 PM

No, all files in Clover folder already corrected to LF. I manually excluded LF+CR times ago. But I think there is a problem with TAB characters.  Wrong. I had already checked it. Interesting that you dismiss what I write as wrong... without actually checking it.   SPEEDY-NUC:FlatDevTree rehabman$ pwd/Users/rehabman/Projects/cloverefiboot-code/OsxAptioFixDrv/FlatDevTreeSPEEDY-NUC:FlatDevTree rehabman$ head device_tree.h |xxd00000000: 0d0a 2f2a 0d0a 202a 2043 6f70 7972 6967  ../*.. * Copyrig00000010: 6874 2028 6329 2032 3030 3020 4170 706c  ht (c) 2000 Appl00000020: 6520 436f 6d70 7574 6572 2c20 496e 632e  e Computer, Inc.00000030: 2041 6c6c 2072 6967 6874 7320 7265 7365   All rights rese00000040: 7276 6564 2e0d 0a20 2a0d 0a20 2a20 4041  rved... *.. * @A00000050: 5050 4c45 5f4f 5352 4546 4552 454e 4345  PPLE_OSREFERENCE00000060: 5f4c 4943 454e 5345 5f48 4541 4445 525f  _LICENSE_HEADER_00000070: 5354 4152 5440 0d0a 202a 200d 0a20 2a2...

#2499079 Xcode9

Posted by RehabMan on 22 September 2017 - 03:26 AM

Welcome to Xcode 9A235!This is next Apple's fault.There is impossible to search substring.Снимок экрана 2017-09-22 в 5.48.29.pngSee: string found in wrong place.Anyone knows a solution? It is likely due to weird newline characters in the file.I suspect there is some Windows CR+LF line terminators in that file which throws off the line counting algorithm in this version of the Xcode editor. In Xcode->Preferences->Text Editing, you can set Default line endings=macOS/Unix, and check "Convert existing files on save", and this will correct the line terminators (converting CR+LF into LF), which will bring things back in line.  That will cause huge diffs though. I think the EDK2 and Clover files are full of Windows CR/LF combinations (a bit of a mix actually). I have a Clover.xcodeproj too... I saved a copy of Xcode 8.3.3 prior to updating as Xcode833.app.  I can load it with 'open -a Xcode833 Clover.xcodeproj'.  Xcode 8.3.3 deals with CR/LF combo...

#2498533 Dell XPS 15 9560: 4K Touch, 1TB SSD, 32GB RAM, 100% AdobeRGB​

Posted by RehabMan on 21 September 2017 - 06:21 AM

https://github.com/E...Touchpad-Driver     I realize this isn't recent, but it's at least something.   Though I do agree that the lack of updated source code is pretty frustrating. Hope he makes regular backups! I am aware of that repo. It is not even close to recent. IMHO, if you have a trackpad supported by that kext, better to just write your own kext.

#2498350 Clover General discussion

Posted by RehabMan on 21 September 2017 - 01:41 AM

Guys, is there any detailed guide about Clover hotpatch? google "rehabman hotpatch acpi"

#2498347 Dell XPS 15 9560: 4K Touch, 1TB SSD, 32GB RAM, 100% AdobeRGB​

Posted by RehabMan on 21 September 2017 - 01:37 AM

Credit EMlyDinEsH, Too bad it plays poorly with the concept of open source. It is closed source, in violation of the APSL. I wish more people cared and gave EMlyDinEsH a hard time about it.

#2496550 [GUIDE] Lenovo T460 macOS with Clover

Posted by RehabMan on 18 September 2017 - 03:11 PM

@RehabMan   - well i dont recall which IOSleep change(s) made the difference. so it could be some are not needed. I don't have a T460 anymore (or a box with that BRCM chip) - but the key issue IIRC was to solve wake from sleep. if the kext tried to load the FW too early upon wake, then it would end up in a limbo state - seems like a conflict between the WiFi part of the chip and the BT part of the chip. so injecting a delay fixed and conflicts etc. Please use process of elimination to determine which changes are actually needed. - my browser is Google Chrome and/or Safari. why do you ask? Keep in mind that Chrome will hook the USB ports causing problems with USB (and BrcmPatchRAM) on wake from sleep. Solution: disable WebUsb in Chrome settings.

#2494499 Clover Bug/Issue Report and Patch

Posted by RehabMan on 15 September 2017 - 12:53 AM

This seems to do the trick for fixing the Clover installer bug with mounting EFI with an APFS setup: SPEEDY-NUC-2:Clover rehabman$ git diffdiff --git a/CloverPackage/package/Scripts.templates/EFIFolder/MountESP b/CloverPackage/package/Scripts.templates/EFIFolder/MountESPindex 6a95dbe5..68abce71 100755--- a/CloverPackage/package/Scripts.templates/EFIFolder/MountESP+++ b/CloverPackage/package/Scripts.templates/EFIFolder/MountESP@@ -37,6 +37,17 @@ if [[ "$(echo $(LC_ALL=C diskutil list | grep -i 'Logical Volume' | \ fi fi +# check if target volume is APFS, and therefore part of an APFS container+if [[ "$(echo $(LC_ALL=C diskutil list "$DiskDevice" | grep -i 'APFS Container Scheme' | \+ awk '{print tolower($0)}'))" == *"apfs container scheme"* ]]; then+ # ok, this disk is an APFS partition, extract physical store device+ realDisk=$(LC_ALL=C diskutil list "$DiskDevice" 2>/dev/null | \+ sed -n 's/.*Physical Store *//p')+ echo Target volu...

#2493209 Patch for using NVMe under macOS Sierra is ready.

Posted by RehabMan on 12 September 2017 - 02:22 PM

I was running on 10.12.4 on 960 Pro, I update from 10.12.4 to 10.12.6 and all of a sudden it can't detect any nvme..... not even with patches in config.plist....... https://github.com/RehabMan/patch-nvme

#2492819 Clover Bug/Issue Report and Patch

Posted by RehabMan on 11 September 2017 - 04:49 PM

One weird behavior with Clover is that Clover try to create misc folder(EFI\CLOVER\misc) per boot, there's generally two drawback of this behavior:Perform I/O especially write per boot(slow, especially on HDD)Undesirable if user remove misc intentionally but Clover persists creating it every timeMore reasonable behavior should be egSave do a simple check to see if the directory exist or not(we may check each directories existence iteratively/recursively, but seems a bit slow?) egSave has been improved in r4205, and misc will not be created each boot. syscl Regarding this commit 4205.This code in image.c is wrong:+  CHAR16              DirName[256];...+  FreePool(DirName);

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy