-
Notifications
You must be signed in to change notification settings - Fork 17
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
linux crashing when attempting to boot on iPhone #12
Comments
I have the same issue with my iPhone 5s. |
Same issue on an iPhone 6, tried both the included ramdisk and one from armbian. |
My iPhone 6 is on iOS 12.5.6 as well. I tried it on an iPhone 5s also running 12.5.6 and I got the same result |
iPhone 6 on 12.4.8 |
This PR should fix at least this issue for you :) https://github.com/konradybcio/pongoOS/pull/4/files |
@jrote1 that definitely did the trick for me on an Apple TV Gen 4 👍 |
|
Following HOWTO.md, I compiled pongo on a macbook (intel macbook pro running macOS 11.6.5) and booted into pongoOS using checkra1n 0.12.4, on an iPhone 6 running iOS 12.5.6. Here's the output from checkra1n:
[12/15/22 10:56:34] <Info>: Waiting for DFU devices
[12/15/22 10:56:47] <Verbose>: DFU mode device found
[12/15/22 10:56:47] <Info>: Exploiting
[12/15/22 10:56:47] <Verbose>: Attempting to perform checkm8 on 7000 11...
[12/15/22 10:56:47] <Info>: Checking if device is ready
[12/15/22 10:56:47] <Verbose>: == Checkm8 Preparation stage ==
[12/15/22 10:56:47] <Verbose>: DFU device disconnected
[12/15/22 10:56:47] <Verbose>: DFU mode device found
[12/15/22 10:56:47] <Info>: Setting up the exploit (this is the heap spray)
[12/15/22 10:56:47] <Verbose>: == Checkm8 Setup stage ==
[12/15/22 10:56:47] <Info>: Right before trigger (this is the real bug setup)
[12/15/22 10:56:47] <Verbose>: Entered initial checkm8 state after 0 steps, issuing DFU abort..
[12/15/22 10:56:47] <Verbose>: DFU device disconnected
[12/15/22 10:56:47] <Verbose>: DFU mode device found
[12/15/22 10:56:47] <Verbose>: == Checkm8 Trigger stage ==
[12/15/22 10:56:47] <Verbose>: Checkmate!
[12/15/22 10:56:48] <Verbose>: DFU device disconnected
[12/15/22 10:56:48] <Verbose>: DFU mode device found
[12/15/22 10:56:48] <Verbose>: == Checkm8 Trying to run payload... ==
[12/15/22 10:56:48] <Verbose>: If everything went correctly, you should now have code execution.
[12/15/22 10:56:48] <Verbose>: DFU device disconnected
[12/15/22 10:56:48] <Info>: Entered download mode
[12/15/22 10:56:48] <Verbose>: Download mode device found
[12/15/22 10:56:48] <Info>: Booting...
[12/15/22 10:56:48] <Verbose>: Setting bootargs to: rootdev=md0 -v
[12/15/22 10:56:50] <Verbose>: Download mode device disconnected
[12/15/22 10:58:18] <Error>: Timed out waiting for bootstrap upload (error code: -20)
And here's what the iPhone screen looks like after this step:
![pongo](https://user-images.githubusercontent.com/59247876/207924147-4f92567a-23cb-4cdf-a170-74f70c7e5c21.jpg)
Again following the guide I compiled the kernel, this time on a vm running Ubuntu 22.04.1 LTS. following the rest of the steps and running load_linux.py, it seems to be a success and i get the following output:
Waiting for device...
Loading initial ramdisk...
Initial ramdisk loaded successfully.
Loading device tree...
Device tree loaded successfully.
Loading kernel...
Kernel loaded successfully.
Booting...
Success.
However here's what shows up on the iPhone screen:
![error](https://user-images.githubusercontent.com/59247876/207928361-a72a8c90-e9e1-494d-a133-b3a09f18d48f.jpg)
After maybe 5 seconds, the iPhone just restarts and iOS comes up as normal. I'm not sure where to begin troubleshooting so any help would be appreciated
The text was updated successfully, but these errors were encountered: