Results 1 to 4 of 4
Discuss iphone is disabled- connect to itunes - I can't beleive there is NO answer anywhere! at the iPhone 3G - Hackint0sh.org; I got my daughter an iPhone 3g about 2 weeks ago. Already she has managed ...
  1. #1
    Rookie Array

    Join Date
    Apr 2010
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default iphone is disabled- connect to itunes - I can't beleive there is NO answer anywhere!

    I got my daughter an iPhone 3g about 2 weeks ago. Already she has managed to mess it up. From what I read either she, or one of her friends, entered the wrong passcode to many times. She says she did it, and kept trying the passcode she knew it was, but it wouldn't work. Here are the details:
    It is an Iphone 3g with 3.1.3 jailbroken with Spirit. I jailbroke it myself, and changed the root password myself, and thus I know it. The wifi settings for my house are already stored in it, and it DOES connect to my home wifi (Sometimes). When I get it to connect I am able to ssh into the phone and do as I please with the filesystem. The problem is, that the ONLY so-called solution I have found is to delete a files in private/var/keychains and just deleting that file doesn't work.
    Ideally (and it will be quite hard to convince me that with full root access, I can't do it) I need to re-enable it, and delete the passcode. One more thing of note, iClarified password policy has been installed on the device. It is a policy that allows longer alpha numeric passcodes.

    So, how do I do this?



  2. #2
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    Removing the keychain file is not the solution.

    Once you are in the disabled state you need to do more.

    There is a "proper" way to do this that does not remove any unnecessary settings. However if you have already deleted /private/var/Keychains/keychain-2.db and you don't have the right tools installed you might as well take the brute force method.

    So.. the brute force method.

    via SSH

    rm /private/var/Keychains/keychain-2.db
    rm /var/mobile/Library/Preferences/com.apple.springboard.plist
    killall -TERM SpringBoard

    - If you can activate legitimately, I would also substitute the last step for the following:

    rm -R /private/var/root/Library/Lockdown
    killall -TERM lockdownd SpringBoard

    That will require you to connect to iTunes to activate - which should give you back YouTube and Push notifications - these things you likely will have broken by brute force deleting keychain-2.db

    I don't believe this will impact your extended passcode policy (as per iClarified tutorial). You should simply be prompted to set a new passcode after you get access to the iPhone again.

    See:
    http://www.hackint0sh.org/f230/116323-2.htm#post507026
    and
    http://www.hackint0sh.org/f204/89464.htm#post451506

    for the more refined version.

    Yes someone should really put together a modified redsn0w that does this. What has likely been stopping anyone from doing this is that it could be used to get past passcodes on stolen iPhones.
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!

  3. #3
    Rookie Array

    Join Date
    Apr 2010
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Well, it is solved! Thank you so much. Here is how I solved it, for anyone in the future that is interested in knowing how.
    It appears as though the keychain file contains the information for my wireless network, and thus was unable to connect to it again. In come diskaid.
    First off, before I deleted the keychain-2.db file (before I posted this message) I had already backed it up onto my local computer. I always take the time to backup any file I delete from my iPhone, and its probably good practice to do so, and helped me save a bit of trouble in the next steps below. I then went and deleted /var/mobile/Library/Preferences/com.apple.springboard.plist Since I was unable to log into the phone, I performed a shutdown by holding in the power button untill I received "Slide to power off" I powered off the phone, and powered it back up again. VOILA!

    Then to try and save the setting on the phone, with the backed up copy of keychain-2.db I followed one of the tutorials you linked: http://www.hackint0sh.org/f204/89464.htm#post451506

    I then just resprung, and the wifi started working again (thus I am guessing I restored the wifi settings, and most likely all of her other preferences.

    So this means I didn't do:

    rm -R /private/var/root/Library/Lockdown
    killall -TERM lockdownd SpringBoard

    So now I am wondering what the benefits are in doing so? It can be easily activated again, as it is activated on the original account it was bundled with. But why delete that information, if it doesn't appear to be need to be done?

    *UPDATE*
    Well, now I know the reason why one should do that. I tested push, just to be sure, and it appeared to work just fine. But then decided, for in case, to test youtube, and it didnt' work (my daughter would have killed me) so I backed up the /private/var/root/Library/Lockdown shutdown the phone, and turned it back on again. It told me to connect to itunes, and thus I did. It only took a few moments to re-activate the phone, and youtube was working. I wonder why push worked, but not youtube?
    Last edited by Shadow Wizard; 06-16-2010 at 07:05 PM. Reason: added update

  4. #4
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    Quote Originally Posted by Shadow Wizard View Post
    Well, it is solved! Thank you so much. Here is how I solved it, for anyone in the future that is interested in knowing how.
    It appears as though the keychain file contains the information for my wireless network, and thus was unable to connect to it again. In come diskaid.
    First off, before I deleted the keychain-2.db file (before I posted this message) I had already backed it up onto my local computer. I always take the time to backup any file I delete from my iPhone, and its probably good practice to do so, and helped me save a bit of trouble in the next steps below. I then went and deleted /var/mobile/Library/Preferences/com.apple.springboard.plist Since I was unable to log into the phone, I performed a shutdown by holding in the power button untill I received "Slide to power off" I powered off the phone, and powered it back up again. VOILA!

    Then to try and save the setting on the phone, with the backed up copy of keychain-2.db I followed one of the tutorials you linked: http://www.hackint0sh.org/f204/89464.htm#post451506

    I then just resprung, and the wifi started working again (thus I am guessing I restored the wifi settings, and most likely all of her other preferences.

    So this means I didn't do:

    rm -R /private/var/root/Library/Lockdown
    killall -TERM lockdownd SpringBoard

    So now I am wondering what the benefits are in doing so? It can be easily activated again, as it is activated on the original account it was bundled with. But why delete that information, if it doesn't appear to be need to be done?

    *UPDATE*
    Well, now I know the reason why one should do that. I tested push, just to be sure, and it appeared to work just fine. But then decided, for in case, to test youtube, and it didnt' work (my daughter would have killed me) so I backed up the /private/var/root/Library/Lockdown shutdown the phone, and turned it back on again. It told me to connect to itunes, and thus I did. It only took a few moments to re-activate the phone, and youtube was working. I wonder why push worked, but not youtube?
    In iPhone OS 3.0 push and youtube use the same certificates - but they are stored in different places.

    I was pretty sure that the keychain stored the youtube certificate but I was not 100% sure. Also push mail is different to app-push notifications.

    Glad it worked for you and very glad you backed up keychain db before deleting it, yes the keychain stores a lot of things including wifi passwords - which is why it is much more useful to use sqlite db editor to just remove the rows that relate to the passcode lock.
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!

 

 

Similar Threads

  1. iPhone is disabled - connect to iTunes
    By agentsword in forum iOS 4.x (iPhone OS 4.x)
    Replies: 1
    Last Post: 09-22-2011, 01:18 PM
  2. iphone 4 disabled connect to itunes
    By ipdaily in forum iPhone 4
    Replies: 3
    Last Post: 07-31-2011, 02:34 PM
  3. "iPhone is disabled connect to iTunes"
    By thief101 in forum iPhone "2G" (Rev. 1)
    Replies: 4
    Last Post: 11-16-2007, 02:17 PM
  4. Slide to answer disabled
    By screege in forum General
    Replies: 0
    Last Post: 11-11-2007, 09:01 PM
  5. iTunes Music Store Disabled When iPhone is Docked
    By goodcompany in forum General
    Replies: 0
    Last Post: 09-04-2007, 12:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:10 PM.
twitter, follow us!