Skip to main content

iPhone iOS4 passcode lock workaround if you can't run iPhone config utility

In iOS 4 and 4.0.1, if you perform a "reset all settings" on your phone it can sometimes cause you to lose all your options in the "passcode lock" section of the phone settings, only leaving you with the "immediately" option.

This can be annoying as you will then have to enter your passcode immediately when your phone locks for any reason. I usually like mine set to a 15 minute delay so that I can use my phone frequently without typing in the passcode, but it still locks after a while.

This is a known bug, and should be fixed soon in an upcoming iOS version. Until then there are two workarounds.



One is to do a complete wipe and clean install of iOS4 - without restoring the phone from backup. A pain in the ass. (have to reinstall all your apps and contacts manually).

The other, easier option, is to use the iPhone configuration utility, and make a configuration for your phone with the passcode lock set to the length of time you would like. However, the iPhone configuration utility only runs on Mac OS 10.6. So what do you do if you have an older Mac OS?
(I have no idea about Windows versions, although these instructions work for any iPhone regardless of computer OS).

If you are one of the small number of people who have an iPhone running iOS 4.0 or 4.0.1 AND you for some reason cannot run the iPhone configuration utility:

You can make your own configuration file. Of course standard disclaimers apply - you do this at your own risk, I am not responsible if you mess something up, these are educational and informational only, yada yada, etc etc.

First, open a text editor and make a file with these contents:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Configures security-related items.</string>
<key>PayloadDisplayName</key>
<string>Passcode</string>
<key>PayloadIdentifier</key>
<string>tempfix.passcodepolicy</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
<string>com.apple.mobiledevice.passwordpolicy</string>
<key>PayloadUUID</key>
<string>88fb7f31-c49d-4785-bf36-cbd7078800f3</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>allowSimple</key>
<true/>
<key>forcePIN</key>
<true/>
<key>maxGracePeriod</key>
<integer>15</integer>
<key>maxInactivity</key>
<integer>1</integer>
<key>pinHistory</key>
<integer>0</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Profile description.</string>
<key>PayloadDisplayName</key>
<string>Lock Temp Fix</string>
<key>PayloadIdentifier</key>
<string>tempfix</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>ce23a292-dc44-4771-a2d9-dd7a38e9555d</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>


Save that file with the extension ".mobileconfig", so something along the lines of "passcode.mobileconfig" or whatever would make sense to you.

This file will set your lock period to 15 minutes. You can change the "maxGracePeriod" value if you want something different.

Now, email the file to whichever email account you read on your iPhone. Open your mail on the iPhone and when you open that message, it should allow you to click on the .mobileconfig file and install it on your phone.

You can remove it at any time, and you can see above exactly what is in the mobileconfig file and since you created it yourself you should be able to trust it...

And finally, when you set a mobileconfig profile on an iPhone, it will force an encrypted backup in iTunes. This means that your iTunes sync process with your phone will take a little longer...

Hopefully the real fix from Apple will be out soon, and this won't be necessary.

Comments

Anonymous said…
Great tip, I've been using this to extend my auto lock timer to 4 hours instead of the restrictive 15 minutes imposed by my email account exchange server.

However, this weekend I had to re-establish my email account (it stopped syncing), and lost this workaround, I even removed it and reinstalled it with no luck. I didn't update my iphone and I'm still on 4.01

any idea what's going on?

Thanks again for the great tip.

Popular posts from this blog

Free Topographical Maps

The Libre Maps project has purchased and made available for free all of the USGS Topographical maps of the USA. All 50 states. The maps have always been free sort-of, there was just no where until now to actually GET them for free. The Libre Maps project raised enough funds to buy the many gigabytes of data and the Internet Archive is hosting them. These are great 24k scale topographical maps folks. The same types you pay for in sporting goods stores. And many applications on your computers can work directly with them and your GPS. You can get water and tear resistant paper and print them out.. All good stuff... For the lazy in the audience, here are Oregon's.

Why shooting should be banned on public lands:

I don't need to say too much. The pictures speak for themselves. These pictures were taken at ONE spot on NF-45 forest road in Mt. Hood National Forest. The road is also known as "Memaloose" or "Maymaloose" road depending on which sign and map you read. It is maybe 50 miles outside of Portland, southeast on Hwy 224 - along the Clackamas river. The country up there is some of the most beautiful scenery on the planet. The ridge lines, and the deep jagged canyon from millions of years of raging water in the Clackamas river are something wonderful to behold. Driving up this road, we passed at least 5 spots that seemed to be popular with shooters, before we turned around. The road is a steep one lane paved road, and our GPS said we went from 700ft. at the river to 3000ft. almost instantaneously. At some points there are steep 1000 foot drops on either side of the road. It is breathtaking. Until you come across the shooting sites, which make you nauseous. I

Travato

We had been looking at RVs for a long time, focusing mostly on class B versions.  Class B RVs are on van chassis and stay within the van footprint, as a result the Class B RVs are very manageable compared to their larger siblings.  Most Class B can be driven in cities, parked in normal spots, and genarraly fit into tighter situations than you would ever consider for a much larger Class A or Class C ( when most people think of RVs they are usually envisioning Class A or C ). We decided on a 2017 Winnebago Travato .  We chose the 59g floorplan and waited for the 2017 1/2 models to come out with their few nice mid-year improvements. Continued after the jump!