Yalu102: Crash on 6S+ 10.2

Created on 30 Jan 2017  路  53Comments  路  Source: kpwn/yalu102

Fresh restore.
What is done for app to crash:

  1. Loaded b4 (and b5 qwerty tweeted)
  2. Press go
  3. App quits to SB
  4. Open App and try again, says failed then reboots.

Second Method,

  1. Loaded b4 (and b5 qwerty tweeted)
  2. Press go
  3. App quits to SB
  4. Wait a little while and phone restarts.

Most helpful comment

Final release within hands reach :) Can't wait for my Air 2 to get jailbreak soon

All 53 comments

Update:
My phone is now in a state where the screen is blank.
The phone is on as when I connect to the mac Dropbox can still import photos, meaning its unlocked and on.

Going to try a hard reset and then restore if need be. Will update back here.

Okay so a hard rest brought the phone back up.
Note to this point it still has not been jailbroken.

Ran the app again. Looks like it worked. Cydia has opened up and looks like its been successful.
Is there anywhere I can get logs?

Also I'm willing to restore and do this again if need be. Just let me know.

So the app is crashing: sounds like an assert. Use the xcode project rather than the ipa, it should tell you more.

Same here but it just froze my phone and had to restart it

SSH doesn't seem to be working.

The described behaviour looks like a patchfinder is failing, which is possible, but until you keep using the ipa you won't be helpful.

@kpwn not sure this will help but here's what xCode produced

sysname: Darwin
nodename: iPhone
release: 16.3.0
version: Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_S8000
machine: iPhone8,2
2017-01-30 02:36:07.816897 yalu102[286:11932] found corruption 38203
2017-01-30 02:36:12.352680 yalu102[286:11932] found kernel text at fffffff023a04000
2017-01-30 02:36:12.354220 yalu102[286:11932] got tfp0 -> 1207
2017-01-30 02:36:12.354525 yalu102[286:11932] found procs at fffffff004dc2c58
2017-01-30 02:36:12.357061 yalu102[286:11932] seg: __TEXT
2017-01-30 02:36:12.357096 yalu102[286:11932] seg: __DATA_CONST
2017-01-30 02:36:12.357118 yalu102[286:11932] seg: __TEXT_EXEC
2017-01-30 02:36:12.357143 yalu102[286:11932] seg: __KLD
2017-01-30 02:36:12.357165 yalu102[286:11932] seg: __LAST
2017-01-30 02:36:12.357192 yalu102[286:11932] seg: __DATA
2017-01-30 02:36:12.357213 yalu102[286:11932] seg: __PRELINK_TEXT
2017-01-30 02:36:12.357235 yalu102[286:11932] seg: __PLK_TEXT_EXEC
2017-01-30 02:36:12.357271 yalu102[286:11932] seg: __PRELINK_DATA
2017-01-30 02:36:12.357324 yalu102[286:11932] seg: __PLK_DATA_CONST
2017-01-30 02:36:12.357349 yalu102[286:11932] seg: __PLK_LINKEDIT
2017-01-30 02:36:12.357372 yalu102[286:11932] seg: __PRELINK_INFO
2017-01-30 02:36:12.357393 yalu102[286:11932] seg: __LINKEDIT
2017-01-30 02:36:12.357458 yalu102[286:11932] fffffff022a5c000 - fffffff02428c000
2017-01-30 02:36:12.382962 yalu102[286:11932] 3e44000
2017-01-30 02:36:12.420187 yalu102[286:11932] fffffff023a655a0
2017-01-30 02:36:12.455702 yalu102[286:11932] pmap: fffffff023f10850
2017-01-30 02:36:12.455935 yalu102[286:11932] got phys at 837140000 for virt fffffff002094000
2017-01-30 02:36:12.455979 yalu102[286:11932] found cpu 0
2017-01-30 02:36:12.455997 yalu102[286:11932] found physz: fffffff023a87000
2017-01-30 02:36:12.456038 yalu102[286:11932] found cpu 1
2017-01-30 02:36:12.456090 yalu102[286:11932] found physz: fffffff023a87000
2017-01-30 02:36:12.456118 yalu102[286:11932] fffffff023b86508 - fffffff023b86358
2017-01-30 02:36:12.456951 yalu102[286:11932] ttbr0: 8028c8000 fffffff023a65590
2017-01-30 02:36:12.458516 yalu102[286:11932] got a cpacr
yalu102 was compiled with optimization - stepping may behave oddly; variables may not be available.

It means you trapped to the debugger: the app crashed. Please screenshot xcode.

ok, here you go

screen shot 2017-01-30 at 5 26 58 am

Makes sense. That's recently added code. I am working on a different way to find that patch.

I'm also having issues on latest commit using a 6s, hard to make the jailbreak work (sometimes app crashes, some others reboot the device) and then when finally works, lots of random respings... reverting back some commits...

So i get this loading directly from xcode. it works fine.

