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.

MacHacJac

Suspended
Jun 28, 2020
214
354
While I was editing the Utilities.plist for customize menu, I noticed that on the BigSur BaseSystem.dmg there is an apple app indicated as ARM only, but it works also on Intel cpus, you can launch it even directly from an USB BigSur Installer or Recovery terminal: /System/Installation/CDIS/Share*/C*/M*/Share*

this should be the new apple "target disk mode" that they dropped on BigSur but made for ARM , haven't tested it yet but the app launches also from a BigSur normal booting, the app works only on BigSur because build for SDK 11.0 , here is attached.
Any other findings on the utilities menu patching?
 
  • Like
Reactions: TimothyR734

Aurelio Pertuz

macrumors newbie
Jun 26, 2020
3
3
Failed to locate Big Sur recovery USB stick for unpatching. If all else fails, try specifying the path to the USB stick as a command line parameter to this script. helppp
 
  • Like
Reactions: TimothyR734

RITAMA

macrumors member
Jul 15, 2020
45
67
I wrote that you should do that from a Big Sur Recovery environment , though it is also doable from normal booting, but with few changes, first requirement is csrutil authenticated-root disable, then from your picture, copy paste one line at once:
Code:
sudo -s

csrutil authenticated-root

(check that it is disabled)

diskutil mount disk1s5

mount -uw /Volumes/MacOs\ 1

(because the label MacOs is already in use by disk1s5s1 that is its snapshot)

(this makes writable your BigSur system disk1s5)

cd /S*/L*/File*/apfs*/C*/R*/

./apfs_systemsnapshot -v /Volumes/MacOs\ 1  -r ""

(this tags an empty string to disable snapshot booting disk1s5s1 on your BigSur system disk1s5)
What wrong with this ?
 

Attachments

  • Screen Shot 2020-10-06 at 09.28.17.png
    Screen Shot 2020-10-06 at 09.28.17.png
    1 MB · Views: 222
  • Like
Reactions: TimothyR734

buckrock

macrumors 6502
Jul 24, 2020
297
424
Fresno, California
Failed to locate Big Sur recovery USB stick for unpatching. If all else fails, try specifying the path to the USB stick as a command line parameter to this script. helppp
Slow down! Try it again paying close attention to spaces. Try to do it by Barry's drag and drop procedure described in his great README notes at Step 6. I know, unpatching step isn't that one -- just use that technique.
 
  • Like
Reactions: TimothyR734

buckrock

macrumors 6502
Jul 24, 2020
297
424
Fresno, California
I already did it with great attention, step by step very carefully
Are you booted in Big Sur or Catalina? Did your usb installer mount? Can you navigate around in your usb stick with your Finder?

... And in the words of Barry (README after Step 12):
"The best way to remove the patch from the USB stick is to redo createinstallmedia, but if you are working on patcher development or otherwise need a faster way to do it, you can run unpatch.sh."
... Amen!
 
  • Like
Reactions: TimothyR734

Aurelio Pertuz

macrumors newbie
Jun 26, 2020
3
3
Good night, I created the bootable unit from the terminal, then I write sudo and drag the patch, then the pendrive but no matter how hard I try, that error comes out, as if I did not recognize the pendrive, if I can see the pendrive in the finder, I do it from big sur beta 6
Are you booted in Big Sur or Catalina? Did your usb installer mount? Can you navigate around in your usb stick with your Finder?

... And in the words of Barry (README after Step 12):
"The best way to remove the patch from the USB stick is to redo createinstallmedia, but if you are working on patcher development or otherwise need a faster way to do it, you can run unpatch.sh."
... Amen!

Good night, I created the bootable unit from the terminal, then I write sudo and drag the patch, then the pendrive but no matter how hard I try, that error comes out, as if I did not recognize the pendrive, if I can see the pendrive in the finder, I do it from big sur beta 6
 
  • Like
Reactions: TimothyR734

buckrock

macrumors 6502
Jul 24, 2020
297
424
Fresno, California
Operation Not Permit after
./apfs_systemsnapshot -v /Volumes/MacOs\ 1 -r ""
Ok, here's the manual for apfs_systemsnapshot:
Code:
....% man apfs_systemsnapshot

APFS_SYSTEMSNAPSHOT(8)    BSD System Manager's Manual   APFS_SYSTEMSNAPSHOT(8)

NAME
     apfs_systemsnapshot -- create and tag APFS system snapshots

SYNOPSIS
     apfs_systemsnapshot -r snapshot_name -v mount_point
     apfs_systemsnapshot -s snapshot_name -v mount_point
     apfs_systemsnapshot -h

