| Preparation of iPhone for Testing. Upgrade and Downgrade |
|
|
|
| Tuesday, 26 April 2011 16:25 | |||||||||||||||||||||
|
In this article, we will touch upon the following questions: iPhone device upgrade and downgrade, key moments of these processes, and also the most frequent problems and possible solutions for them. Written by: Anna Alexandrova, Tester
Contents Introduction IntroductionInformation presented in the article will be useful for those specialists who faced the necessity of firmware changing in Apple devices, either updating the current firmware to the newer one or rolling back to the older one.
I think that after reading this article, you will be able to perform the upgrade or downgrade processes. iPhone ModelsWhen you need to upgrade iPhone firmware, you have to ask what generation the iPhone device is. There is information about such generations as 2G, 3G, 3GS, and 4G in the Internet. Someone even mentions 1G generation. Each generation has a lot of hardware differences: beginning with processor and baseband chipset (that is responsible for working with network) and ending with manufacturers of NOR/NAND memory and frame. Though, this terminology (2G/3G) is directly related to network generations:
Four Existing Models on the Market
Jailbreaking is an operation that must be performed with iPhone in order to get full access to the phone file system. It is necessary to write programs of third-party manufacturers to iPhone and also to handle phone data (such as music, video, contacts, SMS messages, etc.) not only via iTunes official application but also via applications of third-party manufacturers. Sometimes, to make it shorter, it is called jail. Warning: do not update immediately after the new firmware is available. First, you should look for an available jail program. However, if you updated, you would have to perform the downgrade.
An American device is a locked one; a European device works with any operator. For European devices: You are lucky if you have such device. You can upgrade the device with no fear that something bad will happen to it. The worst that can happen is that you will like the firmware but there won’t be the jail program for it. But there is always the possibility to downgrade. For American devices: With the appearance of 3Gs model, Apple did not neglect the previous model but supports it actively. It can turn your phone to iPod in case of firmware updating and absence of jail program. Warning: Never click Update in iTunes without specifying the availability of jail! It often happens that there is a firmware jail but there is no modem unlocking. This happened with version 3.1.2 (modem 05.11.07) but later, the unlocking appeared. Then, it happened with version 3.1.3 (modem 05.12.01). We can update to the so-called custom firmware versions with certainty. These are the same original firmware versions but jail is already rooted in the firmware. While there is no unlocking of a new modem version, custom firmware with old modem is often proposed. It is complicated but it is always indicated by the firmware author whether you can use it with “American” devices.
Warning: A new Apple device could be easily jailbroken. So, Apple started to produce phones with updated loader version. Due to this, the jailbreak procedure is canceled just after the phone reload. Thus, a new term appeared: “tethered jail”. It means that jail is present and it works but only till the first reload. After this, you need to connect the device to the computer and start the phone with the help of the program with which jail was performed. But now, there is a program called Spirit. With its appearance, there is no problem of “tethered jail”. For American devices: do not update to new firmware before DevTeam allows (jail program authors)! For European devices: update consciously.
How to Differ iPhone 2G and 3GNext, we will examine two models of iPhone devices: iPhone 2G and iPhone 3G. To know what iPhone model you have at your disposal, it is enough to look at it closely. Let’s do it right now: 2G to the left; 3G to the right For those who are interested in a more detailed description of differences between these two models, the following table is proposed:
Explanations:
And now, let’s single out custom groups of models to find out which firmware is suitable for your device. The following classification on the modem firmware build version (baseband) is rather convenient:
That is why, we go to Settings->General->About->Modem Firmware to learn baseband version. For example, it is 04.05.04_G on our device. There is a classification of basebands by dates (Apple TV/iPad/iPhone/iPod touch Firmware.doc that is attached to the article). In this classification, basebands with such date come only for devices of the first generation (2G) no matter which version of OS they have. Now we know exactly which iPhone model we have and we can move to the following step, i.e., to the firmware changing itself. Next, all upgrade and downgrade processes will be examined only for 2G device. So, if you have other iPhone model, wait for the required information in the next articles. iPhone UpgradeIn the process of upgrade of your Apple device, there are several checkpoints, which we will examine now. iPhone Data Saving or BackupWhen moving to a new firmware, it would be better if you save data stored on your phone. For this, we perform the so-called data backup, i.e., we save the backup copy. The main function of the backup copy is the possibility to restore personal data and iPhone settings parameters. Later, we can load this backup to the phone (restore from the backup copy). So, our data returns to our phone again. Otherwise, you will get the required firmware but empty phone because the firmware reinstallation returns the phone to default configuration. We usually use iTunes program to backup data. The backup copy is created by iTunes every time when performing one of the following operations:
The list of data stored in iPhone backup copy is presented below:
The backup copy does not store photos that were synchronized via iTunes, as well as music, and video files. This data is stored in the following locations by default:
To create the backup copy manually, hold down the Ctrl key and click iPhone to the left of the iTunes application window. You can also right click the icon and select Back Up:
To view the list of recent backup copies, select Edit à Preferences à Devices. You will see the list of backup copies with defined dates.
Each backup copy includes date and time when it was created. Old backup copies are not replaced with new ones. But if you are sure you won’t need the old copy anymore, you can simply delete it. iTunes application creates backup files in the following directories:
Let’s examine the process of recovery from the backup copy in order to have the possibility to return data to iPhone after our manipulations with firmware versions. We can initiate it in the same way as the backup copy. Hold down the Ctrl key and click iPhone to the left of the iTunes application window or right click the icon and select Restore from Backup. In the opened window, select the backup copy from which you will restore data. Then, click Restore and after a while you receive iPhone data restored from the selected backup copy. Device Firmware UpgradeMoving to a higher version of the firmware on the device does not usually cause any difficulties. There are the following official and custom firmware versions for the 2G device: iOS 1.x, iOS 2.x, and iOS 3.x. There are no official iOS 4.x firmware versions for the 2G device because Apple stopped updating firmware versions for this model. But developers keep developing different variants of the custom firmware to get access to the new features of the official iOS 4.x firmware version. To perform the upgrade, you will need the following:
For example, for the last upgrade, we used iTunes 10.1, upgrade from the firmware 2.2 (iPhone1,1_2.2_5G77_Restore.ipsw) to the firmware 3.1.2 (iPhone1,1_3.1.2_7D11_Restore.ipsw). There is a connection between iTunes versions and firmware versions on the device. For example, if the device has firmware version starting from 3.0, we will need iTunes version 8.2 and higher to work with it. If we have iTunes with version lower than 8.2, the program will return an information message that we cannot use the iPhone device with the current version of iTunes. In this message, the program specifies the version to which we need to update. Also, iTunes itself can propose to update the firmware on the phone for a newer version. So, if we have everything mentioned above, we should do the following:
DFU (Device Firmware Upgrade) mode differs from the Recovery Mode. It doesn’t deal with the iPhone OS and updates the firmware directly. It’s an effective method and it helps to solve such problems as the impossibility to update via iTunes in the Recovery Mode, impossibility to unlock the phone, etc.
To enter the DFU Mode correctly:
After the device appears in iTunes, hold down the Shift key and click Restore in iTunes.
In the opened dialog window, select the required firmware. And that’s all; wait till the end of the process and you will have your iPhone with a new firmware version. After the firmware update, the phone is locked. Next, we will examine how to make that we can use our device again. Jailbreaking/Unlocking of iPhone - RedsnOwThere are several ways to unlock the Apple device. And these methods differ in the tools that we will use. We used two tools when unlocking iPhone device with different firmware versions: RedsnOw and QuickPwn. Both remove the binding to the operator on the already installed firmware. It is important to choose the appropriate version of RedSn0w, QuickPwn, or any other unlock program that is compatible with the version of the firmware we install. We use RedsnOw when working with iOS 3.x;, and QuickPwn when working with iOS 2.x;. Both these tools help to perform our task successfully and will be examined in this article. Let’s start from RedsnOw: Bootloader is a loader program that starts the system when turning the device on. It’s responsible for making everything that is needed in the right order when iPhone is loading.
The full upgrade process is complete. We have the working phone with a new firmware. Now it’s time to restore the previously saved data from the iTunes backup copy and use this iPhone easily. Jailbreaking with the help of the QuickPwn program will be described in the Downgrade part of the article. iPhone DowngradeThe following information will help you to perform the quick and easy downgrade of the iPhone device. The matter is that iTunes program can produce some unkown errors here. First, we will examine these errors and possible ways of their solving. iTunes ErrorsThere are a lot of iTunes errors. Next, we will examine only main errors:
The main steps that should be taken if “16**” error appears are the following:
Also, it is recommended to clean the registry. After everything is done, restart the system. Before installing iTunes, rename the iTunes folder to save all your information and music:
Not all iTunes versions are suitable for downgrade to an earlier firmware. Some errors can appear because of this. Install the newer version of iTunes or roll back to the older one. And the most important advice: if you did not manage with iTunes errors the first time, don’t give up! Just try all possible methods and one of them will surely work! iPhone DowngradeAs I have already mentioned, create the backup copy of your data before moving to a new firmware. Remember that it won’t be unnecessary. Main steps of the downgrade process will be the same that we examined in the upgrade process. Perform all this from the beginning to the end. If iTunes returns an error during the process, further actions depend on the kind and reasons of this error. Some small additions are as follows:
After the downgrade, the phone is locked. Of course, we can use RedsnOw application again to unlock the phone. But now, let’s examine how to use QuickPwn application for this. Jailbreaking/Unlocking of iPhone - QuickPwnTo do this, you need to have the following: When we performe the downgrade (and then jailbreaking with the help of QuickPwn), we use iTunes 8.1, downgrade from the firmware 3.0 to 2.2 (iPhone1,1_2.2_5G77_Restore.ipsw), QuickPwn 2.2, and bootloaders 3.9 and 4.6. Then, perform the following steps:
The unlocking is complete, congratulations! Our device is an unlocked iPhone again and we can use all its functions again and perform testing tasks connected with it. ConclusionSo, we examined the key moments of iPhone upgrade and downgrade processes: creation of a backup copy and restoring from it, device flashing itself, jailbreaking with the help of different programs. We discovered the most frequent problems while upgrading and downgrading Apple devices and also the possible ways of their solving. You can find a lot of information about upgrades and downgrades on the Internet, also, there is a lot of software, firmware, iPhone versions, and terminology that can confuse anybody. That is why we tried to combine all existing and required information so that you could receive the expected result. Now everybody who reads this article can perform the iPhone upgrade and downgrade by himself with less time spent but with better understanding of the process. And even if you have one iPhone device, you can perform all tasks connected with it successfully. Download Apple TViPadiPhoneiPod touch Firmware document (docx, 33.2 KB) |




















