afc2 hack

In order to enable afc2 on your iPhone, go to /System/Library/Lockdown. Copy your Services.plist to OriginalServices.plist. Then edit Services.plist to add:

	<key>com.apple.afc2</key>
	<dict>
		<key>Label</key>
		<string>com.apple.afc2</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/afcd</string>
			<string>--lockdown</string>
			<string>-d</string>
			<string>/</string>
		</array>
	</dict>

Reboot your iPhone. Then, in iphuc, issue setafc com.apple.afc2 and bob's your uncle.

Erica Sadun