-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.../XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: dyld.fat (No such file or directory) #32
Comments
You need to download a cydia bootstrap tar, an openssl deb, openssh deb.
create a tar.gz of everything, put it in data/bootstrap.tar.gz |
I'm obviously doing all this on my mac and replacing in data/bootstrap.tar.gz before I run run.sh, correct? |
Yes. |
Awesome, alright thank you so much for the help - will test and get back ! |
Also, for the lsrs_r0_2_popr4r5r7pc issue: yalu only supports arm64 devices at the moment. Due to odysseusota's 8.4.1 support there's been people working on an armv7 port for it. |
idea is to run the jailbreak app until it doesn't kernel panic, when it doesn't the kernel untether will have worked and the tar will be extracted. sbin/reboot is used to start ssh because you can trigger an execve on it w/ uid=0 with |
ugh so my iPhone 4S isn't a viable tester? darn |
also, am I allowed to ask where the best location to find the bootstrap tar is? |
I suggest qwupz.me/Cydia-8.4r3-Raw.txz - remember to remove patcyh files. if you don't you'll brick your phone. |
That URL gives a 403 forbidden error. |
Lol I don't have permission for that one! |
Sorry. Had a chmod issue w/ scp. Try again. |
Also remember that the cydia bootstrap will install cydia. I don't suggest running it. |
Awesome thank you a ton! I need to run to work, but I'll definitely jump back to testing this when I get home and get back to you! |
After you have SSH you need to install the untether via ssh. I have some free time now, so I can help you do that myself if you need. |
I'll go as far as I can after work until I feel like I'm out of my league, the help youve given me already is outstanding and extremely appreciated. |
Thanks for your Cydia-8.4r3-Raw.txz, ./private/var/lib/dpkg/info/com.saurik.patcyh.extrainst_
./private/var/lib/dpkg/info/com.saurik.patcyh.list
./private/var/lib/dpkg/info/com.saurik.patcyh.postrm ./usr/lib/libpatcyh.dylib must be deleted too ? |
Yeah you should definitely delete patcyh -- use this when compiling\
look up at this post |
I have used this command "delete and create a file with the same name or create file null" But for this ./usr/lib/libpatcyh.dylib? Is it should be DELETE ? |
yeah that command where it says
will remove anything that is like %patcyh% I don't know specifically about that dylib, sorry man |
hey qfdk, can you link me to the openssh.deb and openssl.deb you are using, I want these tests to be in unison |
alright, so I have the temp folder with everything in it...I'm trying to locate these two files though... any ideas? SCREENSHOT |
OK, Download i have packaged it with script reboot placed in sbin, but it NOT include Cydia, your must put the Cydia in this package, i will work on it tonight |
The openssh / openssl debs don't include /bin/sh etc. |
how come yours doesn't have the openssh or openssl debs included? |
Because he extracted them. His one is correct AFAICT |
awesome, ok I'll play with that then ! Thanks! EDIT: OK! that makes a ton of sense. So once the untether is installed without patcyh, can you install a version of cydia for testing or is that still going to cause a crash?? |
permissions seem wrong on that tar. not sure if it's going to be an issue but eh |
http://apt.saurik.com/debs/ I have modified the file I fetchsymbols with armv7, i can run the app and i got the log like this
I got the same things with #30 exploit failed . |
It seems as though nothing is working anymore... do I need to restore to 8.4.1 again and start fresh? It seems to not be able to find anything now... regardless of download path
|
ERROR: stat: ./data/DeveloperDiskImage.dmg you must verify if the $ddi exists ... |
I stil can't get further than @michaeldvinci in the OP.
|
Hello everybody ! from If an error occurs: zcat: can not stat: ./data/bootstrap.tgz, In the end result Mounting DDI... with @qfdk bootstrap.tgz ssh does not start. |
@Andir00t @schnabelnator My |
@qfdk please tell me how to view the log? |
@Andir00t |
@qfdk How do I get to kjc jb.log (/ var / mobile / Media / kjc jb.log) if I can not access the device via ssh ? Maybe I do not understand |
If the jailbreak code execute, il will create this file. |
@qfdk I thought one should NOT add cydia to the bootstrap but install it later via ssh. or should i just leave the cydia.app out of the bootstrap but let it copy the other files? |
So now I am getting no errors on the mac side (http://pastebin.com/HMNYUPdt) but I can't get my phone to crash! Everytime I try it with the app the screen goes black for a few seconds (statusbar still visible) and then it crashes to the homescreen. One time it crashed the phone (restarted) but it didn't install anything and the log didnt even show the crash... here is the log from the last few times i have been trying: http://pastebin.com/15VRwb5n |
It is not supposed to restart the phone fwiw. 2015-11-11 15:28 GMT+01:00 schnabelnator notifications@github.com:
|
As a result, kjc_jb.log: yalubreak iso841 - Kim Jong Cracks Research BRITTA ROLL UP [no its not pythech!] connect via ssh does not work = ( |
found overlapping object 2015-11-11 15:35 GMT+01:00 Andiroot notifications@github.com:
|
where can i find the idevicesyslog i only see kjc_jb.log or do you mean that? How would I do a fetchcaches? sorry for the noob questions and thank you very much for your support @ALL ! |
Look at #34 i have added I try to use problem of signature ? |
ok so if i got it right it should work like this: |
I'm not sure if I included a printf for the second object being found. "ret: ffffff80" and some other hex numbers should work. 2015-11-11 21:29 GMT+01:00 schnabelnator notifications@github.com:
|
Hmm. 2015-11-11 17:17 GMT+01:00 Lee notifications@github.com:
|
its so strange :X in my script i have put the
and 20 times
It comes randomly . |
I really cant get it to crash, always getting "ret: 00000048" or no overlay at all. her is my log from some tries http://pastebin.com/uw4Xe0ge unfortunately i have no idea how to read it. |
try |
but what would i want to get to recognize that it suceeded? |
Hmm. Mind sharing panic logs? Could be a kernel exploit gadget located 2015-11-11 23:45 GMT+01:00 schnabelnator notifications@github.com:
|
@kpwn you tried your jb code with iPhone 5 or 5s ?l |
When I run the application Jailbreak I see it in device log:
Date/Time: 2015-11-12 09:14:43.861 +0300 Exception Type: 00000020 Application Specific Information: Elapsed total CPU time (seconds): 5.840 (user 5.840, system 0.000), 15% CPU Error Formulating Crash Report: Thread 0: No thread state (register information) available *** 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? |
here is my complete devicesyslog http://pastebin.com/xjwa2pbe hope that helps! |
@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? |
@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 |
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_cache_armv7...
[] 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
The text was updated successfully, but these errors were encountered: