Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Mac OS X Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-25-2011, 08:46 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 12
PowerGoofy is on a distinguished road
Default Jailbroken iPhone file system access from Mac OS X

I'm planning on developing some programs that need to access the file system of my jailbroken iPhone from Mac OS X. I would like to do this over a USB connection, mainly because it's faster and more reliable than doing it via SSH.
I've looked all over the Internet to find how to do this, but I couldn't find anything relevant.
So can anyone of you give me a starting point? Is using I/O Kit the right approach? I don't have too much experience with the I/O Kit framework, so if anyone could provide me with some code to do this, that would be highly appreciated!
I have played around with I/O Kit a little bit though. Code that uses it typically starts like this:

Code:
CFMutableDictionaryRef matchingDict = IOServiceMatching(someServiceName);
io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, matchingDict);
But what would I use as the service name for the IOServiceMatching function?
Also, it would be nice if you could use I/O Kit to find the iPhone and obtain a path to its device file (in the /dev directory) and then use POSIX I/O functions (that I am familiar with) to actually access the file.
But maybe I/O Kit is just the wrong way to do it and I'm totally missing the point here.

So I would very much appreciate it if anyone could give me some help on how to solve this problem. It would open up a whole new lot of possiblities.
Thank you in advance!
PowerGoofy is offline   Reply With Quote
Reply

Bookmarks

Tags
hardware, i/o kit, iokit, ios, usb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 377
9 members and 368 guests
Creativ, Emy, husthlj, illogical, LegionMD, LunarMoon, Murphy, padsoftware, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,677
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, husthlj
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:15 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0