iPhone/iPod Touch Firmware Download

iOS

Download: http://www.multiupload.com/IOTMP0NVNL

[SPOILER]

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiComboBox.au3>
Opt("GUIOnEventMode", 1)

Dim $read1
Dim $read2
Dim $read3
Dim $read4
Dim $Checkbox1
Dim $load

$Form1 = GUICreate("Firmware Downloader (c) pattyland", 245, 270, 192, 114)

$Combo1 = GUICtrlCreateCombo("Device wählen", 32, 24, 185, 100)
$Combo2 = GUICtrlCreateCombo("Generation", 32, 72, 185, 100)
$Combo3 = GUICtrlCreateCombo("Firmware-Version", 32, 120, 185, 100)
GUICtrlSetData($Combo1, "iPhone|iPod Touch", "Device wählen")
GUICtrlSetData($Combo2, "Erst Device wählen!", "")
GUICtrlSetData($Combo3, "3.1.2|3.1.3", "")

GUICtrlSetOnEvent($Combo1, "_comboread1")
GUICtrlSetOnEvent($Combo2, "_comboread2")
GUICtrlSetOnEvent($Combo3, "_comboread3")

GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")

$Button1 = GUICtrlCreateButton("Download!", 60, 190, 121, 41)
GUICtrlSetOnEvent(-1, "Button1Click")

$Label1 = GUICtrlCreateLabel("Ich weiß nicht was für ein Gerät ich habe", 23, 244, 197, 17)
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor (-1, 0)
GUICtrlSetOnEvent(-1, "Label1Click")

GUISetState(@SW_SHOW)

While 1
	Sleep(100)
WEnd

Func _Exit()
	Exit
EndFunc

Func _comboread1()

	$read1 = GUICtrlRead($Combo1)

Switch $read1

Case 	$read1 = "iPhone"
		GUICtrlDelete ($Combo2)
		$Combo2 = GUICtrlCreateCombo("Generation", 32, 72, 185, 100)
		GUICtrlSetData($Combo2, "2G / classic|3G|3GS", "")
		GUICtrlSetOnEvent($Combo2, "_comboread2")
	Case $read1 = "iPod Touch"

		GUICtrlDelete ($Combo2)
		$Combo2 = GUICtrlCreateCombo("Generation", 32, 72, 185, 100)
		GUICtrlSetData($Combo2, "1G|2G|3G / late 2009", "")
		GUICtrlSetOnEvent($Combo2, "_comboread2")

EndSwitch

EndFunc

Func _comboread2()

	$read2 = GUICtrlRead($Combo2)
	;MsgBox (0, "", "Jup")

Switch $read2
Case $read2 = "1G"
GUICtrlDelete (	$Checkbox1)

Case $read2= "2g"
	GUICtrlDelete (	$Checkbox1)
Case $read2= "3G / late 2009"
		$Checkbox1 = GUICtrlCreateCheckbox("Mein iPod hat 8 GB", 32, 150)
		GUICtrlSetOnEvent($Checkbox1, "_checkboxread1")
	EndSwitch

EndFunc

Func _comboread3()
	$read3 = GUICtrlRead($Combo3)
EndFunc

Func _checkboxread1()
	;MsgBox (0, "", "jup")
	$read4 = GUICtrlRead($Checkbox1)

EndFunc

Func Button1Click()
	If $read1 = "" Then MsgBox (0, "", "Du hast kein Device ausgewählt!")
	If $read2 = "" Then MsgBox (0, "", "Du hast keine Generation ausgewählt!")
	If $read3 = "" Then	MsgBox (0, "", "Du hast keine Firmware ausgewählt!")

	$load = $read1 & $read2 & $read3 & $read4
	;MsgBox (0, "Download", $load)

	Switch $load
	Case $load = "iPod Touch1G3.1.2"
		ShellExecute ("***")
	Case $load = "iPod Touch1G3.1.3"
		ShellExecute ("***")

	Case $load = "iPod Touch2G3.1.2"
		ShellExecute ("***")
	Case $load = "iPod Touch2G3.1.3"
		ShellExecute ("***")

	Case $load = "iPod Touch3G / late 20093.1.2"
		ShellExecute ("***")
	Case $load = "iPod Touch3G / late 20093.1.3"
		ShellExecute ("***")
	Case $load = "iPod Touch3G / late 20093.1.21"
		ShellExecute ("***")
	Case $load = "iPod Touch3G / late 20093.1.31"
		ShellExecute ("***")

	Case $load = "iPhone2G / classic3.1.2"
		ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7268.20091008.32pNe/iPhone1,1_3.1.2_7D11_Restore.ipsw")
	Case $load = "iPhone2G / classic3.1.3"
		ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7481.20100202.4orot/iPhone1,1_3.1.3_7E18_Restore.ipsw")

	Case $load = "iPhone3G3.1.2"
		ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7265.20091008.Xsd32/iPhone1,2_3.1.2_7D11_Restore.ipsw")
	Case $load = "iPhone3G3.1.3"
		ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7468.20100202.pbnrt/iPhone1,2_3.1.3_7E18_Restore.ipsw")

	Case $load = "iPhone3GS3.1.2"
			ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7270.20091008.phn32/iPhone2,1_3.1.2_7D11_Restore.ipsw")
	Case $load = "iPhone3GS3.1.3"
			ShellExecute ("http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7472.20100202.8tugj/iPhone2,1_3.1.3_7E18_Restore.ipsw")
	EndSwitch
EndFunc

Func Label1Click()
	MsgBox (0, "Was für ein Gerät habe ich?", "Du wirst nun die Garantieseite von Apple geleitet, bitte gibt dort die Serienummer ein, die sich hinten auf deinem Geräte befindet! Dann wird die genau anzeigt was für ein Gerät du hast :)")
	ShellExecute("https://selfsolve.apple.com/GetWarranty.do")
	EndFunc

[/SPOILER]