Mobile phone programmer of choice.  Programmers.  What is a smart card

Mobile phone programmer of choice. Programmers. What is a smart card

A workshop for servicing smartphones and tablets, like any other workshop, is hard to imagine without soldering or measuring equipment. But the main place here is always occupied by tools for software repair: unlocking, restoring and flashing. It is they who help the master to unlock, flash or revive a non-working device.

Let's get to know them better.

BOXING

What is boxing?

How to choose?

Dongles can also be divided into more universal ones that support the maximum number of models from popular manufacturers and the most popular operations, and dongles designed for specific devices and operations.

Universal Solutions:

Specialized Solutions:

Reset FRP

Samsung and LG

SMART CARD

What is a smart card?

The smart card is used to authenticate your purchase and identify your device on the developer's server. In fact, it looks like a regular SIM card for mobile phones. A smart card is designed to store information about the firmware version, the firmware itself, and other special information.


Smart card chip structure

Important! A smart card has a limited number of information recording cycles. Usually the software warns the user that an update is required. So do not update the smart card unless necessary. It may simply get blocked, and as a result you will no longer be able to use this smart card or even the box (it all depends on the box developer). If you are unable to update your smart card when required, your best bet is to contact Technical Support.

What to choose: box or dongle?

Boxing is for you if:

  • connection via COM port is required;
  • phone recovery is only possible using JTAG or eMMC interface.

Dongle is suitable if:

  • you are going to work with the phone in working condition;
  • you need to unlock, flash, repair IMEI, remove FRP;
  • The PC recognizes the phone;
  • you are not going to work with the hardware of the device.

In the continuation of this article, you will learn about possible errors and problems that arise when working with dongles and boxes, and how to detect and eliminate their cause.

There are times when you need to change the software on your mobile phone. At this thought, many people's hair stands on end and their heartbeat quickens. And in vain, because in fact it is not difficult to do this.

Why flash a mobile phone?

Now is the time of computer technology and flat touch screen smartphones. However, despite the technological boom, you should not discount the old push-button mobile phones. The same “bricks”, sliders and “clamshells” that everyone had just a few years ago. No one thought about changing the software on these legendary devices. The question is, why flash them at all?

Phone firmware (Samsung, Nokia, etc.) can be done for the following reasons:

  • the device software is out of order or has become worse;
  • to get the latest software.

Few people have seen such a device crash the system, but this is quite possible, and there are plenty of reasons for this. In addition, official and independent developers release new firmware versions for these gadgets.

Phone firmware via computer

There are a few things to keep in mind before installing new software.

  1. First you need to back up all the data (contacts, sms, settings, etc.) of the phone to a computer. This can be done using specialized programs (MyPhoneExplorer and others).
  2. After that, it is necessary to charge the mobile: not lower than 80% of the battery, although it is better to be 100%.
  3. It is best to flash the phone through a computer using a laptop. The reason is that there is a battery in it, as a result of which, due to an accidental power outage, it will be possible to finish the process that has begun. Otherwise, the consequences can be catastrophic.

For the firmware you will need the following things:

  • of course, a phone 100% charged;
  • data cable (in most cases, USB is used, but some mobile devices require a special data cable);
  • firmware file; it must be downloaded from the Internet, but before that you need to carefully read the information, read comments and reviews, and before that you need to find out the version of the old firmware: enter the code * # 06 # on the keyboard (for Nokia there will be a different code - * # 0000 #);
  • drivers for a mobile device;
  • program for flashing the phone ("flash driver").

Programs

There are quite a few utilities for firmware and they are divided into two categories:

  • general, which are suitable for all models;
  • those that are intended for one manufacturer (for example, the Phoenix program for flashing Nokia phones).

General utilities can flash almost any model. However, if there is a program that is created specifically for a particular brand of mobile devices, it is better to use it, since it already contains all the necessary drivers and, possibly, the OS itself. Here is a small list of "flashers" for specific brands that will help "cure" the gadget:

  • for Nokia - Phoenix Service and the official Nokia Software Updater service;
  • Sony Ericsson - PC Companion (updated SEUS), unofficial DaVinchi;
  • LG - "flashers" Speedo, GsMulti;
  • Motorola - Flash&Backup, P2K;
  • Samsung - OptiFlash
  • BenQ - Winswup, Update Tool.

Consider the algorithm of work using the Phoenix utility as an example.

Flashing Nokia

Before flashing the phone, you need to download and install the Phoenix utility, which is designed specifically for this brand. In addition to the initial preparations described above, you need to do something else, namely, remove all programs that can somehow be associated with a mobile device (Nokia Software Update, Nokia PC Suite, and so on) and clean the cache after them and register. Otherwise, the Nokia phone firmware may fail. Also, for every fireman, it is worth disabling the antivirus.

Now you need to install Nokia Connectivity Cable Driver and Nokia Flashing Cable Driver. We connect the mobile device to the PC. You can make sure that all the drivers are in place in the "Device Manager". Open the properties of the computer. Then select "Device Manager" and expand the item Wireless Communication Devices. The number of devices should be between four and six.

We connect to the computer (select PC Suite mode) and launch Phoenix. In the Connection item, click Setting. In the window that opens, select Add. Click on the drop-down list Driver, select USB and scan (Scan). Select the device that appears. Press Select. Now, from the drop-down list in the Connection item, select the desired device. Next, go to the File\\ Scan Product tab. After scanning, the desired mobile device should appear at the bottom. If this happens, move on.

Go to the Flashing section, where you need to click Firmware Update. Now you have to choose a code. If there is not even the slightest idea which one is needed, then we take any. In this case, you need to remember one point: if the Russian language is desired in the phone, then we are looking for the words Russian, Cyrillic or RU in the name of the firmware file. With the Product Code selected, click on Refurbish. Congratulations, the firmware of the phone through the computer has begun. It will last approximately 7-10 minutes. At this time, do not touch the phone, cable or the program itself.

flash tool

If there is no special utility and you need to flash the phone through a computer, the Flashtool program can easily cope with this if you have an OS file and drivers that you will need to find yourself.

The algorithm of work is the following. Turn off the phone, remove and insert the battery. Turn on Flashtool. Click on the lightning icon, leave a dot on the item Flashmode. Next, select the downloaded firmware from the list in the left window and click "OK". After that, instructions should appear for connecting your smartphone to a PC via a USB cable. We do this, and the program for flashing the phone starts working.

Flashing "Android"

Mobile devices based operating system"Android" is much more likely to require an OS change than conventional mobile phones. The reason for this may be numerous malware, applications downloaded from unknown sources, etc. However, the most basic and most common reason for the failure of a smartphone is its owner.

The phone is flashed through a computer, but you can do without it (in Recovery mode).

Via PC

First you need to make some preparations.

  1. Download a special utility for flashing (Flashtool, Bootloader or a program from the official developer - PC Companion for Sony Ericsson, "Fly smartphone software update" for Fly, etc.).
  2. In parallel with this, we download the firmware for a specific device model. In this case, you should definitely familiarize yourself with the characteristics, read the comments and reviews. Copy the firmware to the Firmwares folder of the Flashtool program.
  3. Install drivers on PC.
  4. We make a backup copy of the files from the smartphone, and also copy the contents of the flash drive to the computer (the firmware of the phone through the computer will not leave the old marks about the location of the files on the flash card, therefore it will create new ones on top of the old ones).
  5. We find the USB cable, and also do USB debugging (go to "Settings", find "Developer Features", then mark the item "USB Debugging" with a bird).
  6. We charge the device to 100%.

After we open the Flashtool utility and go through the algorithm described above.

Without PC

This is done through the Recovery mode. To do this, the firmware file must be downloaded and moved to the memory card. Now turn off the smartphone and turn on Recovery. To do this, you need to simultaneously hold down a certain combination of keys (power and volume down, up or menu - the combination depends on the manufacturer). You can find out exactly the combination by looking at the device passport. Next, select the item “Apply Update From External Storage” (the firmware of the Samsung phone and many other Android-based smartphones is the same).

Working on Windows Mobile

With smartphones based on Windows Mobile, things are much easier. To do this, you will need, in fact, the gadget itself, a USB cable and the Windows Phone Recovery Tool for the computer. To get started, download this utility from the official website (or follow this direct link: go.microsoft.com/fwlink/?linkid=522381, the download will start automatically), install and run. The program will immediately start searching for updates, after which it will ask you to connect your smartphone to the PC.

Now the search and installation of drivers for the connected device will begin. If they are not found, you can click on the appropriate button to search the Internet. When the drivers are installed, a large tile with the image of the connected gadget will appear. By clicking on it, you will start downloading the firmware file. Don't panic if the process takes too long, as the file can be up to a gigabyte in size. In addition, if the download is suddenly interrupted, it can always be continued from where it stopped. There is also one nice moment: if you want to flash the smartphone again, then you won’t have to download anything, since the OS will remain on the computer.

When the download is complete, the Reinstal Software button will appear, by clicking on which you will begin installing the software. At the same time, it is categorically undesirable to touch the phone, USB cable, turn on / off the computer, since the results of such manipulations can be quite deplorable.

The programmer is a hardware-software device that serves to read or write information to a memory device (internal microcontrollers). If a radio amateur needs to program a microcontroller device once, you can use a conventional programmer that connects to a COM or LPT port. For example, the simplest AVR programmer is a cable of 6 and 4 resistors (PonyProg programmer).

Using a common programmer, you can download programs in hex format to many AVR microcontrollers without spending extra time and money. In addition, the programmer can be used as an in-circuit programmer, so you can program the AVR microcontroller without removing it from the device.

Such programmers are connected to a computer using a special program (which is also called a programmer). It transmits from , and the device only writes it to the memory of the microcircuit. Programmers can be connected via a serial or parallel port, via a USB connector, etc. Modern programmers are usually connected via USB.

The USB programmer is intended for programming microprocessor devices of a certain company (depending on the brand of the programmer) in assembled form. It greatly simplifies the software configuration process.

How to connect a USB programmer?

To use the device, you must connect it to one of the computer's USB ports. After that, a message will appear on the computer about connecting a new USBasp USB device, and the LED on the programmer itself will light up, which means that the device has been successfully connected.

Then you need to install drivers so that the OS can work correctly with this device. After that it will be possible to connect the microprocessor device to the ISP interface. When programming, the second LED will light up.

As a rule, the programmer has two interfaces - one for connecting a microcontroller, the second for connecting to a computer. In order to connect the microcontroller, you can use the ISP serial programming mode. The device connects to a computer via a standard USB port.

To control the programmer, you need to install special programs. It is best to use window applications. For example, to work with the device, you can use ExtremeBurner, Khazama, avrguge and others.

The convenience of working with modern mobile devices is largely due to the presence of pre-installed firmware, without which the functioning of electronics is simply impossible. These microprograms in the environment of electronics engineers and repair specialists mobile devices commonly referred to as firmware. In many devices, these firmware are often damaged, in modern terms they “fly off”, making it impossible to work with installed applications. To restore the firmware, a programmer is used. This is a hardware-software device for reading and writing data to permanent memory or internal memory of microcontrollers.

The most popular device among users is the smartphone. Let's take a closer look at what is needed in order to "revive" a mobile that has lost its firmware. In addition, a large amount of electronics comes from China and the United States, and when buying such a mobile phone, there is a problem with the difference in firmware. It is in such situations that you cannot do without a programmer for phones.

Restore software on phones is required to download firmware to the device. The programmer itself is connected through the appropriate port of the smartphone and reprogrammed. There are no universal programmers that support working with various types of devices, however, there are models that are compatible with the most popular smartphones.

Types of programmers

In addition to the fact that programmers can differ in the type of microcircuits, complexity, connection to a computer, as well as in the list of additional functions, there are two fundamental differences between the construction of these devices:

  1. Based on an array of generic type hardware drivers. The versatility of such programmers lies in the ability to read and supply logic levels, as well as the ability to supply complex such algorithms. On the principle of operation of these universal programmers, as a rule, expensive universal models work.
  2. Models that are optimized for a given list of microcircuits. These programmers are often significantly inferior in cost to models of the first type, and the existing list of functions can be expanded by adding new types of microcircuits.

Our online store specializes in spare parts for mobile phones and tablets, offers a wide range of recovery programmers software on phones of various models. We guarantee timely delivery of your order and loyal prices.

The proposed programmer circuit is, in my opinion, the simplest and can be easily reproduced by any novice radio amateur who decides to try his hand at creating devices on microcontrollers. The scheme does not contain super-scarce parts and does not even require manufacturing printed circuit board- everything can be assembled by surface mounting or on a prototyping board (for example, I spread a seal under it in 15 minutes on a piece of substandard glass getinax). This programmer is suitable for flashing Atmega8 and Attiny2313 microcontrollers, which can be useful in the manufacture of impulse metal detectors such as ClonePI-W or TrakerPI.

Since the programmer circuit is simple and will not cause questions during manufacture, I propose further step by step instructions for using the device (for beginners) when flashing the Atmega8 microcontroller for the manufacture of the ClonePI-W.1 metal detector. Installing the PonyProg program. with the program and unzip it. Click on setup.exe. The usual installation will take place. Now we go to the system disk and in the Program Files folder we find the Pony Prog2000 folder. We go into it and delete the PonyProg2000.exe file. From the unzipped material, copy the file PonyProg 207 rus.exe to this folder, which allows you to Russify and modify the program. Create a shortcut in this folder and place it on the desktop. The program is installed.

Program setting. We connect the programmer and run the program. In the Settings menu, select "Calibration" and perform it. After that, in the Settings menu, select Hardware Setup and set Serial, COM1 and SI Prog API. The rest of the boxes are empty. Click Check, OK. This completes the setup. If it was successful, then everything is fine; if not, we look for and fix the error in the hardware.

microcontroller firmware. Insert the controller into the socket. In the window at the top of the program, select AVR Micro, in the neighboring Atmega8. Now click Commands-Read All. Will read data from the microcontroller. Upon completion, a message will appear indicating its successful completion. Such a reading, even of a clean microcircuit, allows you to better "make friends" of the Computer-Programmer-Microcontroller bundle, and if everything goes OK, then you can definitely hope for success. Now we load the dump of the firmware itself into the programmer. File-Open the contents of the device from a file and explorer find the dump file we need with the .hex extension. Open it, its contents will be reflected in a large program window.

Now it is very important to correctly place the controller configuration bits. You can view them on the ClonePI-W developer site. Click on the lock icon. Place checkboxes in the boxes as required. Click OK. Now write the program to the microcontroller. Commands-Record all. Went to record, then check. At the end of the test, the sign Recording completed will appear. If everything went as described above, then we take out the controller and put it in the device being manufactured, connect the power and enjoy the result. Finally, a couple more tips. Power for the programmer circuit can be taken from the USB port of the computer or you can use the power supply of your ADSL modem for this purpose, which can be turned off while the controller is being programmed. In addition (in some cases) during the programming of the stone, it is required to disable antiviruses and firewalls (NOD32, for example, blocks some actions with data transfer via COM port). Here is a brief summary of the proposed device. The material was kindly provided by Elektrodych.