Use Multiple Exchange Accounts On Your Jailbroken iPhone

Exchange is extremely useful for syncing your data live to your phone, especially since Gmail added Exchange — but iPhones still only allow one Exchange account at a time. If you're jailbroken, here's how to add as many accounts as you want.

The folks over at the forums figured this one out through some trial and error, and since the instructions require sifting a thread and picking out the important steps, we've narrowed down the process here. It looks a little daunting at first (and you should proceed at your own risk), but all it requires is a little bit of copying and pasting. In order to do this, you'll need to have jailbroken your iPhone or iPod touch and installed OpenSSH on it, as well as already have an Exchange account set up.

First, you'll have to SSH into your iPhone (which we've covered how to do before) and grab the file from /private/var/mobile/Library/Preferences/. Download it to your computer and open it up with a plist editor (OS X has one built in, and there are a few for download on Windows). Be sure to back it up before you edit it, though, in case you mess up and need to go back to the original.

When you open it up, the Exchange account should be the first entry, and it should look something this:

<dict> <key>ASAccountEmailAddress</key> <string>[email protected]</string> <key>ASAccountHost</key> <string></string> <key>ASAccountMailNumberOfPastDaysToSync</key> <integer>0</integer> <key>ASAccountUseSSL</key> <true/> <key>ASAccountUsername</key> <string>[email protected]</string> <key>ASLastKnownProtocolVersion</key> <string>2.5</string> <key>Class>/key> <string>ASAccount</string> <key>DAAccountPersistentUUID</key> <string>47F76882-2678-41C7-91B9-5D1AD5F76BFA</string> <key>DAAccountVersion</key> <integer>2</integer> <key>DATrustSettingsExceptions</key> <dict> <key>b8fa0b7f 0e99494e e3210953 21fa4725 65454492</key> <data> YnBsaXN0MDChAdICAwQFW1NTTEhvc3RuYW1lWlNIQTFE aWdlc3QITxAUuPoLfw6ZSU7jIQlTIfpHJWVFRJIICg8b JicAAAAAAAABAQAAAAAAAAAGAAAAAAAAAAAAAAAAAAAA Pg== </data> </dict> <key>DisplayName</key> <string>Gmail</string> <key>Enabled Dataclasses</key> <array> <string></string> <string></string> <string></string> <string></string> </array> <key>Identifier</key> <string>F4EBDF4A-8C1E-486E-89A8-766C1C5D8170</string> <key>Short Type String</key> <string>Exchange</string> <key>Sync Identifier</key> <string>F4EBDF4A-8C1E-486E-89A8-766C1C5D8170</string> <key>Type</key> <string>Exchange</string> <key>Type String</key> <string>Exchange ActiveSync</string> <key>kASAccountVersionKey</key> <integer>7</integer> </dict>

Copy this whole section and paste it directly below itself — and then all you need to do is edit a few parts of the section you just pasted. Change the strings below ASAccountEmailAddress, ASAccountEmailUsername and DisplayName to correspond to your second Exchange account. You'll also have to change the last 4 digits of the DAAccountPersistentUUID to something else (it doesn't matter what it is, it just has to be different than the first account and have the same number of digits). You'll also have to change the last four characters of the Identifier string to something else — and make those same changes to the Sync Identifier string (so that the two strings match). Repeat this entire process (starting with the copying and pasting) for each new Exchange account you want to add.

When you're done, go back into your SSH client and upload your newly revised file to the same folder you got it from, and you should be all set. You don't even need to restart your iPhone, if you just wait a minute it should ask you for the passwords and start syncing. Thanks, Jan!

Two Exchange Accounts (ActiveSync) [ Forums]


    Hi Whitson
    Excellent post. Took less than 5 minutes and i was playing with what many said was impossible: access to 2 exchange servers on iPhone.
    However, there is still one thing missing. Let's take the example of contacts. IPhone will display 4 groups:
    - All Contacts: listing contacts on iPhone, EchangeA, ExchangeB
    - iPhone contacts
    - Exchange A contacts
    - Exchange B contacts

    But how do you then synchronise contacts between Exchange A and B? I tried putting all contacts on iPhone, hoping they would be pushed to A and B, it did not work. The idea is siple: if i have 200 contacts on Exchange A and 100 different contacts on Exchange B, i would like the 300 contacts to be on the iPhone, on Exchange A and on Exchange B.

    This is even more useful when it comes to calendar: Meetings scheduled on A should show on B so that people from B organisation see that you are busy and vice versa.

    I would really appreciate if you know how or who could answer this issue.

Join the discussion!

Trending Stories Right Now