kpwn / yalu

incomplete ios 8.4.1 jailbreak by Kim Jong Cracks (8.4.1 codesign & sandbox bypass w/ LPE to root & untether)
385 stars 186 forks source link

.../XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: dyld.fat (No such file or directory) #32

Open michaeldvinci opened 8 years ago

michaeldvinci commented 8 years ago

Alright so everything seems to be working pretty well up until this point. I have 2 main issues...

--first--

Where do I find a copy of OpenSSH as a .tar - do i get it from their main website, if so the mobile version? Or should I use wget and rename as .tar, then change to bootstrap.tar? If you could give me a quick rundown of the process, that'd be awesome

--secondly--

After restore and reboot, I press [Enter] but then I see this:

Mounting DDI... Couldn't mount DDI. Not an issue if Xcode's running, an issue if it isn't. Fetching symbols... [+] Device connected: iPhone4,1, iOS 8.4.1. [] Receiving /usr/lib/dyld... [] Received 0.21 MB of 0.21 MB (100%). [+] Done receiving /usr/lib/dyld. fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: dyld.fat (No such file or directory) [+] Device connected: iPhone4,1, iOS 8.4.1. [_] Receiving /System/Library/Caches/com.apple.dyld/dyld_shared_cachearmv7... [] Received 408.49 MB of 408.49 MB (100%). run.sh: line 58: 2974 Segmentation fault: 11 ./bin/fetchsymbols -f "$(./bin/fetchsymbols -l 2>&1 | (grep armv7 || abort ) | tr ':' '\n'|tr -d ' '|head -1)" tmp/cache Compiling jailbreak files... Extracting /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit at 0x296f000 into cache.IOKit Extracting /System/Library/Frameworks/IOKit.framework/IOKit at 0x296f000 into cache.IOKit Extracting /usr/lib/system/libsystem_kernel.dylib at 0x1050a000 into cache.libsystem_kernel.dylib fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: dyld.fat (No such file or directory) 2015-11-05 11:40:28.859 main[3045:75293] cs_size = 4e0 Assertion failed: (lsrs_r0_2_popr4r5r7pc), function main, file main.m, line 538. ./make.sh: line 6: 3045 Abort trap: 6 ./main

Can I get a quick play-by-play of how to resolve something like this? I'm extremely interested in getting this working for a personal project and would love to properly execute the run.sh

qfdk commented 8 years ago

try idevicesyslog | grep something your want to get i can get 50 blue screen, 2 ret: 0000000d, 20 ret: 00000048 .... the probability is so small

schnabelnator commented 8 years ago

but what would i want to get to recognize that it suceeded? or is looking in the kjc_jb.log enough to be sure it failed? It just takes so long to always reboot fetch and tap jailbreak... a script would be nice haha but i guess one can not remotly start an app or would it be possible?

kpwn commented 8 years ago

Hmm. Mind sharing panic logs? Could be a kernel exploit gadget located differently for your device. I can fix the bug if that's it.

2015-11-11 23:45 GMT+01:00 schnabelnator notifications@github.com:

but what would i want to get to recognize that it suceeded? or is looking in the kjc_jb.log enough to be sure it failed? It just takes so long to always reboot fetch and tap jailbreak... a script would be nice haha but i guess one can not remotly start an app or would it be possible?

— Reply to this email directly or view it on GitHub https://github.com/kpwn/yalu/issues/32#issuecomment-155933215.

Andir00t commented 8 years ago

@kpwn you tried your jb code with iPhone 5 or 5s ?l

Andir00t commented 8 years ago

When I run the application Jailbreak I see it in device log: ############## Nov 12 09:14:43 ipon SpringBoard[43] : Forcing crash report of <FBApplicationProcess: 0x166ac050; MobileReplayer; pid: 1100> (reason: 1, description: developer.apple.wwdc-Release failed to launch in time) Nov 12 09:14:43 ipon ReportCrash[1102] : task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument) Nov 12 09:14:43 ipon ReportCrash[1102] : [CrashReport _extractBinaryImageInfoUsingSymbolicator] caught exception: *\ setObjectForKey: object cannot be nil (key: ExecutablePath) (0x2b258f8f 0x39909c8b 0x2b1747d3 0x4ff3b 0x311bb2a9 0x4fc57 0x4edff 0x58143 0x4e273 0x4e46d 0x39f7eb85 0x57c1d 0x3a000e17 0x3a000d8b 0x39ffeb14) Nov 12 09:14:43 ipon com.apple.xpc.launchd1 : Service exited due to signal: Killed: 9 Nov 12 09:14:43 ipon SpringBoard[43] : Application 'UIKitApplication:developer.apple.wwdc-Release[0xe2d3]' exited abnormally via signal. Nov 12 09:14:44 ipon SpringBoard[43] : Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port

Date/Time: 2015-11-12 09:14:43.861 +0300 Launch Time: 2015-11-12 09:14:23.726 +0300 OS Version: iOS 8.4.1 (12H321) Report Version: 105

Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0

Application Specific Information: developer.apple.wwdc-Release failed to launch in time

Elapsed total CPU time (seconds): 5.840 (user 5.840, system 0.000), 15% CPU Elapsed application CPU time (seconds): 0.026, 0% CPU

Error Formulating Crash Report: *\ setObjectForKey: object cannot be nil (key: ExecutablePath) 0x2b258f8f 0x39909c8b 0x2b1747d3 0x0004ff3b 0x311bb2a9 0x0004fc57 0x0004edff 0x00058143 0x0004e273 0x0004e46d 0x39f7eb85 0x00057c1d 0x3a000e17 0x3a000d8b 0x39ffeb14

Thread 0: 0 ??? 0x5001d60c 0 + 1342297612 1 ??? 0xfffffffc 0 + -4

No thread state (register information) available Binary Images: 0x1fe6b000 - 0x1fe8efff dyld armv7s <6cf411b599e93791b3f40ced325786dd> /usr/lib/dyld

*\ setObjectForKey: object cannot be nil (key: ExecutablePath) (0x2b258f8f 0x39909c8b 0x2b1747d3 0x4ff3b 0x311bb2a9 0x4fc57 0x4edff 0x58143 0x4e273 0x4e46d 0x39f7eb85 0x57c1d 0x3a000e17 0x3a000d8b 0x39ffeb14)

which means this exception?

schnabelnator commented 8 years ago

here is my complete devicesyslog http://pastebin.com/xjwa2pbe the kjc_jb.log http://pastebin.com/MYtFLe2G and the mobilereplayer crashlog http://pastebin.com/cWmf0G1N

hope that helps!

russspooner commented 8 years ago

@kpwn Is there any way you could make the Cydia bootstrap tar available again, Im struggling to find a copy of it so I can make the SSH bootstrap? Or could someone post a link to a working one?

salmon111 commented 8 years ago

@kpwn @qfdk Can I still get the Cydia-8.4r3-Raw?

leo98gomez commented 8 years ago

@Andir00t @schnabelnator @kpwn could I get step by step instructions, and maybe links to the files I have to download , and changes that have to be done to,the code before running Yalu. Thank you