Extract Samsung PIT File from Samsung Firmware

Extract Samsung PIT File

Do you get “Invalid Ext4 image “, “Get PIT for mapping“, or “hidden.img»Problem with Odin? Does your Samsung device with 128 GB of internal storage display only 64 GB? Is your Samsung device stuck on the Samsung logo or in a start-up loop because the flashing of a firmware has ruined its partitions? These are the situations where you might need a correct PIT file to repair your device. In this tutorial, I will explain the easiest way to extract a Samsung PIT file from Samsung firmware itself.

Before scrolling down, you should also take a look at the method of blinking Samsung firmware with Nand Erase option enabled to Odin.

What is Samsung PIT or Partition Information Table?

Samsung PIT or Partition Information Table is one of the most important components of Samsung firmware. The PIT file which contains all the information relating to the different partitions on a Samsung Galaxy device. Samsung PIT files tell Odin the block size and the number of blocks it should allocate to specific partitions when flashing firmware.

  • sboot.bin
  • up_param.bin
  • cm.bin
  • boot.img
  • recovery.img
  • system.img
  • modem.bin
  • modem_debug.bin
  • cache.img
  • odm.img
  • hidden.img
  • vendor.img
  • keystorage.bin
  • efs.img
  • userdata.image

All of the above .img and .bin files are downloaded to your Samsung device via Odin while flashing firmware. The block or partition of your device to which they will be assigned is determined by the Samsung PIT file. Basically, the PIT is just a text file, you can open it and see its details by adding a .txt extension after .pit.

Why is the PIT file so important?

Flashing a bad PIT file on a Samsung Galaxy device can harden it. Therefore, it is very important that you get the correct Samsung PIT file for correct firmware flashing using Odin. You cannot, for example, flash the PIT for an AT&T Galaxy S10 on a Verizon Galaxy S10. You also cannot flash a PIT SM-G975F (unlocked S10 Plus) on a model SM-G975U (T-Mobile S10 Plus). Likewise, flashing the PIT of a 128 GB Samsung device model on the 512 GB variant of a Samsung device leaves you with only 128 GB of internal storage.

The method to get the Samsung PIT file from the firmware for your Samsung Galaxy phone or tablet is simple and safe. We receive a lot of requests from users asking the PIT for the model of their Samsung device. In most cases, people tend to search the PIT file on Google, download it and use it to repair their device. Well, these PIT files may work for some and not for others. Any random type says that this particular PIT is for a specific device model. You trust him and use PIT, but it could be a mess.

In the past, I have written some tutorials outlining the steps to extract Samsung PIT files. One of these methods involved the use of Heimdall (an Odin alternative mainly used by MacOS users) and the other required a rooted Samsung device to extract PIT. Both methods were complicated enough for the average user.

Extract the Samsung PIT file from the Samsung firmware

Now let’s go to our main topic and find out how to easily extract the Samsung PIT file from any Samsung firmware. Once you learn this simple trick, you no longer need to wander around looking for the PIT file on your Samsung device or ask a forum member to download it for you.

  1. Download the correct firmware for your Samsung phone or tablet. To find the correct firmware for your device, go to Settings> About device and note the model number.
    Samsung about the phone screen
    Galaxy S9 About the phone screen
  2. Now that you know the model number of your Samsung device, you can search for the corresponding firmware. Alternatively, you can download Samsung firmware for your device using free firmware download tools like SamFirm or Frija Tool.
  3. After downloading the firmware.zip file, you need to extract the downloaded ZIP to your desktop.
  4. Open the extracted folder that contains the firmware binaries.
    Samsung firmware files - AP, BL, CP, CSC
    Samsung firmware files – AP, BL, CP, CSC
  5. As you can see in the screenshot above, the firmware folder contains 4-5 binaries with .tar.md5 extension, namely:
  6. If you cannot see the file extension or file format of the firmware files, you will need to enable it from Windows Explorer settings. To do this, click on the “View” tab in the Windows folder window and check the box that says “File name extensions”.
    Windows 10 file extension
    Windows 10 file name extension
  7. You should now be able to not only view the file extensions on your computer, but also change them.
  8. Either way, select the firmware file starting with CSC and add a ‘.Zip *: French’ extension after “.tar.md5 ′ as shown below.
      1. CSC_OMC_OXM_G965FOXM2CRLI_CL15044066_ship.tar.md5.zip
  9. Extract this new creation CSC.zip file and open the extracted folder.
    Extract Samsung PIT from firmware
    Samsung PIT from the Galaxy S9 + CSC
  10. As you can see above, you have the correct PIT file for your phone or your Samsung Galaxy Tab.

Wasn’t it easy? Since you have the Samsung PIT file that exactly matches your Galaxy device, you’re ready to flash it using Samsung Odin Tool as well as other firmware binaries. If you want to flash a Samsung firmware with a Samsung PIT file, you have to do 3 things:

  1. Click it PIT in Odin and add the PIT file to it.
  2. Check the ‘Repartition“Option to Odin.Odin PIT and Re-partition options
  3. Do not flash a PIT file alone. You must install it with other firmware binaries, namely AP, BL, CP and CSC.

If you have any questions or doubts regarding the flashing firmware using Odin or Samsung PIT files, don’t forget to leave us a comment below.

Read next: Change the CSC on Samsung devices – Samsung CSC codes

Leave a Reply