Skip to content
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

Can't boot pongoOS #25

Open
Clindbergh opened this issue Oct 18, 2020 · 5 comments
Open

Can't boot pongoOS #25

Clindbergh opened this issue Oct 18, 2020 · 5 comments

Comments

@Clindbergh
Copy link

I have an iphone 6s (N71mAP) with iOS 13.X that only booted into recovery mode after low storage. I tried to update with iTunes to iOS 14, but the update failed after about 1/3 (of progressbar during the update). I didn't try to restore from iTunes since I wanted to save data.

With PyBoot/eclipsa (as part of @danieltroger nice telnet ramdisk, thx!) I wasn't able to get into pwndfu mode. With king I was more successful and irecovery -s confirmed the checkm8 pwned dfu mode.

I tried to boot pongo /Applications/checkra1n.app/Contents/MacOS/checkra1n -p, but the iPhone boots straight into recovery mode. I tried multiple times with two different Macs.

@Siguza
Copy link
Member

Siguza commented Oct 25, 2020

@IIWare Pongo only boots if iBoot exits though.

@Clindbergh I guess you could try uploading a signed iBEC to recovery...

@Clindbergh
Copy link
Author

@Clindbergh I guess you could try uploading a signed iBEC to recovery...

@Siguza: Could you elaborate how that would work? I think I tried it as part of the telnet ramdisk.

How likely do you think is a Hardware (USB) defect? I am thinking about replacing the lightning board.

@XP1
Copy link

XP1 commented Apr 13, 2021

I am in the same exact situation with my iPhone 6s (N71mAP) that failed to update because of error 14 (out of space). Running checkra1n -cp restarts the device from DFU into recovery.

See this thread on booting the images using irecovery by entering the commands manually. @ajpayne1 was able to create an SSH ramdisk. I'm still trying to figure that out...

iOS 13.5 / iPhone10,1 / Unable to load ramdisk #9:
danieltroger/telnetd_ramdisk#9

@Siguza
Copy link
Member

Siguza commented Apr 13, 2021

So, we patch iBoot in a way that when it hands off execution to the next stage (usually the kernel), it will jump to Pongo instead. The problem that you're running into is that your file system is broken and iBoot cannot load the kernel, and it will thus never jump to Pongo.

But once it drops to recovery, you should be able to take the iBEC from the latest IPSW, fetch a valid APTicket for it and upload it to recovery. This iBEC will never run, it's just needed to satisfy iBoot. You would then use the Pongo USB shell to replace the loaded iBEC with an extracted kernel, and attach a custom ramdisk.

@amats211
Copy link

amats211 commented Mar 9, 2023

So, we patch iBoot in a way that when it hands off execution to the next stage (usually the kernel), it will jump to Pongo instead. The problem that you're running into is that your file system is broken and iBoot cannot load the kernel, and it will thus never jump to Pongo.

But once it drops to recovery, you should be able to take the iBEC from the latest IPSW, fetch a valid APTicket for it and upload it to recovery. This iBEC will never run, it's just needed to satisfy iBoot. You would then use the Pongo USB shell to replace the loaded iBEC with an extracted kernel, and attach a custom ramdisk.

Hi sir, sorry for bumping an old issue. But can you recommend a tutorial or write up on how to patch iBoot(ibss,ibec) maybe using IDA, to boot to the next stage? Thank you very much

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

No branches or pull requests

4 participants