Skip to content

Instantly share code, notes, and snippets.

@RuZniki
Last active April 11, 2025 18:46
Show Gist options
  • Save RuZniki/554ab59e859d1f539d0c48ea40d7c30b to your computer and use it in GitHub Desktop.
Save RuZniki/554ab59e859d1f539d0c48ea40d7c30b to your computer and use it in GitHub Desktop.
Set unlimited attempts on passcode for iOS 8.4.1 jailbreak with ssh access

Requirements:

  • iPad with iOS 8 with jailbreak
  • iPad connected to wifi network - ip 192.168.55.100
  • Linux localhost

Copy file from iPad to local host with scp

scp 192.168.55.100:/private/var/mobile/Library/Preferences/com.apple.springboard.plist /tmp/SpringBoard/com.apple.springboard.plist

Convert com.apple.springboard.plist from binary plist to xml

sudo apt-get install libplist-utils

plistutil -i com.apple.springboard.plist -o read.plist

Change values and totaly remove SBDeviceLockBlockTimeIntervalSinceReferenceDate

	<key>SBDeviceLockFailedAttempts</key>
	<integer>-9999</integer>
	
	<key>SBDeviceLockBlocked</key>
	<false/>

Convert com.apple.springboard.plist back from xml to binary plist.

plistutil -i read.plist -o com.apple.springboard.plist.new

Push file back to iPad

scp /tmp/SpringBoard/com.apple.springboard.plist.new 192.168.55.100:/private/var/mobile/Library/Preferences/com.apple.springboard.plist

Delete/rename LockoutStateJournal.plist

ssh 192.168.55.100

mv /private/var/mobile/Library/SpringBoard/LockoutStateJournal.plist /private/var/mobile/Library/SpringBoard/LockoutStateJournal.plist.old

Restart iOS device.

Should have unlimited tries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment