Skip to content
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

Please help me! #12

Open
MorpheinD opened this issue Apr 17, 2017 · 28 comments
Open

Please help me! #12

MorpheinD opened this issue Apr 17, 2017 · 28 comments

Comments

@MorpheinD
Copy link

it took me a long time to figure out how to run this coding but finally figured out I was missing homebrew but now I have it and have had a few more battles with it and have managed to get past most but I am currently stuck here please tell me what I am doing wrong and how to make this work p.s. I have an iMac 4,1 intel core duo 1.83 ghz 2gb ram running os x 10.6.8 (below is what I got last time I tried to install with terminal)

MorpheinDs-iMac:~ MorpheinD$ brew install ipwndfu
Updating Homebrew...
==> Using the sandbox
==> Downloading https://github.com/axi0mX/ipwndfu
######################################################################## 100.0%
Warning: Cannot verify integrity of ipwndfu-null
A checksum was not provided for this resource
For your reference the SHA256 is: bb2b69bad8e48549bd8a6eba8cf121c5689ccd95532945286384a065999548be
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/ipwndfu/null
Last 15 lines from /Users/MorpheinD/Library/Logs/Homebrew/ipwndfu/01.configure:
2017-04-16 20:16:20 -0600

./configure
--disable-debug
--disable-dependency-tracking
--disable-silent-rules
--prefix=/usr/local/Cellar/ipwndfu/null

Do not report this issue to Homebrew/brew or Homebrew/core!

Error: You are using macOS 10.6.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

Error: Your Xcode (3.2) is outdated.
Please update to Xcode 3.2.6 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/

Error: You are using macOS 10.6.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

@axi0mX
Copy link
Owner

axi0mX commented Apr 17, 2017

Sure.

You don't install ipwndfu using homebrew, but you need to get the dependencies. You don't have to compile or install ipwndfu at all.

Following the README, you need to install dependencies, and you'll also need to download an IPSW and extract a file from it. It's all described here:
https://github.com/axi0mX/ipwndfu/blob/master/README.md#dependencies

Once you do that, ipwndfu should work. Then you can follow the instructions here to jailbreak/downgrade iPhone 3GS (new bootrom):
https://github.com/axi0mX/ipwndfu/blob/master/JAILBREAK-GUIDE.md

Let me know if you have any issues getting it to work. Good luck!

@MorpheinD
Copy link
Author

thank you I did finally figure it out but now I am stuck here
(p.s. I on currently on ios 6.1.6 do I still need to download the ios 4 ipsw u mention in the guide or is that only if your on that ios?) thank you again for helping me

MorpheinDs-iMac:~ MorpheinD$ /Users/MorpheinD/Downloads/ipwndfu-master/ipwndfu -p
*** based on limera1n exploit (heap overflow) by geohot ***
Found: CPID:8920 CPRV:15 CPFM:03 SCEP:03 BDID:00 ECID:0000028F9D019D8E SRTG:[iBoot-359.3.2]
Traceback (most recent call last):
File "/Users/MorpheinD/Downloads/ipwndfu-master/ipwndfu", line 487, in
limera1n.exploit()
File "/Users/MorpheinD/Downloads/ipwndfu-master/limera1n.py", line 194, in exploit
dfu.send_data(device, generate_payload(chosenConfig))
File "/Users/MorpheinD/Downloads/ipwndfu-master/limera1n.py", line 154, in generate_payload
f = open('bin/limera1n-shellcode.bin', 'rb')
IOError: [Errno 2] No such file or directory: 'bin/limera1n-shellcode.bin'

@axi0mX
Copy link
Owner

axi0mX commented Apr 17, 2017

Thanks! This is a bug in my code. I need to change this to use path relative to my script.

Change directory into ipwndfu-master and that step will work.
cd /Users/MorpheinD/Downloads/ipwndfu-master/

@MorpheinD
Copy link
Author

ok great that looked like it worked terminal is now at
MorpheinDs-iMac:ipwndfu-master MorpheinD$

I am currently restoring my iphone 3gs to the custom ipsw I made in redsn0w what step should i take after it finishes I know you have the guide I just really wanna make sure I do this right please help me with the command lines

@MorpheinD
Copy link
Author

HEY!!!!!!!! I got it to work!!!!!!! well when I did the -x command it said I needed to download the ios 4.3.5 ipsw and extract the iBss file but it ran perfect and I believe that once I finish downloading the ipsw and finish that it will work so thank you so much for your help and taking the time to write this amazing hack I have literally been wanting something like this for years I am broke right now but on my next paycheck I want to donate some $ via paypal thank you again!!!!!!

@MorpheinD
Copy link
Author

p.s. my email is morpheind@gmail.com plz send me an email with your Paypal info so I can send you some money when I get paid next

@MorpheinD
Copy link
Author

so I am a little bit worried now because when I enter the -x command it freezes at dumping NOR 1/8

@MorpheinD
Copy link
Author

ok I need serious help I downloaded the 4.3.5 ipsw & put the exact command into terminl you listed in the guide to get the iBss file but once I do it I put the file into the ipwndfu folder and it says the file is corrupt so I looked & the file hs 0kb on the disc & i've done it twice nd both times it says the same thing can you please send me the ibss file that I need to my email I posted earlier I cant do anything with out it and if I can't get that file my phone is stuck in a black screen PLEASE HELP!!!!

@MorpheinD
Copy link
Author

MorpheinD commented Apr 17, 2017 via email

@axi0mX
Copy link
Owner

axi0mX commented Apr 17, 2017

Sure. Run these 2 commands and tell me what the output is:

$ openssl sha1 n88ap-iBSS-4.3.5.img3
$ ls -la n88ap-iBSS-4.3.5.img3

@128keaton
Copy link
Contributor

@MorpheinD download the ipsw from here. It is an Apple link, dont worry. Move the downloaded ipsw into your ipwndfu-master folder and run:
unzip -p iPhone2,1_4.3.5_8L1_Restore.ipsw Firmware/dfu/iBSS.n88ap.RELEASE.dfu > n88ap-iBSS-4.3.5.img3 exactly as shown. Verify the filesize and try again.

@MorpheinD
Copy link
Author

@axi0mX
MorpheinDs-iMac:~ MorpheinD$ openssl sha1 n88ap-iBSS-4.3.5.img3
SHA1(n88ap-iBSS-4.3.5.img3)= da39a3ee5e6b4b0d3255bfef95601890afd80709
MorpheinDs-iMac:~ MorpheinD$ ls -la n88ap-iBSS-4.3.5.img3
-rw-r--r-- 1 MorpheinD staff 0 Apr 17 19:16 n88ap-iBSS-4.3.5.im

@128keaton Thank you I wish I would have read that earlier it would have been a lil easier then what I did the way I got it was I opened the 4.3.5 ipsw with archive utility and navigated to the dfu folder then in terminal I typed unzip -p & I drag and dropped the ibss file from the dfu folder and BLAM! that was the correct file so I moved it to the ipwndfu-master folder
now when I look in get info it says the file has 4 KB on disk (1,503 bytes) which I believe is the right file but now everytime I try and run it get stuck at dumping NOR 1/8

@thesupernoah64
Copy link

What OS are you running?

@thesupernoah64
Copy link

I only had success on OS X Mavericks. Snow Leopard probably won't work as I had the same issue.

@axi0mX
Copy link
Owner

axi0mX commented Apr 19, 2017

@MorpheinD is running Snow Leopard.

One issue is that your iBSS is empty. File size is 0.

Can you run this on a newer OS? There is a compatibility issue I need to look into with Snow Leopard but Mavericks and Yosemite are known to work. Lion and Mountain Lion have not been tested, so they may or may not work.

@thesupernoah64
Copy link

The iMac 4,1 is not compatible with Mountain Lion and beyond.

@MorpheinD
Copy link
Author

I am on snow leopard but it was working earlier up until the program went to find the iBss file which I has forgotten to do so it crashed and I've had problems since
@axi0mX @128keaton so just to be saafe I tried my @128keaton had suggested and for 1 it worked and 2 it left me a file much larger then I had been eable to get in the method I listed earlier so I am going to 1 try a hard reset and use ./ipwndfu to put into pwned dfu and try again if not im goin to try and reinstall in custom ipsw because earlier that had worked lets hope it does fingers crossed!!!!

@128keaton
Copy link
Contributor

also, just a thought, try running a newer version of Python, installing pip again, and then retrying? Your version bundled with Snow Leopard may be too old.
run python in terminal and post the output.

@thesupernoah64
Copy link

Well on snow leopard I upgraded python 2.7 to 3.4.6, which after that this didn't work. But on mavericks I did the same thing and it worked out smoothly.

Well on mavericks while installing brew or python 3.4.6 (I forgot) it asked me to install "Command Line Tools" or something. I don't remember the actual name but maybe that's why it isn't working on Snow Leopard.

@thesupernoah64
Copy link

http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_lion_for_xcode__july_2012/xcode44cltools_10_76938107a.dmg Don't worry, this is an Apple link.

This is the Command Line Tools installer, but unfortunately, you'll need OS X Lion to install it. Or you can download and try it on snow leopard if you want

@MorpheinD
Copy link
Author

I am still getting stuck at dumping NOR 1/8 plz help me!!!!! I know I have the correct iBss file now thanks to @128keaton and I know it will work on 10.6.8 because I've had it run all the way thru before except I had the wrong iBss file now though I am stuck I cant even restore to original ios of 6.1.6 in itunes

@MorpheinD
Copy link
Author

@thesupernoah64 I think I already have command line tools installed but I think I'd like to try and uninstall pyusb and libusb what commands would I enter for those or would it literally be adding un- to the commands i entered to install them?

@axi0mX
Copy link
Owner

axi0mX commented Apr 20, 2017

@MorpheinD Do you have a newer version of OS X? Or Ubuntu?

@MorpheinD
Copy link
Author

MorpheinD commented Apr 21, 2017 via email

@axi0mX
Copy link
Owner

axi0mX commented Apr 21, 2017

Don't change system.plist, that won't help.

It is odd. Can you copy and paste the output you are seeing? If it just hangs waiting, press Control+C to get the Traceback message.

@128keaton
Copy link
Contributor

@MorpheinD did you try installing a newer version of Python through Homebrew?

@axi0mX
Copy link
Owner

axi0mX commented Apr 22, 2017

@128keaton I don't see why the version of Python would make a difference here.

@MorpheinD If you don't have a computer with a newer/different operating system, I can attempt to debug this issue if you can provide the log output. If ipwndfu just hangs, press Control+C to get the Traceback message.

@128keaton
Copy link
Contributor

@axi0mX I had issues using OS X's version of Python on older installs of OS X.

ghost pushed a commit to qtlunya/ipwndfu that referenced this issue Feb 18, 2022
* Port checkm8 to py2/3 compat code

* Fixes maybe?

* Fix for t8010

* Just do this

* Hopefully fix for rest of devices

* SN matching in GID Decryption

* I'm not sure how this ever worked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants