LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2011, 01:50 PM   #1
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
Write with dd to iPhone? Or at least bypass ifuse?


I came across a forum explaining that it "might" be possible to make an image of an iPhone's filesystem using dd. I put "might" in quotes because I doubt the filesystem stays consistent during the time it takes dd to create the image if the phone is running. If this is at least semi-reliable, is it possible to run dd the other way around?

I have an iPhone 3G running iOS 4.2.1 and have no problem connecting this to my laptop running Ubuntu 8.04 and adding/removing pictures, songs, etc. using ifuse, gtkpod, and so forth (Yes, I know, 8.04 is a bit old for this, but I managed to compile everything from source and it all works as it is supposed to).

My main question is, what "device" does ifuse mount, exactly? I'm not seeing anything new under /dev when I plug the phone in (yes, I do have usbmuxd running in the background, which on 8.04 needs to be started manually using sudo. Awkward, but it does work).

I haven't heard of anyone doing this, but is it possible to directly write a dd image to the phone using whatever "device" ifuse uses? If not, what are the implications of mounting the phone using "ifuse --root ~/iPhone" or similar, making a tarball (or image--at least something that keeps track of links and permissions faithfully) of the entire contents of this folder, and restoring it later?

I ask this because I'm considering downgrading iOS and would like to have a verbatim copy to restore from if I'm not satisfied. As far as I know, iTunes just reinstalls whatever was there from scratch and, well, I will just say, that's not good enough, for numerous reasons that I am obliged not to mention. Thanks in advance.
 
Old 10-20-2011, 07:21 PM   #2
Richa7d
LQ Newbie
 
Registered: Aug 2011
Location: UK
Distribution: Arch
Posts: 2

Rep: Reputation: Disabled
Hi, not sure about dd, however you said "at least bypass ifuse". It sounds as though your iphone has been "jailbroken", if that's right then you can use sshfs to mount the fs. I read that sshfs gives faster transfers than using ifuse.
 
Old 10-23-2011, 12:57 AM   #3
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Original Poster
Rep: Reputation: 89
Thanks for your reply. I presume that you are mean to mount the phone over the network? That may be fine for backing up the phone's file system to an image file, but (over)writing an existing image onto the phone would probably fail, as the contents of the (original) file system are what would be maintaining the network connection on the phone itself.

What I meant by "bypassing ifuse" is, is there a way to write to the phone while it is connected to the computer AND not mounted? Much like inserting a flash drive and unmounting it (without "ejecting" it)? That way you could have something like /dev/xxx to write to.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libiphone, ifuse, libplist on a Slackware64-current /// how? dolphin77 Slackware 6 11-14-2010 09:42 AM
Trying to mount iPod touch 4 iOS 4.1 with ifuse gregorian Linux - Hardware 3 10-15-2010 04:56 PM
LXer: Linux for iPhone May Open the Door to Android iPhone LXer Syndicated Linux News 0 11-30-2008 01:10 AM
Apple Iphone 16Gb/ New Edition Iphone 3G telcom Linux - Newbie 1 07-11-2008 09:53 AM
LXer: Write your own iPhone apps for fun and profit LXer Syndicated Linux News 0 07-09-2008 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration