Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save henrik242/65d26a7deca30bdb9828e183809690bd to your computer and use it in GitHub Desktop.
Save henrik242/65d26a7deca30bdb9828e183809690bd to your computer and use it in GitHub Desktop.
@alucardness
Copy link

Updated to Sonoma for a week already. Using M1 MacBook Pro with only blocked hosts.

@Aooga776
Copy link

Updated to Sonoma for a week already. Using M1 MacBook Pro with only blocked hosts.

So I know just enough technical stuff to make myself dangerous, but I wanna make sure I understand. So I'm on Ventura 13.0. Are you saying you just went to system settings and updated to Sonoma without doing anything other than keeping the blocked hosts? Or did you have to remove the blocked hosts, update, then do it again. I'm just trying to find a step by step to not brick my machine.

@alucardness
Copy link

disable the usual suspects in the hosts file

0.0.0.0 iprofiles.apple.com
0.0.0.0 mdmenrollment.apple.com
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 gdmf..apple.com
0.0.0.0 acmdm.apple.com
0.0.0.0 albert.apple.com

follow this:

image

If you want to feel safer, you can turn off your router after the GUI installation of the update (during the GUI installation it requires internet connection, but after that no)

@jog0ff
Copy link

jog0ff commented Jun 3, 2024

Hi guys.
got 2019 MBP with BigSur as internet recovery, tried tricks which are worked with Ventura but no joy.
Tried to install OS from USB but boot from USB is not allowed
Tried on checkm8 but serial number not found plus wasn't able to put laptop into DFU neither
Anyone can help by any chance?
Thanks in advance

@Ran-Xing
Copy link

Ran-Xing commented Jun 3, 2024

@JediRhymeTrix
Copy link

Has anyone managed to install the Sequoia developer beta on a bypassed machine?

@c22dev
Copy link

c22dev commented Jun 16, 2024

Has anyone managed to install the Sequoia developer beta on a bypassed machine?

Writing from Sekoia rn!
I used the method I sent earlier and upgraded just like I normally would have.

@oracle-code
Copy link

Hi all,

I am having trouble running a curl command to remove the mdm on my macbook pro 2019 T2 intel chip.

I erased everything and reinstalled MacOS Catalina but it shoes me the MDM Company credentials AGAIN !!

Please help.

When I am trying to run the curl command the error is : Failed to create the file: Read-only file system.

And sudo command is not found.

@MikeParder
Copy link

Has anyone managed to install the Sequoia developer beta on a bypassed machine?

Writing from Sekoia rn! I used the method I sent earlier and upgraded just like I normally would have.

Cant find that method you are referring to. Can you re-post?

@spoved-aws
Copy link

Any method to block the pop up of MDM wants to make changes? I have unlocked my M1 chip macbook using the OP method last year.

@oracle-code
Copy link

I found this script I tested it on a dummy MacBook Pro intel T2 chip on macOS Sonoma : https://github.com/maclifevn/bypasmdm

It works perfectly, and I think no malware is associated with it. Also, no payment required.

@spoved-aws
Copy link

I found this script I tested it on a dummy MacBook Pro intel T2 chip on macOS Sonoma : https://github.com/maclifevn/bypasmdm

It works perfectly, and I think no malware is associated with it. Also, no payment required.

Thanks which option do I select if I only want to remove the notification that comes to the system every 10 min.

  1. Bypass on Recovery 4) Check MDM Enrollment
  2. Disable Notification (SIP) 5) Thoát
  3. Disable Notification (Recovery)

@oracle-code
Copy link

The first option is the one that worked for me

After you press enter and enter. That will create the default user MAC and the password will be 1234.

You can change that after in your user settings.

@spoved-aws
Copy link

I just want the notification gone. I think 1 is bypassing the mdm? Can someone confirm?
image

@oracle-code
Copy link

I did not try other options, I guess notifications would be 2 or 3

@holyMolyTolli
Copy link

Hello all, Does anybody know is the file ".deviceConfigurationBits" is needed or can be removed? If I'm doing cat of it I can see parameter "DeviceConfigurationFlags" with value 9. I have changed it to 0. Tried to find info regarding this parameter and value but seems it is not a lot info regarding it. https://github.com/mosen/macdocs/blob/master/source/DEP/ios-activation.rst?plain=1#L143

photo_2023-11-06_16-56-24

@TomRider22 How did it end? Also sitting in front of this file. Did changing the "9" to a "0" have any effect, or is it irrelevant after all the previous steps @joshworksit described?

@ehsan58
Copy link

ehsan58 commented Sep 17, 2024

is there any update about sequoia? anyone updated from 14.6 to 15?

