Help with Errors and Terminals iPhone / iPod / iPad

On this topic:


Check the status of the unlock and find out how to do it, you can on the site - Http://jailbreak-me.info

What do I need to make my iPhone work with any operator?

As you probably know, all phones sold by Apple are tied to a specific operator. In the US it's AT & T, in France Orange, in Germany T-Mobile and finally O2 in the UK. This is related to the business model of Apple. Under the contract, the operator is required to deduct a certain percentage of the revenue from the subscriber of Apple. It is not known for sure how much, but there are rumors that up to 20%.

In this regard, you can use the phone only with the SIM card of the above operators. And nothing else. The scheme for the "legal" user of the iPhone is as follows:

  • In the corporate store of the operator or in the Apple Store, a phone is bought
  • The subscriber comes home and through the Internet signs a contract with the operator
  • After the conclusion of the contract, after a while the phone is activated and it can be used

Therefore, in order for the device to work on the network of any other operator, it is necessary to perform the following actions:

  1. Activate phone
  2. Bypass SIM card validation

The first step, as you might expect, is called activation . Its essence is to gain access to the basic functions of the device.

The second step, called unlocking, in the world - unlock .

What is an unlock?

Unlock is a modification of the GSM-module software, which allows you to use an iPhone as a phone, with a SIM card from any operator.

There are several methods:

  1. Soft (soft unock) - when without modifying the hardware part of the phone, a modification of the radio modem takes place, which clears the verification of the SIM card belonging to the operator. Usually, you use the programs AnySim (iUnlock) or iPhoneSimFree. How this process takes place, in detail, you can read in the paragraph: "Bootloader, secpack, OTB and all-all-all."
  2. Hardware (hard unlock) - when the phone is opened and with the help of the closure of the Test Point, access to the modification of the program part of the radio modem is obtained.
  3. Sim Clone (MultiSIM) - in fact, is not "unlocked." This method uses some peculiarities of checking the SIM card's belonging to the operator, by means of which the phone "deceives" - the iPhone considers that the SIM card belongs to the AT & T operator. When using this method, the information required for authorization in the GSM operator's network (IMSI, ICCID and secret key Ki) is scanned from the subscriber's SIM card and recorded on a special smart card that will emulate the operation of the SIM. The main problem with this method is that the Ki secret key can only be read from the first generation of SIM cards (SIMv1). It requires special equipment, it takes a long time.
  4. Sim Proxy (TurboSIM, StealthSIM, NextSIM, X-SIM and others) is a logical extension of the SimClone method. Only with the use of hardware "pads" (proxy) between the phone and the SIM card. When the phone requests information to check its belonging to the operator, Sim Proxy gives the metric of the AT & T card, in the rest of the case it redirects requests to the subscriber's SIM card. Very easy to use - you just cut your sim card and put an adapter on it, then insert this design into the phone. Does not require special equipment.

How is the iPhone?

The phone you hold (or will keep) in your hands, nothing exclusive in terms of its device as a whole does not represent. The only difference from its counterparts in the class is the lack of a keyboard and a display that recognizes two touch points at the same time.

I will not give a specific list of "hardware", which is located in the phone, but in a simplified form I'll tell you how it all works so that the forum does not cause confusion of concepts and all delusional stories.

Hardware

At the level of iron it is important to know that the phone actually has two processors:

  • ARM-processor that manages the operating system
  • Infenion SGOLD2 which is responsible for working with GSM network (it is called radio modem, baseband, gsm-modem, bb).

The first processor (we will call it CPU) is actually the heart of the phone: it is responsible for the operation of the operating system (by the way, on your phone and in fact the real MacOS X works), it is responsible for the operation of absolutely all of your applications.

The second processor (we will call it baseband, abbreviated BB), is responsible for the communication capabilities of the phone: GSM, EDGE / GPRS, WiFi and Bluetooth. Like the CPU, it also has some sort of operating system, which consists of several components: boot loader , flash (flash) and eeprom (data). All this stuff is stored on a special memory module (Intel Wireless Flash Memory, a separate chip on the board), it is also called NOR flash.

Software

But now let's talk about more close to us things - software. If you look at the previous section, it becomes clear that the phone has two types of programs: for CPU and for BB.

In the phone, it all comes with a software package, usually called firmware. Here, usually, the first confusion arises, so we will consider this point in more detail.

When a sufficient number of fixes are collected, Apple releases an update - an IPSW file of about 150 megabytes in size, containing an image of the phone's operating system and sometimes an update for the GSM part. Therefore, in one update there can be two "firmware": for the software part of the phone (application update) and for the GSM part.

This package has its own version (1.0.0, 1.1.1, 1.1.2, etc.), but the GSM part has its own numbering (03.01_13G, 04.02_13G, etc.). It turned out that the programs installed in the phone itself are characterized by the version of the update package, for example the latter has version 1.1.3. This is usually called the "firmware version of the phone."

It so happened that you can install any of the existing updates on your phone, but the version of the firmware of the GSM part will not change. You can have the firmware of GSM-part for version 04.03_13G and firmware of phone 1.0.2.

Now a few more times, read the previous 2 paragraphs. Of these, we have borne two basic terms: firmware phone and firmware GSM part. A lot depends on their versions.

But in the light of recent events, another term appears on the stage: the bootloader version. This issue deserves a separate discussion.

Bootloader, secpack, OTB, unlock and all-all-all

With the release of the update for the number 1.1.2, one very unpleasant fact was revealed. All phones that came on sale with this firmware (as they say 1.1.2 from the box - 1.1.2 out the box, OTB) are different from the previous bootloader. The version of the new loader is 4.6, whereas the previous one had version 3.9.

In this version, Apple fixed many vulnerabilities and changed the secpack verification algorithm.

Secpack - the area in the update package, in which digital signatures are located to a specific version of the firmware of the GSM part of the phone. It is necessary to modify the GSM-modem software.

If in the bootloader version 3.9 it was possible to perform operations with the GSM part having secpack from the current or next version of the firmware (> =), then in the bootloader 4.6 such operations are possible only with secpack from the next firmware version (>). In addition to everything else, writing to the area in which the bootloader is located, after its initialization became impossible, which makes it a "rollback" impossible.

This little nuance spoiled life for everyone. Why? Let's now see what is software unlock.

How does unlock work?

In the firmware of the GSM part, there is a check for the belonging of the SIM card to a particular operator. To be precise, the unique IMSI card code is checked. This code consists of MCC (Mobile Country Code, country code), MNC (Mobile Network Code, operator code) and MSIN subscriber ID. In the GSM-modem, the MCCMNC number is checked, if it is in the resolved table (this list is called the lockstate table), then the phone registers in the operator's network, if not, the GSM part is blocked.

Accordingly, to use the phone with any operator, this check must be bypassed. The only method is to find a place in the firmware of the GSM part and modify it in such a way that, regardless of what MCCMNC code is contained in the ICCID, the verification is always successful.

For this, a complete copy of the firmware of the GSM part (dump) is made, which is unloaded and there is an area in it that needs to be modified, this area is modified. After that, the existing firmware is deleted, and the modified firmware is written back.

Voila, and the phone is broken.

It would seem, where does the bootloader?

The key points in the unlock process are the erasing of the old version and the recording of the new one. If earlier, you could do this using secpack from available, now you need to have secpack from the next version. Those. Unlock will always be one step later.

By the way, another obvious blow: updating the firmware of the modem makes its unlock impossible. Those. If you had a working 1.1.2, and suddenly updated to 1.1.3, to call you will have to wait until the next update containing the update of GSM-modem is released.

Yes, by the way, "good" news: Pioneer unlock motion Georg Hotz has issued a detailed instruction on how to downgrade the bootloader's hardware version. Very risky operation, I tell you. At the well-known forum hackint0sh.org, a lot of stories about an unsuccessful attempt. According to the results of the last vote, one in three was not successful.

Well, well, the educational program on the basic concepts can be considered complete. It remains to highlight a few more points.

The Shawshank Redemption

Applications. Perhaps you noticed that in the previous paragraphs we only talked about "native" phone applications. As you probably know, the native applications did not stop there. Of course, Steve Jobs gave the opportunity to write applications for the phone, but only within the browser Safari. But this was not enough.

Quite quickly the community of iPhone hackers found the opportunity to write their own applications for the phone. Only a few months passed and the number of applications began to be measured in hundreds, increasing with each passing day. Today, you probably do not imagine your life at least without a Russian keyboard (Hello, Slavik!). But this is a third-party application.

And the life of third-party applications is impossible without a jailbreak

Jailbreak (literally "jailbreak") - the process of obtaining full access to the file system of the phone. The concept of jail came to us from the depths of the * nix community and means "locking" the user in a certain directory, when he can not access everything that is "above" in the tree of the file system.

Initially, the user has write access only to the / var / root / directory (where all the settings and media content of the user are stored) on the phone. Everything would be fine, but only for the past, in this directory it is forbidden to run applications.

Jailbreak allows full access to all the folders and files on the phone (read, write and execute). Now, with the release of each update, all users (including "legal") follow the news and wait for the jailbreak to become possible.

By the way, the de-facto standard was the Installer application, whose name speaks for itself - it's an installer of third-party applications. Undoubtedly the most popular and demanded application for the iPhone, ever created outside of Apple.

About the dark past, virgins and bricks

Many remember the times of the first phones, when unlock took 40 minutes, during which we watched the running lines in the terminal. Then the air was cleaner and the grass was greener.

As a gift from these times, we got the term virgininization. There was all this from where: the old versions of AnySim (iUnlock), mistakenly removed from the firmware of GSM-part a small area - seczone. In this area, a table with a list of "allowed" MCCMNC codes and a unique key for each key were stored.

As it turned out, when upgrading from 1.0.2 to 1.1.1, the phone stopped accepting even the native AT & T sim card, turning into a beautiful brick. The explanation is simple: when updating the firmware, the area in which seczone is stored is not updated. Therefore, the firmware tries to check the presence of MCCMNC in a table that does not exist.

Then the concept of virginization appeared. Speaking in Russian: bringing the phone into a virgin state, when the original version of the firmware is returned (without unlock) and lockstate is restored in the secon.

Therefore, the virginization is necessary if and only if the phone is unlocked by the old versions of AnySim (up to 1.1) and iUlock.

About officially unlocked phones

As you know, European legislation does not look very well at the idea of ​​linking the phone to a specific operator. As a consequence, already in the whole of France there is such a beast as officially unconnected from the operator's phone (in Germany, T-Mobile won the court and stopped selling such phones).

But there is a small catch - these phones can only be used in the country where the operator is located. Those. If you bought an officially unlocked phone in France, you can choose any French operator, no more. With SIM cards of operators from another country, such phones will not work!





Hangover in the recovery process: This problem can often be resolved by following the instructions in the article "iTunes for Windows: Troubleshooting Security Software Problems." This error may occur as a result of an incorrectly configured default packet size. You can install third-party security software on your computer that modifies the standard package size in Windows by using the TcpWindowSize registry key. Contact the software developer for help, which changes the default package size.

Unable to restore. The device is not supported for the requested assembly: if this error occurs, it is likely that not the latest version of iTunes is installed. Check the latest available version of iTunes on the page Http: //www.apple.com...unes/download/. If the latest version of iTunes is installed, this problem may occur if you try to restore using the IPSW file of the previous version. Installation of earlier versions is not supported.

Recovery cycle (request for re-recovery after a successful restore is completed): this error usually appears due to outdated or misconfigured security software. If it turns out that the problem is not related to USB, follow the steps described in the article "iTunes for Windows: Troubleshooting Security Software Problems."

Error 2: This error is often eliminated by disabling and uninstalling third-party security software or a third-party firewall.

Error -4: this error may occur under the following conditions:

  • Access to ports 80 and / or 443 is blocked;
  • Firewall, third-party security software or other Internet access settings block access to albert.apple.com and / or phobos.apple.com;
  • The iTunes Store server is overloaded.

Error 6: All actions described in this article can be used to fix this error. Often this error can be eliminated by following the instructions described in the article "iTunes for Windows: Troubleshooting Security Software Problems." You can install third-party security software on your computer that modifies the standard package size in Windows by using the TcpWindowSize registry key. Incorrectly specified package size may cause this error. Ask for help from the software developer, who changes the default package size.

Error 9: This error occurs when the device unexpectedly disconnects from the USB bus, resulting in the termination of data exchange. This can happen if the user manually disconnects the device during the recovery process. This problem can be solved by locating the faulty USB port by using another cable from USB to the dock connector, by using a different USB port, by restoring it to another computer, or by resolving conflicts with third-party security software.

Error 13 and 14: these errors can usually be resolved by doing one or more of the following:
Troubleshoot USB connection problems, connect the device directly to another USB port on the computer.
Connect your computer and device using a USB 2.0 hub.
Try using another 30-pin cable from the USB to the dock connector.
Eliminate conflicts with third-party security software.
You can install third-party security software on your computer that changes the standard package size in Windows using one or more TcpWindowSize registry keys. Incorrectly specified package size may cause this error. Ask for help from the software developer, who changes the default package size.
Connect your computer to the Internet directly without using routers, hubs, or switches. You may need to restart your computer and modem to gain access to the Internet.
Try to use a known good computer and connect to the network to restore it.
If the iPhone, iPad, or iPod Updater log file contains an ASR 1000 error, then an error occurred while unpacking and migrating the IPSW file that was downloaded during the restore. This error often occurs due to the use of third-party security software, an unstable connection to the Internet, which results in errors during the download, or because of conflicts in the USB bus.

Error 18 (or -18): this error occurs when the media library on the device is corrupted and can not be changed or updated. To resolve this issue, try to update iTunes to the latest version and perform the restore again.

Error -19: Full text: "iTunes could not sync to iPhone" [iPhone name] "due to an unknown error (-19)". This error occurs when the iPhone 3G is updated to a later version of the software when iTunes tries to back up the iPhone during the synchronization process. To resolve this issue, follow these steps:
Uncheck "Sync automatically when the iPhone is connected" on the "Overview" tab of iTunes.
Remove the iPhone.
Reconnect iPhone.
Select Update.

Error 20, 21, 34, 37: these errors usually occur when the security software interferes with the recovery or update process. If your computer is running Windows, follow the steps in this article.

Error 23, 28, 29, 1002, 1011, 1012, 1013, 1014, 1611: these errors can be associated with the hardware of the device. Follow the instructions in this article and try the recovery process using a known 30-pin USB cable to the dock connector, a computer, and a network connection to determine the source of this problem. If the MAC address is missing or IMEI accepts the default value (00 499901 064000 0), then the problem is with the hardware.

Error 48: To resolve this error, follow the steps in this article. Also, see the instructions in the "Restoring with a new user account" section above, related to the location of IPSW files.

Error 1015: The error occurs because of attempts to install an earlier version of the iPhone, iPad or iPod touch device software. This can happen when you try to perform a restore using an earlier version of the IPSW file. Installation of earlier versions is not supported. In this case, try to restore iPhone, iPad or iPod touch software using the latest version provided by Apple.

Error 1479: This error occurs when you contact Apple during the upgrade or restore process. Shut down the program, unplug the device from USB, reboot the iOS device, reconnect the device to the computer, then start iTunes and then try to update or restore.

Error 1602: try to solve this problem by doing the following:
Follow the steps to troubleshoot USB connection problems and try to connect using a known good cable.
Follow the steps listed in error description 1604.
Try to disable, deactivate or remove the antivirus, firewall or other third-party security software, it may solve the problem. For additional troubleshooting tips for security software, see this article.

Error 1603: if this error occurs and the device with iOS does not automatically enter into the recovery mode, it must be done manually. For instructions on how to force iPhone into recovery mode, see "iPhone and iPod touch: Can not upgrade or restore". Also try to delete the IPSW file and then perform the restore again. If you want to save the IPSW file in the current user's folder, try to restore it in a new user account with administrator rights.

Error 1604: This error is often associated with USB bus synchronization. Try using other USB ports, disconnecting and reconnecting USB ports, and performing troubleshooting steps with USB connections (troubleshooting USB connections, the device is not recognized correctly, the computer does not recognize the FireWire device or USB). If you are using a docking station, exclude it from the connection diagram and connect the device directly using a 30-pin cable from the USB to the dock connector. If the problem can not be solved on a known good computer, the device may need to be serviced.
If you can not solve the problem by troubleshooting USB connection problems, and there is no way to connect the device to another computer, try the following steps to solve this problem.
Connect the device to iTunes and make sure that the device is in recovery mode. If not, put the device into recovery mode.
Start the recovery process and wait for error 1604.
In the window that appears, click "OK".
Close and then restart iTunes without disconnecting your iPhone.
The iPhone must be recognized by the program as being in recovery mode.
Try again to perform the restore.
If you can not solve the problem using the above steps, try to use a known good USB cable, a computer, and a network connection to restore it.

Error 2000-2009: (2001, 2002, 2005, 2006, 2009, etc.) If these errors occur on your Mac, disconnect all third-party devices, hubs, additional cables, displays, reset the System Management Controller (SMC) and Try performing a system restore. Read more about resetting the System Management Controller (SMC) parameters. If you are using a Windows computer, disconnect all USB devices and additional cables, leaving only the keyboard, mouse and device connected, then restart the computer and try the recovery again. If this does not solve the problem, see the above troubleshooting tips for USB and articles that contain information about how to resolve the 1604 error. If the problem persists, the security software may be the cause.

Errors 3000-3999: (3002, 3004, 3013, 3014, 3164, 3194, etc.) Errors whose codes are in this range usually indicate that iTunes can not connect to the gs.apple.com server Through port 80 or 443. The problem can be caused by the out-of-date or incorrectly configured security software, firewall or proxy server settings for accessing the Internet. If the connection is through a proxy server, try updating or repairing without a proxy server or use a known good network connection. If you can not solve the problem using the above steps, follow the instructions in the article "iTunes for Windows: Troubleshooting Security Software Problems". Error 3014 may indicate that you need to free up space on the hard disk of your computer before you try again.

Error 3002: If this error occurs while updating iPod touch (2nd generation) or iPhone 3G, update or restore using iTunes in the standard way (click Update or Restore).

Error 3004: If you can not resolve the problem by performing the actions described for 3000-3999 errors, try to close iTunes and run the following command at a command prompt: dscacheutil-flushcache

Error 9807: If this error occurs, make sure that the date and time are set correctly on the computer.
If this does not solve the problem, open access to the following VeriSign servers:
Evintl-ocsp.verisign.com;
Evsecure-ocsp.verisign.com.

Access to these servers can be blocked by security software, programs for content filtering and for protection from spyware. If you are using iTunes for Windows, follow the instructions in "iTunes for Windows: Troubleshooting Security Software Problems"

Error 9808 : To resolve this error, follow the instructions in the article "iTunes Store: An Unknown Error Message When Connected". If you can not solve the problem using the above steps, and after resetting, all settings are reset, follow the instructions in the article "iTunes for Windows: Troubleshooting Security Software Problems".

Error 9844: This error is usually caused by incorrect firewall settings. The list of ports and servers that need to be resolved, see the beginning of this article.

