checkra1n / BugTracker

checkra1n bug tracker
728 stars 104 forks source link

checkra1n 0.11.0 hangs or crashes on userland boot #1689

Closed ghost closed 3 years ago

ghost commented 4 years ago

Tell us about your setup: What iDevice are you using? A: iPad 5th Generation (WiFi) Board Config: j71tap to be exact On what version of iOS is it? iPadOS 14.0 (18A373) What version of checkra1n are you using? Latest 0.11.0 What is your host system (OS version? Hackintosh? VM? etc.)? An old 2010 white MacBook on Catalina 10.16.5, same error on my HP Laptop running the latest version of Ubuntu 20.04 LTS. How are you connecting to the device (USB-A? USB-C? Apple/3rd party cable? Through a USB hub?)? Original Apple USB-A cable, tried every USB 3/2 ports. Aswell tried using different cables. What are the steps to reproduce the issue?

  1. Connect the iPad to any usb port
  2. Run checkra1n as usual
  3. When checkra1n says "Booting" the device shows the checkra1n logo then it reboots to a normal apple logo. ...

What do you expect, and what is happening instead?

I expect it to continue showing the checkra1n logo until the device has reached SpringBoard, Instead it reboots and the Loader doesnt get installed and I usually get 2 errors from this.

  1. usbmuxd (Error -79)
  2. Bootstrap Timeout (Error -20)

I have tried to jailbreak with the safe mode option on but the same thing happends. Everything worked fine on 13.7 and below.

Does the issue also occur if you tick "Safe Mode" in the checkra1n options?

Yes

Any other info, error logs, screenshots, ...?

image

^ Same thing happen when I use the CLI version.

TOTALMICHEL commented 3 years ago

The patch is included in pingo os 2.3.3 So it checkrain 0.12 uses that pongo version A9X will be fixed

shoyrock commented 3 years ago

can you post a link or screenshot

TOTALMICHEL commented 3 years ago

Check the source code.

Synopsys_otg.c (its the usb stack - remember what error a9x gives? ;) ) It fixes a interrupt asserting before dma transfer is complete on some devices.

I already compiled 2.3.3 and managed to boot to pongoos on my A9X i evem got to use some pongoos commands using pongoterm

Can’t boot checkra1n cause i don’t have access to checkra1n-kpf2-12.0,14.0 module

even tried using checkrain with -ck (pongo 2.3.3.bin) but it dosent gives acess to modules inside checkra1n. (https://user-images.githubusercontent.com/20833921/98221120-26dba500-1f47-11eb-87ee-e89e4cdd109f.png)

nxahjs commented 3 years ago

This happens on my iPhone X, which is pretty odd

Tmarkr commented 3 years ago

I see that the newest checkra1n(0.12.0) is out now, but I don't see anything about A9(x) compatibility, especially on the iPad ....fingers crossed

Galactic-Dev commented 3 years ago

checkra1n 0.12.0 fixes this on my A9X iPad

ghost commented 3 years ago

This has now been fixed in checkra1n 0.12.0!🥳

Siguza commented 3 years ago

Marking this as fixed. 🎉

Medlk commented 3 years ago

At least i can end this day at a good note thanks to all u checkra1n team

trn1ty commented 3 years ago

So... I'm still getting the same issue. Let me repeat my specs/setup/etc: Laptop OS: Arch Linux x86_64 latest Laptop hardware: Thinkpad T420, iPhone plugged into a USB A 2.0 port iOS 14.2 on iPhone SE 2016 checkra1n beta 0.12.0 Trying again: Launching as user, entering recovery mode. checkra1n has failed to detect my phone successfully entering recovery both of two times tested. Fortunately when checkra1n is launched as the root user (and only as the root user) it can detect that the iPhone has been put into recovery mode, if it can't detect an iPhone entering recovery in user mode then that's probably the cause of the previous error. Entering DFU mode OK, boots as normal, but then displays USB error -76 (see screenshot):

2020-11-08-232236_1600x900_scrot

Then the phone doesn't get a checkra1n or Cydia app on the home menu and I doubt the SSH server is up (let me check... yup, connection refused). It looks like the bug, or at least my bug #1693 which was flagged as a duplicate of this one, has not been fixed :(

-- That being said, thank you very much for the update anyway because it's still very useful to me for getting my device out of recovery mode. Got stuck in that and it took me a couple hours on the r/jailbreak_ Discord server back before it was taken off-line to figure out how to exit using some arcane irecovery commands I've since forgotten!

noob698 commented 3 years ago

Yeah same with iPad 5th generation but mine says “all done” but still has no checkrain app

noob698 commented 3 years ago

Wait safe mode fixes the problem. Thank you devs!

jeffry2berdugo commented 3 years ago

Checkrain 0.12.0 Solved my problem on iPad 5th Generation IOS 14, thank you Devs! Ur the best.

amakiller commented 3 years ago

What iOS ? 14.1 or 14,2 ) iPad 5 Gen

jeffry2berdugo commented 3 years ago

What iOS ? 14.1 or 14,2 ) iPad 5 Gen

14.0 Don't know if it work on least version

amakiller commented 3 years ago

I did jailbreak iPad 5 Gen with IOS 14.1. But I am little bit scared to try to update to 14.2 before someone else did.

michaelmantz commented 3 years ago

Just jaibreaked iPad 5th gen on updated ios 14.2

jeffry2berdugo commented 3 years ago

Just jaibreaked iPad 5th gen on updated ios 14.2

You're god bro, thank u!!!

michaelmantz commented 3 years ago

The only problem I had was on my iphone 6s, it was jailbroken on 14.1 and I wasn't able to update over the air to ios 14.2, after I updated through itunes, I wasn't able to jailbreak, I had to restore the phone

iosfabian commented 3 years ago

Still the same problem on my device (iPhone X iOS13.7)

trn1ty commented 3 years ago

Tried again, got an error -63. Tried to boot into safe mode, once again got an error -76.

deroyabun commented 3 years ago

Works great on iOS 14.2 with iPad Pro 1st 9,7“ gen.

Sandwhich253989 commented 3 years ago

Works with iPad 5 ipadOS 14.2 .

trn1ty commented 3 years ago

@Siguza issue may need to be re-opened, tagging you in case you haven't seen this (sorry for the spam if you have).

mind-overflow commented 3 years ago

Yep, totally still happening. Ubuntu 20.10 on kernel 5.8.28, checkra1n 0.12.0, iPhone 6 on iOS 12.4. The phone, sometimes, actually reboots in jailbroken state; some other times it just hangs. Still, the error is shown every time.

x766 commented 3 years ago

Hey, guys, please upload some useful pictures to solve the code-78 and code-79 problem.

Take a look at Settings----privacy----analytics and improvements----analytics data----panic-XXXX-XXXX-XX-XX-XXXXXX.ips

When uploading your pictures here, be careful to hide the key,key to protect your privacy. Thank you.

my question: IOS usually calls /Library/LaunchDaemons (less commonly used /Library/LaunchAgents) at startup; / System/Library/LaunchDaemons(System services here is generally put) If installed Cydia Substrate, then starts can also through plist definition and calls, call the load/Library/MobileSubstrate/DynamicLibraries dylib program inside.

The first 2(3) are system-level startup calls, while Cydia Substrate's can only take effect after the environment of Cydia Substrate is installed. Besides, holding down the "volume +" key at startup can completely skip plug-in calls based on it, but system-level calls cannot be skipped! So if it's a plug-in issue based on the Cydia Substrate environment, you can press "volume +" to skip it, but if it's a system-level startup call, it's a problem that gets stuck!

Since I did not install Cydia but rather installed the software via SSH,even the no-Substrate did not solve my problem.

Library\LaunchDaemons This folder contains the plist file installed by me using FILZA software via jailbreak,such as com.matchstic.reprovisiond.plist,It will associate the usr\bin\reprovisiond file, As a result of installing these two files,After I swiped the Checkra1n code to about 80%, the iPhone started automatically,Then the jailbreak failed.Of course,Brush into the checkRA1n code after I choose safe Mode also failed.

In general, if you have the OPENSSH service installed and you can start it, you can handle the basic issues (you can execute terminal commands, modify permissions, and so on), but now you can't start the SSH service.

This issue is mainly about fixing the jailbroken preset APT environment, where checkra1n files may lose execution in the /var/lib directory or fail to place files there.

My guess is that this solution has a very good chance of solving the code-79 problem, just my guess.

Tell us about your setup: What iDevice are you using? iphone8 D20AP On what version of iOS is it? 13.6.1

My English is very poor, I hope you can understand my description.

This picture prompts me:Something went wrong in the background in front of launch. ![Uploading Conflict code.JPG…]()

x766 commented 3 years ago

Conflict code

x766 commented 3 years ago

@Siguza

@nullpixel

@jacc