sysname: Darwin
nodename: gPhone6splus
release: 16.3.0
version: Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_S8000
machine: iPhone8,2
2017-01-29 23:37:19.376094 yalu102[210:3299] found corruption 38103
2017-01-29 23:37:19.958766 yalu102[210:3299] found kernel text at fffffff00a804000
2017-01-29 23:37:19.960360 yalu102[210:3299] got tfp0 -> 38303
2017-01-29 23:37:19.961930 yalu102[210:3299] found procs at fffffff10d2cf4e8
2017-01-29 23:37:19.964324 yalu102[210:3299] seg: __TEXT
2017-01-29 23:37:19.964445 yalu102[210:3299] seg: __DATA_CONST
2017-01-29 23:37:19.964490 yalu102[210:3299] seg: __TEXT_EXEC
2017-01-29 23:37:19.964611 yalu102[210:3299] seg: __KLD
2017-01-29 23:37:19.964649 yalu102[210:3299] seg: __LAST
2017-01-29 23:37:19.964774 yalu102[210:3299] seg: __DATA
2017-01-29 23:37:19.964812 yalu102[210:3299] seg: __PRELINK_TEXT
2017-01-29 23:37:19.964894 yalu102[210:3299] seg: __PLK_TEXT_EXEC
2017-01-29 23:37:19.964968 yalu102[210:3299] seg: __PRELINK_DATA
2017-01-29 23:37:19.965072 yalu102[210:3299] seg: __PLK_DATA_CONST
2017-01-29 23:37:19.965100 yalu102[210:3299] seg: __PLK_LINKEDIT
2017-01-29 23:37:19.965215 yalu102[210:3299] seg: __PRELINK_INFO
2017-01-29 23:37:19.965245 yalu102[210:3299] seg: __LINKEDIT
2017-01-29 23:37:19.965355 yalu102[210:3299] fffffff00985c000 - fffffff00b08c000
2017-01-29 23:37:19.989163 yalu102[210:3299] ffffffff03e3c000
2017-01-29 23:37:20.025096 yalu102[210:3299] fffffff00a8655a0
2017-01-29 23:37:20.061073 yalu102[210:3299] pmap: fffffff00ad10850
2017-01-29 23:37:20.061330 yalu102[210:3299] got phys at 817990000 for virt fffffff1b5610000
2017-01-29 23:37:20.061406 yalu102[210:3299] found cpu 0
2017-01-29 23:37:20.061446 yalu102[210:3299] found physz: fffffff00a887000
2017-01-29 23:37:20.061477 yalu102[210:3299] found cpu 1
2017-01-29 23:37:20.061512 yalu102[210:3299] found physz: fffffff00a887000
2017-01-29 23:37:20.061623 yalu102[210:3299] fffffff00a986508 - fffffff00a986358
2017-01-29 23:37:20.062438 yalu102[210:3299] ttbr0: 8036c8000 fffffff00a865590
2017-01-29 23:37:20.062701 yalu102[210:3299] got a cpacr
2017-01-29 23:37:20.219760 yalu102[210:3299] 3
2017-01-29 23:37:20.242773 yalu102[210:3299] fref at fffffff00a984500
2017-01-29 23:37:20.264851 yalu102[210:3299] amfistr at fffffff00a670510
2017-01-29 23:37:21.286920 yalu102[210:3299] enabled patches
2017-01-29 23:37:21.353563 yalu102[210:3299] remounting: 0
really jailbroken
2017-01-29 23:37:22.709745 yalu102[210:3418] [Common] Terminating since there is no system app.

(Not on fresh restore but from beta 1 to beta 5) in the 6 tries i tried with beta 5 for the 6S Plus , 5 time's it rebooted and 6th time it failed and when tried again it rebooted.
Though on the 7th try it worked so it does work

I'm restoring and trying again to see if it works through xcode or if I get different errors.

@kpwn ok, let me know how i can help

interesting shit is that it seems that when I run through xcode it always works...

  1. Nosubtrate got error again
  2. Suddenly go to a respring loop
    Device 6s tsmc 10.2

next time you post offtopic you're blocked.

that's a substrate issue.

Sry i though it got fixed in b3 cuz in b3 i dont have that error

Can confirm. When loaded through xcode the app works 100%. Just did this on a fresh restore.

@gmawji you sure a fresh restore did the trick?

lol wtf how did b4/5 ever work

@kpwn b4 and b5 never worked with me and i can't risk a fresh restore (too much time to get it back into production apps wise)

Sticking with b3 till this issue is sorted out, however, happy to test new commits

Try the last commit.

B4/5 for me still can work after some tried

@timonline thats all i did. Fresh restore. downloaded latest commit, change bundle id, imported IOKit and loaded on 6S+. Worked.

I'll do it again to be sure? Idc lol

note not using the IPA to get success. Just the latest commit. The IPA on the site does not work for me.

Now my phone is randomly vibrating/ not showing notifications

@kpwn seems to be working now.

Here's a screenshot:

screen shot 2017-01-30 at 6 02 34 am

Ran the Yalu app and it respring, unlocked, all tweaks working again, and cydia opens

that doesn't look right.

wtf... how is it not finding the munge function.

@kpwn i don't know. What details from my side would help?

xcode console

Fresh restore, tried again, success.
SSH still doesn't work though.

@gmawji that's good, i can't fresh restore sadly.

On the bright side, the new commit b4487da worked though even if it didn't find the munge function like @kpwn pointed out

I haven't tried that commit but seems fine from the one before from me.

Could something happen when an IPA is being compiled that can corrupt the IPA version?

Try latest commit.

@kpwn latest commit

sysname: Darwin
nodename: Gulamabbas-Mawjis-iPhone
release: 16.3.0
version: Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_S8000
machine: iPhone8,2
2017-01-30 00:29:56.798551 yalu102[239:5927] found corruption 38503
2017-01-30 00:29:59.165377 yalu102[239:5927] found kernel text at fffffff015a04000
2017-01-30 00:29:59.166883 yalu102[239:5927] got tfp0 -> 38603
2017-01-30 00:29:59.168479 yalu102[239:5927] found procs at fffffff1194274e8
2017-01-30 00:29:59.170688 yalu102[239:5927] seg: __TEXT
2017-01-30 00:29:59.170725 yalu102[239:5927] seg: __DATA_CONST
2017-01-30 00:29:59.170748 yalu102[239:5927] seg: __TEXT_EXEC
2017-01-30 00:29:59.170773 yalu102[239:5927] seg: __KLD
2017-01-30 00:29:59.170796 yalu102[239:5927] seg: __LAST
2017-01-30 00:29:59.170822 yalu102[239:5927] seg: __DATA
2017-01-30 00:29:59.170844 yalu102[239:5927] seg: __PRELINK_TEXT
2017-01-30 00:29:59.170865 yalu102[239:5927] seg: __PLK_TEXT_EXEC
2017-01-30 00:29:59.170887 yalu102[239:5927] seg: __PRELINK_DATA
2017-01-30 00:29:59.170936 yalu102[239:5927] seg: __PLK_DATA_CONST
2017-01-30 00:29:59.170960 yalu102[239:5927] seg: __PLK_LINKEDIT
2017-01-30 00:29:59.170983 yalu102[239:5927] seg: __PRELINK_INFO
2017-01-30 00:29:59.171004 yalu102[239:5927] seg: __LINKEDIT
2017-01-30 00:29:59.171023 yalu102[239:5927] fffffff014a5c000 - fffffff01628c000
2017-01-30 00:29:59.195950 yalu102[239:5927] ffffffff03aa4000
2017-01-30 00:29:59.230844 yalu102[239:5927] fffffff015a655a0
2017-01-30 00:29:59.266064 yalu102[239:5927] pmap: fffffff015f10850
2017-01-30 00:29:59.266313 yalu102[239:5927] got phys at 816b84000 for virt fffffff002000000
2017-01-30 00:29:59.266367 yalu102[239:5927] found cpu 0
2017-01-30 00:29:59.266385 yalu102[239:5927] found physz: fffffff015a87000
2017-01-30 00:29:59.266406 yalu102[239:5927] found cpu 1
2017-01-30 00:29:59.266423 yalu102[239:5927] found physz: fffffff015a87000
2017-01-30 00:29:59.266452 yalu102[239:5927] fffffff015b86508 - fffffff015b86358
2017-01-30 00:29:59.267317 yalu102[239:5927] ttbr0: 8028c8000 fffffff015a65590
2017-01-30 00:29:59.267639 yalu102[239:5927] got a cpacr
2017-01-30 00:29:59.429413 yalu102[239:5927] 3
2017-01-30 00:29:59.450864 yalu102[239:5927] fref at fffffff015b84500
2017-01-30 00:29:59.464649 yalu102[239:5927] amfistr at fffffff015870510
2017-01-30 00:30:00.491775 yalu102[239:5927] enabled patches
2017-01-30 00:30:00.529956 yalu102[239:5927] remounting: 0
really jailbroken
2017-01-30 00:30:01.853673 yalu102[239:5956] [Common] Terminating since there is no system app.

that means success. closing.

your previous log showed the same. stop posting logs of successfully jailbroken devices. whatever issue you are having is not a yalu issue, or if it is, it's because git and b5 are different.

@kpwn still failing

screen shot 2017-01-30 at 6 32 37 am

But yet again, the jailbreak works

dude, it worked both times, your screenshots are the same in both comments. it's not showing the current run, but a previous one.

this is a xcode bug lol

@kpwn what's with the compiled with optimization error?

rip @kpwn got pranked

@kpwn i'm sorry if i wasted your time

for good measure: test https://yalu.qwertyoruiop.com/yalu102_beta6.ipa before I tweet about it :p

@kpwn feel like an idiot, closed xCode and re-ran. No errors.

Trying the beta6 link above now

@kpwn yep that beta6 link works fine as well.

Thank you and tweet away :D

You need sleep at all? @kpwn

@nicogibbons personally it's 6:45 am here, haven't slept in 19 hours and have work in an hour :)

the life lmao @timonline

Beta 6 working fine here

Final release within hands reach :) Can't wait for my Air 2 to get jailbreak soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

jackiossy picture jackiossy  路  5Comments

subhamshaw picture subhamshaw  路  3Comments

daniel63194 picture daniel63194  路  7Comments

christo98 picture christo98  路  4Comments