Error 40265xxxx: errors with the numbers 40265xxxx usually occur during the restore from the backup after installing the iOS on the device. The problem is solved by restoring and configuring the device as a new one. Before configuring as a new device, save the device backup created by iTunes earlier, for example, copy it to the desktop. For information about where the backup files are stored in your operating system, as well as additional notes on setting up as a new device, see "iPhone and iPod touch: backup information". ITunes backups store SMS messages, various bookmarks and data from other programs.

As you all see a large number of "ifs" or "either", and each error needs its own approach and its solution! Having rummaged, I found several solutions to problems with errors, and I need your help with closing the "Black Holes" in this list:

2: The firmware is recognized, but can not be used because it is collected and packaged incorrectly (usually a bug appears when working with custom firmware)

4: ?

5: The firmware can not be installed either due to damage to the boot logos, or because the device is not entered into the service mode (for example, the firmware is for DFU Mode, and you are trying to restore via Recovery Mode)

6: The firmware can not be installed either due to damage to the boot logos, or because the device is not entered into the service mode (for example, the firmware is for DFU Mode, and you are trying to restore via Recovery Mode)

9: Helps you to insert the phone into DFU and restart the computer.

10: The low-level LLB bootloader is damaged or missing due to the crookedly assembled custom firmware-Download another custom firmware or rebuild it yourself.

13: Helps to disable the protection of the computer (firewall, antivirus) .- either the problem of a USB cable or a 30-pin connector or an attempt to install a beta version of iOS from under Windows.

14: You downloaded the broken firmware file, establish a normal connection to the Internet and try again.

18: ?

19: ?

20: Go to the DFU.

21:?

23: iTunes can not read the IMEI or MAC address of the device's hardware (the error often has an administrative nature)

28: Hardware failure of the 30-pin connector, go to the service.

29: The hardware error of the device is associated with the flash memory. - rather Upgrade iTunes to version 10.

48:?

50: Update iTunes to the latest version, exit the account and log in again, disable the firewall and antivirus.

1004: - Itunes error, with the modified hosts file. Suppose there are registered addresses of Saurik. If all the lines are replaced by a # sign, then there will be no error, but SHSH files will be taken directly from the Apple servers, and therefore only for the latest firmware.

1002:?

1011: occurs on 2G, and 23 on subsequent models, mean a BB error, that is, in these cases, most likely you do not have: IMEI, bluetooth, Wi-Fi, Modem Unknown.

1013: The firmware version is too low (you tried to roll back the modem, which is almost impossible). Poke on a later version of the firmware.

1014: installation of firmware on the phone, which does not change the modem, i.e. Firmware rises normally, but the modem of this firmware does not match. You must use the Kick Device Out of Recovery feature in the TinyUmbrella utility.

1015: installation of firmware on the phone, which does not change the modem, i.e. Firmware rises normally, but the modem of this firmware does not match. You must use the Kick Device Out of Recovery feature in the TinyUmbrella utility.

1600: An error occurs when trying to flash a custom firmware on a phone that is not correctly inserted into DFU mode. The iReb program helps to fix the problem. With it, enter the device in DFU mode and then select the desired custom firmware in iTunes.

1601: Change the USB port, or try on another computer.

1602:?

1603: A non-jailbreak device is restored to the custom firmware.

1604: Trying to flash a custom not jail phone, do a jailbreak.

1608:?

1609: The iTunes version is too old to work with the device.

1611: Change the USB port, or try on another computer.

1612:?

1639:?

2009:?

3004:?

3013:?

3014: Problems with the server, download Hotspot Shield and there will be no error.

3015:?

3194: It is not possible to request a suitable SHSH hash from the firmware signing server. This occurs if you have redirected iTunes to the Cydia server via the hosts file or TinyUmbrella utility, but there are no saved hashes on the server for this firmware. Solution- if you do not have SHSH then you need to flash for the most recent off. Firmware.

9807: iTunes can not contact the digital signature verification server, Turn off the firewall and antivirus.

9808: Disable certificate verification in the Internet settings.

9844:?

4026xxxxx:?