Skip to content

Commit 6fec137

Browse files
committed
I give up.
Signed-off-by: Hector Martin <[email protected]>
1 parent c449e7f commit 6fec137

1 file changed

Lines changed: 28 additions & 32 deletions

File tree

src/main.py

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -863,39 +863,24 @@ def main(self):
863863
p_warning("critical Apple bug, this combination can lead to an unbootable system under")
864864
p_warning("certain conditions.")
865865
print()
866-
p_warning("More information:")
866+
p_error("Given the complexity of the issue, we cannot detect whether this install is")
867+
p_error("safe or could render your machine unbootable as a side-effect of the")
868+
p_error("installation process. This is out of our control, as the fault lies entirely")
869+
p_error("in Apple's code (which is involved in the install process).")
867870
print()
868-
p_plain( f" {col(BLUE, BRIGHT)}https://github.com/AsahiLinux/docs/wiki/macOS-Sonoma-Boot-Failures{col()}")
871+
p_error("We cannot continue with the install. Sorry. You will have to wait for Apple")
872+
p_error("to fix this properly in a future update. We promise we tried everything we")
873+
p_error("could to find a safe way to proceed, but Apple's haphazard updates and changes")
874+
p_error("in response to this bug made the situation so complicated we had to give up")
875+
p_error("until they fix it properly.")
869876
print()
870-
871-
p_info(f" Current refresh rate: {col()}{hz} Hz")
872-
print()
873-
874-
if hz != 120.0:
875-
p_error(f"{col(BLINK)}CRITICAL ERROR: {col(NBLINK)}Your display refresh rate is set to")
876-
p_error("something other than 120Hz / ProMotion mode.")
877-
print()
878-
p_error("You MUST change this to ProMotion mode IMMEDIATELY. Your machine is currently")
879-
p_error("unable to use System RecoveryOS, which is a very dangerous situation.")
880-
p_error("This is a critical Apple bug. Do NOT use non-ProMotion mode until this bug is")
881-
p_error("confirmed fixed.")
882-
print()
883-
sys.exit(1)
884-
else:
885-
p_warning(f"{col(BLINK)}WARNING:{col(NBLINK)} Your display refresh is set to ProMotion mode.")
886-
p_warning("DO NOT CHANGE THIS TO ANY OTHER MODE. Doing so would make your System RecoveryOS")
887-
p_warning("stop working, which is a very dangerous situation. This is a critical Apple bug.")
888-
print()
889-
p_warning("Please update to the next version of macOS as soon as it is available, which")
890-
p_warning("should roll forward to the next System RecoveryOS version and clear the danger.")
891-
print()
892-
p_warning("You may continue the install, but you MUST NOT change the refresh rate until")
893-
p_warning("Apple fixes this bug. Doing so would break your system. Proceed at your own")
894-
p_warning("risk.")
877+
p_plain( f" {col(BLUE, BRIGHT)}https://github.com/AsahiLinux/docs/wiki/macOS-Sonoma-Boot-Failures{col()}")
895878
print()
896-
if not self.yesno("Continue anyway?"):
897-
sys.exit(0)
879+
p_plain("If you have another Mac handy, doing a DFU \"Revive\" using Apple Configurator")
880+
p_plain("from the other machine may put your machine into a safer state that allows us")
881+
p_plain("to continue with the installation.")
898882
print()
883+
sys.exit(1)
899884
else:
900885
p_warning( "WARNING: You have a MacBook Pro with a ProMotion display, and you have")
901886
p_warning(f"System Firmware version {BUGGY_SFR_MIN} or newer. These firmware versions are")
@@ -913,9 +898,20 @@ def main(self):
913898
print()
914899
sys.exit(1)
915900

916-
p_warning("You are currently using ProMotion mode. You may continue the install")
917-
p_warning("but you MUST NOT change the refresh rate until Apple fixes this bug.")
918-
p_warning("There is nothing we can do on our end. Proceed at your own risk.")
901+
p_warning("It is possible for your machine to be in a silently broken state, which")
902+
p_warning("will cause it to boot to a black during the installation. We have no way")
903+
p_warning("to reliably know ahead of time whether this will happen.")
904+
print()
905+
p_warning("If you have never changed your display refresh rate away from ProMotion")
906+
p_warning("mode, you should be safe. If you indeed get stuck with a black screen")
907+
p_warning("after the boot logo, you must follow these steps:")
908+
print()
909+
p_plain(" 1. Fully shut down the machine by holding down the power button for 20 sec")
910+
p_plain(" 2. QUICKLY press, release, and press and hold the power button")
911+
print()
912+
p_warning("This will allow you to get into the boot picker and boot into macOS again.")
913+
p_warning("In this case, installing Asahi Linux will not be possible for you until")
914+
p_warning("Apple fully fixes this mess.")
919915
print()
920916
if not self.yesno("Continue anyway?"):
921917
sys.exit(0)

0 commit comments

Comments
 (0)