View Full Version : iPHUC binary for Mac (PPC) users
sterickson
08-09-2007, 06:50 AM
A bunch of people were having lots of trouble building iPHUC on Mac PPC boxen, so I put my binary up and some other info that might be of use to an Mac users.
http://smxy.org/iphone.html
-ste
scarecrow
08-10-2007, 01:47 AM
I've tried building it, and keep coming up with errors, no matter what I do.
However, trying to run yours doesn't seem to work either, I get:
dyld: Library not loaded: /opt/local/lib/libreadline.5.2.dylib
Referenced from: /Users/~myuser/phonedmg/iphuc
Reason: no suitable image found. Did find:
/opt/local/lib/libreadline.5.2.dylib: mach-o, but wrong architecture
Trace/BPT trap
I'm confused and very frustrated, I cannot seem to get iPhuc phucing installed! :confused:
sterickson
08-10-2007, 02:14 AM
You're on a PPC Mac, right - not an Intel-based Mac?
-ste
scarecrow
08-10-2007, 02:25 AM
No, actually I am on an intel mac, specifically a MBP.
sterickson
08-10-2007, 02:54 AM
Then my binary will never work for you. As it says in the title of this thread and in my initial post, my binary is for the PPC Mac only.
Rather than getting the source from svn, you might try installing the iphuc macport and see if that works for you, on your platform. That's how I built the binary I posted.
Good luck! :)
-ste
scarecrow
08-10-2007, 03:01 AM
Yeah, duh - helps to read, huh..? lol I just saw your others on the page, which said both ppc/intel
Sorry, been at this too long, and I am tired and weary. Thanks for your help.
motheius
08-10-2007, 10:26 AM
Hrmm.
I *do* have a PPC and I've been able to compile a binary after upgrading Xcode to 2.4.1. I still can not get iPhuc to work properly though. I've even tried your binary and get the same results.
Is there a step I'm missing?
1. kill the itunes helper daemon
2. connect phone to the mac via it's sync cable
3. ./iphuc
4. trying deviceinfo always tells me:
(iPHUC) /: deviceinfo
deviceinfo:
error 7
Do I need a special cable for this? Pixie dust? A newt?
Thanks!
sterickson
08-10-2007, 04:50 PM
I'm not sure what to tell you. I just ran that iphuc binary on the 15" PowerBook where I created it from the macport, and - with iTunes up and running, even - deviceinfo replies as expected.
The only bug I've noticed, is that sometimes the 'setafc com.apple.afc2' command will fail. If I then exit iphuc, re-run it and issue the command again, it succeeds. Others have seen this issue as well, with iphucs they've built.
Sorry I'm not able to offer you a solution. :(
Sometimes I think I should have been a programmer instead of an admin ...
-ste
iPHUC is a newer version of iphoneinterface
I have a ppc mac and iPHUC runs fine
I used this method for installing iPHUC on my computer
http://www.modmyiphone.com/wiki/index.php/Installing_iPHUC_iPhone
motheius
08-12-2007, 10:57 PM
Thanks to both of you, I'll check out the other howto and try it with iTunes running.
motheius
08-13-2007, 05:41 AM
Hrmmmmm
Still no dice:
cricket:/usr/local/iphonetools/iPhone/trunk/iPHUC root# ./iphuc
iphuc 0.5.0
>> By The iPhoneDev Team: nightwatch geohot ixtli warren nall mjc operator
initPrivateFunctions: this is still not clean. Architecture: powerpc
AMDeviceNotificationSubscribe: 0
CFRunLoop: Waiting for iPhone.
notification: iPhone attached.
AMDeviceConnect: 0
AMDeviceIsPaired: 0
AMDeviceValidatePairing: -402653147
AMDeviceStartSession: -402653147
SessionInactive
AMDeviceStartService AFC: -402653154
AFCConnectionOpen: 0
AFCPlatformInit: (no retval)
notification: Entering shell in Normal Mode.
shell: Entering loop.
(iPHUC) /: setafc com.apple.afc2
AMDeviceStartService AFC: 0
AFCConnectionOpen: 0
(iPHUC) /:
But then none of the other commands seem to work. Once I do: setafc com.apple.afc2 should this then appear as a mounted volume? I'm sure I have much more reading to do....
bitnaut
08-13-2007, 05:53 AM
After installing latest xCode, rebooting, then installing Macports and readline, I followed these instructions: http://smxy.org/iphone.html and everything went fine on my PPC Mac! Yay! :)
motheius
08-14-2007, 09:41 AM
Would someone be willing to post a text capture of their working iphuc?
I mean just a ./iphuc and then paste the output here?
Thanks,
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.