Under the guidance of rovercat and qqn_pipi, I installed ios4 on my touch8g2 generation (pseudo 3 generation.
To sum up:
Preparation:
Log on to [url] http://developer.apple.com/iphone/#/url] and click "iPhone SDK 4 beta". Download:
1. xcode 3.2.3 and iPhone SDK 4 GM seed (snow leopard)
2. iOS 4 GM seed (your device version)
3. iTunes 9.2 beta (MAC) is used to activate ios4, only for Mac.
4. Make sure that your device is used for development. Back up data using iTunes. You are not recommended to upgrade an iPhone with a lock, which may cause the phone to be locked.
Steps for installing ios4:
1. Install xcode_3.2.3_and_iphone_sdk_4_gm_seed.dmg and install it in another directory of non-\ developer to avoid overwriting xcode. I installed it to \ devleoperios4.
2. connect the device with a data cable, run the newly installed xcode, enter the menu window-> organizer, click your device, and select other version from the software version drop-down menu, open the downloaded ios4 GM and click Restore. After confirmation, ios4 is installed. Because all data on the device is cleared, you must back up the data in advance. After the device is installed, no standby screen is displayed, because iTunes is required to activate the device. Exit xcode.
3. Install itunes9.2beta to overwrite the old version of iTunes. After installation, the system runs iTunes automatically. The device is activated and the standby screen is displayed. You can choose to recover the backup.