<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DJ DiRTYFACE &#187; jailbreak</title>
	<atom:link href="http://www.djdirtyface.com/site/tag/jailbreak/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.djdirtyface.com/site</link>
	<description></description>
	<lastBuildDate>Thu, 07 Jan 2010 11:24:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Two Exchange Accounts on the iPhone</title>
		<link>http://www.djdirtyface.com/site/2010/01/07/2-exchange-accounts-on-the-iphone/</link>
		<comments>http://www.djdirtyface.com/site/2010/01/07/2-exchange-accounts-on-the-iphone/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 11:20:07 +0000</pubDate>
		<dc:creator>DJ DiRTYFACE</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[jailbreak]]></category>

		<guid isPermaLink="false">http://www.djdirtyface.com/site/?p=142</guid>
		<description><![CDATA[If you have jailbroken your iPhone then it is now possible to run 2 exchange accounts, something previously not possible but very handy. The guys at modmyi.com have worked out that by editing the com.apple.accountsettings.plist file to include information about 2 exchange accounts they both actually work. I found this quite handy as a while [...]]]></description>
			<content:encoded><![CDATA[<p>If you have jailbroken your iPhone then it is now possible to run 2 exchange accounts, something previously not possible but very handy.<br />
<span id="more-142"></span></p>
<p>The guys at <a href="http://modmyi.com/forums/file-mods/691011-two-exchange-accounts-activesync.html#post5023037">modmyi.com</a> have worked out that by editing the com.apple.accountsettings.plist file to include information about 2 exchange accounts they both actually work.</p>
<p>I found this quite handy as a while back Gmail added push notifications for the iPhone but this was done buy configuring it through an Exchange account, my problem was that I already used the Exchange account on my iPhone for my Exchange server at work. Now I have both Exchange and Gmail configured as Exchange accounts and both with Push working!</p>
<p>Hopefully someone comes up with a nice app that just does it all for you pretty soon but if you do want to give this a go, I&#8217;ve tried it and it works. Just make sure you have a backup of this file before you start making any changes so that you can always restore it if you break anything. Try this at your own risk.</p>
<p>1. Make sure you already have a working exchange account setup on your iPhone</p>
<p>2. Install Open SSH on your iPhone through Cydia</p>
<p>3. Use something like <a href="http://winscp.net/eng/download.php">WinSCP</a> to connect to the IP address of your iPhone from your computer. The default username is root and the default password is Alpine. It is a good idea to change this password as this is the same password for every single iPhone and there are some malicious hacks going around which could cause damage. Just do a good on how to change this, it&#8217;s pretty easy.</p>
<p>4. Once you have connected to your iPhone navigate to  /private/var/mobile/Library/Preferences/ and copy the com.apple.accountsettings.plist to your computer. Make a copy of this and keep it in a safe place just in case you make a mistake editing it.</p>
<p>5. Open the com.apple.accountsettings.plist in a plist editor, if you have a mac there is software built into OSX to do this if you are running Windows I used <a href="http://www.softpedia.com/get/Programming/File-Editors/plist-Editor-for-Windows.shtml">Plist Editor for Windows 1.0</a> and it worked perfectly fine.</p>
<p>6. Scroll down through the file and find all the settings for your Exchange account it will start with:</p>
<div id="_mcePaste">&lt;dict&gt;</div>
<div id="_mcePaste">&lt;key&gt;ASAccountEmailAddress&lt;/key&gt;</div>
<div id="_mcePaste">And end with:</div>
<div id="_mcePaste">
<div id="_mcePaste">&lt;string&gt;Exchange ActiveSync&lt;/string</div>
<div id="_mcePaste">&lt;key&gt;kASAccountVersionKey&lt;/key&gt;</div>
<div id="_mcePaste">&lt;integer&gt;7&lt;/integer&gt;</div>
<div id="_mcePaste">&lt;/dict&gt;</div>
</div>
<p>You need to copy everything from and including &lt;dict&gt; to &lt;/dict&gt; and paste it directly below so that you have to exchange accounts with the exact same settings setup.</p>
<p>7. It won&#8217;t work if both of these are exactly the same so now there is some further editing of the 2nd lot of settings you just pasted below the first.</p>
<p>Find <strong>ASAccountEmailAddress</strong> and edit the value below this to be the email address of the new exchange account</p>
<p>Find <strong>ASAccountUsername</strong> and edit the value below this to be the username of your exchange account.</p>
<p>Find <strong>DAAccountPersistentUUI</strong> and edit the last 4 digits of the value below this to be something different to what is currently there, it doesn&#8217;t matter what it is, it just needs to be unique</p>
<p>Find <strong>DisplayName</strong> and change the value below this to whatever you want the display name of this account to be, you can change it again later on the iPhone if you like.</p>
<p>Find <strong>Identifier</strong> and edit the last 4 digits of the value below this to be something different to what is currently there, it doesn&#8217;t matter what it is, it just needs to be unique</p>
<p>Find <strong>Sync Identifier</strong> and edit the last 4 digits of the value below this so that it <strong>matches</strong> the Identifier value which you just set.</p>
<p>8. Save the file and copy it back the the same location on the iPhone, replacing what is there. Remember to make sure you have a backup of the original file before doing this just in case.</p>
<p>9. On the iPhone go to Settings &gt; Mail, Contacts, Calendars and you will see the new Exchange account. Click to go into this and set your syncing options (mail, contacts, calendars). Also go into Account info and make sure to set all the other options for your Exchange account. You will need to set the password, server and possibly domain depending on your situation.</p>
<p>10. I found that I had to reboot the iPhone completely for this to work after doing the above, so if you are having troubles give that a try.</p>
<p>I&#8217;ve grabbed all this information from the <a href="http://modmyi.com/forums/file-mods/691011-two-exchange-accounts-activesync.html#post5023037">modmyi.com</a> forums so make sure you head over there and thank them, and also check there for the latest information about this great new hack</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-5213698725986792";
google_ui_features = "rc:";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_ad_type = "text";
google_alternate_ad_url = "?adsensem-benice=125x125";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><a href="http://www.djdirtyface.com">www.djdirtyface.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djdirtyface.com/site/2010/01/07/2-exchange-accounts-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

