Download 4 file firmware. Switching your Samsung smartphone to flash mode


Every smartphone user is not immune from failures in its operation, and sometimes from complete system failure. Often one the only way out The firmware of the mobile device remains. Among owners of phones based on OS Android program Odin is considered an indispensable tool for flashing the device. It is quite simple to use, but there are some nuances in the program settings.

Firmware is a cure for all diseases

Modern smartphone or tablet - powerful computer carrying on board multi-core processor, graphics accelerator, gigabytes of RAM and solid state memory, as well as a variety of peripheral devices. It works under control operating system(in our case - Android), and individual subsystems: radio module, camera, biometric sensors - are also controlled by their own microprograms.

Firmware is a specialized distribution kit that contains all the software components necessary for the full operation of the “gadget”. To flash a device means to install this distribution into the device's memory. And there are usually only two main reasons for updating firmware - updating to new version or restoring a broken smartphone. After the firmware has been correctly installed, we receive the device in a new condition, just like from a store.


The main reasons for flashing firmware are updating or restoring a broken smartphone

The flash memory of the smartphone, on which the firmware and microprograms of the radio module are written, is designed for limited quantity recording cycles. Therefore, you should not flash several times a day in search of the perfect firmware. When the Flash memory cannot record, the device will have to be thrown out or disassembled into “organs”.

Types of firmware

There are several types of firmware for Android smartphones or tablets:

  • OTA firmware, loaded into the device “over the air”, via cellular networks 3G or Wi-Fi. It contains updates individual programs or a newer version of the Android operating system. At correct installation user data, Accounts And installed applications are saved. Such firmware is the easiest way to flash a smartphone, but also the most dangerous: often during this operation the device becomes a “brick” - it does not respond to keys, the sensor and does not display anything on the screen;
  • firmware in the form of a zip archive. Designed for installation into the device via Recovery - a built-in flash driver, which can be accessed by pressing when turning on a certain combination buttons Firmware rewrites system partition - installed programs and accounts are deleted;
  • single-file firmware for the Odin program. Contains an operating system with pre-installed applications. As in previous version, programs and user accounts are deleted;
  • The 5-file firmware consists of the operating system, utility firmware and partition tables internal memory devices. Installing it deletes absolutely all user data from the phone’s memory, including those that were on the “internal” memory card.

Forewarned is forearmed: preparing the phone for firmware

During the production process, the manufacturer may make changes to the design of the smartphone/tablet. Therefore, devices released at different times may differ in hardware, despite the same appearance, model name and operating system. Before flashing the firmware, you need to identify the hardware revision of your device as accurately as possible. In most cases this can be done by checking serial number smartphone on specialized forums. For example, at Samsung smartphone Galaxy Win (GT-85520) has two hardware revisions and they require different firmware.

We list the criteria for successful smartphone firmware:

  • firmware downloaded from the network corresponding to the hardware revision of your device;
  • smartphone drivers and the Odin program itself, downloaded from a trusted source, ideally from the official Samsung website;
  • battery charged to at least 90%;
  • reliable, tested cable for connecting to a computer;
  • computer, as clean as possible background processes and programs, ideally containing only the operating system and Odin program.

Preparing the operating system

So, the phone is charged to the maximum, a reliable thick USB cable has been found, games have been unloaded from the computer and a thousand tabs in the browser have been closed. It remains to take the last preparatory steps before the firmware process itself:


Remember that a power surge, a pulled out computer power cord or a power outage will lead to an emergency termination of the firmware, and the device will become inoperable - a “brick”. That's why desktop computer connect via source uninterruptible power supply(UPS), and charge the laptop battery.

How to flash an Android device

Working with single-file and 5-file firmware differs slightly. The program has several buttons for selecting the appropriate firmware file:

  • BL - bootloader (bootloader) - load a file like APBOOT_xxxxx.tar.md5 (will be present only in 5-file firmware);
  • AP or PDA, depending on the Odin version - the main firmware file CODE_xxxxx.tar.md5 (in the case of a single file - the only one);
  • CP or PHONE - phone radio module file MODEM_xxxxx.tar.md5;
  • CSC - file of the form CSC_xxxxx.tar.md5;
  • PIT - PIT file, is included only in 5-file service firmware. When you select it, the program opens additional settings breakdown of the device's internal memory. Firmware with this file will delete ALL DATA on the device, and if it fails, with a 99% probability it will be “bricked.”

Installing single-file factory firmware


Installation of 5-file service firmware


If the firmware recording is successful, the program will write PASS in the left top corner windows and reboot the smartphone.

Enable Re-Partition mode only in case of serious problems with the device: it does not boot, hangs on the screensaver, there are errors in the internal memory - files do not open or open with errors. Most of the devices that died during firmware were flashed with a 5-file firmware service firmware and troubles happened during the re-partitioning of internal memory. Operating kernel firmware Android systems and Recovery files

After that:

  1. Click the AP or PDA button in the program window and select the *.img file in the window that opens.
  2. Click the Start button.

If your device has Android version 5 or higher, before flashing the firmware you need to perform several manipulations with the smartphone itself:

Loading custom firmware

Installing custom firmware via Odin is not the best best method. The safest option is custom firmware compiled for installation from recovery. The risks of getting a “brick” are much lower than when flashing firmware via Odin. Don’t expect miracles from “custom” ones; they won’t make your old device a top-end one. And in terms of stability and energy consumption factory firmware will always be in the lead.

Installing custom firmware is no different from installing single-file factory firmware:

  1. Click the AP or PDA button in the program window and select a *.img file in the window that opens.
  2. In the options block, enable the Auto Reboot mode.
  3. Click the Start button.
  4. If the firmware is successfully written, the program will write PASS in the upper left corner of the window and the smartphone will automatically reboot.

My smartphone is a “brick”

If the firmware completed with errors, the program will report this by writing Fail on a red background. But there are often situations when the firmware was successful, the smartphone went into reboot and never came out of it. Do not panic! The worst has already happened. Remove from device battery and let sit for 20–30 minutes. Then return the battery to its place. Use button combinations to try to enter recovery (Power + VolumeUp + Home) or emergency mode(Power + VolumeDown + Home).

I managed to get into recovery - great! We execute the command wipe data/factory reset and try to reboot the smartphone. If we can only enter emergency mode, we try to flash the device with a 5-file service firmware. If it doesn’t help either, the smartphone has a direct route to the service center. Restore it using software methods it won't work anymore.

Video: restoring a smartphone after flashing

In this short article, we looked at the pros and cons of flashing firmware with the Odin program, assessed the risks and learned what to do if the situation develops abnormally. Don't forget that the program is designed for service centers, and not for smartphone users and allows you not only to bring a junky device back to life, but also with a couple of keystrokes to send a previously working smartphone or tablet to digital paradise.

(How to distinguish the Original single-file firmware from the Repacked one)

Contents Repacked : Cache.rfs, Dbdata.rfs, Factoryfs.rfs, Modem.bin, Param.lfs, zImage ( 6 files)

File added dbdata.rfs. To check, open for example in WinRar and see if the file described above is available.

(Connecting the phone and installing drivers. (Required if you have never flashed the phone before))

1. Install Kies or just drivers.
2. We switch the body to the firmware mode, on the OFF body we sequentially press the buttons VOLUME_LOW+HOME (center) and the last one is ON. Hold until a picture appears - a yellow triangle, a robot with a shovel and a bunch of something)).
3. Connect the cable to the PC, the drivers are determined. If the drivers are not installed, check the installation of Kies/drivers.
4. Disable USB cable Turn off the firmware mode by holding down the ON key or removing the battery.

This all applies to the original firmware from fus.samsungmobile.com, which in a decrypted state is posted on XDA-Developers and on SAMFIRMWARE.COM.

(Method No. 1 of installing the Original single-file firmware without Repartition and without PIT)


2. Launch Odin3.
3. Select the TAR file as PDA (Original Single-File Firmware) (Example (picture))




(Method No. 2 of installing the Original single-file firmware with Repartition and PIT)

1. Close Kies and all other applications.
2. Launch Odin3.
3a. Select the TAR file as PDA (Original Single-File Firmware) (Example (picture))

3b. Select Dbdata.TAR file as CSC ( Missing file which is not in the original firmware)
(Example (picture))

DBDATA.tar(1.32 MB) Download- (http://4pda.ru/forum/dl/post/757546/DBDATA.tar)

3s. Select the PIT file and check the box for RePartition (In Odin3 v1.70, the box is checked automatically) (Example (picture))

4. Let's do it full reset to Factory settings.
4a. We switch the body to recovery mode, on the OFF body we successively press the VOLUME_UP+HOME (center) and the last ON buttons. Let's keep it until it appears Galaxy screensaver S, then release the ON button and continue to hold the other 2 buttons until the Recovery Menu appears. In the Menu that appears, do “Wipe/Fact. Reset” and Formatting SDcard.
4b. The second option, resetting all settings to Factory, is done using the code *2767*3855#.
5. We switch the body to the firmware mode, on the OFF body we sequentially press the buttons VOLUME_LOW+HOME (center) and the last one is ON. Hold until a picture appears - a yellow triangle, a robot with a shovel and a bunch of something)).
6. Connect the cable to the PC. Attention: We are already connecting in firmware mode!!. In Odin3, some COM should appear in the ID:COM field, and the field turns yellow. (Example (picture))

