Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which identifier should I be using? #2

Open
XMesc opened this issue Feb 26, 2022 · 18 comments
Open

Which identifier should I be using? #2

XMesc opened this issue Feb 26, 2022 · 18 comments

Comments

@XMesc
Copy link

XMesc commented Feb 26, 2022

Hi, I am new to this site so if I am doing something wrong I hope you can forgive me.

I would like to ask which of the following disk identifiers should I use?

Disk List

And I would also like to know if using this alternative is an improvement over using software like "VoltageShift" to modify the MSR values (it has less impact on the processor or some sort of thing).

Thank you.

@calasanmarko
Copy link
Owner

calasanmarko commented Feb 26, 2022

I would like to ask which of the following disk identifiers should I use?

You should use the identifier of the volume where the OS is installed, which from your screenshot seems to be disk1s5.

And I would also like to know if using this alternative is an improvement over using software like "VoltageShift" to modify the MSR values (it has less impact on the processor or some sort of thing).

It's the same thing as using something like VoltageShift or PCM, except that this being a kernel extension has the advantage of loading early in the boot process, which means much shorter boot times if your issue is a broken battery or something similar.

Feel free to follow up with any additional issues.

@XMesc
Copy link
Author

XMesc commented Feb 26, 2022

Thanks for the quick response!

I gave a try, every step went smooth until the step 6 of the Big sur and higher guide. Here is a screenshot of the command.
Screen Shot 2022-02-26 at 7 55 18 PM

@calasanmarko
Copy link
Owner

calasanmarko commented Feb 27, 2022

No problem! You missed the sudo at the beginning of the command, hence the operation not being permitted.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Didn't use sudo cause Im already on su since the beginning of the process, tried with sudo and the outcome is the same. None of the earlier commands gave me trouble, just this one. SIP is also disabled.

PD. Im on Mac OS Monterey if that's relevant.

@calasanmarko
Copy link
Owner

I see. Maybe there is some sort of problem trying to create a snapshot from within the root home folder.

tried with sudo and the outcome is the same

All the commands or just the one giving you the error?

If the second one, try running all the commands from the beginning with sudo so the mount is created in a regular user's home folder.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Also thought on that, same outcome.
Screen Shot 2022-02-26 at 8 31 14 PM

In case that we don't solve the issue is there a way to revert the changes done? I can use VoltageShift in the meantime.

@calasanmarko
Copy link
Owner

Check if Secure Boot is on (different from SIP). If so, try turning it off first to see what happens.

Because the bless command failed all changes will be reversed after a restart.

What specific device are you using?

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Will try, stay with me.

I'm on a Macbook Pro 13-inch from early 2015, running Monterey and an I5 CPU.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Secureboot was disabled already :(. Guess I’ll have to stick with VoltageShift and do some research. Thank you for your assistance!

@calasanmarko
Copy link
Owner

calasanmarko commented Feb 27, 2022

Oh well I don't think those have Secure Boot anyway.

Let's try one more thing - post csrutil authenticated-root status

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

On my way.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Didn't work neither, prolly the problem is on my end. Thank you so much for bearing with me.

@calasanmarko
Copy link
Owner

calasanmarko commented Feb 27, 2022

No I meant post a screenshot of the result of the command, running it does nothing by itself. Sorry for being unclear.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Oh my bad, this is the result.

“Authenticated Root status: enabled”

@calasanmarko
Copy link
Owner

Ah well there it is!

My mistake, I neglected to mention in the README that you should also run csrutil authenticated-root disable from Recovery mode to disable Authenticated Root. Do that and it should work.

@XMesc
Copy link
Author

XMesc commented Feb 27, 2022

Well I still got to learn a thing or two haha. I just disabled FileVault so this may take a while until its decrypted. Will try when its done and update here so you can check it tomorrow. Thanks!

Also since now there are 99% chances that the process works which are the methods to revert the changes?, so I can have them at hand when my battery gets replaced.

PD. When the snapshot successfully creates I can enable again the authentication-root?

@calasanmarko
Copy link
Owner

calasanmarko commented Feb 27, 2022

No problem whatsoever.

To revert the changes just follow the installation instructions up to and including the sudo mount ... part, then:

  1. Run sudo rm -rf ~/nonroot/System/Library/Extensions/TurboMac2.kext
  2. cd to the safe location where you previously stored IOPlatformPluginFamily.kext
  3. Run sudo cp -rf IOPlatformPluginFamily.kext ~/nonroot/System/Library/Extensions/IOPlatformPluginFamily.kext

Then continue onward with the sudo kextcache -i / then sudo bless ... part.

I know that this whole thing is a hassle and I will work on automating it when I'm less busy.

PD. When the snapshot successfully creates I can enable again the authentication-root?

I don't think so but you can try. Not that anything will go wrong, I just think it will revert the installation. If so then I guess that's an easier uninstallation method lol (I would still recommend doing it properly though, for cleanup's sake).

@calasanmarko
Copy link
Owner

Any updates? Does it work now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants