Quando un iPhone è stato jailbroken, un eventuale aggiornamento Apple effettuato inavvertitamente andrà a compromettere il jaiblreak stesso. iTunes, infatti, automaticamente rileva eventuali update disponibili per iPhone e, se, per sbaglio, si clicca su “Aggiorna”, l’iPhone verrà portato alla versione successiva e il jailbreak verrà perso. In questa guida, utile per chi ha effettuato il jailbreak su iPhone, vediamo come evitare che iTunes rilevi automaticamente gli aggiornamenti.
Da Mac aprite Terminale e digitate
chmod +x filepath
Ora premete Invio. A questo punto dovreste vedere una serie di richieste, alla fine inserite questo comando:
#!/bin/bash clear echo "This script will chmod the download locations for Firmware Files, So iTunes can not download firmware." echo "AKA it will prevent iTunes from auto updating your device." echo "" echo "" echo "To restore firmware just hold down option and manually select the firmware file." echo "" clear echo "Made By: Wesley K" echo "http://wesleyk.me" echo "http://wesleyk.me/twitter" sleep 2 read -sn 1 -p "Press any key to continue..." clear echo "Now I need your password to continue" echo "Killing iTunes now" sudo -v sudo killall -9 iTunes sleep 2 clear echo "Im going to make all the folder needed to future proof a few things" echo "If errors occur here, No big deals." sudo mkdir ~/Library/iTunes/iPad Software Updates/ sudo mkdir ~/Library/iTunes/iPod Software Updates/ sudo mkdir ~/Library/iTunes/iPhone Software Updates/ sleep 2 clear echo "I am going to dump all the current files in your update folders." echo "This will prevent any updates from downloaded firmware." sudo rm -rf ~/Library/iTunes/iPad Software Updates/* sudo rm -rf ~/Library/iTunes/iPhone Software Updates/* sudo rm -rf ~/Library/iTunes/iPod Software Updates/* sleep 2 clear echo "Now preventing iTunes from downloading new firmwares." sudo chmod 444 ~/Library/iTunes/iPad Software Updates sudo chmod 444 ~/Library/iTunes/iPod Software Updates sudo chmod 444 ~/Library/iTunes/iPhone Software Updates sleep 2 clearecho "Made By Wesley K" echo "Give me credit if you use it" echo "For safe measures I would run this script after iTunes updates, It shouldn't affect it but I don't know yet."
Da questo momento, quando proverete ad aggiornare l’iPhone, riceverete questo messaggio di errore:
Vi sarà quindi impossibile aggiornare il dispositivo. Nel caso vogliate installare un nuovo firmware, dovete scaricarlo manualmente dalla nostra sezione download e successivamente installarlo cliccando su “ALT+Ripristina”.