Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

dosdude1

macrumors 68030
Original poster
Feb 16, 2012
2,780
7,413
hello all .. new to the tread..
i have created the installer usb disk. it finished, when i install it gives me a error about not being able to download files?
2011 iMac12,2
i believe i have read all of the prior post. did i miss something?
You have to boot from the USB drive, not run the installer app from it.
[doublepost=1530193606][/doublepost]
@dosdude1 I’ve replace the IOUSB* KEXTS in the patched installer with the ones from High Sierra but keyboard and trackpad still doesn’t work. I assume this has something to do with the prelinked kernals. How can I fix this?
You have to rebuild the prelinkedkernel for the installer. As I said, simply copying kexts won't do anything.
 

ASentientBot

macrumors 6502a
Jun 27, 2018
863
3,421
SkyLight.framework
Darn. Back to the drawing board with this KP issue I guess... Can't be MCP chipset causing it, can't be GPU... The ONLY thing that would make even the slightest bit of sense is that SOMETHING in the system relies on SSE4.2 instructions, as the lack of SSE4.2 support is the only thing in common with the Mac Pro 3,1 and the Penryn Core 2 Duo-based machines.

Did you see my list of files that contain SSE4.2 opcodes? The vast majority of them are Metal or APFS related and therefore irrelevant on HFS+ on a MacBook7,1. I'm fairly sure I tested replacing all of them with copies from High Sierra but at this point this was a couple weeks ago. I'll look into it further... but I feel that SSE4.2 might not be the issue.

Also, didn't a guy with a C2D Hackintosh say that it boots to the desktop? Can't find the post right now but I distinctly remember that as the reason we thought SSE4.2 was not the issue.
[doublepost=1530196936][/doublepost]
You have to boot from the USB drive, not run the installer app from it.
[doublepost=1530193606][/doublepost]
You have to rebuild the prelinkedkernel for the installer. As I said, simply copying kexts won't do anything.

Using the installer is unnecessary, you can install directly from the patched OSInstall.mpkg under High Sierra as I described on page 48. Then, as long as permissions on /S*/L*/E* are correct and rootless is disabled, it'll auto-rebuild the prelinkedkernel on boot.
 
  • Like
Reactions: lowercaseman

0403979

Cancelled
Jun 11, 2018
1,402
1,735
You have to boot from the USB drive, not run the installer app from it.
[doublepost=1530193606][/doublepost]
You have to rebuild the prelinkedkernel for the installer. As I said, simply copying kexts won't do anything.

How do I rebuild that?

Edit: I see that @ASentientBot posted some information on this. Would you (@ASentientBot) mind explaining it to me a bit more? I don’t really understand.
 
Last edited:

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Hey Julian,

Did you read my post here explaining my steps? To be 100% clear, this does not get it to boot on my MacBook7,1. It's just a working install method.

I was talking about post 1253 for rebuilding the prelinkedkernals, I’m a newbie in macOS hacking/development so I don’t exactly understand your post on how to rebuild them. I’m trying to get keyboard and trackpad working in the Mojave USB installer (patched by dosdude1).
 

ASentientBot

macrumors 6502a
Jun 27, 2018
863
3,421
SkyLight.framework
I was talking about post 1253 for rebuilding the prelinkedkernals, I’m a newbie in macOS hacking/development so I don’t exactly understand your post on how to rebuild them. I’m trying to get keyboard and trackpad working in the Mojave USB installer (patched by dosdude1).

I'm sorry, I wasn't clear. I don't rebuild the prelinkedkernel for the installer, because I don't boot into the installer at all. I install directly from High Sierra. Rebuilding the prelinkedkernel on the installer disk doesn't seem straightforward.

What're the rules for uploads on this site? I can make you a prelinkedkernel with replaced IOUSBHostFamily for your installer disk. Though I'm not quite sure how that will help our efforts.
[doublepost=1530199567][/doublepost]
I found this patched Kernel from a Hackintosh board. Have not downloaded it (Looks like a b1 kernel). Not sure how they at patched it for Core2Duo

https://osxlatitude.com/forums/topi...ed-mojave-beta-kernels-patched-aicpupm-kexts/

Been looking for a b2 patched kernel on the net.

I find this post confusing.

Vanilla kernels for Core2Duo/Core2Quad, Arrandale and Sandy/Ivy Bridge CPUs:

Doesn't "vanilla" mean "unmodified"? But "for Core2Duo"? Doesn't make sense.
 

kinetos

macrumors member
Oct 1, 2015
72
45
Hello, I've tried to update my Macbook Pro 8,1 with intel hd 3000 since 10.13.6 late beta and when the update is finished I've done the post install but I've the logo with no bootable system. Have you an idea to solve that?

EDIT: I've tried with clean install and same thing
 
Last edited:

soniXx123

macrumors newbie
Jun 25, 2018
10
0
I downloaded Mojave beta 2 and used dosdude1 patch and everything is working perfectly on early 2011 MacBook pro 13" including the new apps such as news, stocks and voice memos. can't see any reason why apple didn't support 2011 macs other than them wanting people to buy newer hardware which they don't actually have any MacBook pros that are worth buying. View attachment 767920

where i can find the patcher?

i have an early 2011 Macbook Pro 17" with an i7 and AMD Readeon HD 6750M and an Intel HD 3000 card.
any ideas? i have an Apple Developer Account as well.
 

0403979

Cancelled
Jun 11, 2018
1,402
1,735
I'm sorry, I wasn't clear. I don't rebuild the prelinkedkernel for the installer, because I don't boot into the installer at all. I install directly from High Sierra. Rebuilding the prelinkedkernel on the installer disk doesn't seem straightforward.

What're the rules for uploads on this site? I can make you a prelinkedkernel with replaced IOUSBHostFamily for your installer disk. Though I'm not quite sure how that will help our efforts.
[doublepost=1530199567][/doublepost]

I find this post confusing.

Vanilla kernels for Core2Duo/Core2Quad, Arrandale and Sandy/Ivy Bridge CPUs:

Doesn't "vanilla" mean "unmodified"? But "for Core2Duo"? Doesn't make sense.

I made an installer with dosdude1’s patcher and I added IOUSB* KEXTS from the High Sierra installer to the installer USB that I made. Dosdude1 said that I needed to rebuild the prelinkedkernal afterwards so I need some help with that if possible. This is to get the keyboard and trackpad to function in the installer USB on a MacBook7,1.
 

dosdude1

macrumors 68030
Original poster
Feb 16, 2012
2,780
7,413
I made an installer with dosdude1’s patcher and I added IOUSB* KEXTS from the High Sierra installer to the installer USB that I made. Dosdude1 said that I needed to rebuild the prelinkedkernal afterwards so I need some help with that if possible. This is to get the keyboard and trackpad to function in the installer USB on a MacBook7,1.
Look, I don't think it's worth it right now. Yes, the installer will boot, and you can install the OS, but afterwards the OS will not boot, it will just kernel panic as described. Patching the installer for these systems is wasted effort at this point because of this.
 

redheeler

macrumors G3
Oct 17, 2014
8,666
9,337
Colorado, USA
Pre-Metal AMD video cards (Radeon HD 6xxx series and older): Drivers will load, but full acceleration will not be achieved.
Has anyone figured out why the AMD kexts don't provide acceleration while the Intel kexts do? Is there something in the log files which indicates a problem?
No kernel panics or any instability issues have been reported with Intel iGPUs thus far.
Having used Mojave as the main OS on my Early 2011 17" MacBook Pro with the dedicated GPU disabled for a few days now, I can confirm it has been running nice and stable. System performance is acceptable, no random kernel panics to report.
 

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Look, I don't think it's worth it right now. Yes, the installer will boot, and you can install the OS, but afterwards the OS will not boot, it will just kernel panic as described. Patching the installer for these systems is wasted effort at this point because of this.

I understand. But I’d like to get this working if it’s not too complicated.
 

dosdude1

macrumors 68030
Original poster
Feb 16, 2012
2,780
7,413
I understand. But I’d like to get this working if it’s not too complicated.
Ok, well it will require another supported machine already running Mojave to do. You'll just need to replace the IOUSB kexts in this running install, set permissions correctly, then rebuild kextcache using "sudo kextcache -system-prelinked-kernel". Then, copy /System/Library/Prelinkedkernels/prelinkedkernel to the same directory of your USB installer.
 

ASentientBot

macrumors 6502a
Jun 27, 2018
863
3,421
SkyLight.framework
Since Mojave works in Parallels but not natively, I tried comparing the output of sysctl machdep.cpu.features on both:

MacBook7,1:
ACPI, APIC, CLFSH, CMOV, CX16, CX8, DE, DS, DSCPL, DTES64, EST, FPU, FXSR, HTT, MCA, MCE, MMX, MON, MSR, MTRR, PAE, PAT, PBE, PDCM, PGE, PSE, PSE36, SEP, SMX, SS, SSE, SSE2, SSE3, SSE4.1, SSSE3, TM, TM2, TPR, TSC, VME, VMX, XSAVE

