Here are some important download links for the Apple iPhone and the iPod touch. These are firmwares, jailbreaking tools and bootloaders that you shall require.

Once you have downloaded the firmware (.ipsw file) require you can simply press shift+Restore/Update button (option+Restore/update for Mac) in iTunes. A file dialog will open and let you choose the downloaded ipsw file. Downloading the file manually lets you chose the version you want to load instead of the latest version that iTunes will load by default.

iPad Firmware

Download 3.2

iPad1,1_3.2_7B367_Restore.ipsw

Update Firmware

Download iOS 4.0.1 for  3G:  iPhone1,2_4.0.1_8A306_Restore.ipsw

Download iOS 4.0.1 for 3GS:  iPhone2,1_4.0.1_8A306_Restore.ipsw

Download iOS 4.0.1 for (4):  iPhone3,1_4.0.1_8A306_Restore.ipsw

Download iOS 4

iPhone3,1_4.0_8A293_Restore.ipsw

Download iOS 4 for iPhone 3GS

iPhone2,1_4.0_8a293_Restore.ipsw
or
iphone_os_4_gm_seed__iphone_3gs__8a293.dmg

Download iOS 4 for iPhone 3G

iPhone1,2_4.0_8a293_Restore.ipsw
or
iphone_os_4_gm_seed__iphone_3g__8a293.dmg

Download iOS 4 for iPod Touch 3G

iPod3,1_4.0_8A293_Restore.ipsw
or
iphone_os_4_gm_seed__ipod_touch__3rd_generation__8a293.dmg

Download iOS 4 for iPod Touch 2G

iPod2,1_4.0_8A293_Restore.ipsw
or
iphone_os_4_gm_seed__ipod_touch__2nd_generation__8a293.dmg

UPDATE 3.1.3

iPhone 2G iPhone1,1_3.1.3_7E18_Restore.ipsw

iPhone 3G iPhone1,2_3.1.3_7E18_Restore.ipsw

iPhone 3GS iPhone2,1_3.1.3_7E18_Restore.ipsw

iPod 3G iPod3,1_3.1.3_7E18_Restore.ipsw

iPod 2G iPod2,1_3.1.3_7E18_Restore.ipsw

iPod 1G iPod1,1_3.1.3_7E18_Restore.ipsw

1.1: iPod1,1_1.1_3A101a_Restore.ipsw

1.1.1: iPod1,1_1.1.1_3A110a_Restore.ipsw

1.1.2: iPod1,1_1.1.2_3B48b_Restore.ipsw

1.1.3: iPod1,1_1.1.3_4A93_Restore.ipsw

1.1.4: iPod1,1_1.1.4_4A102_Restore.ipsw

1.1.5: iPod1,1_1.1.5_4B1_Restore.ipsw

2.0.0: iPod1,1_2.0_5A347_Restore.ipsw

2.0.1: iPod1,1_2.0.1_5B108_Restore.ipsw

2.2.0 (1G): iPod1,1_2.2_5G77_Restore.ipsw

2.2.0 (2G): iPod2,1_2.2_5G77a_Restore.ipsw

2.2.1 (2G): iPod2,1_2.2.1_5H11a_Restore.ipsw

3.1.2 (3G): iPod3,1_3.1.2_7D11_Restore.ipsw

iPhone EDGE

iPhone1,1_3.1.2_7D11_Restore.ipsw iPhone1, 1_3.1.2_7D11_Restore.ipsw

iPhone 3G iPhone 3G

iPhone1,2_3.1.2_7D11_Restore.ipsw iPhone1, 2_3.1.2_7D11_Restore.ipsw

iPhone 3GS iPhone 3GS

iPhone2,1_3.1.2_7D11_Restore.ipsw iPhone2, 1_3.1.2_7D11_Restore.ipsw

iPod Touch 1G iPod Touch 1G

iPod1,1_3.1.2_7D11_Restore.ipsw iPod1, 1_3.1.2_7D11_Restore.ipsw

iPod Touch 2G iPod Touch 2G

iPod2,1_3.1.2_7D11_Restore.ipsw iPod2, 1_3.1.2_7D11_Restore.ipsw

iPod Touch 3G iPod Touch 3G

iPod3,1_3.1.2_7D11_Restore.ipsw iPod3, 1_3.1.2_7D11_Restore.ipsw

Firmware 3.1 for iPhone EDGE

Firmware 3.1 for iPhone 3G

Firmware 3.1 for iPhone 3GS

Firmware 3.1.1 for iPod Touch 1G

Firmware 3.1.1 for iPod Touch 2G

Firmware 3.1.1 iPod Touch 3G

.IPSW Firmware files for the iPhone ‘3GS’ / ‘3G s’ (third generation)

iPhone 3GS firmware v3.01 {iPhone 3G S (3.0.1/7A400)}

iPhone 3GS firmware v3.0 {iPhone 3G S (3.0/7A341)}

.IPSW Firmware files for the iPhone 3G (second generation)

iPhone 3G firmware v3.01 {iPhone 3G (3.0.1/7A400)}

iPhone 3G firmware v3.0 {iPhone 3G (3.0/7A341)}

iPhone 3G firmware v2.2.1 {iPhone 3G (2.2.1/5H11)}

iPhone 3G firmware v2.2 {iPhone 3G (2.2/5G77)}

iPhone 3G firmware v2.1 {iPhone 3G (2.1/5F136)}

iPhone 3G firmware v2.0.2 {iPhone 3G (2.0.2/5C1)}

468x60 animated Firmwares

iPhone 3G firmware v2.0.1 {iPhone 3G (2.0.1/5B108)}

iPhone 3G firmware v2.0 {iPhone 3G (2.0/5A347)}

.IPSW Firmware files for the iPhone 2G (first generation)

iPhone firmware v3.01 {iPhone (3.0.1/7A400)}

iPhone firmware v3.0 {iPhone (3.0/7A341)}

iPhone firmware v2.2.1 {iPhone (2.2.1/5H11)}

iPhone firmware v2.2 {iPhone (2.2/5G77)}

iPhone firmware v2.1 {iPhone (2.1/5F136)}

iPhone firmware v2.0.2 {iPhone (2.0.2/5C1)}

iPhone firmware v2.0.1 {iPhone (2.0.1/5B108)}

iPhone firmware v2.0 iPhone {(2.0/5A347)}

.IPSW Firmware files for the iPod touch 1G (first generation)

iPod touch firmware v3.0 {iPod touch 1G (3.0/7A341)}

iPod touch firmware v2.2.1 {iPod touch 1G (2.2.1/5H11)}

iPod touch firmware v2.1 {iPod touch 1G (2.1/5F137)}

iPod touch firmware v2.0 {iPod touch 1G (2.0/5A347)}

.IPSW Firmware files for the iPod touch 2G (second generation)

iPod touch 2G firmware v3.0 {iPod touch 2G (3.0/7A341)}

iPod touch 2G firmware v2.2 {iPod touch 2G (2.2/7A341)}

iPod touch 2G firmware v2.2.1 {iPod touch 2G (2.2.1/5H11a)}

iPod touch 2G firmware v2.1.1 {iPod touch 2G (2.1.1/5F138)}

Jailbreaking and Unlocking Tool Downloads

The bootloaders are generally useful while jailbreaking / unlocking the old iPhone 2G aka First generation.

BootLoader

Bootloader 3.9

Bootloader 4.6

QuickPwn

QuickPwn 2.1

QuickPwn 2.2

QuickPwn 2.2.5 (Windows)

QuickPwn 2.2.5 (BitTorrent Link)(Windows)

QuickPwn 2.2.5 (Mac)

Pwnage

Pwnage 2.0

Pwnage 2.0.1

Pwnage 2.0.3.1

Pwnage Tool 2.1

Pwnage Tool 2.2.1

PwnageTool 2.2.5

PwnageTool 3.1.4

Winpwn

WinPwn Beta 0.99.1.8

WinPwn Beta 0.99.2.18 (Beta 2)

WinPwn Beta 0.99.2.19 (Beta 3)

WinPwn 1.0.0.0 RC1

WinPwn 1.0.0.2 RC1

WinPwn 1.0.0.3 RC1

WinPwn 2.0.0.1

WinPwn 2.0.0.2

WinPwn 2.0.0.3

WinPwn 2.0.0.4

WinPwn 2.5

Ziphone

ZiPhone 2.5c

ZiPhone 2.6b

ZiPhone 3.0

iLiberty

iLiberty+ – Version 1.3.0.113