Next on my agenda is getting a clean copy of MobileStore.app. So I've written a script to try to grab all the files in that folder. Testing now.
10:52. Looks like I've gotten the entire MobileStore.app off the iPhone. It's hard to test, of course. What I did was use iphuc's script ability. I basically did a list of all the contents in the app and then wrote a script to cd into the proper folder and copy those files to my mac. If you want an example of how to do this, see my command-line media utilities.
I create a file on my mac, called test.txt. In it, it just says "THIS IS A TEST". I copy it to /var/root with iphuc. It works.
Next, I delete it from the mac. Copy back from iphuc.
Yes, it copied back correctly. I delete it again, copy back, check. The /var/root section (at least) is writable and readable.
Whee! (This section brought to you by reader Joe Maller)
File system stuff
On Dinopio's suggestion, I take a look at fstab:
% cat newfstab /dev/disk0s1 / hfs ro 0 1
/dev/disk0s2 /private/var hfs rw,noexec 0 2
I've now run iPhoneDisk--and no, no kernel panics today yet--and mounted the iphone to /Volumes/Media. Pictures here and here.
I'm now trying to copy the entire file system to my mac. Ditto failed, so I'm copying via drag and drop. Will report back on progress.
Responding to readers
Right now, I can't get executable access to the iPhone disk. I can put files into the media partition, but it's "noexec" and I can't yet change fstab. So I cannot do screen shots from the iPhone--or get shell access either. Everything right now is being done through AFC.
Testing the Music store on 1.0.2
I've tracked down a tester who is going to test the mobile store app on a 1.0.2 system. On my insistence, he has sworn not to distribute the application. The goal here is not to start throwing around copyright material but rather to be able to get everyone up to 1.1.1 without losing shell access and third party applications.
Unfortunately, it doesn't work. It hangs for a few seconds and then goes back to the home screen. Either it's missing some 1.1.1 frameworks or it needs authentication a la YouTube. So the 1.0.2/mobile music store experiment is, for the moment, a bust.
Looking at the file system
Stripped down even more than last time. Guess what's in /bin? One thing: launchctl.
My attempts to copy files with iPhoneDisk failed. It's just too flakey, too alpha, too many bugs.
Responding to Readers
Can you add ringtones to a 1.1.1 iPhone this way? Probably yes. But you need to stick your ringtones into /private/var/root/Library/Ringtones because there's currently no write access to /Library/Ringtones.
No, I haven't gotten my iPhone activated--and I'm not sure that's going to happen. Which kinda ticks me off since I'm paying AT&T $50-odd each month.
Reader pmppk writes: Just wanted to add that I don't think that ringtones will work this way. I had a couple ringtones in my /var/root/Library/Ringtones before I updated. The contacts that they were assigned to retained them with the prefix "user:", but they weren't browseable in any of the ringtone menus
The lockdown folder (/System/Library/Lockdown) has a lot more items than in previous versions. You can take a peek at the contents here.
Just a reminder: /System/Library/Lockdown is currently read only.
What we really need right now is a version of iphuc that does recursive file copies. If there are any C++ wizards out there who can help, please visit the iPhuc repository and update the code to do that? Thanks!
Don't feel that you need read access to the repository. If you write it, I will use it!
Right now, I'm writing a series of shell scripts to run iPhuc to get files, list folders, etc. I've given up completely on the (utterly flakey) iPhoneDisk.
Writing these routines will take a while. I'll be back later in a separate post to let you know the results. That's it for this morning live-blog wise. Things are moving fast, so I'll keep you up to date.