PDA

View Full Version : iPHUC replaces iPhoneinterface


maccabbi
08-02-2007, 09:39 PM
The hard workers over at the Dev site have released a new utility to replace iPhoneinterface. This is a big improvement. I just compiled it and now I can getfile, which never worked for me in any version of iphoneinterface, and I can use the up arrow so as to not have to re type everything. Also you can cd, on the iphone, and lcd ,cd on your mac. Great stuff. And for those of you who don't use att it can activate and deactivate your iphone.

elbarlo
08-02-2007, 10:00 PM
The hard workers over at the Dev site have released a new utility to replace iPhoneinterface. This is a big improvement. I just compiled it and now I can getfile, which never worked for me in any version of iphoneinterface, and I can use the up arrow so as to not have to re type everything. Also you can cd, on the iphone, and lcd ,cd on your mac. Great stuff. And for those of you who don't use att it can activate and deactivate your iphone.

Having a hard time compiling the source... is there any way you could post your binary somewhere?

sweetcaro333
08-02-2007, 11:07 PM
where is the download for windows?

997TT
08-02-2007, 11:18 PM
The problem is: I installed MacPorts 1.5 and I followed the instructions carefully but none of the both methods to install IPHUC works.

With the second method (installation from MacPorts) I get this error:
Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied

The first method (public SVN) gives me the following error:
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_devel_ncursesw/work/ncurses-5.6" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with-shared --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --mandir=/opt/local/share/man " returned error 77
Command output: checking for egrep... grep -E
Configuring NCURSES 5.6 ABI 5 (Thu Aug 2 22:03:16 CEST 2007)
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring for darwin8.10.1
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output... configure: error: C compiler cannot create executables

Error: The following dependencies failed to build: ncurses ncursesw
Error: Status 1 encountered during processing.


I don't have a clue about OSX, I'm more of a Windows/Linux type of guy but I have a MacMini CoreDuo for iTunes and this is where I tried this stuff.

Does somebody have an idea what went wrong?
I hate to say this but a binary which installs/configures IPHUC would be very welcomed, not only by me I guess. ;) Thanks.

cyberface
08-02-2007, 11:30 PM
Neither works - I've tried both methods so far...

I've got uptodate MacPorts, plus tried the subversion copy (into a local drive, onto a remote volume doesn't work, not all files get retrieved). MobileDevice.h copied from the Wiki site.

Neither link - error is either multiple definitions of _BC or MobileDevice framework 'load command 14 unknown'

My iPhone was originally 'hacktivated' using 'tool' at 1.0.0, then I tried jailbreaking it with a PPC Quad which failed, requiring an Intel Mac to clean it up, at which point it got restored with 1.0.1 and 'hacktivation' no longer worked on Intel. But I got it working with PPC 'tool'...

Jailbroken as well using iActivator 1.1.3.

Just can't get iPHUC working, will have to get ssh and the rest of the daemons running the hard way.

(edit - perhaps I need the full toolchain to get it working. This isn't clear from the wiki. I don't have the full toolchain, main machine is a G5 quad and have Intel laptops but it's an arse maintaining multiple environments... )

elbarlo
08-02-2007, 11:37 PM
The problem is: I installed MacPorts 1.5 and I followed the instructions carefully but none of the both methods to install IPHUC works.

With the second method (installation from MacPorts) I get this error:
Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied

The first method (public SVN) gives me the following error:
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_devel_ncursesw/work/ncurses-5.6" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with-shared --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --mandir=/opt/local/share/man " returned error 77
Command output: checking for egrep... grep -E
Configuring NCURSES 5.6 ABI 5 (Thu Aug 2 22:03:16 CEST 2007)
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring for darwin8.10.1
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output... configure: error: C compiler cannot create executables

Error: The following dependencies failed to build: ncurses ncursesw
Error: Status 1 encountered during processing.


I don't have a clue about OSX, I'm more of a Windows/Linux type of guy but I have a MacMini CoreDuo for iTunes and this is where I tried this stuff.

Does somebody have an idea what went wrong?
I hate to say this but a binary which installs/configures IPHUC would be very welcomed, not only by me I guess. ;) Thanks.

Had the same problem... here is how I got around it:

Go to the finder, then click on "go" in the menu and select "go to folder. In the box enter: /opt/local/var/ then hit ok.

Select the folder macports and go to "File" - "Get Info"

In the get info window go down to "Ownership & Permissions" and change access to read & write for everyone... then select "Apply to enclosed items..."

Back in the terminal run the command to build the package again and you will get one step furter... just repeat the permissions step until the package builds.

cuzco
08-02-2007, 11:43 PM
Catchy name ...

Should be a big hit :)

997TT
08-03-2007, 12:13 AM
Thanks a lot!!! Did like you said but still no success:

MacPorts base version 1.5 installed
Downloaded MacPorts base version 1.5
The MacPorts installation is not outdated and so was not updated
selfupdate done!
---> Configuring ncursesw
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_devel_ncursesw/work/ncurses-5.6" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with-shared --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --mandir=/opt/local/share/man " returned error 77
Command output: checking for egrep... grep -E
Configuring NCURSES 5.6 ABI 5 (Thu Aug 2 23:09:41 CEST 2007)
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring for darwin8.10.1
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output... configure: error: C compiler cannot create executables

Error: The following dependencies failed to build: readline ncurses ncursesw
Error: Status 1 encountered during processing.

burgerboy9n
08-03-2007, 12:31 AM
no idea whats wrong


make
make all-am
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT Shell.o -MD -MP -MF .deps/Shell.Tpo -c -o Shell.o Shell.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/Shell.Tpo .deps/Shell.Po
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT NormalInterface.o -MD -MP -MF .deps/NormalInterface.Tpo -c -o NormalInterface.o NormalInterface.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/NormalInterface.Tpo .deps/NormalInterface.Po
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT RestoreInterface.o -MD -MP -MF .deps/RestoreInterface.Tpo -c -o RestoreInterface.o RestoreInterface.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/RestoreInterface.Tpo .deps/RestoreInterface.Po
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT privateFunctions.o -MD -MP -MF .deps/privateFunctions.Tpo -c -o privateFunctions.o privateFunctions.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/privateFunctions.Tpo .deps/privateFunctions.Po
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -lncurses -g -O2 -MT RecoveryInterface.o -MD -MP -MF .deps/RecoveryInterface.Tpo -c -o RecoveryInterface.o RecoveryInterface.cpp
privateFunctions.h:50: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:51: warning: ‘regparm’ attribute directive ignored
privateFunctions.h:52: warning: ‘regparm’ attribute directive ignored
powerpc-apple-darwin9-g++-4.0.1: -lncurses: linker input file unused because linking not done
mv -f .deps/RecoveryInterface.Tpo .deps/RecoveryInterface.Po
g++ -g -O2 -framework CoreFoundation -F/System/Library/PrivateFrameworks -framework MobileDevice -L/opt/local/lib -o iphuc main.o Shell.o NormalInterface.o RestoreInterface.o privateFunctions.o RecoveryInterface.o -lreadline -lncurses
Undefined symbols:
"_rl_completion_matches", referenced from:
cmd_completer(char const*, int, int)in Shell.o
cmd_completer(char const*, int, int)in Shell.o
"_xmalloc", referenced from:
dupstr(char*)in Shell.o
rl_remote_complete(char const*, int)in Shell.o
rl_remote_complete(char const*, int)in Shell.o
"_rl_catch_sigwinch", referenced from:
_rl_catch_sigwinch$non_lazy_ptr in Shell.o
"_rl_set_signals", referenced from:
initialize_readline() in Shell.o
ld64-74.4 failed: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [iphuc] Error 1
make: *** [all] Error 2

elbarlo
08-03-2007, 12:37 AM
The workaround I mentioned above worked for me... Here (http://**********.com/files/46585497/iphuc.html) is my compiled binary...

theviolator
08-03-2007, 12:47 AM
The workaround I mentioned above worked for me... Here is my compiled binary...


Where???? :confused: ????

elbarlo
08-03-2007, 12:49 AM
Where???? :confused: ????
Sorry, forum wont let me link... Check the discussion section of iPHUC on the wiki... I posted the link there

ebika
08-03-2007, 12:51 AM
elbarlo, your link is all *'s

pendalf
08-03-2007, 12:52 AM
The workaround I mentioned above worked for me... Here (http://**********.com/files/46585497/iphuc.html) is my compiled binary...

win or mac?

theviolator
08-03-2007, 01:22 AM
Hey man, I got your compiled binary from your link but its 68kb, is that correct??!!
It just seems too small thats all (cant test it now thou thats why Im asking) :confused:

maccabbi
08-03-2007, 02:35 AM
At school now so I can't upload a binary. Mine was around .5 mb....

I didn't have mutch trouble installing. Here is what I did.

Get a copy of MobileDevice.h from the dev site
Download the source with svn checkout http://iphonesvn.halifrag.com/svn/iPhone/trunk iPHUC

Put the .h in with all the rest

Download and install macport

Follow the install guide to add to path, easy edit of .profile

type in terminal sudo port install readline
Had to to all the port commands with sudo...

I installed readline-5 but that didn't work so i had to sudo port deactivate readline-5
and sudo port activate readline

then cd to iPHUC ./autogen.sh && ./configure --with-readline=/opt/local && make
then ./iPHUC

all was well...
I had some of the mentioned probs when readline was not activated so you might check that.

If everyone is still having trouble I'll upload the binary tonight, but I doubt it would work well unless your mac enviroment was the same as mine.. dunno though

good luck

ozzielad
08-03-2007, 03:06 AM
Good work lads, but is the name intentionally provocative? iPhuc??? :)

O

elbarlo
08-03-2007, 04:02 AM
Hey man, I got your compiled binary from your link but its 68kb, is that correct??!!
It just seems too small thats all (cant test it now thou thats why Im asking) :confused:

That is correct... I got mine working with that binary (compiled on Intel Mac). Only problem is that after breaking form jail I can not putfile for some reason...

mikesven
08-03-2007, 04:57 AM
The problem is: I installed MacPorts 1.5 and I followed the instructions carefully but none of the both methods to install IPHUC works.

With the second method (installation from MacPorts) I get this error:
Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied

The first method (public SVN) gives me the following error:
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_devel_ncursesw/work/ncurses-5.6" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with-shared --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --mandir=/opt/local/share/man " returned error 77
Command output: checking for egrep... grep -E
Configuring NCURSES 5.6 ABI 5 (Thu Aug 2 22:03:16 CEST 2007)
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring for darwin8.10.1
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output... configure: error: C compiler cannot create executables

Error: The following dependencies failed to build: ncurses ncursesw
Error: Status 1 encountered during processing.


I don't have a clue about OSX, I'm more of a Windows/Linux type of guy but I have a MacMini CoreDuo for iTunes and this is where I tried this stuff.

Does somebody have an idea what went wrong?
I hate to say this but a binary which installs/configures IPHUC would be very welcomed, not only by me I guess. ;) Thanks.


im getting the same thing on both my ppc and intel macs

bigdogjonx
08-03-2007, 06:36 AM
Seems like the directions are not clear, a few people including myself getting the same error that 997TT is getting.

Dixit

DrFun
08-03-2007, 06:38 AM
no idea whats wrong


make
make all-am
**************
Other Stuff here
**************
RecoveryInterface.o -lreadline -lncurses
Undefined symbols:
"_rl_completion_matches", referenced from:
cmd_completer(char const*, int, int)in Shell.o
cmd_completer(char const*, int, int)in Shell.o
"_xmalloc", referenced from:
dupstr(char*)in Shell.o
rl_remote_complete(char const*, int)in Shell.o
rl_remote_complete(char const*, int)in Shell.o
"_rl_catch_sigwinch", referenced from:
_rl_catch_sigwinch$non_lazy_ptr in Shell.o
"_rl_set_signals", referenced from:
initialize_readline() in Shell.o
ld64-74.4 failed: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [iphuc] Error 1
make: *** [all] Error 2

Quote was edited to save space.

I got the same error after updating mac ports and readline.
Found out this was from the Mobile.h
You have to use the one from the Wiki, and Nightwatch's version will not work. This one did.
http://iphone.fiveforty.net/wiki/index.php/MobileDevice.h

This error will also happen if you dont have the latest xcode installed.

pendalf
08-03-2007, 03:07 PM
hey guys,
can somebody compile the win version, please

Hawk123
08-03-2007, 04:52 PM
You can check here, http://iphone.fiveforty.net/wiki/index.php/Talk:IPHUC

maccabbi
08-03-2007, 08:06 PM
Error: The following dependencies failed to build: ncurses ncursesw
Error: Status 1 encountered during processing.


Check macport to see if they are installed if not try installing them and make sure you have the right version of readline and mobiledevice.h

tried to attach a zip of the binary but it keeps failing