How do I remove the restriction passcode on my iPad? [duplicate]
The restrictions password can be reset by adding a PIN to the Springboard preferences file in iOS 6. Easier said than done!
The instructions below worked for my iPad - and no jailbreak required.
They are, with a few minor changes, from Apple Support Community starting from about the 8th page:
Download iBackupBot
Connect iPhone/iPod/iPad via USB
Backup device to iTunes
Close iTunes (leave your device plugged in to your computer)
Open iBackupBot - this will open all device backups that it can find
Select your backup from the left column
Sort right hand pane by Path and locate "Library/Preferences/com.apple.springboard.plist" (there may be two files named this; try them both) and double-click to open
Extracted it (and only it) to the desktop. Do this by Checkmark the file, then select the Extract Icon (or File - Export menu), then select the checkbox that says only that file and the other checkbox that says something about Info about the file. Two files will appear on your desktop - one ending in plist and the other ending in .info.
Edit com.apple.springboard.plist with you favourite plist editor (e.g. Xcode)
Look for and change the string for "SBParentalControlsFailedAttempts" to 0
-
Add in
<key>SBParentalControlsPIN</key> <string>1234</string>
after
<dict> <key>countryCode</key> <string>us</string> </dict>
Save your changes, and return to iBackupBot
Import the modified plist. It is now in the backup!
Exit iBackupBot
Open iTunes and use Restore Backup to your device
After restore is done and phone restarts the password should be 1234.
Amazing! But use at your own risk.
And, just to repeat, I got all this from an Apple Support Community discussion. Nothing is original.
There's a tool that can recover the restrictions passcode from an unencrypted backup, called pinfinder. Download the tool at the pinfinder github page, make an unencrypted backup and follow the instructions.
It is possible, I have done it before on my sister's iPad, the passcode is stored in a plist file in the iPad backup. I will return when I find what the plist file is called.
Also note that synchronising with a computer will create a backup on your computer.
So I have looked it up, this appears to only work in iOS 4. I see a possible way around it in iOS 5 but I have not tested this new method.
Find your backup folder. Windows:
%AppData%\Roaming\Apple Computer\MobileSync\Backup\
and Mac:<your home folder>/Library/Application Support/MobileSync/Backup/
Open your iPad's backup - this involves a little guesswork (if you sync more than one device). However, you can check the date of the backup in itunes preferences, then find the backup in the folder with the same date.
If you are using iOS 5 here - see if you have an iOS 4 backup with the passcode. If you have an iOS 5 backup only backup your backup. I have not tested the following method.
Locate the file
662bc19b13aecef58a7e855d0316e4cf61e2642b
(no extension). Open with a Property-List (plist) editor - link from Youtube. (Mac comes with a built-in one).Look for the key
SBParentalControlsPIN
. Underneath is the 4 digits of the Restrictions Passcode. If you have an iOS 5 backup, you won't find the key and you need to do step 6 instead.WARNING! THIS MIGHT BREAK THE BACKUP, BACKUP YOUR BACKUP FIRST. I HAVE NOT TRIED THIS, I CANNOT VOUCH FOR IT WORKING: - Locate the key called
SBParentalControlsEnabled
. Uncheck the box, or change fromtrue
tofalse
, or similar. Restore your iPad from this backup. IF IT FAILS, REPLACE THE MODIFIED BACKUP WITH THE ORIGINAL COPY THAT YOU MADE, THIS WILL GET YOUR STUFF BACK.
Hope this helps, and sorry if it doesn't.
Source: http://www.youtube.com/watch?v=ZaXtrSHfWi8
This works definitely, either by installing the SSH client as in the original message or by connecting with terminal from iMac (at least it worked with my iPad 2 with iOS 6.1.2 that was jailbroken with evasi0n 1.05 and then installed OpenSSH on iPad).
To Manually Reset the Passcode:
Install any desktop software for browsing the iPhone filesystem (iPhoneBrowser/iFunBox/SSH/DiskAid trial version).
Navigate to /var/mobile/Library/Preferences/ and delete com.apple.springboard.plist
Navigate to the directory /var/Keychains/ and delete "keychain-2.db"
Reboot the iPhone.
To give you an idea on how this worked, the com.apple.springboard.plist file contains the setting of your passcode turned-on. Deleting this resets the toggles back to default (after the final reboot) and takes care of that part of the problem. But since a passcode was already defined, the "keychain-2.db"