Created
August 5, 2016 13:25
-
-
Save passiweinberger/32e4061c3532080bd8c7a1b0202cdf0a to your computer and use it in GitHub Desktop.
To fix this annoying problem when your iPhone goes nuts (black screen, unresponsive or whatever) but your f*cking Power-Button is broken... Just connect it to your Mac via USB and then run this. Thank me later, bro ;)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Using: http://krypted.com/mac-os-x/use-libimobiledevice-to-view-ios-logs/" | |
echo "Installing needed tools:" | |
brew install -v --fresh automake autoconf libtool wget libimobiledevice | |
echo "Done installing tools!" | |
echo "Make sure your iPhone is connected via USB" | |
read -p "Is your iPhone connected via USB? And do you want to restart it? [yn]" answer | |
if [[ $answer = y ]] ; then | |
echo "Trying to restart iPhone, make sure you keep it connected!" | |
idevicediagnostics restart | |
echo "iPhone restarted." | |
fi | |
echo "Done with the process." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment