kpwn / yalu102

incomplete iOS 10.2 jailbreak for 64 bit devices by qwertyoruiopz and marcograssi
Do What The F*ck You Want To Public License
1.77k stars 554 forks source link

Spinning wheel while rejailbreaking #329

Closed Vetalius closed 7 years ago

Vetalius commented 7 years ago

Jailbreaked my iPhone 6 10.2 with Yalu's solution. Did not install any of the forbidden tweaks like AppSync etc. And now after reboot when i try to rejailbreak when the device resprings i receive a spinning wheel which does not finish the process.

Vetalius commented 7 years ago

https://youtu.be/g_7s_pMaZFA Here is a video of a similar problem.

kpwn commented 7 years ago

Does ssh work? If it doesn't, you can edit the reload script to only load ssh and it will not be an issue.

This is puzzling me however since as-is reload should work.

Vetalius commented 7 years ago

I am trying to access the phone via Putty. I enter iPhones wi-fi IP and it says that connection refused, maybe i am doing something wrong because i have never done that before.

kpwn commented 7 years ago

You need to use SSH over USB with Yalu.

Just google 'ssh over usb ios'

Vetalius commented 7 years ago

capture Here is what i get.

kpwn commented 7 years ago

That means SSH is not running. You should edit the 'reload' file to only do:

launchctl load /Library/LaunchDaemons/dropbear.plist

You can then debug what's happened more properly.

OGKevin commented 7 years ago

https://www.reddit.com/r/jailbreak/comments/5r2mwr/tutorial_how_to_use_dropbear_ssh_via_usb_on/?st=IYLF5ZZA&sh=ca9f681f

On 31 jan. 2017 11:52 +0100, Vetalius notifications@github.com, wrote:

I am trying to access the phone via Putty. I enter iPhones wi-fi IP and it says that connection refused, maybe i am doing something wrong because i have never done that before.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/kpwn/yalu102/issues/329#issuecomment-276332614), or mute the thread (https://github.com/notifications/unsubscribe-auth/ARGTBgQxDz2_dL8dCZ3ie0ESUDjHCfllks5rXxJ6gaJpZM4LyeKB).

0neday commented 7 years ago

Edit jailbreak.m in source code and only load dropbear.plist, login system using it, and rm /.installed_yaluX and reboot, then rejailbreak, that maybe fix your issues, good luck

Vetalius commented 7 years ago

I am not good in debugging and that sort of stuff, so please, if you can lay the instructions in more simple terms. Thank you =). Right now im following OGKevins guide and i get this error C:\itunnel_mux_rev71>itunnel_mux --iport 22 --lport 2222 [ERROR] Error 0x2 (2): 'No such file or directory' [FATAL] Could not locate 'Apple Mobile Device Support' folder path in registry: ABORTING

Vetalius commented 7 years ago

Tunneling via iFunbox does not work.

Vetalius commented 7 years ago

What do I use to edit the yalu.ipa?

maetrik92 commented 7 years ago

@Vetalius you need Xcode to edit and compile.if you are not experienced why did you go ahead on a beta of Yalu?

OGKevin commented 7 years ago

U made @kpwn aware of this issues but if your not good in debugging and stuff like that then i suggest u wait for stable. Unless he is willing and has the time to explain it in "baby steps" for you. Maybe someone more advanced can recreate this issue and provide better info.

On 31 jan. 2017 12:28 +0100, Vetalius notifications@github.com, wrote:

I am not good in debugging and that sort of stuff, so please, if you can lay the instruction in more simple terms. Thank you =).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/kpwn/yalu102/issues/329#issuecomment-276339727), or mute the thread (https://github.com/notifications/unsubscribe-auth/ARGTBrZhH499d-qqRNmioPn-2r2thbfDks5rXxq-gaJpZM4LyeKB).

Vetalius commented 7 years ago

The issue might be tied to Power Tap, LocationFaker or Anemone tweaks.

Vetalius commented 7 years ago

I must also note that removing the Yalu app on the phone and then reinjecting the .ipa via Impactor does not improve the issue.

kpwn commented 7 years ago

ipa files are zip files. extract it, there's a file called reload inside it, open it with notepad++, comment everything but the '#!/bin/sh' line out (commenting is done by adding a # at the beginning of the line), then adding the launchctl command I wrote earlier to it. Compress the 'Payload' folder back to a zip and install it with Impactor.

jde1126 commented 7 years ago

I myself am having this exact issue!

I had not experienced it, until I tried installing many tweaks last night.

Fortunately, I have a mac with XCode, and can debug.

I just got off work, I will comment back in hopefully an hour, for reference, these are the tweaks that I installed with the error. (List is pretty much useless if it is because of a collision with the others I had.)

Facebook++ YouTube++ Infinity Task (iOS 9) MessagePopper Message Loaded PM, Really? Safe Alarm 2 (iOS 9+) 361 Chinese Letters (MultiAccountMaster)

Also note, I have been using "Illigal Sources", because cydia was not allowing me to log into my Facebook account, to access previous purchases. (The Cydia Beta repo fixed that though.)

jde1126 commented 7 years ago

So after spending a while trying to SSH into my iPhone, I gave up. Error: (Connection closed by host.)

I however found (a link to) THE solution!

After booting with No Substrate, I uninstalled my previous tweaks, Restarted Springboard, POWERED OFF DEVICE, (Upon restarting, you will still be in No Substrate mode) (Powered back On) then opened yalu102, And after clicking "go", it showed the scary loading circle for a little, But then booted normal!!

Jailbreak works as should. I would rule this issue as Closed, and not a problem with the Jailbreak!

(I hope this helps Vetalius)

Additional Information: -I am on an iPhone 6s+ -10.2 -Using yalu102 with most recent commit. (Therefore Obviously MacOS) (Above information probably irrelevant)

ztipnis commented 7 years ago

162

Had the same problem, not an issue with the jailbreak, was an issue with installed tweaks.

To fix:

  1. comment out the line: system("(echo 'really jailbroken'; /bin/launchctl load /Library/LaunchDaemons/0.reload.plist)&");
  2. run jailbreak,
  3. open cydia, delete all tweaks
  4. reboot
  5. uncomment line and rerun jailbreak
CoryKornowicz commented 7 years ago

This happened to me until I found a glorious Reddit post. Although it's not there anymore, the gist was that the reload script was not working. Regardless if I had installed any incompatible tweaks or not, I never had a problem once jailbroken and all my tweaks are on the compatible page. The way that I circumvented the problem was by taking the def.plist from mach_portal beta 4 (that jailbreak worked like butter, props kpwn) and replacing the beta(insert #) 0.reload.plist with it and then just renaming it 0.reload.plist. Granted that after the jailbreak I had Cydia and everything but it would not respring it would just show "already jailbroken" and this works flawlessly everytime so far. It's just that I have to run "/etc/rc.d/substrate" and "killall SpringBoard" everytime after to load Cydia Substrate. Hopefully this insight can help anyone in that respring problem while allowing them to keep their tweaks.

EDIT: This has me thinking, why don't you just bundle a spare app in the meantime that reloads SpringBoard on its own until we get the plist working?

EDIT2: I forgot to mention if you are using a TSMC device, I've only tried the TSMC plist and that worked for me so I recommend that for the TSMC devices, but other devices will probably be alright with the normal plist from beta 4.

Vetalius commented 7 years ago

Issue solved by holding volume up + power when pressing GO in Yalu app and holding those buttons until the lockscreen appears. Thank you everyone for help.

Vetalius commented 6 years ago

I don't think so. Should be the same. But I already updated to newer iOS firmware, so no Yalu jailbreak for me.

On Wed, Jan 10, 2018 at 10:36 AM, Erik Humphrey notifications@github.com wrote:

Still having this issue. Is the volume up + power combo different per device?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/kpwn/yalu102/issues/329#issuecomment-356535677, or mute the thread https://github.com/notifications/unsubscribe-auth/AYRn3rG23-SHUVuxvHXDzdOfX2y3K6rPks5tJHacgaJpZM4LyeKB .

OGKevin commented 6 years ago

This project is also discontinued so 🤷‍♂️

ErikHumphrey commented 6 years ago

@Vetalius Managed to fix it thanks to the no substrate solution, but thanks