Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Prevent iTunes from updating jailbroken devices' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent iTunes from updating jailbroken devices
Authored by: gjm25 on Oct 08, '10 10:35:39AM

There is no need for using 'sudo' in any of these commands, since the user is only changing their own user folder. It's safer to leave it out.
I think that Disk Utility repair permissions only looks at system files and not user files so this should not be affected by that.



[ Reply to This | # ]
Prevent iTunes from updating jailbroken devices
Authored by: crarko on Oct 08, '10 11:39:32AM

You are absolutely right. Thanks.



[ Reply to This | # ]
Prevent iTunes from updating jailbroken devices
Authored by: gjm25 on Oct 08, '10 01:42:17PM

Here is a modified version of the script, less of a sledgehammer approach and more 'softly softly' without sudo and also taking into account the comment about mkdir -p

It is safer not to use sudo to limit what could go wrong if you make a typo.

#!/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 "Killing iTunes now"
killall 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."
mkdir -p ~/Library/iTunes/iPad Software Updates/
mkdir -p ~/Library/iTunes/iPod Software Updates/
mkdir -p ~/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."
rm -rf ~/Library/iTunes/iPad Software Updates/*
rm -rf ~/Library/iTunes/iPhone Software Updates/*
rm -rf ~/Library/iTunes/iPod Software Updates/*
sleep 2
clear

echo "Now preventing iTunes from downloading new firmwares."
chmod 444 ~/Library/iTunes/iPad Software Updates
chmod 444 ~/Library/iTunes/iPod Software Updates
chmod 444 ~/Library/iTunes/iPhone Software Updates
sleep 2
clear

echo "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."
Edited on Oct 08, '10 01:44:09PM by gjm25


[ Reply to This | # ]