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.
It works on any Mac? For instance, a mbp 8,1 i5?

This should helpful. See if it fits your use case: #1230
[doublepost=1560883921][/doublepost]
This afternoon I will be posting my Mac Pro 3,1 patches. I’ve narrowed it down to a very select few patches are required to get the keyboard WiFi, sound and trackpad 2 and WebCam to work without much work besides a couple with things.

Catalina provides a very good USB set of drivers and when used with legacy usb only everything just works.

My scripts will be interactive allowing the user to set target drives. Clean install is recommended. I am removing the stuff that’s not needed now.
Is it significantly different than mine : #1230 for my mac pro 3,1?
What are your additions for trackPad and Webcam - don't use them much, but just curious when I change my "barebones" image. I haven't upgraded to b2 on the 3,1 - but my slim configuration is enough for some good Xcode.
 
This should helpful. See if it fits your use case: #1230
[doublepost=1560883921][/doublepost]
Is it significantly different than mine : #1230 for my mac pro 3,1?
What are your additions for trackPad and Webcam - don't use them much, but just curious when I change my "barebones" image. I haven't upgraded to b2 on the 3,1 - but my slim configuration is enough for some good Xcode.
I want to test mine on b2 and b1 once more before releasing but I only have about 5 kext’s to everything working leaving most of Catalina intact.

I am using
1.Sentienbot’s HID patch
2 legacy USB patch: works with all Cat’s USB drivers
3 Apple HDA patch for native sound
4 Wifi patch minus CoreResponder, 802.11_2nd kext left intact
5 iOUSB family and IOUSBHost left intact

With that set, running them on a clean install from my own interactive shell script to make it easy to test clean systems, I got my Magic Trackpad and 1080p webcam working natively without additional drives. Through lots of testing on clean installs using ASR to image the drivers in 2 minutes, I was able to test many sets of patches. Ran into scenarios where everything worked but 1 thing would barf.

My 3,1 patch tool is just 17MB. I will check out a clean install on b1 and b2 to see if things hold up.

I was running into conflicts with my cam and trackpad. And I think I got that worked out thus far.
 

Attachments

  • image.jpg
    image.jpg
    2.2 MB · Views: 246
  • image.jpg
    image.jpg
    2.3 MB · Views: 200
Last edited:
Yes, with GUID Partition Type
Run the os Catalina beta 2 through your mojave patcher right Dos?..Like she asked here right?..2008 24" 3.06 ghz . 6 gigs ram . 120 ssd Imac..On a partition..Extended Jouraled..right?
[doublepost=1560887298][/doublepost]Hi Dos...I just downloaded os Catalina beta 2 from your os downloader..I partitioned my 120 ssd hard drive,59 Mojave..59 os Catalina..extended jouraled,,guid map..Now i just use the mojave patcher and run os catalina through it like we did with a Mojave update?..Anything i should no before i try . this?
 
  • Like
Reactions: TimothyR734
Yes, once I get the actual full patcher made, that will have the option of viewing verbose logs.
I’m running your B11 patcher and it has stopped writing to my usb flash drive. But the patcher still said starting. Does this mean I’m done?
[doublepost=1560888463][/doublepost]The patcher B11 actually works correctly on my hackintosh.
 
  • Like
Reactions: TimothyR734
Then try this:

from your Catalina Mac, before power-on, plug the USB Mojave Patcher (any version), power-on, hold alt-option key and boot from the USB Mojave Patcher, after loaded, launch the Mojave Post-Install

Don't select your Mac model, target your Catalina Volume and select only these patches:

Legacy USB Injector
USBOHCI Support
SIPDisabler
Legacy Audio
Legacy Platform Compatibility
Legacy Wifi


Select Volume: YourCatalinaLabel

Press Patch button

But Do NOT install/select the "Legacy Video Patch" and do NOT check "force cache rebuild".

Just reboot and unplug the USB Mojave Patcher, and maybe Catalina should boot.

This isn't working for me on my MacPro 3,1 using the current b12 installer patcher to install the DP2. The resulting installation boots fine but the usb mouse and keyboard don't respond when the language setup dialog appears on the first reboot. I did notice that clicking the Reboot button in the Postinstall Patcher after applying the above patches showed progress text indicating that the cache was being rebuilt. This doesn't seem right as this is being done under Mojave instead of Catalina.
 
  • Like
Reactions: TimothyR734
I am in my final round of testing Beta 1 soon Beta 2 with the patches I've compiled. Bluetooth can still be a little bit a bugger with the Mac Trackpad 2, but having USB working flawlessly helps with that problem. Simply plug it back in and bam it's sync back with bluetooth like it should. For me that little Legacy USB kext solved all my issue problems without having install other USB patches on top of the system. Without finding that fine line, I had Cam work, No Trackpad and vice versa. I even had Wifi, no sound and was getting all kinds of wierd stuff like that til I focused on narrowing the set of patches that were used on Mojave mostly from the Dosdude1's patcher and try to find the least common dominator and with some patience I am really happy with the results.

I have a couple other Macs I can get into patching later which include Mac Book Pro 2009 (two units) and a 27' iMac 2011. I may get an eGPU case for the 2011 unless I can swap the GPU easily enough that box is a pain to get inside and an eGPU for me might be best and I can not limited to just one card model.

Has anyone gotten Side Car to work on unsupported Macs? I haven't been able to test it yet, my iPad mini 4 did not get delivered. The order is like a ghost.

Anyways, I wanted to share my terminal screen for copying a fresh install DMG:

Screen Shot 2019-06-18 at 10.09.16 AM.png


I do plan to make this much easier with a UI. Mainly so we can backup a booted patched system easier. Not really to make clean installs, but I am using it that way as a clone of a clean install takes only 2 minutes.

The thing about Apple Software Restore or ASR it requires 2x data space for the restore (this is where the inversion takes place at the 50% mark), but the good news it does not require a full disk copy like dd does out of the back. ASR can work with rdisk like dd can. See asr man page for details about cloning APFS and inversion.

I am using hdiutil to create the disk images. I still need to try dd soon and will probably do that with beta 2. ASR can clone disk-to-disk or image-to-disk as long as the target space is not over 50% full.

I will release a simple patch tool for Mac Pro 3,1 later tonight.
 
Last edited:
I am in my final round of testing Beta 1 soon Beta 2 with the patches I've compiled. Bluetooth can still be a little bit a bugger with the Mac Trackpad 2, but having USB working flawlessly helps with that problem. Simply plug it back in and bam it's sync back with bluetooth like it should. For me that little Legacy USB kext solved all my issue problems without having install other USB patches on top of the system. Without finding that fine line, I had Cam work, No Trackpad and vice versa. I even had Wifi, no sound and was getting all kinds of wierd stuff like that til I focused on narrowing the set of patches that were used on Mojave mostly from the Dosdude1's patcher and try to find the least common dominator and with some patience I am really happy with the results.

I have a couple other Macs I can get into patching later which include Mac Book Pro 2009 (two units) and a 27' iMac 2011. I may get an eGPU case for the 2011 unless I can swap the GPU easily enough that box is a pain to get inside and an eGPU for me might be best and I can not limited to just one card model.

Has anyone gotten Side Car to work on unsupported Macs? I haven't been able to test it yet, my iPad mini 4 did not get delivered. The order is like a ghost.

Anyways, I wanted to share my terminal screen for copying a fresh install DMG:

View attachment 843801

I do plan to make this much easier with a UI. Mainly so we can backup a booted patched system easier. Not really to make clean installs, but I am using it that way as a clone of a clean install takes only 2 minutes.

The thing about Apple Software Restore or ASR it requires 2x data space for the restore (this is where the inversion takes place at the 50% mark), but the good news it does not require a full disk copy like dd does out of the back. ASR can work with rdisk like dd can. See asr man page for details about cloning APFS and inversion.

I am using hdiutil to create the disk images. I still need to try dd soon and will probably do that with beta 2. ASR can clone disk-to-disk or image-to-disk as long as the target space is not over 50% full.

I will release a simple patch tool for Mac Pro 3,1 later tonight.
Cool. I'm considering using your tool for my b2 imaging. Holler if you need an extra tester...
 
Here is my interactive shell script patch tool for Mac Pro 3,1 (2008) for Catalina Beta 1

MP31_CatWoman v01b1

My script is designed for a clean install on Catalina Beta 1. I have not tested it with Cat Beta 2 yet, but will soon.

It does not install macOS. It only patches a clean installation that can be done with a Supported Mac or Dosdude1 patched installer tool. I narrowed the MP3,1 patches down as much as possible and allow maximum compatibility especially with USB.

Download the dmg here.

Screen Shot 2019-06-18 at 5.14.35 PM.png

Terminal needs Full disk access. run command with sudo. Pay attention to the prompts. It allows you to change the destination volume with either / or /Volumes/DestName. You should not have to edit the source path. Press enter for defaults. It will not run until you press Enter on the third prompt, showing you a print out allowing you to abort if necessary.

It may work fine with Core2Duo machine except there are no video patches. All my work thus far has been on MP3,1. (It's been only tested on MP3,1)

I did not write any of the patches and tried to give credit at the bottom of the source code. The ones I used are mostly from Dosdude1's Mojave Patch tool, but very focused and tried to get everything working out of the box in one quick shot. I spent many days with applying various patches to clean installs and in the past few hours spent today found what I consider to be a great combo. Whoever wrote the Legacy USB Injector is brilliant. That's all that's really needed with Catalina Beta 1 to get USB fully functional with many different types of devices on the Bus.
 

Attachments

  • Screen Shot 2019-06-18 at 5.15.47 PM.png
    Screen Shot 2019-06-18 at 5.15.47 PM.png
    34.5 KB · Views: 155
Last edited:
This isn't working for me on my MacPro 3,1 using the current b12 installer patcher to install the DP2. The resulting installation boots fine but the usb mouse and keyboard don't respond when the language setup dialog appears on the first reboot. I did notice that clicking the Reboot button in the Postinstall Patcher after applying the above patches showed progress text indicating that the cache was being rebuilt. This doesn't seem right as this is being done under Mojave instead of Catalina.

Also on my MB5,1 I cannot use the trackpad or keyboard (stuck on Language Chooser after a clean install of Cat bt2). Replaced all provided patches... Still didn't work.
 
  • Like
Reactions: TimothyR734
Also on my MB5,1 I cannot use the trackpad or keyboard (stuck on Language Chooser after a clean install of Cat bt2). Replaced all provided patches... Still didn't work.

You can try mine on a clean install. May help you with your input devices.
 
Last edited:
  • Like
Reactions: TimothyR734
I am in my final round of testing Beta 1 soon Beta 2 with the patches I've compiled. Bluetooth can still be a little bit a bugger with the Mac Trackpad 2, but having USB working flawlessly helps with that problem. Simply plug it back in and bam it's sync back with bluetooth like it should. For me that little Legacy USB kext solved all my issue problems without having install other USB patches on top of the system. Without finding that fine line, I had Cam work, No Trackpad and vice versa. I even had Wifi, no sound and was getting all kinds of wierd stuff like that til I focused on narrowing the set of patches that were used on Mojave mostly from the Dosdude1's patcher and try to find the least common dominator and with some patience I am really happy with the results.

I have a couple other Macs I can get into patching later which include Mac Book Pro 2009 (two units) and a 27' iMac 2011. I may get an eGPU case for the 2011 unless I can swap the GPU easily enough that box is a pain to get inside and an eGPU for me might be best and I can not limited to just one card model.

Has anyone gotten Side Car to work on unsupported Macs? I haven't been able to test it yet, my iPad mini 4 did not get delivered. The order is like a ghost.

Anyways, I wanted to share my terminal screen for copying a fresh install DMG:

View attachment 843801

I do plan to make this much easier with a UI. Mainly so we can backup a booted patched system easier. Not really to make clean installs, but I am using it that way as a clone of a clean install takes only 2 minutes.

The thing about Apple Software Restore or ASR it requires 2x data space for the restore (this is where the inversion takes place at the 50% mark), but the good news it does not require a full disk copy like dd does out of the back. ASR can work with rdisk like dd can. See asr man page for details about cloning APFS and inversion.

I am using hdiutil to create the disk images. I still need to try dd soon and will probably do that with beta 2. ASR can clone disk-to-disk or image-to-disk as long as the target space is not over 50% full.

I will release a simple patch tool for Mac Pro 3,1 later tonight.


Can you give a simple command to make a DMG of a working APFS drive? One that only takes as much space as is used and doesn’t contain all the free space like dd does?
 
  • Like
Reactions: TimothyR734
Can you give a simple command to make a DMG of a working APFS drive? One that only takes as much space as is used and doesn’t contain all the free space like dd does?
yes I can. When I get back home I will send it to you. The Dmg will be only of the data itself and not the free space. However It must be restored on a same size volume or larger than the original disk. The volume’s size is still considered during the restore process. And the restore needs room on the target to work with to invert the APFS volume. Hope that makes sense. I’ll send to both a command to create the image and a command to restore it along with a couple commands in between that are necessary. I will try to make it as simple as possible.
 
Last edited:
  • Like
Reactions: TimothyR734
Here is my interactive shell script patch tool for Mac Pro 3,1 (2008) for Catalina Beta 1

MP31_CatWoman v01b1

My script is designed for a clean install on Catalina Beta 1. I have not tested it with Cat Beta 2 yet, but will soon.

It does not install macOS. It only patches a clean installation that can be done with a Supported Mac or Dosdude1 patched installer tool. I narrowed the MP3,1 patches down as much as possible and allow maximum compatibility especially with USB.

Download the dmg here.

View attachment 843805
Terminal needs Full disk access. run command with sudo. Pay attention to the prompts. It allows you to change the destination volume with either / or /Volumes/DestName. You should not have to edit the source path. Press enter for defaults. It will not run until you press Enter on the third prompt, showing you a print out allowing you to abort if necessary.

It may work fine with Core2Duo machine except there are no video patches. All my work thus far has been on MP3,1. (It's been only tested on MP3,1)

I did not write any of the patches and tried to give credit at the bottom of the source code. The ones I used are mostly from Dosdude1's Mojave Patch tool, but very focused and tried to get everything working out of the box in one quick shot. I spent many days with applying various patches to clean installs and in the past few hours spent today found what I consider to be a great combo. Whoever wrote the Legacy USB Injector is brilliant. That's all that's really needed with Catalina Beta 1 to get USB fully functional with many different types of devices on the Bus.
I like! Will try this soon on my mp3,1 ...:)

EDIT: will this allow me to "extend" my volume size beyond its original capacity?
 
Here is my interactive shell script patch tool for Mac Pro 3,1 (2008) for Catalina Beta 1

MP31_CatWoman v01b1

My script is designed for a clean install on Catalina Beta 1. I have not tested it with Cat Beta 2 yet, but will soon.

It does not install macOS. It only patches a clean installation that can be done with a Supported Mac or Dosdude1 patched installer tool. I narrowed the MP3,1 patches down as much as possible and allow maximum compatibility especially with USB.

Download the dmg here.

View attachment 843805
Terminal needs Full disk access. run command with sudo. Pay attention to the prompts. It allows you to change the destination volume with either / or /Volumes/DestName. You should not have to edit the source path. Press enter for defaults. It will not run until you press Enter on the third prompt, showing you a print out allowing you to abort if necessary.

It may work fine with Core2Duo machine except there are no video patches. All my work thus far has been on MP3,1. (It's been only tested on MP3,1)

I did not write any of the patches and tried to give credit at the bottom of the source code. The ones I used are mostly from Dosdude1's Mojave Patch tool, but very focused and tried to get everything working out of the box in one quick shot. I spent many days with applying various patches to clean installs and in the past few hours spent today found what I consider to be a great combo. Whoever wrote the Legacy USB Injector is brilliant. That's all that's really needed with Catalina Beta 1 to get USB fully functional with many different types of devices on the Bus.

How exactly did you test this with installations done with Dosdude1 patched installer tool on your MacPro 3,1? Did you install from the patch USB installer and then, when it began to reboot into the first boot, option select a Mojave drive to use your shell script from? The interactions of these patches with the cache/prelinked kernel building process is also really unclear.
 
  • Like
Reactions: TimothyR734
I like! Will try this soon on my mp3,1 ...:)

EDIT: will this allow me to "extend" my volume size beyond its original capacity?
Yes I can show you how to do that. I am actually doing some testing right now with hdiutil and asr with Catalina Beta 2.
[doublepost=1560911803][/doublepost]
How exactly did you test this with installations done with Dosdude1 patched installer tool on your MacPro 3,1? Did you install from the patch USB installer and then, when it began to reboot into the first boot, option select a Mojave drive to use your shell script from? The interactions of these patches with the cache/prelinked kernel building process is also really unclear.
I haven't messed with creating a prelinked kernel on this patch, you can easily copy it and add the command. You may find that one of Apple's own Kext in Catalina tends to prevent it. And you may also find that upon boot if the system detects it needs prelinked kernel, it automatically triggers it at boot right before the Window server starts up.

My experience with Kext's is not vast. If you install them correctly. They will take and the system will usually handle the prelinked kernel on its own. There are many users on here who know more that I do on that and I would probably follow their advice. The System knows when changes have been made the only time I have seen them not take is when there is a permissions problem. Dragging and Dropping then applying the permissions can be problematic at best. So don't do that. If I find can get the prelinked kernel command to work in the future, I will add it in at the end. I'm all for streamlining the process as much as possible.

All my tests were on a clean install from a Supported Mac. I had issues with one of Dosdude's early betas and proceeded with a clean install image that I could restore in 2 minutes flat. I dealt with lots of boots with time outs at first. ASentientBot's HID patch seems to help that a lot. At first his did not seem to matter much but when I found a good combo of drivers, his patch performed really well.

I dealt with losing keyboard and mouse at first. I dealt with one thing working and another not (Trackpad vs. Cam) and what I started mostly with was the Mojave patches and after I found certain combinations worked better than another. I found some variations of an original WiFi patch and that it was different on more current build of Mojave and those later variations mattered. I tried USB Bus kext from one IOHostFamily and found Trackpad worked better then I found my webcam work natively without any other patches but Trackpad was whack. I found some Mojave patches removed USB charging.

Then I ultimately found that Legacy USB Injector with Apple's Catalina IOUSB and IOUSBHost worked fine together without having to mess with them any further and even USB charging worked! My Trackpad 2 just worked. My keyboard not issues and my webcam too at 1080p without any additional drivers. And even my iPhone video works right out of the box on Quicktime. I can tell you I tried everything I could think of until I considered it to be a complete match and that I was happy with it the results myself.

I had all this stuff working sorta well at first, but when I started to put the pieces together things completely fell apart and I would take notes, fire up a new clean install and run it again.

Hacking, Hunches, Trial and Error, and started doing each test quicker and quicker and the combination started to fall into place. I was dumb founded when my Webcam worked and my Trackpad 2 didn't but it would show two of Trackpad 2's on my bus when it wasn't working at all. There's a bit of history on here and I was determined to find the right stuff for my script.

Oh and had typos in my script, did some troubleshooting there. I would sometimes lose a change or I completely lost my place. I did crazy stuff early on like grab Kext's from the BaseSystem and at first things looked promising until after 4 reboots with Kernel Panics. So when that happened, I would drop back and punt. This ended simple in the end. My download is 16.4 MB compressed. The biggest Kext is for WiFi. 5 Kext's total. I added some images to help new users.

Sorry that was a long one! I've been sick for a week. This did keep my mind one something to get through it.

This was a painstaking as it was fun. I can't tell you how many 60s and 240s times 3 boots I had and I miss read that ASentientBot was using Single User Mode instead of Safe Mode to workaround them. There were also time when if Networking worked the timeouts went away but that didn't last. I may not even need the HID patch anymore, but I'm not willing to find that out. Those timeouts left a mark.

Bluetooth can still be a little flaky. My workaround with having USB working correctly is just plug my TrackPad2 in, works via USB, then unplug it again, works via BT. I might look at BT again later but from what I understand BT is supposed to be somehow linked with USB. It seems to be that way on new MBPs. I am not sure on the old Mac Pro. I did find lots of stuff is controlled by USB on the Mac Pro. I had Sound and WiFi go out even with the right Kext's when I totally blew out the IOUSBHost drivers by accident.
 
Last edited:
Yes I can show you how to do that. I am actually doing some testing right now with hdiutil and asr with Catalina Beta 2.
[doublepost=1560911803][/doublepost]
I haven't messed with creating a prelinked kernel on this patch, you can easily copy it and add the command. You may find that one of Apple's own Kext in Catalina tends to prevent it. And you may also find that upon boot if the system detects it needs prelinked kernel, it automatically triggers it at boot right before the Window server starts up.

My experience with Kext's is not vast. If you install them correctly. They will take and the system will usually handle the prelinked kernel on its own. There are many users on here who know more that I do on that and I would probably follow their advice. The System knows when changes have been made the only time I have seen them not take is when there is a permissions problem. Dragging and Dropping then applying the permissions can be problematic at best. So don't do that. If I find can get the prelinked kernel command to work in the future, I will add it in at the end. I'm all for streamlining the process as much as possible.

All my tests were on a clean install from a Supported Mac. I had issues with one of Dosdude's early betas and proceeded with a clean install image that I could restore in 2 minutes flat. I dealt with lots of boots with time outs at first. ASentientBot's HID patch seems to help that a lot. At first his did not seem to matter much but when I found a good combo of drivers, his patch performed really well.

I dealt with losing keyboard and mouse at first. I dealt with one thing working and another not (Trackpad vs. Cam) and what I started mostly with was the Mojave patches and after I found certain combinations worked better than another. I found some variations of an original WiFi patch and that it was different on more current build of Mojave and those later variations mattered. I tried USB Bus kext from one IOHostFamily and found Trackpad worked better then I found my webcam work natively without any other patches but Trackpad was whack. I found some Mojave patches removed USB charging.

Then I ultimately found that Legacy USB Injector with Apple's Catalina IOUSB and IOUSBHost worked fine together without having to mess with them any further and even USB charging worked! My Trackpad 2 just worked. My keyboard not issues and my webcam too at 1080p without any additional drivers. And even my iPhone video works right out of the box on Quicktime. I can tell you I tried everything I could think of until I considered it to be a complete match and that I was happy with it the results myself.

I had all this stuff working sorta well at first, but when I started to put the pieces together things completely fell apart and I would take notes, fire up a new clean install and run it again.

Hacking, Hunches, Trial and Error, and started doing each test quicker and quicker and the combination started to fall into place. I was dumb founded when my Webcam worked and my Trackpad 2 didn't but it would show two of Trackpad 2's on my bus when it wasn't working at all. There's a bit of history on here and I was determined to find the right stuff for my script.

Oh and had typos in my script, did some troubleshooting there. I would sometimes lose a change or I completely lost my place. I did crazy stuff early on like grab Kext's from the BaseSystem and at first things looked promising until after 4 reboots with Kernel Panics. So when that happened, I would drop back and punt. This ended simple in the end. My download is 16.4 MB compressed. The biggest Kext is for WiFi. 5 Kext's total. I added some images to help new users.

Sorry that was a long one! I've been sick for a week. This did keep my mind one something to get through it.

This was a painstaking as it was fun. I can't tell you how many 60s and 240s times 3 boots I had and I miss read that ASentientBot was using Single User Mode instead of Safe Mode to workaround them. There were also time when if Networking worked the timeouts went away but that didn't last. I may not even need the HID patch anymore, but I'm not willing to find that out. Those timeouts left a mark.

Bluetooth can still be a little flaky. My workaround with having USB working correctly is just plug my TrackPad2 in, works via USB, then unplug it again, works via BT. I might look at BT again later but from what I understand BT is supposed to be somehow linked with USB. It seems to be that way on new MBPs. I am not sure on the old Mac Pro. I did find lots of stuff is controlled by USB on the Mac Pro. I had Sound and WiFi go out even with the right Kext's when I totally blew out the IOUSBHost drivers by accident.
You know, I'm still not sure about prelinked being automatically generated if needed, at least on b1. A while ago I actually tested this by deleting it from my boot image and it won't boot (with the expected kernel error). It sure was the case in Mojave, but my experience with Cat b1 was different. Maybe a bug that just got fixed.
 
Can you give a simple command to make a DMG of a working APFS drive? One that only takes as much space as is used and doesn’t contain all the free space like dd does?

Okay. Here is some info on how to create a DMG without dd that can be restored later to another drive of a volume is equal or larger using another command. I know not that simple. Trust me, it will be soon.


First find the disk and here Cat is replace it with your Volume name:

diskutil list | grep Cat

from that you get will something like:

1: APFS Volume Cat - Data 3.5 GB disk18s1
4: APFS Volume Cat 10.0 GB disk18s4

Great! Now we have the disk. Let's unmount it like so:

diskutil unmountDisk /dev/disk18

Unmount of all volumes on disk18 was successful
Great!

If it does not unmount, reboot and try again. Trust me, it'll work.

Let's image that disk.

sudo hdiutil create -srcdevice /dev/disk18 /Volumes/Space/CatalinaB2/Cat_cleaninstall.dmg

If you did it right you'll get:

Preparing imaging engine…
Reading whole disk (Apple_APFS : 0)…
.......................................................................................................................................
(CRC32 $20D5402B: whole disk (Apple_APFS : 0))
Adding resources…
.......................................................................................................................................
Elapsed Time: 10m 42.168s
File size: 16580557253 bytes, Checksum: CRC32 $56F131BC
Sectors processed: 78320968, 45377984 compressed

Speed: 34.5Mbytes/sec
Savings: 58.7%
created: /Volumes/Space/CatalinaB2/Cat_cleaninstall.dmg

I ran mine on a USB 2.0 HD source. On an Internal HD or SSD you can clone this size image 2-4m. And restore in 4-8 min. These are for clean installs. I did notice that Beta2 clean install is a different than than b1, but it will clone! B1 clean can clone in half those times.

diskutil mountDisk /dev/disk18

Volume(s) mounted successfully
Great!

Restoring is next. Stay tuned!

My source B2 image is 16.58 GB. That's a lot bigger than B1 which is 9.67 GB.
[doublepost=1560915670][/doublepost]
You know, I'm still not sure about prelinked being automatically generated if needed, at least on b1. A while ago I actually tested this by deleting it from my boot image and it won't boot (with the expected kernel error). It sure was the case in Mojave, but my experience with Cat b1 was different. Maybe a bug that just got fixed.

At boot in verbose mode -> After a Kext change and reboot, I would see the system suggesting to rebuild a prelinked kernel, and then on the same line, it would say this something.kext triggered rebuild.

When I would try to rebuild the prelinked kernel on Cat, and it would say an Apple USB Audio Kext stopped the prelinked kernel from being built. It would get warnings from patched kext's but those were okay. There was a signing issue on B1 with that Kext. I would have left the rebuild command in there but it didn't look like it was working on Cat at the time.

I did see with my set of patches, lots of stuff loads in Verbose mode. Lots of info and codes run across the screen. And the boot time is really good. And the kext triggered build line doesn't fire hardly at all.

When adding a kext, Look for the triggered rebuild message right before the system goes to the Window Server. It's one of the last things it mentions or does at boot when changes are made. It's also around where that timeout stuff can happen when not booted from Single use mode, just Verbose mode and without ASentientBot's HID patch.

Also when modifying the system like applying a patch, if you reboot via the command line without -q, it will wait for the system to updates to finish and it will wait for a lock. There is stuff going one automatically behind the scenes. Could be system maintenance, could be an auto rebuild, but something is happening and with -q off. The reboot command w/o -q will flush caches, at least that is what it is supposed to do according to the man page.
 
Last edited:
Okay. Here is some info on how to create a DMG without dd that can be restored later to another drive of a volume is equal or larger using another command. I know not that simple. Trust me, it will be soon.


First find the disk and here Cat is replace it with your Volume name:

diskutil list | grep Cat

from that you get will something like:

1: APFS Volume Cat - Data 3.5 GB disk18s1
4: APFS Volume Cat 10.0 GB disk18s4

Great! Now we have the disk. Let's unmount it like so:

diskutil unmountDisk /dev/disk18

Unmount of all volumes on disk18 was successful
Great!

If it does not unmount, reboot and try again. Trust me, it'll work.

Let's image that disk.

sudo hdiutil create -srcdevice /dev/disk18 /Volumes/Space/CatalinaB2/Cat_cleaninstall.dmg

If you did it right you'll get:

Preparing imaging engine…
Reading whole disk (Apple_APFS : 0)…
.......................................................................................................................................
(CRC32 $20D5402B: whole disk (Apple_APFS : 0))
Adding resources…
.......................................................................................................................................
Elapsed Time: 10m 42.168s
File size: 16580557253 bytes, Checksum: CRC32 $56F131BC
Sectors processed: 78320968, 45377984 compressed

Speed: 34.5Mbytes/sec
Savings: 58.7%
created: /Volumes/Space/CatalinaB2/Cat_cleaninstall.dmg

I ran mine on a USB 2.0 HD source. On an Internal HD or SSD you can clone this size image 2-4m. And restore in 4-8 min. These are for clean installs. I did notice that Beta2 clean install is a different than than b1, but it will clone! B1 clean can clone in half those times.

diskutil mountDisk /dev/disk18

Volume(s) mounted successfully
Great!

Restoring is next. Stay tuned!

My source B2 image is 16.58 GB. That's a lot bigger than B1 which is 9.67 GB.
[doublepost=1560915670][/doublepost]

At boot in verbose mode -> After a Kext change and reboot, I would see the system suggesting to rebuild a prelinked kernel, and then on the same line, it would say this something.kext triggered rebuild.

When I would try to rebuild the prelinked kernel on Cat, and it would say an Apple USB Audio Kext stopped the prelinked kernel from being built. It would get warnings from patched kext's but those were okay. There was a signing issue on B1 with that Kext. I would have left the rebuild command in there but it didn't look like it was working on Cat at the time.

I did see with my set of patches, lots of stuff loads in Verbose mode. Lots of info and codes run across the screen. And the boot time is really good. And the kext triggered build line doesn't fire hardly at all. Look for it right before the system goes to the Window Server.
Was this on your 3,1? My early tests were on an mbp 5,3. Maybe a difference there. Just an early observation. Anyway with all the different patchers and installers floating around - may not have to deal with this for long ... ;)
 
Was this on your 3,1? My early tests were on an mbp 5,3. Maybe a difference there. Just an early observation. Anyway with all the different patchers and installers floating around - may not have to deal with this for long ... ;)

Yes, only on my 3,1.

Probably right. I wanted help the process by finding what could work from a minimalistic point of view and at first that wasn't even my goal. I wanted to just hammer out what was already done, but it ended up taking a slight turn and I think for the better.

If your system if listed in the Legacy USB, that's a gold nugget. I will find out if that's true on B2. When I took IOUSBFamily and IOUSBHostFamily from previous patches or even messed with parts of their Kext's on Apple's latest or previous, I started finding things that worked and didn't work and came to the conclusion what if I just used the Legacy USB by itself with Apple's Kext's. And things just lit up on reboot.

I even transplanted the USB Bus kext from Mojave to Catalina and my Magic Trackpad 2 worked but it busted the USB webcam that worked without another driver (did not even need the manufacture's driver). I knew I was close and it should all just work.
[doublepost=1560917919][/doublepost]I am restoring Beta 2 now and will be testing my set of patching on it shortly right before I go to bed.

Here are my commands for restoring a disk via asr.

diskutil list | grep Catalina2

1: APFS Volume Catalina2 - Data 57.1 GB disk7s1
4: APFS Volume Catalina2 10.1 GB disk7s4

diskutil unmountDisk /dev/disk7

Unmount of all volumes on disk7 was successful

Here rdisk can be used and it will speed things up by 3x.

sudo asr restore --source /Volumes/Space/CatalinaB2/Cat_cleaninstall.dmg --target /dev/rdisk7 -erase -noprompt -noverify

Password:
Validating target...done
Validating source...done
Retrieving scan information...done
Validating sizes...nx_kernel_mount:1387: : checkpoint search: largest xid 772, best xid 772 @ 31
done
Restoring ....10....20....30....40....50....60....70....80....90....100
Inverting target volume...done
Updating Failed to stat file /Volumes/Cat 1/AppleInternal, error No such file or directory
....10....20....30....40....50....60....70....80....90....100
Ejecting the source image...done
Restored target device is /dev/disk7s1.

diskutil mountDisk /dev/disk7

Volume(s) mounted successfully

That was done in how long it took to write this message.

Then run patches.

Rebuild Prelinked Kernel manually for now on Beta2.

This restore was from a 32 GB drive to a 500 GB. asr handled it great!
 
Last edited:
I was able to rebuild the prelinked kernel Manually in Beta2. Apple fixed their AppleUSBAudioKextSigning In b2.

Sseeing if my patch script takes on b2. If successful, I will add the commands. If not successful, I’ll troubleshoot the differences in B1 and B2.
[doublepost=1560920867][/doublepost]
I was able to rebuild the prelinked kernel Manually in Beta2. Apple fixed their AppleUSBAudioKextSignung, seeing if my patch script takes on b2. If successful, I will add the commands. If not successful, I’ll troubleshoot the differences in B1 and B2.

With running this command to rebuild:

sudo kextcache -system-prelinked-kernel

on Beta 2.

My b1 patch script works fine. I will add in that command as well as

sudo kextcache -system-cache

before reboot happens.

That will be in my b2 script soon.

If you have any suggestions on the prelinked rebuild commands, especially for running it on another target, please let me know. I'd like some good advice there for the script.

I am happy to report rebuilding the prelinked is working for me on Beta2 and it was required this time around for the patches to take unlike Beta1 that would let stuff run in the Wild. Boot of course is even faster. Guess it does not rebuild on it's own even when if says ...kext triggered rebuild. Just means to rebuild it. Got it. Apple has fixed my issue with it, so I will be adding it to my next script 01b2 eta 24hrs.

Least Beta2 is not much more trouble than B1. I don't know about Dosdude1's installer yet. I have not used it. I've been doing the transfer thing instead using HDIUTIL and ASR commands. I will test Dosdude1's solution soon.

Screen Shot 2019-06-18 at 10.06.37 PM.png

[doublepost=1560920962][/doublepost]
Anyone have a MacBook 6,1 to see if this patcher works with that model?
[doublepost=1560919641][/doublepost]Also, is it possible to bring itunes over from Mojave to Catalina via copying the application via external HD and moving it to 10.15?
I don't think iTunes will run on Catalina. It's a bit of a pain with iPadOS install needing Mojave still. :(
 
Last edited:
  • Like
Reactions: olad and pippox0
I was able to rebuild the prelinked kernel Manually in Beta2. Apple fixed their AppleUSBAudioKextSignung, seeing if my patch script takes on b2. If successful, I will add the commands. If not successful, I’ll troubleshoot the differences in B1 and B2.
[doublepost=1560920867][/doublepost]

With running this command to rebuild:

sudo kextcache -system-prelinked-kernel

on Beta 2.

My b1 patch script works fine. I will add in that command as well as

sudo kextcache -system-cache

before reboot happens.

That will be in my b2 script soon.

If you have any suggestions on the prelinked rebuild commands, especially for running it on another target, please let me know. I'd like some good advice there for the script.

I am happy to report rebuilding the prelinked is working for me on Beta2 and it was required this time around for the patches to take unlike Beta1 that would let stuff run in the Wild. Boot of course is even faster. Guess it does not rebuild on it's own even when if says ...kext triggered rebuild. Just means to rebuild it. Got it. Apple has fixed my issue with it, so I will be adding it to my next script 01b2 eta 24hrs.

Least Beta2 is not much more trouble than B1. I don't know about Dosdude1's installer yet. I have not used it. I've been doing the transfer thing instead using HDIUTIL and ASR commands. I will test Dosdude1's solution soon.

View attachment 843833
[doublepost=1560920962][/doublepost]
I don't think iTunes will run on Catalina. It's a bit of a pain with iPadOS install needing Mojave still. :(
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/ maybe this might work :)
 
  • Like
Reactions: jackluke
I am not involved in process but was thinking about the same right now. I would consider it smart. You call it something like dog race or so, aren't you?
Apple would not spend the time. They will make the installer harder, that’s it.

I was able to transfer and patch b2 very quickly and rebuild kernel was also fast.
[doublepost=1560922229][/doublepost]
Apple would not spend the time. They will make the installer harder, that’s probably as far as they will go.
I was able to transfer and patch b2 very quickly and rebuild kernel was also fast.
[doublepost=1560922876][/doublepost]
You know, I'm still not sure about prelinked being automatically generated if needed, at least on b1. A while ago I actually tested this by deleting it from my boot image and it won't boot (with the expected kernel error). It sure was the case in Mojave, but my experience with Cat b1 was different. Maybe a bug that just got fixed.
Yup are correct. But I am glad rebuilding prelinked kernel with latest patches are working on Beta2 is working for me.
[doublepost=1560922960][/doublepost]
Anyone have a MacBook 6,1 to see if this patcher works with that model?
[doublepost=1560919641][/doublepost]Also, is it possible to bring itunes over from Mojave to Catalina via copying the application via external HD and moving it to 10.15?
I have not done anything with video. native on 3,1. I knkw that’s not the case on MPBs.
[doublepost=1560923433][/doublepost]
I concur. I've relied on rebuilding my prelinks on a supported machine to get a minimal boot (at least to single user). The error message about the security framework needs to be looked at. I'm wondering if it's just a matter of launchtl'ing some needed services...
Such a pain if single-user mode has also been "locked" down to that level. But it doesn't make sense to me so I'm thinking it's a bug (maybe in how we're doing things). There's got to be a way around that...

I may start again from scratch to get to the bottom of this. Anyone have some more insights into this?

My working prelink for anyone that finds it useful : https://www.dropbox.com/s/n4lhk3jmml7vny0/prelinkedkernel?dl=0

Cool. Nice idea.

Prelinking is working on B2 btw.
 
Last edited:
This isn't working for me on my MacPro 3,1 using the current b12 installer patcher to install the DP2. The resulting installation boots fine but the usb mouse and keyboard don't respond when the language setup dialog appears on the first reboot. I did notice that clicking the Reboot button in the Postinstall Patcher after applying the above patches showed progress text indicating that the cache was being rebuilt. This doesn't seem right as this is being done under Mojave instead of Catalina.

You're right, since Catalina needs to find in root its /S/L/Kernels/ and SLE , so it's not easy to add the LegacyUSBInjector.kext unless you have access to a 2010 (or later) Mac.

Anyway you could try to use the dosdude1's prelinkedkernel in /macOS Catalina PartialPatcher.app/Contents/Resources/
that is a generalized prelinkedkernel for all the unsupported machine, if I don't get wrong with this prelinkedkernel the LegacyUSBPatch is already embedded in and you don't need to copy again that kext inside LE or SLE.

This should allow to use keyboard/mouse in single user mode or better in GUI Mode, since from single user mode you can't "kextcache" and so for this scope is of little use.
 
Hi Guys, I am really struggling here, I downloaded Dosdudes patch the most up to date one 11 I think, and his downloader tool and got Catalina, I created the installer on a 16gb flash drive as per instructions all went well, now I did all this on my MP 3.1 running Mojave, I planned to install Catalina on a 256 GB SSD formatted in APFS I have spare in my 3.1, all went well until the final boot up and all that happened was it booted up to Mojave and not Catalina, now I know I must have screwed up somewhere, but I am not as advanced in this kind of stuff as you brilliant guys and need a hand to guide me, I do have an early 2015 MBP that I have installed the Catalina Beta on as native and it runs great. So that can be put to use to help out if necessary, so help please !!

Keith
 
  • Like
Reactions: TimothyR734
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.