mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Update some messages
the "enter root password" message is not accurate. sudo doesn't ask for root password, it asks for the current user's password
This commit is contained in:
parent
ea5df0c045
commit
68997fbfae
@ -104,7 +104,7 @@ InstallDepends() {
|
|||||||
Log "Installing dependencies..."
|
Log "Installing dependencies..."
|
||||||
if [[ $platform == "linux" ]]; then
|
if [[ $platform == "linux" ]]; then
|
||||||
Echo "* iOS-OTA-Downgrader will be installing dependencies from your distribution's package manager"
|
Echo "* iOS-OTA-Downgrader will be installing dependencies from your distribution's package manager"
|
||||||
Echo "* Enter root password of your PC when prompted"
|
Echo "* Enter your user password when prompted"
|
||||||
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
||||||
read -s
|
read -s
|
||||||
fi
|
fi
|
||||||
|
@ -39,7 +39,7 @@ GetDeviceValues() {
|
|||||||
ideviceinfo2=$($ideviceinfo -s)
|
ideviceinfo2=$($ideviceinfo -s)
|
||||||
if [[ $? != 0 && $1 != "NoDevice" ]]; then
|
if [[ $? != 0 && $1 != "NoDevice" ]]; then
|
||||||
Log "Finding device in DFU/recovery mode..."
|
Log "Finding device in DFU/recovery mode..."
|
||||||
[[ $platform == "linux" ]] && Echo "* Enter root password of your PC when prompted"
|
[[ $platform == "linux" ]] && Echo "* Enter your user password when prompted"
|
||||||
DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-)"
|
DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-)"
|
||||||
elif [[ $1 == "NoDevice" ]]; then
|
elif [[ $1 == "NoDevice" ]]; then
|
||||||
Log "NoDevice argument detected. Skipping device detection"
|
Log "NoDevice argument detected. Skipping device detection"
|
||||||
@ -68,7 +68,7 @@ GetDeviceValues() {
|
|||||||
echo -e "\n${Color_R}[Error] No device detected. Please put the device in normal mode before proceeding. ${Color_N}"
|
echo -e "\n${Color_R}[Error] No device detected. Please put the device in normal mode before proceeding. ${Color_N}"
|
||||||
echo "${Color_Y}* Make sure to also trust this computer by selecting \"Trust\" at the pop-up. ${Color_N}"
|
echo "${Color_Y}* Make sure to also trust this computer by selecting \"Trust\" at the pop-up. ${Color_N}"
|
||||||
echo "${Color_Y}* For macOS users, double-check if the device is being detected by iTunes/Finder. ${Color_N}"
|
echo "${Color_Y}* For macOS users, double-check if the device is being detected by iTunes/Finder. ${Color_N}"
|
||||||
echo "${Color_Y}* Recovery or DFU mode is also applicable. For more details regarding alternative methods, read the \"Troubleshooting\" wiki page in GitHub ${Color_N}"
|
echo "${Color_Y}* Recovery or DFU mode is also applicable. ${Color_N}"
|
||||||
echo "${Color_Y}* To perform operations without an iOS device connected, add NoDevice as an argument. ${Color_N}"
|
echo "${Color_Y}* To perform operations without an iOS device connected, add NoDevice as an argument. ${Color_N}"
|
||||||
echo "${Color_Y}* For more details, read the \"Troubleshooting\" wiki page in GitHub ${Color_N}"
|
echo "${Color_Y}* For more details, read the \"Troubleshooting\" wiki page in GitHub ${Color_N}"
|
||||||
exit 1
|
exit 1
|
||||||
@ -182,7 +182,7 @@ CheckM8() {
|
|||||||
Input "Select your option:"
|
Input "Select your option:"
|
||||||
select opt in "${Selection[@]}"; do
|
select opt in "${Selection[@]}"; do
|
||||||
case $opt in
|
case $opt in
|
||||||
"ipwnder_lite") pwnDFUTool="$ipwnder_lite"; break;;
|
"ipwnder_lite" ) pwnDFUTool="$ipwnder_lite"; break;;
|
||||||
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
||||||
* ) pwnDFUTool="$ipwnder32"; break;;
|
* ) pwnDFUTool="$ipwnder32"; break;;
|
||||||
esac
|
esac
|
||||||
@ -194,7 +194,7 @@ CheckM8() {
|
|||||||
Log "Entering pwnDFU mode with $pwnDFUTool..."
|
Log "Entering pwnDFU mode with $pwnDFUTool..."
|
||||||
if [[ $pwnDFUTool == "ipwndfu" ]]; then
|
if [[ $pwnDFUTool == "ipwndfu" ]]; then
|
||||||
cd resources/ipwndfu
|
cd resources/ipwndfu
|
||||||
[[ $platform == "linux" ]] && Echo "* Enter root password of your PC when prompted"
|
[[ $platform == "linux" ]] && Echo "* Enter your user password when prompted"
|
||||||
$ipwndfu -p
|
$ipwndfu -p
|
||||||
if [[ $DeviceProc == 7 ]]; then
|
if [[ $DeviceProc == 7 ]]; then
|
||||||
Log "Running rmsigchks.py..."
|
Log "Running rmsigchks.py..."
|
||||||
|
@ -146,7 +146,7 @@ Downgrade() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
Log "Proceeding to futurerestore..."
|
Log "Proceeding to futurerestore..."
|
||||||
[[ $platform == "linux" ]] && Echo "* Enter root password of your PC when prompted"
|
[[ $platform == "linux" ]] && Echo "* Enter your user password when prompted"
|
||||||
cd resources
|
cd resources
|
||||||
$SimpleHTTPServer &
|
$SimpleHTTPServer &
|
||||||
ServerPID=$!
|
ServerPID=$!
|
||||||
|
@ -241,7 +241,7 @@ SelectVersion() {
|
|||||||
"iOS 8.4.1" ) OSVer="8.4.1"; BuildVer="12H321"; break;;
|
"iOS 8.4.1" ) OSVer="8.4.1"; BuildVer="12H321"; break;;
|
||||||
"iOS 6.1.3" ) OSVer="6.1.3"; BuildVer="10B329"; break;;
|
"iOS 6.1.3" ) OSVer="6.1.3"; BuildVer="10B329"; break;;
|
||||||
"Other (use SHSH blobs)" ) OSVer="Other"; break;;
|
"Other (use SHSH blobs)" ) OSVer="Other"; break;;
|
||||||
*) exit 0;;
|
* ) exit 0;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user