@BurakcanA
Copy link

I did this last year when I upgraded to Sonoma after I received a notification.
'# Block Mac from reaching the domain iprofiles.apple.com
0.0.0.0 iprofiles.apple.com'

Just recently I updated to 14.7 so far no problem.
To let you know I didn't do any bypass. I'm only blocking the domain.
I'm waiting for someone to let me know that I'll be safe with Sequoia after the update with this method.

@Jbb08
Copy link

Jbb08 commented Sep 19, 2024

is there any update about sequoia? anyone updated from 14.6 to 15?

I updated to 15 from the latest version of 14 Sonoma.
I made sure my host file was blocking all. Then I also blocked all the Apple sites on my router and updated
It was like a normal update nothing special
And works perfectly no alerts or pop ups and terminal commands to check MDM reports no.

@BurakcanA
Copy link

BurakcanA commented Sep 19, 2024

@Jbb08 Thank you for your answer I will do the same and let everyone know.
Around 1 hour before I updated to 15. I'm using it without problem now.

@spiralz23
Copy link

spiralz23 commented Sep 25, 2024

Another one... anyone updated from MDM ventura (13.7) to 15? (2021 MBP M1)

Thanks

@gboy13
Copy link

gboy13 commented Sep 25, 2024

Another one... anyone updated from MDM ventura (13.7) to 15? (2021 MBP M1)

Thanks

I have the same questions. Used my instructions here on ventura but would like to migrate to 15.
https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4620471#gistcomment-4620471

@holyMolyTolli
Copy link

FYI, rebooted my MackbookPro 2,6 GHz 6-Core Intel Core i7 Sequoia the other day, hand had to hack back in. it worked with @joshworksit's last described approach (mix of setting up a new admin user and, changing settings and such).

echo "0.0.0.0 deviceenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 mdmenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 iprofiles.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts

touch /Volumes/Data/private/var/db/.AppleSetupDone
rm -rf /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigHasActivationRecord
rm -rf /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigRecordFound
touch /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigProfileInstalled
touch /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigRecordNotFound

@2020sux
Copy link

2020sux commented Sep 25, 2024

I did a direct update from working great Ventura 13.7 to Sequoia 15 and had no issues.

I did follow the instruction posted by @sonomadep after performing the upgrade. I didn't wait for any nag screens to appear, I just proactively did it.

@icarus2712
Copy link

I did a direct update from working great Ventura 13.7 to Sequoia 15 and had no issues.

I did follow the instruction posted by @sonomadep after performing the upgrade. I didn't wait for any nag screens to appear, I just proactively did it.

could u share how did u do it ? step by step?

@icarus2712
Copy link

@Jbb08 Thank you for your answer I will do the same and let everyone know. Around 1 hour before I updated to 15. I'm using it without problem now.

please share how did u update?

@spiralz23
Copy link

spiralz23 commented Sep 25, 2024

Ok so I tried to update straight from 13.7 to 15 in software update but it failed then update showed up Sonoma (14.7)

so I made sure my hosts were set blocking the usual suspects

went into my router (lynksis) and opened up parental controls found my mac in devices and blocked access to the same as hosts file.

then just updated to sonoma took a while but at went ok mac is working as normal no MDM or difference to previous.

Now the update to 15 has showed up in update so I've now installed the update to 15 no issues at all no MDM pop ups everything seems to be working as it should , Hosts file remains unchanged still blocking as it should.

TLDR; I just made sure my hosts file and router was blocking deviceenrollment.apple.com, mdmenrollment.apple.com, iprofiles.apple.com and just updated as normal. 13 - 14 - 15

thanks.

@fmodesto30
Copy link

fmodesto30 commented Sep 25, 2024

Hi everyone !

It's about to complete a year since I followed @joshworksit's bypass. M1 Pro 2021.

Since then I have always updated without problems.

I just updated (09/25/2024) from 14.6.1 to Sequoia 15.0.

Make sure to have it configured.

echo "0.0.0.0 deviceenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 mdmenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 iprofiles.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts

@Ph0eN1x1917
Copy link

I've been on Ventura, currently 13.6.9 M1 2020. After following the guide as well. For every update, I was able to just run this command
rm -r /private/var/db/ConfigurationProfiles
I wouldn't see the nagging pop-up anymore. Until the last update and I can't remove it anymore. Restricted access etc...

Can I still update to 15 without an issue? I've been hesitant for far to long if anyone can clarify what might happen??
Thank you!

@Ran-Xing
Copy link

If you don't want to toss or encounter difficulties, you can ask me for a paid solution, whether it's a command line or an automatic program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment