BugTracker
BugTracker copied to clipboard
Checkra1n Exploit Failed (Error code: -31)
Tell us about your setup:
- What iDevice are you using?
- On what version of iOS is it?
- What version of checkra1n are you using?
- What is your host system (OS version? Hackintosh? VM? etc.)?
- How are you connecting to the device (USB-A? USB-C? Apple/3rd party cable? Through a USB hub?)?
What are the steps to reproduce the issue?
- iPhone 5s
- 12.5.4 3.checkra1n 0.12.4 beta
- MacBook air m1
- USB-A apple cable USB hub
What do you expect, and what is happening instead?
Did you see a popup on the device stating it entered "Safe Mode" due to an error?
Does the issue also occur if you tick "Safe Mode" in the checkra1n options?
Any other info, error logs, screenshots, ...?
- iPhone 5s (Global)
- iOS 12.1.3
- checkra1n 0.12.4 beta
- Ubuntu
- USB-A 3rd party cable (tested 2psc.)
Progress log
- [08/06/21 23:15:31] <Info>: Waiting for DFU devices
- [08/06/21 23:15:31] <Verbose>: Using usbmuxd
- [08/06/21 23:15:34] <Warning>: connection refused?!
- [08/06/21 23:15:34] <Error>: usbmux: Failed to connect (error code: -79)
Here i turn up DFU mode
- [08/06/21 23:15:50] <Verbose>: DFU device connected: xxxxxx8885c
- [08/06/21 23:15:50] <Info>: Exploiting
- [08/06/21 23:15:50] <Verbose>: Attempting to perform checkm8 on 8960 11...
- [08/06/21 23:15:50] <Info>: Checking if device is ready
- [08/06/21 23:15:50] <Verbose>: == Checkm8 Preparation stage ==
- [08/06/21 23:15:50] <Info>: Setting up the exploit (this is the heap spray)
- [08/06/21 23:15:50] <Verbose>: == Checkm8 Setup stage ==
- [08/06/21 23:15:50] <Verbose>: Disabled probabilistic mode since we encountered a partial xfer
- [08/06/21 23:15:50] <Verbose>: Deterministic approach was successful!
- [08/06/21 23:16:55] <Info>: Right before trigger (this is the real bug setup)
- [08/06/21 23:16:55] <Verbose>: Entered initial checkm8 state after 0 steps, issuing DFU abort..
- [08/06/21 23:16:55] <Verbose>: DFU device connected: xxxxxx8885c
- [08/06/21 23:16:55] <Verbose>: == Checkm8 Trigger stage ==
- [08/06/21 23:17:20] <Error>: Timed out in state 1, assuming we are back to square one with this device. (error code: -31)
- [08/06/21 23:17:43] <Verbose>: Checkmate!

What your m1 is on (OS version )
Same issue. ipad air 1th linux usb-c I have tried to replugin the lighting cable, not work.
@teelekkung
What your m1 is on (OS version )
mine 11.6 (20G165)
Confirmed also when using Ubuntu Mate 20.04 on a Dell Latitude 7490 Target device iPad Mini 2
Hello, I have the same problem with an Ipad Mini 2 with iOS 12.5.5 (checkra1n 0.12.4 beta). I get the error message "Exploit Failed (Error Code: -31). I changed my USB key, USB port, PC. Nothing helps. No" Safe mode "pop-up that appears and even the same error message if I check "Safe mode" in options. Anyone have any idea? Thanks in advance
A screenshot for more details...
Hey, having the same issue.
- iPhone 7
- 14.6
- checkra1n 0.12.4 beta
- MacBook pro m1
- usb-c to usb-a apple cable Any fixes yet?
same issue here
- iPad Air A1475
- IOS12.5.5
- checkra1n 0.12.4
- vm ubuntu with AMD based pc
- USB-A original apple cable
same issue here
- iPad Air A1475
- IOS12.5.5
- checkra1n 0.12.4
- vm ubuntu with AMD based pc
- USB-A original apple cable
I had the same issue with the iPad Air A1474 (A7) with iOS 12.5.5 and found the solution here. Try Ra1nUSB_HT to boot in to a macOS environment. I used balenaEtcher to install the dmg file in a 16GB USB drive. checkra1n 0.12.4 beta (enter 124 in Terminal) worked on the first try. I used the Intel version, there is an AMD version too.
same issue here
- iPad Air A1475
- IOS12.5.5
- checkra1n 0.12.4
- vm ubuntu with AMD based pc
- USB-A original apple cable
I had the same issue with the iPad Air A1474 (A7) with iOS 12.5.5 and found the solution here. Try Ra1nUSB_HT to boot in to a macOS environment. I used balenaEtcher to install the dmg file in a 16GB USB drive. checkra1n 0.12.4 beta (enter 124 in Terminal) worked on the first try. I used the Intel version, there is an AMD version too.
Can you please guide me from the start?
Had this issue today on ipad mini 2. A1489. Exploit failed (Error code -31). I tried enabling the experimental / untested versions with and without, same error.
When it says Right before trigger (this is the real bug setup) wait 2-5 seconds and then unplug and replug, said DFUSyncUpload FAILED: -1 then finished and the checkra1n showed up on my home screen a couple of minutes after power on!
Same here on v0.12.4-beta (running on a Mac) for the iPad Air 1
EDIT
This is apparantly an UI bug. Works fine in the terminal!
Fix: https://github.com/checkra1n/BugTracker/issues/1161#issuecomment-640922994