7. Click Start. The green bar should run and messages should appear in the Message field.
8. After 3-5 minutes, the firmware is completed, the first cell turns blue, the body begins to reboot. Disconnect the USB cable!
9. This item is optional. It won't get any worse. Repeat the factory reset step 4.

This all applies to repackaged firmware with fus.samsungmobile.com, which are posted everywhere, including here.

(Installation method Repacked single-file firmware)

1. Close Kies and all other applications.
2. Launch Odin3.
3a. Select the TAR file as PDA (Single-file firmware Repacked) (Example (picture))

3b. Select the PIT file and check the box for RePartition (In Odin3 v1.70, the box is checked automatically) (Example (picture))

4. Do a full reset to Factory settings.
4a. We switch the body to recovery mode, on the OFF body we successively press the VOLUME_UP+HOME (center) and the last ON buttons. Hold until the Galaxy S screensaver appears, then release the ON button and continue to hold the other 2 buttons until the Recovery Menu appears. In the Menu that appears, do “Wipe/Fact. Reset” and Formatting SDcard.
4b. The second option, resetting all settings to Factory, is done using the code *2767*3855#.
5. We switch the body to the firmware mode, on the OFF body we sequentially press the buttons VOLUME_LOW+HOME (center) and the last one is ON. Hold until a picture appears - a yellow triangle, a robot with a shovel and a bunch of something)).
6. Connect the cable to the PC. Attention: We are already connecting in firmware mode!!. In Odin3, some COM should appear in the ID:COM field, and the field turns yellow. (Example (picture))

7. Click Start. The green bar should run and messages should appear in the Message field.
8. After 3-5 minutes, the firmware is completed, the first cell turns blue, the body begins to reboot. Disconnect the USB cable!
9. This item is optional. It won't get any worse. Repeat the factory reset step 4.

(Installation method of Repacked 3-file firmware)

1. Close Kies and all other applications.
2. Launch Odin3.
3a. In the PDA field, select the PDA part of the firmware packed in TAR or TAR.MD5. (Example (picture))

3b. In the PHONE field, select the MODEM part of the firmware packed in TAR or TAR.MD5. (Example (picture))

3c. In the CSC Field, select the CSC part of the firmware packed in TAR or TAR.MD5. (Example (picture))

3d. Select the PIT file and check the box for RePartition (In Odin3 v1.70, the box is checked automatically) (Example (picture))

4. Do a full reset to Factory settings.
4a. We switch the body to recovery mode, on the OFF body we successively press the VOLUME_UP+HOME (center) and the last ON buttons. Hold until the Galaxy S screensaver appears, then release the ON button and continue to hold the other 2 buttons until the Recovery Menu appears. In the Menu that appears, do “Wipe/Fact. Reset” and Formatting SDcard.
4b. The second option, resetting all settings to Factory, is done using the code *2767*3855#.
5. We switch the body to the firmware mode, on the OFF body we sequentially press the buttons VOLUME_LOW+HOME (center) and the last one is ON. Hold until a picture appears - a yellow triangle, a robot with a shovel and a bunch of something)).
6. Connect the cable to the PC. Attention: We are already connecting in firmware mode!!. In Odin3, some COM should appear in the ID:COM field, and the field turns yellow. (Example (picture))

7. Click Start. The green bar should run and messages should appear in the Message field.
8. After 3-5 minutes, the firmware is completed, the first cell turns blue, the body begins to reboot. Disconnect the USB cable!
9. This item is optional. It won't get any worse. Repeat the factory reset step 4.

Additionally - (

Despite high level reliability of Android devices produced by one of the leaders in the global smartphone market and tablet computersSamsung— users are often puzzled by the possibility or necessity of flashing the device’s firmware. For Android devices manufactured by Samsung the best solution when manipulating software and restoring it, the program is .

It doesn’t matter for what purpose the procedure for flashing a Samsung Android device is carried out. Having resorted to using the powerful and functional Odin software, it turns out that working with a smartphone or tablet is not as difficult as it might seem at first glance. Let's go through the installation procedure step by step various types firmware and their components.

Important! The Odin application can damage the device if the user performs incorrect actions! The user performs all actions in the program at his own peril and risk. The site administration and the author of the article for possible Negative consequences following the instructions below does not bear any responsibility!

To ensure interaction between Odin and the device, you will need to install drivers. Fortunately, Samsung has taken care of its users and the installation process usually does not cause any problems. The only inconvenience is the fact that the drivers are included in the delivery package of Samsung proprietary software for maintenance mobile devices– Kies (for older models) or Smart Switch (for new models). It should be noted that when flashing firmware via Odin with Kies simultaneously installed on the system, various failures and critical errors may occur. Therefore, after installing the Kies drivers, you must remove them.


Step 2: Put your device into download mode

The Odin program is able to interact with a Samsung device only if the latter is in a special Download mode.

Step 3: Firmware

Using the Odin program, you can install single- and multi-file firmware (service), as well as individual software components.

Installing single-file firmware

  1. Download the ODIN program and firmware. Let's unpack everything into separate folder on drive C.
  2. Necessarily! If installed, delete Samsung Kies! We follow the path: "Control Panel""Programs and Features""Delete".

  3. Launch Odin as Administrator. The program does not require installation, so to run it you need right click mouse click on file Odin3.exe in the folder containing the application. Then select the item from the drop-down menu "Run as Administrator".
  4. We charge the device’s battery to at least 60% and switch it to "Download" and connect to the USB port located on the back panel of the PC, i.e. directly to motherboard. When connected, Odin must identify the device, as evidenced by filling blue fields "ID:COM", displaying the port number in the same field, as well as the inscription "Added!!" in the log field (tab "Log").
  5. To add a single-file firmware image to Odin, click the button "AP"(in versions One up to 3.09 – button "PDA")
  6. We indicate to the program the path to the file.
  7. After pressing the button "Open" in the Explorer window, Odin will begin reconciling the MD5 amount of the proposed file. Upon completion of the hash check, the name of the image file is displayed in the field "AP (PDA)". Go to the tab "Options".
  8. When using single-file firmware in the tab "Options" All checkboxes must be unchecked except "F. Reset Time" And "Auto Reboot".
  9. Having determined the necessary parameters, press the button "Start".
  10. The process of writing information to the device memory sections will begin, accompanied by the display of the names of the device memory sections being written in the upper right corner of the window and the completion of the progress bar located above the field "ID:COM". Also in the process, the log field is filled with inscriptions about the ongoing procedures.
  11. Upon completion of the process, the inscription is displayed in a square in the upper left corner of the program on a green background "PASS". This indicates the successful completion of the firmware. You can disconnect the device from the computer's USB port and start it by long pressing the power button. When installing a single-file firmware, user data, unless explicitly specified in the Odin settings, is in most cases not affected.

Installing multi-file (service) firmware

When restoring a Samsung device after serious failures, installing modified software, and in some other cases, the so-called multi-file firmware will be required. In reality, this is a service solution, but the described method is widely used by ordinary users.

Multi-file firmware is called because it is a collection of several image files, and, in some cases, a PIT file.


Firmware with PIT file

The PIT file and its addition to ODIN are tools used to re-partition the device's memory into sections. This method carrying out the device recovery process can be used in conjunction with both single-file and multi-file firmware.

Using a PIT file when flashing is permissible only in extreme cases, for example, if there are serious problems with the performance of the device.


Installation of individual software components

In addition to installing the entire firmware, Odin makes it possible to write to the device individual components software platform– kernel, modem, recovery, etc.

For example, let's look at installing custom recovery via ODIN.


It should be noted that the above methods of working with Odin are applicable for most Samsung devices. At the same time, apply for the role absolutely universal instructions they cannot due to the presence of a wide variety of firmware, large model range devices and slight differences in the list of options used in specific application cases.

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 the phone). There are several applications: for older devices up to android versions 4.3 and for android version 4.3 and higher. You can try as well, but it requires .

Firmware via Odin main rules

You need to know that you should never flash Samsung using Kies or Smart Switch programs, the reason is this:


  1. Not fully downloaded firmware from the Samsung server.
  2. Poor quality firmware Android files, due to which the device is regularly restarted (the /data partition is not deleted).
  3. Flash your smartphone exclusively with Odin
  4. Be sure to flash with at least 50% battery charge and stable power supply to the PC.
  5. Do not pull the USB cable while flashing the smartphone.
  6. You need a branded and undamaged USB cable.
  7. It is important to use only the original USB cable that came with the device. Using low-quality wires, you risk turning your smartphone into a brick.
  8. 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.
  • Prepare the original USB cable.
  • 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 of 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 website Samsung firmware.

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 Android smartphone to PC.

Open the program Adb Run 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 is stuck on eternal loading, when the firmware was flashed via Odin, you need to reset the settings ( 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

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

Activate "USB Debugging" in the same tab, 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 into normal mode repeat the process a couple of times).
  5. Use the patch (root rights).







2024 gtavrl.ru.