Parallels on MacBook7,1:
APIC, CLFSH, CMOV, CX16, CX8, DE, FPU, FXSR, HTT, MCA, MCE, MMX, MON, MSR, MTRR, PAE, PAT, PGE, PSE, PSE36, SEP, SS, SSE, SSE2, SSE3, SSE4.1, SSSE3, TSC, TSCTMR, VME, VMM, XSAVE, x2APIC

Is any of this interesting to those who know more than I do? It's mostly meaningless to me ;)

I would say this is fairly conclusive proof that SSE4.2 is not the issue though -- Parallels doesn't emulate it and Mojave boots just fine in there.
 
Last edited:
  • Like
Reactions: Larsvonhier

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Ok, well it will require another supported machine already running Mojave to do. You'll just need to replace the IOUSB kexts in this running install, set permissions correctly, then rebuild kextcache using "sudo kextcache -system-prelinked-kernel". Then, copy /System/Library/Prelinkedkernels/prelinkedkernel to the same directory of your USB installer.

I’m not sure that I understand. Sorry.
 

0403979

Cancelled
Jun 11, 2018
1,402
1,735
You need an installed copy of Mojave to rebuild the prelinkedkernel. Why do you even want to patch the installer? If you want an installed copy to mess around with, as I do, just use my install method and bypass the bootable installer altogether...

I want to get the patcher working so I can try patches.
 

soniXx123

macrumors newbie
Jun 25, 2018
10
0
Has anyone figured out why the AMD kexts don't provide acceleration while the Intel kexts do? Is there something in the log files which indicates a problem?

Having used Mojave as the main OS on my Early 2011 17" MacBook Pro with the dedicated GPU disabled for a few days now, I can confirm it has been running nice and stable. System performance is acceptable, no random kernel panics to report.

Can u send me the USB install files? i have the same macbook like u :)
 

0403979

Cancelled
Jun 11, 2018
1,402
1,735
The patcher will not fix the panic on a 2010 MacBook like you and I have. We're on our own... until dosdude1 figures it out for us ;)

I can’t seem to find it, mind quoting it here? Also, how can I install it in a VM? I’m using VirtualBox.
 

ASentientBot

macrumors 6502a
Jun 27, 2018
863
3,421
SkyLight.framework
I can’t seem to find it, mind quoting it here? Also, how can I install it in a VM. I’m using VirtualBox.

Install instructions here.

In my experience VirtualBox has been a bit of a hassle to use for macOS guests. I'd use Parallels if I were you, it walks you through the whole process and doesn't require any patches at all.
 

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Hey everyone! And many thanks to dosdude, parrotgeek and everyone else for your work so far! I've been following this thread since day one but only just made an account to share my progress and ask a couple questions.

I have a Core 2 Duo MacBook7,1. So far, my steps are:

- Found the link to InstallESD.dmg from the software catalog (not sure if I can share that here or not) and downloaded it
- Patched OSInstall.mpkg's installation check script to return true at the very beginning and re-flattened the package
- Opened (just double-clicked it, opening with Installer.app) the patched package and installed to a HFS+ partition
- Copied "/Volumes/Mojave/usr/standalone/i386/boot.efi" to "/Volumes/Mojave/System/Library/CoreServices" (this seems necessary to make the installed volume bootable, idk why though)
- Edited "/Volumes/Mojave/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" "Kernel Flags" to "-v -no_compat_check keepsyms=1"
- Replaced "IOUSBHostFamily.kext" with a copy from High Sierra (and fixed permissions on Extensions folder)
- Disabled rootless
- Booted from the "Mojave" partition

On the first boot, it automatically rebuilds the prelinkedkernel and reboots. After that I can get into single-user mode and the keyboard works. In a normal boot, it gets to a grey screen with a cursor, which can be moved for several seconds before it panics. I can't figure out what caused the panic.

Thinking it might be caused by SSE4.2, I wrote an AppleScript to disassemble literally every binary in the system and search for SSE4.2 instructions. (I can share this script or the list if anybody is curious.) I then replaced every file it found with the equivalents from High Sierra. No change.

So I'm kinda stuck. dosdude1, have you made any progress on your C2D machines? Anything I can do to help? I hope from your post you can see that I have some knowledge and am willing to contribute anything I can! On the other hand, I may not know anything you haven't already figured out.

- Will

Edit: Figured out file uploads, uploading the list of binaries with SSE4.2 instructions in case they're relevant to anyone. (I don't think this panic is SSE4.2 - related, though.)

I can’t edit the InstallESD disk image because it’s read only. How do I edit the OSInstall package and “re-flatten” it, and I don’t understand how to fix permissions on the exstentions folder?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.