{"id":9174,"date":"2010-10-11T16:44:23","date_gmt":"2010-10-11T12:44:23","guid":{"rendered":"http:\/\/jailbreak-iphone.ru\/?p=9174"},"modified":"2010-10-11T16:44:23","modified_gmt":"2010-10-11T12:44:23","slug":"prevent-itunes-from-updating-jailbroken-devices","status":"publish","type":"post","link":"https:\/\/jailbreak-iphone.ru\/en\/prevent-itunes-from-updating-jailbroken-devices\/","title":{"rendered":"Prevent iTunes from Updating Jailbroken Devices"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9177\" src=\"http:\/\/jailbreak-iphone.ru\/wp-content\/uploads\/2010\/10\/itunes.jpg\" alt=\"itunes\" width=\"281\" height=\"244\" \/><\/p>\n<p>iTunes continues to serve iOS updates even if your Apple\u2019s device was jailbroken. And if these updates are downloaded and installed occasionally, your device may be returned to \u00a0a non-jailbroken state. \u00a0Here the script, which prevents iTunes from automatically downloading updates:<\/p>\n<p><!--more--><\/p>\n<blockquote><p>#!\/bin\/bash<br \/>\nclear<br \/>\necho &#8220;This script will chmod the download locations for Firmware Files, So iTunes can not download firmware.&#8221;<br \/>\necho &#8220;AKA it will prevent iTunes from auto updating your device.&#8221;<br \/>\necho &#8220;&#8221;<br \/>\necho &#8220;&#8221;<br \/>\necho &#8220;To restore firmware just hold down option and manually select the firmware file.&#8221;<br \/>\necho &#8220;&#8221;<br \/>\nclear<br \/>\necho &#8220;Made By: Wesley K&#8221;<br \/>\necho &#8220;wesley@wesleyk.me&#8221;<br \/>\necho &#8220;http:\/\/wesleyk.me&#8221;<br \/>\necho &#8220;http:\/\/wesleyk.me\/twitter&#8221;<br \/>\nsleep 2<br \/>\nread -sn 1 -p &#8220;Press any key to continue&#8230;&#8221;<br \/>\nclear<br \/>\necho &#8220;Now I need your password to continue&#8221;<br \/>\necho &#8220;Killing iTunes now&#8221;<br \/>\nsudo -v<br \/>\nsudo killall -9 iTunes<br \/>\nsleep 2<br \/>\nclear<\/p>\n<p>echo &#8220;Im going to make all the folder needed to future proof a few things&#8221;<br \/>\necho &#8220;If errors occur here, No big deals.&#8221;<br \/>\nsudo mkdir ~\/Library\/iTunes\/iPad Software Updates\/<br \/>\nsudo mkdir ~\/Library\/iTunes\/iPod Software Updates\/<br \/>\nsudo mkdir ~\/Library\/iTunes\/iPhone Software Updates\/<br \/>\nsleep 2<br \/>\nclear<\/p>\n<p>echo &#8220;I am going to dump all the current files in your update folders.&#8221;<br \/>\necho &#8220;This will prevent any updates from downloaded firmware.&#8221;<br \/>\nsudo rm -rf ~\/Library\/iTunes\/iPad Software Updates\/*<br \/>\nsudo rm -rf ~\/Library\/iTunes\/iPhone Software Updates\/*<br \/>\nsudo rm -rf ~\/Library\/iTunes\/iPod Software Updates\/*<br \/>\nsleep 2<br \/>\nclear<\/p>\n<p>echo &#8220;Now preventing iTunes from downloading new firmwares.&#8221;<br \/>\nsudo chmod 444 ~\/Library\/iTunes\/iPad Software Updates<br \/>\nsudo chmod 444 ~\/Library\/iTunes\/iPod Software Updates<br \/>\nsudo chmod 444 ~\/Library\/iTunes\/iPhone Software Updates<br \/>\nsleep 2<br \/>\nclear<\/p>\n<p>echo &#8220;Made By Wesley K&#8221;<br \/>\necho &#8220;Give me credit if you use it&#8221;<br \/>\necho &#8220;For safe measures I would run this script after iTunes updates, It shouldn&#8217;t affect it but I don&#8217;t know yet.&#8221;<\/p><\/blockquote>\n<p>To use it, just copy and paste the script into TextEdit: TextEdit \u2192 Format \u2192\u00a0 Plain Text. Save the file wherever you want as blockitunesupdates.sh. Open up a terminal window and type chmod +x filepath, where filepath is the path to the script. To start it, drag the script file into a Terminal window, push Enter, and follow the instructions.<\/p>\n<p>If you update iTunes, OS X, or repair disk permissions with Disk Utility, you may need to perform the above described procedure again to make sure iTunes stays blocked. If you want to lock the script, replace the three 444s in the script with 555 and run it again.<\/p>","protected":false},"excerpt":{"rendered":"<p>iTunes continues to serve iOS updates even if your Apple\u2019s device was jailbroken. And if these updates are downloaded and installed occasionally, your device may be returned to \u00a0a non-jailbroken state. \u00a0Here the script, which prevents iTunes from automatically downloading updates:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,16,8,9,10,11,889],"tags":[901,903,57,831,1161,542,1415,993,161,162,173,184,187,199,243,255,283,311,782,807,1074],"class_list":["post-9174","post","type-post","status-publish","format-standard","hentry","category-all","category-firmware","category-other","category-rumors","category-software","category-tutorial","category-unlock-jailbreak","tag-ads","tag-app","tag-apple","tag-download","tag-ed","tag-error","tag-firmware","tag-ios","tag-ipad","tag-iphone","tag-ipod","tag-itunes","tag-jailbreak","tag-mac","tag-password","tag-push","tag-sim","tag-twitter","tag-update","tag-807","tag-1074"],"_links":{"self":[{"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/posts\/9174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/comments?post=9174"}],"version-history":[{"count":0,"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/posts\/9174\/revisions"}],"wp:attachment":[{"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/media?parent=9174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/categories?post=9174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jailbreak-iphone.ru\/en\/wp-json\/wp\/v2\/tags?post=9174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}