#
✕ nick:marcan
#asahi · 2021-09-23 15:19
marcanat most they might decide to drop the feature in a future generation, but that's years away if it ever happens
#asahi · 2021-09-23 15:19
marcanthat would be PR suicide
#asahi · 2021-09-23 15:19
marcanthey aren't going to retroactively lock it out on existing machines
#asahi · 2021-09-23 15:18
marcanand they're not going to throw it away for M1X/M2, and we're fast enough that by M3 things will be awesome and they'll have to think very hard about the PR hit if they actually try to make the next generation truly locked down like iOS ;)
#asahi · 2021-09-23 15:18
marcanbut they're not going to design all this stuff just to throw it away
#asahi · 2021-09-23 15:17
marcanto a *point*
#asahi · 2021-09-23 15:17
marcan(but our installer automates/guides you through that)
#asahi · 2021-09-23 15:16
marcaninstead of OpenSource.kc you use m1n1.macho. that's it.
#asahi · 2021-09-23 15:16
marcanthat blog is very helpful for understanding how things are supposed to work, but the only part that is the same for us is the bit that mentions `kmutil configure-boot` near the end
#asahi · 2021-09-23 15:14
marcanit doesn't have to be xnu
#asahi · 2021-09-23 15:13
marcanas long as whatever we boot "looks" like xnu to the machine it will work
#asahi · 2021-09-23 15:13
marcanit's the same way m1n1 boots "linux" kernels but it can boot u-boot which happens to be built in the same format as a linux kernel; it doesn't have to care that what it's booting is not linux
#asahi · 2021-09-23 15:12
marcanthat's why it builds as a mach-o executable like xnu
#asahi · 2021-09-23 15:12
marcannsklaus: no, m1n1 replaces xnu
#asahi · 2021-09-23 15:12
marcanoh, it links to https://jeremya.com/, ha
#asahi · 2021-09-23 15:11
marcanj_ey: does it actually say that somewhere?
#asahi · 2021-09-23 15:06
marcan*blog
#asahi · 2021-09-23 15:06
marcanthere's even a blob written by (presumably) Apple engineers explaining how all that works: https://kernelshaman.blogspot.com/
#asahi · 2021-09-23 15:04
marcanthat's *why* they spent all the time on this; Apple management didn't make it like this for us (but I'm sure Apple engineers were thinking of it).
#asahi · 2021-09-23 15:04
marcanso there is no good way they could lock all this down without hurting macOS developers
#asahi · 2021-09-23 15:04
marcanand either way, as long as they allow third-party drivers, it's basically the same security-wise
#asahi · 2021-09-23 15:03
marcanit's not just a third party OS, the "official" reason for all this is to run self-built versions of the macOS kernel
#asahi · 2021-09-23 15:01
marcancan't do that on Android ;)
#asahi · 2021-09-23 15:01
marcanbest of both worlds
#asahi · 2021-09-23 15:01
marcanwhich allows you to do things like run full-DRM macOS with Netflix and iOS apps and all that walled garden stuff, *and* Linux, dual-boot
#asahi · 2021-09-23 15:01
marcanin fact, as far as I know they are the only secureboot system that offers *per-OS* security modes
#asahi · 2021-09-23 15:00
marcanand the M1s do not rely on hypervisor nonsense for security
#asahi · 2021-09-23 15:00
marcanapple are way beyond that
#asahi · 2021-09-23 15:00
marcansony did that on the ps3 because they're incompetent and can't actually build a secure system, so they chickened out when geohot found a silly glitch thing
#asahi · 2021-09-23 15:00
marcanthey spent countless developer hours making this work, they aren't going to remove it
#asahi · 2021-09-23 14:59
marcan(at least you will be able to do it properly once we support the SEP for storage encryption and such)
#asahi · 2021-09-23 14:59
marcanand you can build a secureboot linux on top of them
#asahi · 2021-09-23 14:58
marcanthey are practically the only system designed with a "physical access is not enough" philosophy
#asahi · 2021-09-23 14:58
marcanif you want a machine running your own OS that can withstand an evil maid attack, these are your best bet
#asahi · 2021-09-23 14:58
marcanon the plus side, these machines are probably *the* most secure user-controllable secureboot systems available to end-users today
#asahi · 2021-09-23 14:57
marcanno, it's signed
#asahi · 2021-09-23 14:55
marcanthere's no way around it, wipe recoveryOS and you lose the boot picker. it's literally deleting part of the boot UI.
#asahi · 2021-09-23 14:54
marcanit's part of how the machine is designed
#asahi · 2021-09-23 14:54
marcanthere's no cure, this is all signed secureboot
#asahi · 2021-09-23 14:54
marcanyeah, pretty much
#asahi · 2021-09-23 14:53
marcanit's how Apple designed these machines
#asahi · 2021-09-23 14:52
marcantechnically you *could* wipe some of this stuff after installing linux, but you would end up with a half broken system that e.g. cannot use the boot picker
#asahi · 2021-09-23 14:52
marcanrecovery mode is part of system firmware, and starting with macOS 12.x you also need an additional copy of recoveryOS for each installed OS, Linux or otherwise
#asahi · 2021-09-23 14:51
marcanno, that's like saying would it be possible to remove the UEFI firmware from a PC and have linux only on the drive
#asahi · 2021-09-23 14:51
marcanyou *do* need to have had a certain minimum macos version installed; if you haven't, you can just upgrade the stock macos first before wiping it, or do it on an external drive.
#asahi · 2021-09-23 14:50
marcannskl: you do not need to do any initial macos install; you can use system recovery
#asahi · 2021-09-23 13:23
marcanif so, then we don't have much choice, though we might be able to get away without a big hammer reset and do something more surgical (e.g. that poke I mentioned for gadget mode)
#asahi · 2021-09-23 13:23
marcanI don't think there's any kind of way for the phy to detect that the repeater got reset
#asahi · 2021-09-23 13:23
marcanbecause it's the phy's job to put the repeater into host or device mode
#asahi · 2021-09-23 13:22
marcanok, so the thing is, if the repeater gets reset, which I bet it does when the TI part detects a hotplug... the phy needs to know about that

plus ›