https://github.com/corellium/preloader-m1
Preloader for Linux on M1
https://github.com/corellium/preloader-m1
Last synced: about 1 year ago
JSON representation
Preloader for Linux on M1
- Host: GitHub
- URL: https://github.com/corellium/preloader-m1
- Owner: corellium
- License: bsd-3-clause
- Created: 2021-01-19T07:45:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-20T17:24:59.000Z (over 5 years ago)
- Last Synced: 2025-04-05T18:52:08.410Z (over 1 year ago)
- Language: C
- Size: 58.6 KB
- Stars: 99
- Watchers: 13
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
Preloader-M1
~~~~~~~~~~~~~
To build:
* make sure you have the appropriate toolchain (see Makefile),
* put links to Image and apple-m1-j274.dtb from kernel build in cwd,
* run make.
This results in a file called test.macho.
To use macho: start your mac in 1TR (hold power button during boot, select Options)
and run the following commands:
bputil -n -k -c -a -s
csrutil disable
csrutil authenticated-root disable
The above commands need to be run only once.
To install an image:
kmutil configure-boot -c test.macho -v /Volumes/Macintosh HD/
To revert back to original Mac OS boot:
bputil -n pol change