The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats



Installing iPHUC iPhone

From ModMyi - Wiki

Contents

This method is outdated now. The new guide is here!

--Cash7c3 00:35, August 3, 2007 (GMT+6)

Intro

IPHUC is the newest version of iphoneinterface created by the devs on #iphone. Special thanks goes to them for all their hard and continued work. This is a guide to teach you how to install IPHUC on your OS X box since the process is a bit long and complicated. Further info can be found Here.

Install xcode

Before we begin you need to install the latest version of xcode developer tools.
Found HERE

Install Macports

We'll need this to install redline and subversion later on in this tutorial.
Get it Here

Install Readline

Step One

Open up terminal on your computer and type:

sudo port selfupdate and press enter

When it asks you for your password type in your user password (it wont show anything as you type that's normal)

Image:Phuc1.png

The output will show

Image:Phuc2.png

Step Two

Type:

sudo port install readline and press enter

The output will look as follows

Image:Phuc3.png

NOTE: If you get error messages about ncurses, you have the wrong version of MacPorts installed. Go back to the MacPorts web page and make sure you get the correct version for your OS. There are separate downloads for OS X 10.3 and OS X 10.4.

Install Subversion

Type:

sudo port install subversion and press enter.

Once again it will ask you for your password and the output is shown below:

Image:Phuc4.png
Image:Phuc5.png
Image:Phuc6.png
Image:Phuc7.png

Install IPHUC

Step One

We need to choose a place to install IPHUC on our computers. I keep all my iPhone modding tools in a folder called phonedmg. The location of this folder on my computer is /usr/phonedmg/ (my user on this computer is "cash" so the directory is cash/phonedmg/) I made a folder called iphuc in my phonedmg folder to install and run iphuc from. Its location of course is /cash/phonedmg/iphuc. This guide assumes your setup is the same but you can do whatever you want.

Step Two

In terminal switch to the directory you'd like to install iphuc. In my case this is:

cd phonedmg/iphuc and then hitting enter

Now that you are in the directory you want to install iphuc we'll install it by typing in

'svn checkout http://iphuc.googlecode.com/svn/trunk/ iphuc followed by enter

Image:Phuc8.png

Step Three

You need to put the MobileDevice.h file in the iPHUC directory of your iphuc installation. To get there on you mac open up Finder, click on your user, and then browse to phonedmg/iphuc/iPhone/trunk/iPHUC/

You can also get the latest version of the MobileDevice.h file Here

Image:Phuc9.png

Step Four

Now lets configure IPHUC:

cd ./iPhone/trunk/iPHUC/ then press enter

followed by:

./autogen.sh && ./configure --with-readline=/opt/local && make

Image:Phuc10.png
Image:Phuc11.png

Using IPHUC

As with iphone interface you must jailbreak first (click here if you haven't done that, or haven't done so with the iActivator method - it IS different than the previous method) to browse your phone freely. To run iphuc open up a new terminal window and go to your iPHUC directory

cd phonedmg/iphuc/iPhone/trunk/iPHUC followed by the enter key

Then type in:

./iPHUC followed by enter

Image:Phuc12.png

Super you're set up and ready to continue modding. Lets move on to Installing SSH.

iPHUC Usage Note

Now whenever you want to access the file system, all you have to do is run iPHUC (by entering ./iPHUC in Terminal like we just described), and then enter in the following command:

setafc com.apple.afc2

NOTE: iPHUC has an error which seems to make the setafc command return an error. if you get the following message when you run the setafc command:

InvalidResponse
AMDeviceStartService AFC: -402653165
AFCConnectionOpen: 0

then you need to enter the following commands:

exit
./iPHUC
setafc com.apple.afc2

and then you should get the following:

AMDeviceStartService AFC: 0
AFCConnectionOpen: 0

Congratulations! You're ready!


Go to Top
ModMyI

All times are GMT -6. The time now is 05:22 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.3 RC4. Copyright ©2006-2007, NuHit, LLC
Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top