Skip to content

[DRAFT] Apple silicon macs#10

Draft
alexandredoyen29 wants to merge 18 commits intoCryptiiiic:mainfrom
alexandredoyen29:apple-silicon-macs
Draft

[DRAFT] Apple silicon macs#10
alexandredoyen29 wants to merge 18 commits intoCryptiiiic:mainfrom
alexandredoyen29:apple-silicon-macs

Conversation

@alexandredoyen29
Copy link

@alexandredoyen29 alexandredoyen29 commented Mar 30, 2025

PR that contains a plugin to support Apple Silicon Macs with IOKernelRW.

⚠️ This is a draft, do not merge now

Related to issue #8 .

@alexandredoyen29
Copy link
Author

Hi !

I don't know if it is the best place to ask this, but I developed a skeleton of the plugin, and I am unable to copy it into /usr/lib/libkrw.
Here is my install in the Makefile :

install: iokernelrw_krw_plugin.dylib
	sudo mkdir -p /usr/lib/libkrw/
	sudo cp iokernelrw_krw_plugin.dylib /usr/lib/libkrw/

When mkdir or cp with sudo rights, I have a Read-only file system error.

I think I have to disable some securities to do that, but I don't know which...
I already disabled the system integrity protection, and my system is able to use unsigned Kext (I installed IOKernelRW).

Best regards

@Cryptiiiic
Copy link
Owner

obviously you can't write to rootfs, and its a terrible idea to do so anyway.
Few options here, either we use the /var/jb jbroot option on macOS, or add /opt/libkrw path for macOS use

@alexandredoyen29
Copy link
Author

Yep, I think so.
Otherwise, can we use /usr/local to do that, like in IOKernelRW ?

@Cryptiiiic
Copy link
Owner

yes but if we follow the current trends, when m1 came out, homebrew switched from usr local to /opt/homebrew

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

Successfully merging this pull request may close these issues.

2 participants