DESCRIPTION
     The apfs_systemsnapshot utility can create or tag a new snapshot of a
     Signed System Volume.

     apfs_systemsnapshot requires disabling the authenticated-root System
     Integrity Protection configuration from recoveryOS.  Once disabled, non-
     sealed snapshots can be created and tagged as the snapshot to be rooted
     from.

     apfs_systemsnapshot should not be used when working on kernel extension
     development, bless(8) should be used instead.

     The mount_point parameter should be the mount point of a Signed System
     Volume.

     The options are as follows:

     -r snapshot_name      Tag snapshot_name as the root snapshot to boot from
                       upon next boot.
     -s snapshot_name      Create a new system snapshot named snapshot_name.
     -h                             Print a usage message.
EXIT STATUS
     apfs_systemsnapshot exits with 0 on success, and >0 if an error occurs.
So, as it says: apfs_systemsnapshot requires disabling the authenticated-root System Integrity Protection configuration from recoveryOS.
Seems that you need to be in recoveryOS and run at least csrutil disable. Can you confirm you did this?
 
Last edited:

Th3odor3

macrumors regular
Jun 19, 2018
143
35
Santa Clarita, CA, US

Alex-Microsmeta

macrumors 6502
Jul 14, 2018
376
630
Rome
Hi @Barry K. Nathan !

Thanks to @jackluke support, Big Sur Beta 9 is quite usable on Mac mini 10, but only wifi and bluetooh are working, usb and internal audio are missing.

I'm trying to patch kexts on Mac mini 2010 (Macmini4,1) using your patcher 0.3.3. Only from dosdude1 Catalina installer I have managed to set csrutil enable and csrutil authenticated, but still on Big Sur I get error 77 and 66 trying
(sudo) mount - uw /

With your BigSur Micropatcher 0.3.2 I have finally activated Wifi, but I get errors inflating other kexts.

Which is the right way to apply you patch-kext? The destination is BigSur EXT

OUTPUT:
"Done changing boot-args and csrutil settings.
csr-active-config appears to be set incorrectly:
csr-active-config w%00%00%00
To fix this, please boot from the setvars EFI utility, then boot back into macOS and try again."

EDIT: After reinstalling micropatcher 0.3.3 I still got errors inflating kexts (connection invalid, watch images attached) do I need an internet connection?) but now I can boot BS B9 without OpenCore and BS loader has been renamed from BigSur EXT - Dati to BigSur!

THANK YOU FOR WHAT YOU ARE DOING FOR US!
 

Attachments

  • BS_B9_MAC_MINI_2010.jpg
    BS_B9_MAC_MINI_2010.jpg
    396.2 KB · Views: 216
  • IMG_20201003_161952.jpg
    IMG_20201003_161952.jpg
    423 KB · Views: 189
  • IMG_20201003_162023.jpg
    IMG_20201003_162023.jpg
    409.7 KB · Views: 158
  • IMG_20201003_162107.jpg
    IMG_20201003_162107.jpg
    496.1 KB · Views: 178
  • IMG_20201004_181147.jpg
    IMG_20201004_181147.jpg
    578 KB · Views: 163
  • 1601828871759_1601828869323_1601828866292_1601828865213_MVIMG_20201004_182215.jpg
    1601828871759_1601828869323_1601828866292_1601828865213_MVIMG_20201004_182215.jpg
    627.2 KB · Views: 208
Last edited:

Ausdauersportler

macrumors 603
Nov 25, 2019
5,007
5,826
Hi @Barry K. Nathan !

Big Sur Beta 9 is quite usable on Mac mini 10, but only wifi and bluetooh are working, usb and internal audio are missing.

I'm trying to patch kexts on Mac mini 2010 (Macmini4,1) using your patcher 0.30.3. Only from dosdude1 Catalina installer I have managed to set csrutil enable and csrutil authenticated, but still on Big Sur I get error 77 and 66 trying
(sudo) mount - uw /

With your BigSur Micropatcher 0.30.2 I have finally activated Wifi, but I get errors inflating other kexts.

Which is the right way to apply you patch-kext? The destination is BigSur EXT - Dati

THANK YOU FOR WHAT YOU ARE DOING FOR US!
Answering from phone: Search for my first posts on this thread about patching iMac - there I documented a recipe to how to get access to a writable version of SLE ... it is using the snapshots. You could also check the patch-kext.sh script - magically it can do what you want to achieve :)
 

Barry K. Nathan

macrumors 6502
Jul 6, 2018
387
1,145
Irvine, CA, USA
Hi @Barry K. Nathan !

Thanks to @jackluke support, Big Sur Beta 9 is quite usable on Mac mini 10, but only wifi and bluetooh are working, usb and internal audio are missing.

I'm trying to patch kexts on Mac mini 2010 (Macmini4,1) using your patcher 0.3.3. Only from dosdude1 Catalina installer I have managed to set csrutil enable and csrutil authenticated, but still on Big Sur I get error 77 and 66 trying
(sudo) mount - uw /

With your BigSur Micropatcher 0.3.2 I have finally activated Wifi, but I get errors inflating other kexts.

Which is the right way to apply you patch-kext? The destination is BigSur EXT

OUTPUT:
"Done changing boot-args and csrutil settings.
csr-active-config appears to be set incorrectly:
csr-active-config w%00%00%00
To fix this, please boot from the setvars EFI utility, then boot back into macOS and try again."

EDIT: After reinstalling micropatcher 0.3.3 I still got errors inflating kexts (connection invalid, watch images attached) do I need an internet connection?) but now I can boot BS B9 without OpenCore and BS loader has been renamed from BigSur EXT - Dati to BigSur!

THANK YOU FOR WHAT YOU ARE DOING FOR US!
Make sure to use the --2010 option with patch-kexts.sh. That should fix USB and sound.
 

David dongfox

macrumors member
Jul 26, 2020
75
59
I wrote that you should do that from a Big Sur Recovery environment , though it is also doable from normal booting, but with few changes, first requirement is csrutil authenticated-root disable, then from your picture, copy paste one line at once:
Code:
sudo -s

csrutil authenticated-root

(check that it is disabled)

diskutil mount disk1s5

mount -uw /Volumes/MacOs\ 1

(because the label MacOs is already in use by disk1s5s1 that is its snapshot)

(this makes writable your BigSur system disk1s5)

cd /S*/L*/File*/apfs*/C*/R*/

./apfs_systemsnapshot -v /Volumes/MacOs\ 1  -r ""

(this tags an empty string to disable snapshot booting disk1s5s1 on your BigSur system disk1s5)

cd /S*/L*/File*/apfs*/C*/R*/

./apfs_systemsnapshot -v /Volumes/MacOs\ 1 -r ""

(this tags an empty string to disable snapshot booting disk1s5s1 on your BigSur system disk1s5)[/CODE]
[/QUOTE]this 2 lines not working . try for many many time.
 

Attachments

  • Screenshot 2020-10-06 at 11.10.49 PM.png
    Screenshot 2020-10-06 at 11.10.49 PM.png
    2.2 MB · Views: 192
  • Like
Reactions: TimothyR734

jackluke

macrumors 68040
Jun 15, 2018
3,321
8,068
cd /S*/L*/File*/apfs*/C*/R*/

./apfs_systemsnapshot -v /Volumes/MacOs\ 1 -r ""

(this tags an empty string to disable snapshot booting disk1s5s1 on your BigSur system disk1s5)

this 2 lines not working . try for many many time.


Could you check from terminal: diskutil info /Volumes/MacOs | grep Sealed

if Sealed is "Broken" then means you have a sealed System and so you can't do "apfs_systemsnapshot" from desktop but only from a BigSur recovery environment.
 
  • Like
Reactions: TimothyR734

Alex-Microsmeta

macrumors 6502
Jul 14, 2018
376
630
Rome
@Barry K. Nathan @jackluke Confirmed: Reinstalled BS B9 from scratch instead of unpatching and retrying, using only 0.3.3 patcher. (After installation I had to remake the createinstaller + micropatcher.sh + install-setvar.sh because it was no more accessible (forbidden symbol, also when trying booting BS B9 without OpenCore) Now Wifi works and I can boot it again from Apple Booter without OpenCore but USB mouse and keyboard do not work while USB mic and webcam yes (???) and (sudo) mount -uw / returns error 77 and 66. I really do not understand what is happening, but this report could help you both to fix something on Mac mini 2010 (Macmini4,1) On my previous post you can find the screenshots with errors on patch-kekts.
 

Attachments

  • Schermata 1399-07-15 alle ۱۴.۰۲.۱۴.png
    Schermata 1399-07-15 alle ۱۴.۰۲.۱۴.png
    1.9 MB · Views: 231
Last edited:
  • Like
Reactions: TimothyR734

Maclinux

macrumors member
Jul 2, 2020
54
96
One question guys. I am going to install Beta 9 on my MBP 9.2 mid 2012 not retina and I am wondering if I should use the 0.19 micropatcher for the wifi to work (as in previous versions) or can I use the most current micropatcher?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.