Jump to content
fantomas1

[pre-release] macOS Mojave

2,463 posts in this topic

Recommended Posts

Advertisement

(Correction, the ones from previous post were for Public Beta 1)

 

Here are also the new macOS Mojave Public Beta 2 "MinStolenSize" DVMT Patches:

 

Name: Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 PB2 Credits (Sniki)

 

Kabylake:

 

Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 764648FF 05225508
Replace: EB4648FF 05225508

 

 

Skylake:

 

Name: com.apple.driver.AppleIntelSKLGraphicsFramebuffer
Find: 764048FF 05F1E907
Replace: EB404FF 05F1E907

 

 

Broadwell:

 

Name: com.apple.driver.AppleIntelBDWGraphicsFramebuffer
Find: 764048FF 05422B06
Replace: EB4048FF 05422B06

 

Credits: Sniki

 

 

 

Share this post


Link to post
Share on other sites

macOS Mojave "MinStolenSize" / DVMT-prealloc Patches

 

@Sherlocks @PMheart i quoted you since im kinda new here and i noticed that you are one of the most active people on this forum (caught my attention).

 

I noticed that during the Beta updates, the "MinStolenSize" patches are changing from what we previously had / on previous betas, after examining the binary files of the 3 respective platforms: KabyLake, SkyLake, Broadwell i noticed that the:

on AppleIntelKBLGraphicsFramebuffer.kext

Find: 764648FF 05

Replace: EB4648FF 05

values should be enough as it's only in one place in the binary file with a HexFiend search, same for Skylake & Broadwell:

Find: 764048FF 05
Replace: EB404FF 05

on 2 of the binary files of the kexts if you try to search such result.

so lets take KabyLake as example from my previous post:

 

Kabylake:
Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 764648FF 05225508
Replace: EB4648FF 05225508

from the code above on the binary file: 764648FF 05E25108 the code highlighted with red (which was present on previous betas of Mojave but kept changing during newer betas), is unnecessary as after verifying that the code: 764648FF 05 is present only once on KabyLake framebuffer binary file and we can replace it with: EB4648FF 05 this way the patch should be update proof "based on the fact that this part of code didn't change across betas.

 

So in short words the code after "05" is/was unncessary and the supposedly Update Proof Patches for:

macOS Mojave "MinStolenSize" / DVMT-prealloc Patches

 

 

KabyLake:

Comment: Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 Credits (Sniki)

Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 764648FF 05
Replace: EB4648FF 05

 

 

SkyLake:

Comment: Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 Credits (Sniki)

Name: com.apple.driver.AppleIntelSKLGraphicsFramebuffer
Find: 764048FF 05
Replace: EB4048FF 05

 

 

Broadwell:

Comment: Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 Credits (Sniki)

Name: com.apple.driver.AppleIntelBDWGraphicsFramebuffer
Find: 764048FF 05
Replace: EB4048FF 05

Edited by "Sniki"

Share this post


Link to post
Share on other sites
1 hour ago, "Sniki" said:

SkyLake:

Comment: Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 Credits (Sniki)

Name: com.apple.driver.AppleIntelSKLGraphicsFramebuffer
Find: 764048FF 05
Replace: EB404FF 05

 

Shouldn't it be 

Find: 764048FF 05
Replace: EB4048FF 05

?

Share this post


Link to post
Share on other sites
8 minutes ago, cichowlasp said:

Shouldn't it be 

Find: 764048FF 05
Replace: EB4048FF 05

?

Typo, fixed it thanks for letting me know.

Edited by "Sniki"

Share this post


Link to post
Share on other sites

I test now Intel(R) Xeon(R) CPU           X5460 

ITs worked to replace com.apple.telemetry.plugin

 

still no success GTX 480

x86info v1.31pre
Found 4 identical CPUs
Extended Family: 0 Extended Model: 1 Family: 6 Model: 23 Stepping: 6
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Core 2 Duo P8600
Processor name string (BIOS programmed): Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz

eax in: 0x00000000, eax = 0000000a ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x00000001, eax = 00010676 ebx = 01040800 ecx = 000ce3bd edx = bfebfbff
eax in: 0x00000002, eax = 05b0b101 ebx = 005657f0 ecx = 00000000 edx = 2cb4304e
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000004, eax = 0c000121 ebx = 01c0003f ecx = 0000003f edx = 00000001
eax in: 0x00000005, eax = 00000040 ebx = 00000040 ecx = 00000003 edx = 00002220
eax in: 0x00000006, eax = 00000001 ebx = 00000002 ecx = 00000001 edx = 00000000
eax in: 0x00000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000008, eax = 00000400 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000009, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x0000000a, eax = 07280202 ebx = 00000000 ecx = 00000000 edx = 00000503

eax in: 0x80000000, eax = 80000008 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000001 edx = 20100000
eax in: 0x80000002, eax = 65746e49 ebx = 2952286c ecx = 6f655820 edx = 2952286e
eax in: 0x80000003, eax = 55504320 ebx = 20202020 ecx = 20202020 edx = 58202020
eax in: 0x80000004, eax = 30363435 ebx = 20402020 ecx = 36312e33 edx = 007a4847
eax in: 0x80000005, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000006, eax = 00000000 ebx = 00000000 ecx = 18008040 edx = 00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000008, eax = 00003026 ebx = 00000000 ecx = 00000000 edx = 00000000

Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L2 cache: 6MB, 24-way set associative, 64-byte line size.
TLB info
 Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4MB pages, 4-way associative, 32 entries
 Data TLB0: 4KB pages, 4-way associative, 16 entries
 Data TLB0: 4MB pages, 4-way associative, 16 entries
 Data TLB1: 4KB pages, 4-way associative, 256 entries
 64 byte prefetching.
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 dtes64 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR pdcm dca sse4_1
Extended feature flags:
 xd em64t lahf_lm dts
Long NOPs supported: yes

Address sizes : 38 bits physical, 48 bits virtual
3.20GHz processor (estimate).

Total processor threads: 4
This system has 1 quad-core processor running at an estimated 3.20GHz

 

Screen Shot 2018-07-08 at 2.28.36 p.m..png

Edited by nmano

Share this post


Link to post
Share on other sites

May be This kext 10.14 need patch

pmtelemetry.kext

com.apple.driver.pmtelemetry 

Share this post


Link to post
Share on other sites
6 hours ago, ANONIMNIQ said:

@crazybirdy can you uload your CLOVER folder please!

 

I keep only EFI/CLOVER/kexts/10.14 FYI. work with MBR.

EFI-1014only.zip

 

5 hours ago, Pavo said:

The only difference I see in the binary HS: c806000085 Mojave: 2807000085

 

Perl code works fine with 10.14.db3, but Clover's patch on the fly didn't work here.

Thanks a lot.:thumbsup_anim::thumbsup_anim:

perl -pi -e 's|\x28\x07\x00\x00\x85|\xC8\x06\x00\x00\x85|g' com.apple.telemetry.plugin/Contents/MacOS/com.apple.telemetry

Of course you need to copy it to desktop, patch it, and copy it back to the location.

/System/Library/UserEventPlugins/com.apple.telemetry.plugin

com.apple.telemetry.plugin-patched-1014db3.zip

Edited by crazybirdy

Share this post


Link to post
Share on other sites

For GTX 480

If I want to replace NV kexts

10.13.4 to 10.14

How many files I need to replace.please give me list:D

Share this post


Link to post
Share on other sites
1 hour ago, nmano said:

For GTX 480

If I want to replace NV kexts

10.13.4 to 10.14

How many files I need to replace.please give me list:D

GeForce* NVDA*.kext

Though I've reinstalled Mojave more than 5 times, only for testing Nvidia Drivers from prev. mac versions; w/o success. It' s ez changing RequiredOS from NVDAStartup  Info.plist, kext for Fermi (NVDAGF100*) is loaded just fine, but nor with GeForce.kext, so we'll lost nvAccelerator.

Edited by Badruzeus

Share this post


Link to post
Share on other sites
9 hours ago, crazybirdy said:

 

 

 

Test is done.

Works fine here with Core2 Duo E7400 CPU with only SSE4.1, without SSE4.2.:thumbsup_anim::thumbsup_anim:

Replace only one file from 10.13.5.


/System/Library/UserEventPlugins/com.apple.telemetry.plugin

[edit]

here for you, if anyone need it.

telemetry-plugin-10135.zip

 

E7400.thumb.gif.e3845c20e1ed9fde3637b7ee5bbfbbbb.gif

Any chance to get Nvidia GTM-9600 working with CI/QE in Mojave betax ?

