Samsung does not flash through one. Flashing Samsung Android devices using Odin. On new devices

Hi all! Here is another article for you on the topic “how to flash a smartphone” today we will talk about the ODIN utility developed by the company S amsung is a special utility for software updates of Samsung smartphones; it is easy to use and does not require any special skills. There are various modifications of Odin. With this program you can flash various firmwares like .tar, tar.md5 or .bin. Later in the article the firmware process will be described in detail.

A short tour of program options

Re-Partition- redistributes the default file system on your device (RFS);
F. Reset Time - resets the firmware counter (flash counter);
PIT - Partition Information Table. If you chose Re-Partition, then you must also specify the .pit path to the .pit file to repartition the device's file system;
Bootloader- for flashing bootloader firmware;
PDA - firmware assembly. To select a file with firmware, kernel, etc.
Phone- modem. To select a modem file for firmware;
C.S.C. - Consumer Software Customization. To select a CSC file containing region and operator specific data;

Attention: Be very careful when using Odin, especially with the Re-Partition option and the correct .pit file. If you do not have the required .pit file, do not check the box next to Re-Partition. Odin can only be used on Samsung devices!

How to flash Samsung Galaxy using Odin?

Preparation
1. Download and install USB drivers for Samsung. Or you can install Samsung Kies, when installed, the drivers will be installed automatically.

2. Make sure that you have backup copies of all information important to you (contacts, SMS, MMS, videos, photos, documents, etc.) on the internal or external SD cards of your device (or on your computer).

3. Make sure that the battery of your device is charged at least 60-80%, the more the better (I wouldn’t want to brick the phone during the firmware if the power goes out).
4. In the device settings, enable USB debugging/USB debugging in Developer Options/For Developers.

5. Make sure Samsung Keis is not running. You can “kill” a process through the task manager.

Firmware

1. Download the zip file with the official firmware for your device and unpack the archive to your computer. You will see either one .tar or .tar.md5 file, or several files:

If you see one file, then inside it will already be everything you need for successful firmware (PDA, PHONE, CSC);

If there are several files, then use the separate PDA, PHONE, CSC buttons to select the corresponding files;

2. Download the archive attached to the post below and unpack it. You will see the following files:

Odin3 v3.04.exe;

Tmax.dll;

Zlib.dll;

Odin3.ini;

3. Run Odin3_v3.04.exe with administrator rights (right click ---> in administrator mode).

4. Boot your device into download mode. For most Samsung devices, to do this, you need to turn off the device and then simultaneously press the Home + Power + Sound down buttons and in the menu that appears, confirm entering boot mode by pressing the sound up button.

5. Once the phone is in download mode, connect it to the computer via a USB cable. If Odin recognizes your deviceThe ID:COM field will turn yellow or blue and display the COM port number (screenshot below).

6. If the zip archive with the firmware had only one file, then click on the PDA button and through the browse select the .tar or .tar.md5 file with your firmware. If the zip archive with the firmware had several files:

Click on PDA and select a file that has CODE or PDA in its name;

Click on PHONE and select a file that has MODEM in its name;

Click on CSC and select a file that has CSC in its name;

7. Make sure the checkboxes are set correctly:

Auto Reboot and F. Reset Time should be checked;

All other checkboxes are unchecked;

8. After selecting the appropriate files and checking the checkboxes, click the Start button. The firmware process will begin. Do not under any circumstances disconnect your phone from your computer during this process. This may take a few minutes.

9. Once the flashing process is completed, your device will reboot. Now you can disconnect it from your computer and start using it.

Attention: If you do not see the port number in the ID:COM field or if the field is not yellow or blue, please do not proceed with the operation. Disconnect USB and restart your device by long pressing the Power button. Check if the USB drivers for Samsung are installed correctly.

Installing factory/official firmware via Odin is usually a fairly safe task if done correctly. But you should understand that there is always a chance of bricking/breaking the device, albeit small. So you will do all this at your own peril and risk, and the author of the post does not bear any responsibility if something goes wrong.

Various utilities are used to flash Android devices. For example, all devices with Mediatek chips are sewn through the FlashTools utility. As for smartphones and tablets manufactured by Samsung, the main program for flashing and rooting them is. Sometimes a situation may arise when everything is done according to the instructions, but Odin gives some kind of error. We will talk about the meaning of these errors, as well as the main ways to solve them.

