-
All replies
-
Helpful answers
-
Mar 30, 2016 10:12 AM in response to Grant Greeneby roporolo,oddly enough this really helped lol - I've been trying to remember it for ages but in making that comment, I thought back to when I first got my phone and what I would have used as a passcode - got it on my first guess - my dad's birthday!
-
Apr 20, 2016 2:32 PM in response to MorayMcCby Karl Zimmerman,I can confirm that MorayMcC's solutionworks for iPhones running iOS 9. It doesn't require installation of any software other than OS X and Xcode. I was in the same situation as many posters; I'd set a Restrictions pass-code, and then forgotten it. Here's what I did:
- Connect my iPhone to my Mac (tell the iPhone to trust the Mac, if prompted). iPhotos and iTunes launch; exit iPhotos.
- In iTunes, click iTunes > Preferences and select the Devices tab; delete any existing backups.
- In iTunes, click File > Devices > Backup. Wait for iTunes to finish backing up your device.
- Exit iTunes.
- Open Applications > Utilities > Terminal. In the Terminal window, do:
- mkdir ~/Desktop/backup
- cd ~/Desktop/backup
- grep SBParentalControlsMCContentRestrictions ~/Library/"Application Support"/MobileSync/Backup/*/* (this will identify the file you need to modify)
- cp ~/Library/"Application Support"/MobileSync/Backup/*/662bc19b13aecef58a7e855d0316e4cf61e2642b ~/Desktop/backup (use the file identified in the previous step)
- cp ~/Library/"Application Support"/MobileSync/Backup/*/Manifest.mbdb ~/Desktop/backup
- echo "obase=16; $(ls -l 662bc19b13aecef58a7e855d0316e4cf61e2642b | awk -s '{print $5}')" | bc (this yields the original size of the file, in hexadecimal)
- shasum 662bc19b13aecef58a7e855d0316e4cf61e2642b (this yields the original SHA-1 hash of the file)
- plutil -replace SBParentalControlsFailedAttempts -integer 0 662bc19b13aecef58a7e855d0316e4cf61e2642b (this sets the number of password failures to 0)
- plutil -insert SBParentalControlsPIN -string "1234" 662bc19b13aecef58a7e855d0316e4cf61e2642b (this sets the pass-code to "1234")
- echo "obase=16; $(ls -l 662bc19b13aecef58a7e855d0316e4cf61e2642b | awk -s '{print $5}')" | bc (this yields the new size of the file, in hexadecimal)
- shasum 662bc19b13aecef58a7e855d0316e4cf61e2642b (this yields the new SHA-1 hash of the file)
- xxd -p Manifest.mbdb >hd (this writes a hex dump of the manifest into 'hd')
- vi hd (this opens the hex dump in a plain-text editor. I like "vi" -- you can also use emacs or TextEdit)
- find the original SHA-1 hash for the modified file; replace it with the new SHA-1 hash
- a few bytes later, the original size of the file will appear in hexadecimal; replace it with the size of the modified file
- save the file 'hd' and exit the text editor
- xxd -r -p hd >Manifest.mbdb (this will read the edited hex dump, convert it to binary, and replace the manifest with the result)
- cp Manifest.mbdb 662bc19b13aecef58a7e855d0316e4cf61e2642b ~/Library/"Application Support"/MobileSync/Backup/*
- Open iTunes.
- In iTunes, click File > Devices > Restore From Backup... and select the most recent backup. Wait for the restore to complete.
- Your device will reboot and probably walk you through a set-up process. In my case, I still had to wait a while before it allowed me to attempt to enter the restrictions pass-code, but when it did, the new pass-code worked.
-
Apr 23, 2016 3:27 PM in response to jjkboswellby Stultitia,This might come in handy -if not posted before. It was part of my solution. And the other part of the solution (obtaining the salt and key), I suppose, is mentioned in this thread somewhere.
Cheers
-
May 3, 2016 5:44 AM in response to Grant Greeneby britanniefrombeaverton,You only get 8 tries. I'm completely bewildered as to what the code could be because frankly I don't remember ever setting a restrictions code and I tried both of the 4 digit codes I regularly use. I simply cannot remember the code and I am the owner of the device and I'm the one trying to get in SO there SHOULD be a way to bypass the restriction for HUMAN flaws like this like not freaking remembering a code. You get few chances to guess.
-
May 22, 2016 9:30 AM in response to corellia16by nichysmom,Thank goodness for this support community! I was also able to retrieve the code last night for my daughter's iPad mini based on the helpful instructions from Ms Lesley, funkychateau, and corellia6. Just as corolla6 provided, here's the current system information for future reference -- This worked today on 5/22/16 with iPad Mini running iOS 9.3.2, Macbook Air OS X El Capitan 10.11.4 and iTunes 12.4.
-
May 22, 2016 9:48 AM in response to nichysmomby nichysmom,A note on the number of attempts allowed for entering the pass code, in Settings - Passcode, there's an option to turn off the Erase Data after 10 failed passcode attempts requirement. I attempted 12 times for the 4-digit restriction code before looking for other solutions that lead me to this support thread. After maybe 4-5 attempts though, it starts to have time limit before allowing the next attempt to type in the code. It incremented from waiting for 5, 10, 15, etc. minutes each time up to 60 minutes for all attempts after 10 attempts.
-
Jun 19, 2016 12:04 PM in response to tallPabloby webberoni47,BUT--it doesn't work!
I've forgotten my restrictions passcode (don't remember setting one, actually). I want to remove applications, but can't -- due to unknown passcode. Here's what I've done:
- backed up I-pad to PC using I-tunes
- erased and restored as a new machine (I-tunes)
- restored my backup from PC (I-tunes)
- the old passcode is still set... and I can't change it.
I've done this three times... last time setting a new restrictions passcode BEFORE backing up data from my PC... still locked with the old code! It must be restoring the old passcode with everything else...how can I delete or reset it??
There's got to be another step that I'm missing. Any ideas???
SPIDER
-
Jun 23, 2016 4:47 AM in response to Ms.Lesleyby oitoots,THANK YOU. this was so easy and it worked. The code that was returned to me was not a code I would ever use. I wish the more recent posts were on page 1 not 27 and 28 though :)
-
-
Jun 26, 2016 6:35 AM in response to Rizqo Suryoby KiltedTim,You can not "reset" it. Your only option is to restore the phone as a new device using iTunes. Please READ the thread before posting a question that has already been answered repeatedly.
-
Jun 28, 2016 8:45 AM in response to KiltedTimby Karl Zimmerman,KiltedTim -- perhaps you should read this thread, too. You are correct that the only Apple-supported option is to restore the phone as a new device - but several unsupported options have been mentioned on this thread.
-
Jun 28, 2016 9:43 AM in response to Karl Zimmermanby KiltedTim,None of which will actually work any more.
-
Jul 18, 2016 9:09 AM in response to Lawrence Finchby elcpu,Care to comment on my WC post? Feedback appreciated...
-
Jul 28, 2016 9:22 AM in response to KiltedTimby Karl Zimmerman,My (admittedly awkward) solution worked as of iOS 9.3.2. Can't vouch for the others.
-
Sep 2, 2016 4:06 PM in response to jjkboswellby jheat057,im trying to lift the restrictions on my iphone 6 can you help me