My real Mac Book Pro 5,2 can login desktop, but both Finder and USB ports are failed !

Need fixed by USB & Nvidia Graphics related patches.

 

Edited by jsl2000

Share this post


Link to post
Share on other sites
3 minutes ago, jsl2000 said:

Any chance to get Nvidia GTM-9600 working with CI/QE in Mojave betax ?

 

My nVidia 9300GE use NVDANV50HalTesla.kext with 10.13 before version, but removed on 10.14.

Get no lucky to work with old kexts copy from 10.13 to 10.14.:wallbash:

 

I bought a cheap second hand GT640 works great on 10.14 now, use NVDAGK100Hal.kext native.:thumbsup_anim:

 

If you need NVDANV50HalTesla.kext, I think you need a lots of lucky!:yes:

Share this post


Link to post
Share on other sites
4 hours ago, crazybirdy said:

 

I keep only EFI/CLOVER/kexts/10.14 FYI. work with MBR.

EFI-1014only.zip

 

 

Perl code works fine with 10.14.db3, but Clover's patch on the fly didn't work here.

Thanks a lot.:thumbsup_anim::thumbsup_anim:


perl -pi -e 's|\x28\x07\x00\x00\x85|\xC8\x06\x00\x00\x85|g' com.apple.telemetry.plugin/Contents/MacOS/com.apple.telemetry

Of course you need to copy it to desktop, patch it, and copy it back to the location.

/System/Library/UserEventPlugins/com.apple.telemetry.plugin

com.apple.telemetry.plugin-patched-1014db3.zip

I think this can be done via lilu as a plugin

Share this post


Link to post
Share on other sites
1 minute ago, ellaosx said:

I think this can be done via lilu as a plugin

 

Good ideal.

I think OSInstaller patch for MBR, HFS+, Firmware check can be done as lilu plugin too.

But, I'm not a coder, that's out of my.......imagination.:D

Share this post


Link to post
Share on other sites

macOS Mojave beta 3 on Intel Core2Duo E8400 (SSE4,1)

 

E8400_Mojave_BETA3.png E8400_Mojave_BETA3_dark.png

 

 

Used @crazybirdy MBR script to create Mojave USB installer + Clover r4515 - I have only 1 HDD with 1 HFS+J partition for HS. I just created a second HFS+J partition for Mojave  and that did the job. As in a post-installation, manually patching of com.apple.telemetry.plugin (Clover patch on the fly didn't work. :( )  and voilà.  :)

Share this post


Link to post
Share on other sites

@crazybirdy I use your CLOVER folder and removed some drivers to load the installer successfully but PC restarts at this point of the installation and CLOVER don't detect the HDD to continue installation process. What I'm doing wrong? I create the installer from the Terminal. Is it possible that the installer is damaged?

IMG_20180709_145409.jpg

IMG_20180709_145544.jpg

Share this post


Link to post
Share on other sites

to Austere.J

Hi,

Trying to apply MinStolenSize patch for AppleIntelSKLGraphicsFrameBuffer kext for 10.14 Beta 2 (18A314h).

I cannot find string: 76 40 48 FF 05 11 E5 07

It is probably changed in Beta 2.

Can you please make minstolensize patch for it?

I attached the kext.

thanks

AppleIntelSKLGraphicsFramebuffer

Share this post


Link to post
Share on other sites
2 minutes ago, ANONIMNIQ said:

@crazybirdy I use your CLOVER folder and removed some drivers to load the installer successfully but PC restarts at this point of the installation and CLOVER don't detect the HDD to continue installation process. What I'm doing wrong? I create the installer from the Terminal. Is it possible that the installer is damaged?

 

I always use MBR-method, I do not know what's wrong with this issue, but you can boot to install screen now.

Maybe the installer is damaged as you said.

 

 

Share this post


Link to post
Share on other sites
On 6/5/2018 at 10:19 AM, gengik84 said:

try to manual patch, install patched kext, rebuild cache and  reboot

if ok, reinstall original kext, enable patch on config and reboot again

 

 

 

Hi,

What kext needs to be manually patched? Is it AppleIntelSKLGraphicsFramebuffer kext?

Share this post


Link to post
Share on other sites
3 minutes ago, crazybirdy said:

 

I always use MBR-method, I do not know what's wrong with this issue, but you can boot to install screen now.

Maybe the installer is damaged as you said.

 

 

Can you give me the link for MBR method, please and what's the difference from the other methods? 

Share this post


Link to post
Share on other sites
On 6/5/2018 at 9:38 AM, Austere.J said:

 

Yes, the previous patches no longer work.

 

Here are the new patches for macOS 10.14 Beta 1

 

AppleIntelBDWGraphicsFramebuffer

 

Find:
76 40 48 FF 05 A2 2A 06

Repl:
EB 40 48 FF 05 A2 2A 06

 

AppleIntelSKLGraphicsFramebuffer

 

Find:

76 40 48 FF 05 11 E5 07

Repl:

EB 40 48 FF 05 11 E5 07

 

AppleIntelKBLGraphicsFramebuffer

 

Find:
76 46 48 FF 05 BA 48 08

Repl:
EB 46 48 FF 05 BA 48 08

 

config_BDW_SKL_KBL_DVMT_Patches.plist

 


<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Disable minStolenSize check for 10.14 Beta 1 (by FireWoilf/Austere.J)</string>
				<key>Find</key>
				<data>
				dkBI/wWiKgY=
				</data>
				<key>MatchOS</key>
				<string>10.14.x</string>
				<key>Name</key>
				<string>com.apple.driver.AppleIntelBDWGraphicsFramebuffer</string>
				<key>Replace</key>
				<data>
				60BI/wWiKgY=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Disable minStolenSize check for 10.14 Beta 1 (by FireWoilf/Austere.J)</string>
				<key>Find</key>
				<data>
				dkBI/wUR5Qc=
				</data>
				<key>MatchOS</key>
				<string>10.14.x</string>
				<key>Name</key>
				<string>com.apple.driver.AppleIntelSKLGraphicsFramebuffer</string>
				<key>Replace</key>
				<data>
				60BI/wUR5Qc=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Disable minStolenSize check for 10.14 Beta 1 (by FireWoilf/Austere.J)</string>
				<key>Find</key>
				<data>
				dkZI/wW6SAg=
				</data>
				<key>MatchOS</key>
				<string>10.14.x</string>
				<key>Name</key>
				<string>com.apple.driver.AppleIntelKBLGraphicsFramebuffer</string>
				<key>Replace</key>
				<data>
				60ZI/wW6SAg=
				</data>
			</dict>
		</array>

 

Hi,

Trying to apply MinStolenSize patch for AppleIntelSKLGraphicsFrameBuffer kext for 10.14 Beta 2 (18A314h).

I am trying to get my Intel Iris 540 HD working, which is UHD.

Looks like my DVMT prealloc is 64 MB in BIOS. Still I have KP without patch.

I cannot find string: 76 40 48 FF 05 11 E5 07

What I found is:      76 40 48 FF 05 A2 7E 07

It is probably changed in Beta 2.

Can you please make minstolensize patch for it?

I attached the kext.

thanks

AppleIntelSKLGraphicsFramebuffer

Edited by valeryimm

Share this post


Link to post
Share on other sites
2 minutes ago, ANONIMNIQ said:

Can you give me the link for MBR method, please and what's the difference from the other methods? 

 

MBR method used for MBR, install via stage 2 directly.

createinstallmedia used for GUID, needs stage 1 and stage 2, your issue is stage 1 error.

 

Normally, you use createinstallmedia method is the easy way to install Mojave.

Share this post


Link to post
Share on other sites

Anyone knows the fix for USB Port Limit in DP3?

 

Tried this one and it's not working...

 

kext: com.apple.driver.usb.AppleUSBXHCI
find: 83 FB 0F 0F 83 09 05 00 00
repl: 83 FB 0F 90 90 90 90 90 90

Share this post


Link to post
Share on other sites

Try this one:

 

kext: com.apple.driver.usb.AppleUSBXHCI
find: 83 FB 0F 0F 83 03 05 00 00
repl: 83 FB 1A 0F 83 03 05 00 00

Share this post


Link to post
Share on other sites

Thanks for the help with C2D and C2Q non SSE4.2 with Mojave.

 

Dell_Optiplex780_Mojave.thumb.png.c7cbccc0b5a1c3ad5030d1f934b28754.png


My Dell Optiplex780 with C2Q 9400 with HD5450 works with Mojave full resolution 1920x1080 without QE / CI.
Are there any insights for graphic rollback ???

 

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×