Device connection error

File analysis..
SetupConnection..

File analysis..
SetupConnection..
All threads completed. (succeed 0 / failed 1)


Odin utility cannot detect Samsung device

Odin does not show the ID and COM of a Samsung device connected to the computer

1. Make sure your device is in Downloading mode.
2. Check that your microUSB cable is working properly. If possible, use only original Samsung cables when connecting them to the rear USB 2.0 port on the motherboard.
3. Try downloading the latest version of Odin, or, conversely, an earlier version.
4. Run Odin as administrator.


5. Try restarting your computer.
6. Uninstall your Samsung drivers and Kies program, then restart your computer and install them again.
7. Temporarily stop antivirus programs.
8. Try using a different version of the operating system (if you have several of them) or flash the device using a laptop or other PC.
9. Make sure that you have an original Samsung device and not a Chinese copy.

Firmware stops while checking connection

SetupConnection..
Can't open the serial(COM) port.
All threads completed. (succeed 0 / failed 1)

Odin v.3 engine (ID:4)..
File analysis..
SetupConnection..
Initialization..

Try connecting your microUSB cable to a different connector on the motherboard or using a different cable.

File integrity violation: MD5 hash value is invalid

Added!!
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
MD5 hash value is invalid
xxxxxxxxxxx.tar.md5 is invalid.
End...

Your firmware file is damaged. Delete the file with the *.tar.md5 extension, then download the archive again and unpack it.

Errors when flashing system.img, boot.img, recovery.img, sboot.bin, cache.img and other partitions

system.img
FAIL!

recovery.img
FAIL!

sboot.bin
NAND Write Start!!
FAIL!

FAIL!
Re-Partition operation failed.
All threads completed. (succeed 0 / failed 1)

These problems can occur if you are trying to flash damaged firmware. In this case, try downloading the firmware again. Also make sure that you are using the correct firmware for your version of smartphone/tablet. Try looking for firmware on another site. If you are trying to switch from custom firmware to the official one, then you first need to go into recovery and do wipe data and wipe system.

Errors due to damaged Samsung memory partitions

Get PIT for mapping..
Complete(Write) operation failed.
All threads completed. (succeed 0 / failed 1)

In the mobile world, “firmware” refers to the version of a device’s operating system. For example, when they say “flash a device,” they mean “install a new version or a new shell for the system.” “Reflash the device”, respectively, “reinstall the system”. For flashing Android devices, for example, there is a special program - Odin. Reinstalling the system on a phone or tablet with its help will not be difficult.

Firmware used to be the name given to the contents of a computer's memory. There were no hard drives then; memory on magnetic cores was used. Such machines were called ROM (read only memory). The memory consisted of U- and W-shaped cores with a small gap of 1 mm into which the wire was laid. In one position the wire meant “0”, in the other “1”. The wire was pulled manually using a “pencil” device that resembled a needle. And this dreary and painstaking work was called “firmware”. The result was almost always errors, which could only be corrected by cutting the wire and placing it in the desired position (1 or 0). This was called flashing.

Over time, the word took root in mobile technologies. At the turn of the millennium, programmers and engineers began to use slang to say “reflash the device” instead of “reinstall the system.”

Types of firmware

Flashing the device, in other words, reinstalling the software, is necessary if you are not satisfied with the software component.

The firmware installation can be stored in one or more files. Depending on this, single-file and multi-file firmware are divided. There are Recovery firmwares, which reinstall the software for Recovery Mode; kernel firmware, that is, reinstalling the operating system version.

As for the kernel firmware, they can be divided into official and custom. Official firmware versions released by the manufacturer of your mobile device or Google are the best option for undemanding users: they do not have a lot of functions, but they are reliable and designed specifically for your device model. And, importantly, they come with a guarantee.

But any third-party (custom) custom firmware releases the manufacturer from the obligation of warranty repairs. Do not think that this is some kind of violation of the rules or that the firmware is illegal. Manufacturers simply cannot know what will happen to your device due to third-party firmware, and they do not want to be responsible for it.

But if you're ready to say goodbye to warranty service, third-party firmware will give you a lot of options. There are different types of third-party firmware, the most famous: Cyanogen Mod, MIUI, Illusion ROMS, AOKP.

Cyanogen Mod

Cyanogen Mod was born as a custom modification and has grown to become the most popular custom Android firmware: in 2016, there are about 14 million devices with Cyanogen installed.

It is reliable, stable and works on many smartphones and tablets. A big plus of the firmware: there is a normal installer. To install CyanogenMod, you don’t need to worry about Recovery modes, getting root rights and other deep things.

The program will do everything for you.

CyanogenMod, unlike standard versions of Android, allows full access to the operating system. Even root access on the device will not give you such freedom. This leads to a variety of applications and security problems. The system is open not only to you, but also to viruses. Therefore, it is better to use CyanogenMod together with a good antivirus. The firmware also frees you from the manufacturer’s imposed standard applications that cannot be removed.

Cyanogen simplifies working with the device, supports many themes, allows you to change any element of the system, and increases performance through optimization.

Video: review of CyanogenMod 10.1

MIUI is based on Android and CyanogenMod source code. That is why it has many similarities with Cyanogen. This includes complete freedom for the user, improved performance, and support for themes. But MIUI has an interface unusual for Android, which is something similar to iOS. MIUI does not have an application menu at all; instead, it uses an unlimited number of desktops with a set of applications. But, unlike iOS, MIUI also supports widgets, of which there are a lot in the built-in store.

You can install all applications from Google Play Market on MIUI. The built-in SuperMarket store has them all. And some of those that are paid on Play are free on Supermarket.

Illusion ROMS

Illusion ROMS significantly speeds up the device and reduces energy costs. It has advanced accelerometer settings: for example, reducing the rotation angle to “flip” the screen interface from 90 to 80 degrees. You can also customize the screen: in addition to brightness settings, you can change the contrast and color rendition to improve the image.

Video: custom firmware Illusion ROMS for Android (review in English)

AOKP

AOKP has many of the features of CyanogenMod (most firmwares are based on it), but has unlimited interface customization options. You can change everything, every single menu element. You can upload your own animation for the interface, create your own template for a vibration alert, set special actions for any gesture and any press, you can change the background and appearance of the notification panel, remake the status bar, and manually configure the processor.

A separate topic is widgets. They can also be adjusted. Devices powered by AOKP can turn Android into something unimaginably beautiful, all it takes is some imagination.

Video: review of custom AOKP firmware on Nexus 4

What you need to know before flashing your phone or tablet: basic rules

  1. You should only flash your device using the Odin program.. Do not use the Kies program under any circumstances, this may cause problems, the phone will stop booting and turning on because the /data partition will not be erased.
  2. You need to flash the device only when it has 100% battery charge and the computer is connected to an uninterruptible power supply. Any power outage may interfere with the operation of the device.
  3. Do not remove the USB cable during firmware installation.. You cannot interrupt the firmware; uninstalled firmware will not allow you to turn on the device. Therefore, it is better not to even touch the cable.
  4. Use only original USB cables. Third-party, especially cheap Chinese, cords may be made of poor quality, due to which the signal will be interrupted and the firmware will not be installed on the device.
  5. The address of the folder in which the firmware is located should not contain Cyrillic characters. There should not be a single Russian letter in the address, only English ones.

Preparing to reinstall the system

First you need to download the Odin program, which is used to flash Samsung devices. Then you need to download the firmware itself: official Samsung firmware or any custom firmware (single-file in .tar format or multi-file in .md5 formats). It is necessary to install ADB drivers on the computer so that the device can seamlessly connect to the computer via USB (usually such drivers are installed themselves upon connection, but if this does not happen, download them from the Samsung website or install universal ADB drivers from Google). And prepare a whole, undamaged, original USB cable.

How to flash a Samsung device using Odin - step by step instructions

Before you start flashing the device, you need to enable a special mode so that it can work with Odin. To do this, you need to turn off your smartphone and simultaneously hold down the volume down, “Home” and device power buttons.

Single-file firmware

Turn on the Odin program. Place the downloaded firmware file in the AP or PDA field.

Click the Start button. The whole process takes 2–5 minutes. When it ends, the empty square will turn blue, and a large inscription PASS will appear in it. Your Samsung will reboot. This will complete the firmware; you can disconnect the device from the computer and check it.

Multi-file firmware

Launch the Odin program.

You have several files. Each of them must be inserted into the appropriate field (instead of “..." there will be a certain set of characters):

  • PIT file - not available in all - in the PIT field
  • APBOOT_"...".tar.md5 in the BL or BOOTLOADER field
  • CODE_"...".tar.md5 in the APB or PDA field
  • MODEM_"...".tar.md5 in the CP field, CSC_"...".tar.md5 in the CSC field

Now click Start and wait a few minutes. A message will appear indicating that the firmware has been completed, the device will reboot, and you can disconnect it from the computer. Samsung will reflash it.

Recovery Mode

To install custom Recovery, you must first download it. The main rule here: there is no universal Recovery. Search specifically for your model. The TWRP recovery option is popular, link: http://teamw.in/twrp_view_all_devices.

If the Recovery file is in .img format, then it must be converted to .tar, otherwise Odin will not be able to flash the smartphone.

Before installing the firmware, you should change some parameters in the settings. To do this, go to “Settings” -> “Developer Options”. And in this menu you need to enable USB debugging.

Then enable “OEM Unlock” and disable “Remote Management”.

Now open Odin and place the downloaded file in the AP field. Click Start and wait a few minutes. The device will reboot and Recovery will be flashed. You can disconnect the device from the computer.

Core

The kernel is flashed in the same way as Recovery. Download the required firmware file. In the developer menu, enable USB debugging, OEM unlocking, and disable Samsung remote control. Then open Odin, put the file in the AP field and click Start. When the device restarts, you can disconnect it from the computer. The firmware will be installed.

If custom firmware is installed

Flashing a custom system build is no different from flashing an official one. First, download the latest version, open the Odin program and place the firmware files in the appropriate fields. Then click Start, wait 2-5 minutes until the PASS message appears on a blue background. Now the smartphone will reboot and the firmware installation will be completed. You can disconnect the device from the computer.

Some custom firmwares have a more convenient installation method. In particular, the developers of Cyanogen Mod have made an installer that goes through all the steps on its own. All you need to do is download it to your computer, connect your mobile device to your PC and follow the instructions of the program. After a few minutes, the installation will be completed and you will be able to use the fresh Cyanogen Mod. You can also update Cyanogen Mod conveniently and simply.

Possible errors: what to do if the device does not turn on

During the firmware installation, a variety of errors can occur. Odin may stop seeing the device, the process may freeze, some random malfunction may occur, or the process may terminate unexpectedly. All these problems lead to errors in the firmware of the device, which can cause the smartphone to stop turning on.

In this case, you need to do a Hard Reset - reset the settings to factory settings - and re-flash the device. To do this, enable Recovery Mode (hold down the volume down button, the Home button and the device power button). In Recovery mode, find the wipe data/factory reset item and open it. Check the Wipe Data box and click OK. After a few seconds, all settings will be reset, and the “premature” firmware files will be erased. Reflash your device.

We found out how to flash a Samsung mobile device on Android. For this purpose, a special Odin program is used, intended for service centers. There is nothing difficult about this, the main thing is to follow the rules so as not to break the device. But don't worry too much. No firmware can lead to a fatal failure that would turn a smartphone into a useless piece of hardware.

All these errors can be corrected by resetting the settings to factory defaults and re-flashing the device.

Before flashing Samsung via Odin, you need to adhere to some strict rules, otherwise you may end up with an excellent tool for cracking nuts, because it will not be suitable for anything else! Our instructions will help you eliminate such errors. Before installing the firmware, we recommend doing Backup (backup information on your phone)

. There are several applications: for older devices up to android 4.3 and for android 4.3 and higher. You can try as well, but it requires .

Firmware via Odin main rules


  1. You need to know that you should never flash Samsung using Kies or Smart Switch programs, the reason is this:
  2. Not fully downloaded firmware from the Samsung server.
  3. Poor-quality Android firmware files, due to which the device is regularly restarted (the /data partition is not deleted).
  4. Flash your smartphone exclusively with Odin
  5. Be sure to flash with at least 50% battery charge and stable power supply to the PC.
  6. Do not pull the USB cable while flashing the smartphone.
  7. You need a branded and undamaged USB cable.
  8. It is important to use only the original USB cable included with the device. Using low-quality wires, you risk turning your smartphone into a brick.

The path to the firmware must be without Russian letters (C: folder - not correct, C: or C: samsung - correct).

  • How to flash a smartphone via Odin
  • Download the official Samsung firmware file to your PC.
  • Install the driver.
  • Download and unzip.
  • Go to settings - "Developer Options", "Enable USB Debugging", for new devices you will also need "OEM Unlocking" and disable "Remote Control", see the diagram at the very bottom in the last picture.

Sources where to download firmware

How to use this software:

For example, you are looking for firmware for the S7 Edge SM - G935F smartphone.

Launch Firmware Linker.

Enter in the program the name of the group to which your device belongs (EK, GT, SC, SCH, SGH, SHV, SHW, SM, SPH, YP) ​​and click " Enter".

Print the model, for example (G935F) - press "Enter".

You will be redirected to the Samsung firmware website.

Switching your Samsung smartphone to flash mode

When you download and install the drivers and firmware, switch your smartphone to firmware mode (bootloader or download):

Turn off the device and press the buttons " Volume Down" + "Center button" + "Power button".


A similar menu will appear, release all buttons and hold down " Volume up".

We switch the smartphone to " Download". Turn off your device and press the buttons " Volume down" + "Power button".

A message similar to this will appear:

If it doesn't work, enter the " Download":

  1. Download the ADB RUN program.
  2. Enable USB debugging.
  3. Connect your Android smartphone to your PC.

Open the Adb Run program and enter the menu:


"Reboot Device" - "Reboot Download".

Connect Android to your PC and wait for the drivers to install.

Enter the Odin program, a notification will appear at the top left when you connect your smartphone:

Load the firmware files into the Odin program. After this, we will begin the flashing process, or rather configure it correctly so that everything works.

Single-file and multi-file firmware

Firmware using Odin can be single-file or multi-file:

Single-file - there is only one firmware file.

Multi-file - have several firmware files.

Firmware extensions (*.tar or *.tar.md5).

Single-file firmware:


Upload the file to the AP or PDA field (to upload, press the AP or PDA button).

Multi-file firmware:


Select the firmware files and paste them into the appropriate fields:

  • PIT (if any) in the PIT line (click on the PIT button)
  • APBOOT_*****.tar.md5 in the BL or Bootloader line (click on the Bootloader button)
  • CODE_*****.tar.md5 in the AP or PDA line (click on the button)
  • MODEM_*****.tar.md5 in the CP or PHONE line (click the button)
  • CSC_*****.tar.md5 in the CSC line (click on the button)

Do not touch anything else and do not check the boxes in the left corner unless necessary.


When you select the files, click the " button START", then the flashing process will begin at intervals of about 2 - 5 minutes. At the end of the download, a notification will be displayed " PASS" or " RESET", then you can disconnect Android from PC.

What to do if your smartphone freezes and does not boot after flashing?

If an error occurs or Samsung stagnates at an eternal boot when the firmware was flashed via Odin, you need to do a hard reset or otherwise called WIPE, if you provided Root or installed custom firmware, the electricity went out, then you will need advice on how to restore Samsung after unsuccessful firmware.

The main troubles that arise at the flashing stage:

  1. Odin does not recognize the device
  2. Stuck at loading stage
  3. Crash at the stage when flashing the firmware using Odin
  4. Sudden break
  5. Failure to start updating your smartphone

To understand the malfunction of the Odin program, your PC and Samsung, you will need this guide - Main errors at the stage of flashing Samsung.

How to flash kernels (boot.img, zImage), Recovery files or modems

How to flash a modem

If you need to flash the modem, then load the modem file in the CP (Phone) line in the Odin program and start the flashing process.

How to flash the kernel or Recovery

Flashing using Odin third-party kernels or Recovery with Android 5.X.X and higher installed requires changing some parameters in the Android settings:

Activate "USB Debugging" in the same tab and activate "OEM Unlocking"


Turn off" Remote control"Samsung. Flash the kernel, Kernel or CWM means that the file must be loaded into the AP or PDA field and then flashed.

Possible errors during the Recovery installation stage

In case, after flashing custom Recovery, it remains the usual factory one, then look at what you can do:

  1. Uncheck this box Auto Reboot in the Odin program.
  2. Try flashing custom Recovery again.
  3. Turn off your Android device.
  4. Turn on Recovery mode (if the smartphone starts to boot in normal mode, repeat the process a couple of times).
  5. Use the patch (root rights).