Skip to content

Samsung PIT File Download | Extract PIT from Firmware (Guide)

Partitions are an integral part of any Operating system including Android. The PIT (Partition Information Table) file is one of the core components of Samsung firmware. If you are looking for a PIT file to flash in Odin, you must be in a desperate situation. The easiest way to get the PIT is to extract the PIT file from Samsung firmware itself. I say so because you may not be able to download the correct Samsung PIT file for your Galaxy phone or Galaxy Tab from forums or stock firmware download websites.

Thanks to firmware download tools like Frija and Samfirm that it’s very easy to get Samsung firmware. Samsung PIT file download is as easy as downloading the firmware.

Why Do You Need a PIT File?

There are various reasons why you might need a PIT file. Below is a list of all problems when flashing it with the firmware binaries that might save help you recover your device.

  • Hidden.img‘ error while flashing firmware in Odin.
  • Odin requires Partition Information Table to map and allocate different partitions on your device. In case the firmware you are installing doesn’t have an appropriate PIT, the installation may get stuck on the “Get PIT for mapping” error in Odin.
  • If you are getting the “Invalid EXT4 image” error in Odin, a correct PIT file can help you flash the firmware successfully.
  • Just in case you want to NAND erase your Samsung smartphone or Galaxy Tab, you can re-partition your device using a PIT file.
  • The partitions on your device may get messed up while installing the stock ROM. You are supposed to flash a PIT to fix things.
  • If your Samsung Galaxy device is stuck in a boot loop or it is not getting past the Samsung logo, you’ll need a PIT file.
  • A wrong PIT file might configure your device’s internal storage improperly. That’s to say, if your Galaxy device has 512GB of internal storage, you may only be able to see and use only 256 or 128 GB of storage space. I experienced this issue on 2 of my Android phones, namely the Pixel 5 and Galaxy S21 Plus.

What is a PIT File?

A Partition Information Table or PIT is a table or map that contains all information about the components of firmware binaries. Odin requires a suitable PIT to get the following information:

  • Block count
  • Block size
  • Device type
  • Flash filename
  • FOTA file name
  • Hexadecimal
  • Partition name
  • Update attribute

Besides, the PIT file also contains some more properties, identifiers, or flags to guide Odin as it installs the firmware. Its basic function is to give key instructions to Odin about how much space (block size and count) it has to allocate to different partitions while flashing firmware to your Galaxy device. Different Samsung firmware versions may require different partition layouts.

If you extract all firmware binaries with .tar.md5 extension, you’ll find the following .img and .bin files with .lz4 encryption.

  • MODEMST1: nvrebuild1.bin
  • MODEMST2: nvrebuild2.bin
  • PERSIST: persist.img
  • EFS: efs.img
  • PARAM param.bin
  • SEC_EFS: sec_efs.img
  • STEADY: steady.bin
  • DQMDBG: dqmdbg.img
  • APNHLOS: NON-HLOS.bin
  • VBMETA_SYSTEM: vbmeta_system.img
  • METADATA: metadata.img
  • MODEM: modem.bin
  • BOOT: boot.img
  • INIT_BOOT: init_boot.img
  • RECOVERY: recovery.img
  • VENDOR_BOOT: vendor_boot.img
  • VM-BOOTSYS: vm-bootsys.img
  • SUPER: super.img
  • PRISM: prism.img
  • OPTICS: optics.img
  • CACHE: cache.img
  • CARRIER: carrier.img
  • OMR: omr.img
  • SPU: spu.img
  • DTBO: dtbo.img
  • CORE_NHLOS_A: Core_NON-HLOS.bin
  • USERDATA: userdata.img
  • SGPT0: sgpt0.img
  • APDP: apdp.mbn
  • PGPT1: pgpt1.img
  • SGPT1: sgpt1.img
  • XBL_B: xbl.elf
  • PGPT2: pgpt2.img
  • SGPT2: sgpt2.img
  • PGPT3: pgpt3.img
  • SGPT3: sgpt3.img
  • TZ: tz.mbn
  • AOP: aop.mbn
  • DEVCFG: devcfg.mbn
  • VBMETA: vbmeta.img
  • VK: vaultkeeper.mbn
  • HDM: tz_hdm.mbn
  • TZ_KG: tz_kg.mbn
  • UEFI: uefi.elf
  • PGPT4: pgpt4.img
  • SGPT4: sgpt4.img
  • PGPT5: pgpt5.img
  • SGPT5: sgpt5.img
contents of samsung pit file

Samsung PIT file partition info

The reason why the size of PIT files ranges from just 3 to 5 KB is that it’s a text file containing a secret language understood only by Odin and your Samsung device. You can see the contents of a PIT file by opening it with Notepad.

Download PIT Magic

If you have been using Samsung Android phones for a long time, you may already be familiar with PIT Magic. It is a pretty nifty tool that lets you create a PIT file for Samsung or edit the one you already have. Moreover, PIT Magic can also analyze a Samsung PIT file and get human-readable data of all partition entries. Moreover, the tool also lets you export an existing PIT report to a text file.

pit file magic pit editor

Edit Pit file in PIT Magic

Pit magic tool

Samsung PIT File analysis in PIT Magic

Download: PIT_Magic_v1.3.10.zip

Samsung PIT File Download – Be Careful!

Please note that it’s not safe to flash the PIT for one variant of the same phone model on some other variant. For example, if you own a Samsung Galaxy S23 Ultra and you mistakenly install it on Galaxy S22 or S22 Plus, you may end up with a firmware flash error or a boot loop. Moreover, suppose you own the unlocked Galaxy S23 Ultra (SM-S918B/DS), you must not install the PIT file meant for variants like SM-S918N (Korea), SM-S918U (USA Unlocked Snapdragon, AT&T, TMO, Verizon, etc.), SM-S918W (Canada), etc. You must flash PIT in Odin if you want to re-partition your device.

To make sure that you have the correct PIT file for your Samsung Galaxy phone or Tab, you should avoid downloading it from forums and any other website. In many cases, people share PIT files but don’t mention the correct device model. Therefore the Samsung PIT file you download must be exactly for the same device model and variant as you own. That’s why the best method to get the correct PIT file for your Galaxy device is to extract it from the firmware meant for your phone or tablet.

Extract Samsung PIT File from Firmware

As I told you above, to get the correct PIT for your device, you must download the correct firmware file or binaries for your device model. In this tutorial, we’ll see how we can download the stock Samsung firmware and extract the PIT file from it. If you are wondering why you should even care about downloading heavy-sized firmware to get a very small file, here is the answer. You must flash the PIT file using Odin along with the firmware binaries (BL, AP, CP, and CSC or Home CSC). It means that you have to download the firmware anyway.

  1. To download the firmware for your Samsung Galaxy smartphone or Galaxy Tab, you must have the model number and the CSC of your device. Just go to Settings > About phone and you’ll find the model number.samsung phone model number
  2. To check your device’s CSC, go to Settings > About phone > Software information > Service provider SW ver.samsung phone csc version
  3. Now that you have the CSC and model number of your device, you are all set to get the right firmware file. Follow the instructions to download the official Samsung firmware.
  4. Once the firmware download is finished, unzip it on your desktop and open the extracted folder.
  5. Inside the folder, you’ll find 5 firmware binaries namely, AP, BL, CP, CSC, and HOME CSC (the names of the files below have been shortened).
    1. AP_S918BXXU1AWBD_S918BXXU1AWBD_MQB62300606_OS13.tar.md5
    2. BL_S918BXXU1AWBD_S918BXXU1AWBD_MQB62300606.tar.md5
    3. CP_S918BXXU1AWBD_CP23738904_MQB62300606.tar.md5
    4. CSC_OXM_S918BOXM1AWBD_MQB62300606.tar.md5
    5. HOME_CSC_OXM_S918BOXM1AWBD_MQB62300606.tar.md5
  6. As you can see, all firmware binaries have .tar.md5 extension. It’s the CSC file that contains the PIT file for your Galaxy device and to extract the PIT, we’ll have to add a .ZIP extension to the CSC file. Windows does not let us see or edit file name extensions by default. To make that happen, click on the View tab in the folder window and check the File name extensions option. If you’re a Windows 11 user, click on View > Show > File name extensions.show file name extension windows 11
  7. You should now be able to view and edit the file name extensions. Right-click the firmware binary that starts with CSC in its name, select the Rename option, and add .zip after .md5.rename samsung csc file
  8. Having changed the extension, extract the ZIP file, and open it. You’ll have the PIT file for your Samsung Galaxy device.extract samsung pit file

If you follow the above PIT extraction method, you won’t have to download the Samsung PIT file from any 3rd-party website. Now, you only need to download the latest Samsung Odin and flash the PIT file along with the 4 firmware binaries with the Re-partition option enabled.

Download Samsung PIT Files

Below is a list of PIT files for old Samsung phones and tablets that you can download directly. Though I have shared the PIT files, I would still recommend you extract them from the firmware file itself for accuracy.

Device Model

Download PIT File

Galaxy A10 (All Models)
Galaxy A30 (All Models)
Galaxy J2 (All Models)
Galaxy A8 SM-A8000 SM-A8000.pit
Galaxy Grand Prime SM-G530H SM-G530H.pit
Galaxy A8 SM-A8000 SM-A8000.pit
Galaxy Grand Prime SM-G530H SM-G530H.pit
Galaxy J5 SM- J500M (Latin America) SM-J500M.pit
Galaxy Note 3 SM-N900 (3G) SM-N900_32GB.pit
Galaxy Note 3 SM-N9005 (LTE) SM-N9005_16GB.pit
Galaxy Note 3 SM-N9005 (LTE) SM-N9005_32GB.pit
Galaxy Note 3 SM-N900A (AT&T) SM-N900A_32G.pit
Galaxy Note 3 SM-N900P (Sprint) SM-N900P_32GB.pit
Galaxy Note 3 SM-N900V (Verizon) SM-N900V_32GB.pit
Galaxy Note 4 SM-N910F SM-N910F_32GB.pit
Galaxy Note 4 SM-N910V (Verizon) SM-N910V_32GB.pit
Galaxy S3 Mini GT-I8190 GT-I8190.pit
Galaxy S4 GT-I9500 GT-I9500.pit
Galaxy S4 LTE GT-I9505 GT-I9505.pit
Galaxy S4 SCH-I545 (Verizon) SCH-I545.pit
Galaxy S4 SGH-I337 (AT&T) SGH-I337.pit
Galaxy S4 SM-G900W8 (Canada)
Galaxy S4 SPH-L720 Sprint SPH-L720_16GB.pit
Galaxy Note 4 SM-N910T (T-Mobile) SM-N910T_32GB.pit
Galaxy S5 Mini Duos SM-G800H SM-G800H_EUR_OPEN.pit
Galaxy S5 SM-G900A (AT&T) SM-G900A.pit
Galaxy S5 SM-G900F (International)
Galaxy S5 SM-G900H (HSPA) SM-G900H_16GB.pit
Galaxy S5 SM-G900I (Asia, Australia) SM-G900I_16GB.pit
Galaxy S5 SM-G900M (Vodafone) SM-G900M.pit
Galaxy S5 SM-G900P (Sprint) SM-G900P_16GB.pit
Galaxy S5 SM-G900T (T-Mobile) SM-G900T_16GB.pit
Galaxy S5 SM-G900W8 (Canada)
Galaxy S5 SM-G901F (LTE-A) SM-G901F.pit
Galaxy S6 Edge (All models)
Galaxy S6 Edge SM-G925I SM-G925I.pit
Galaxy S6 Edge SM-G925A (AT&T) SM-G925A.pit
Galaxy S6 Edge SM-G925P (Sprint) SM-G925P.pit
Galaxy S6 Edge SM-G925T (T-Mobile) SM-G925T.pit
Galaxy S6 Edge SM-G925V (Verizon) SM-G925V.pit
Galaxy S6 Edge SM-G925R4 (US Cellular) SM-G925R4.pit
Galaxy S6 Edge SM-G925W8 SM-G925W8.pit
Galaxy S6 Edge SM-G925K/L/S (Korea) SM-G925K-L-S.pit
Galaxy S6 Edge SM-G9250 (China) SM-G9250_CHN_HKTW.pit
Galaxy S8 SM-G950F (Europe) SM-G950F_EUR_OPEN.pit
Galaxy S9 SM-G965F/FD (Europe) SM-G965F_EUR_OPEN.pit
Galaxy S21 Ultra G998B (Asia/Europe) SM-G998B_EUR_OPEN.pit
Galaxy S23 Ultra G998B (Asia/Europe) SM-S918B_EUR_OPEN.pit
Galaxy Tab 3 8.0 SM-T210 (Wi-Fi)
Galaxy Tab 4 7.0 SM-T230/T231 (Wi-Fi)
Galaxy Tab 4 10.1 SM-T531 (3G) SM-T531.pit
Galaxy Tab 3 7.0 SM-T217S LT02LTE_ONEPIT_SPR_130710
Galaxy Tab 4 10.1 SM-T535 (LTE) SM-T535.pit
Galaxy Tab A SM-T550 (Wi-Fi) SM-T550.pit
Galaxy Tab Active SM-T365 SM-T365.pit
Galaxy Tab Pro 8.4 SM-T320 SM-T320.pit

How to Flash PIT File with Odin

Warning: All data on your Samsung device’s internal storage will be wiped and all settings will be reset to default.

Follow the steps given below to flash the PIT file along with the Samsung firmware file with Odin.

  1. Boot your Galaxy phone or Tab into the Samsung Download Mode.
  2. Launch the Samsung Odin flash tool on your computer.
  3. Connect your device to the computer using a compatible USB cable. The ID:COM port on Odin will be highlighted.
  4. If the firmware you have downloaded has a single file, click on the PDA or AP button in Odin and add the firmware file with .tar.md5 extension to it. Now, click on the PIT button and add the PIT file for your Samsung device to this section. You also need to check the Re-Partition option in Odin and keep Auto Reboot and F. Reset Time enabled. Click on the Start button to initiate firmware installation. Your device will reboot automatically when the firmware flashing is finished.
  5. However, if the firmware you downloaded contains 5 files (BL, AP, CP, CSC, and Home CSC), you need to click the BL, AP, CP, and CSC buttons one by one and add the corresponding firmware binaries as shown in the screenshot below.odin firmware flashing steps
  6. Also, click on the Options tab in Odin and make sure that the following options are enabled.
    1. Auto Reboot
    2. Re-partition
    3. F. Reset Time
  7. Now, click on the PIT tab and add the PIT file for your Samsung device to it.

    odin re-partition

    Re-partition and PIT option in Odin

  8. Finally, click on the Start button and wait until the firmware installation is finished. Upon the completion of firmware flashing, your device will restart.

Please note that your device might take about 3-7 minutes to boot up for the first time after firmware installation. so, don’t panic and have patience. If you encounter any issues, refer to this guide to fix Samsung Odin firmware flashing errors.

Read Next: 30 Best Dark Themes for Samsung One UI

31 thoughts on “Samsung PIT File Download | Extract PIT from Firmware (Guide)”

  1. Trying to Flash a SM-G930A S7 but after apply the image successfully with Odin latest version the phone reboots starts to apply the image gets to 32% and then erases the changes.

    Also the device has FRP to a google account that’s unknown, I don’t a see a PIT file for an Samsung Galaxy S7 is there one for this model? .. By the way this site has excellent information. I would appreciate any assistance …. Respectfully JL

  2. Hi Rakesh, firstly thanks a lot for putting together this tutorial and your other tutorials on this topic. You have collected all relevant tools and information and put it together in a central source. I have spent the last week or so searching for this info and collecting small bits of info to understand how to fix my problem and instead your articles are a one stop shop. Well done!

    I am wondering if you are able to assist me in my problem. Despite following your guides and others similar to this I cannot fix my phone and get it to boot. I get a “Secure Check Fail : PIT” error when trying to flash the pit file on my Galaxy S5 SM-G900I. I have tried different baseband versions of firmware (VAU, OPS, XSA) with no luck. Odin always passes if just flashing firmware and bootloader but the PIT always fails if included. Please see screenshots. The phone is stuck on android boot screen with Recovery Booting… and Set Warranty Bit : recovery messages.
    https://www.dropbox.com/sh/l5h8krqebnlja2d/AAA_2jbDTbqRm9xPEn5zsK5sa?dl=0

    Thanks in advance

      1. Hi, Thanks for your response.

        Is there another way of getting a correct PIT File? I took the PIT file from this page for G900I. I tried the NAND erase option as other methods were not working. I have tried without and makes no difference.
        The phone is not carrier locked and yes I am from Australia hence using those CSCs. Flashing my phone without PIT is always successful. No errors but when phone restarts it is stuck on android boot screen for hours with Recovery Booting… and Set Warranty Bit : recovery messages. I cannot boot into recovery mode, only download mode.
        I have tried the version of Odin you suggest but didn’t work either unfortunately.

        1. Hi again,

          Can you tell me how did it all begin? A little background might help understand the root issue.

          As for the PIT file. you might get it by extracting the firmware you have. If your phone is not locked to a carrier, you should try flashing firmware with XSA CSC.

          1. Hi, I have tried flashing with XSA CSC, the flashing works perfectly with Pass message in odin, but when it restarts it gets stuck on boot screen with Recovery Booting… and Set Warranty Bit : recovery messages.

            It all started with either a fault in an app update or OTA software update. I am not exactly sure but one day the phone would not boot. I flash stock rom which didnt work then tried to flash TWRP custom recovery as stock flash was giving me above issue.

  3. Hello Rakesh. I tried your zip extraction method for the CSC .md5 file and Windows gives me an error. I also tried making the CSC file into a .zip through 7zip manager and it just gives me my previous CSC .md5 file. Am I doing something wrong with the extraction?

    This is the error I get when I use 7zip

    Warnings
    There are some data after the end of the payload data
    Warning
    Can not open the file as [zip] archive
    The file is open as [tar] archive

    1. Hi Fatih, there’s not much difference between these Samsung Tabs in terms of partition. Yet I won’t suggest flashing SM-T231.pit on SM-T230. I have just added the SM-T230.pit to the download list.

  4. hello can anyone help me out here please….my phone is samsung j8….and combination file is j810gddu2asb1…so if i do this can i remove my lock…i dont have my number anymore so i cant sing into my phone anymore

  5. Hi,

    Thanks for this tutorial. I followed it step by step, still I can’t extract the .pit file from the csc-file. I add .zip to it, so far so good, but when I’m about to extract it I get this error message saying “can’t open the folder” and that it is “invalid”.
    I also tried to extract the .pit file from another csc-file in another firmware download and I get another error message saying that it can’t extract the folder because it is empty. What am I doing wrong?

    I could really need some help here!
    Thanks in advance

  6. Hi Rakesh,
    I am on a Galaxy S20fe on Android 11 and am trying to downgrade back to Android 10. I’ve read somewhere about binary 2 and not being able to flash Android 10.
    Question, can I flash a pit file extracted from the original 10 stock rom (along with AP, etc. ) to achieve the rollback ?
    Failing this, would a NAND wipe allow me to do this?
    Many thanks in advance, Mike.

    1. Hi Mike, you can flash the PIT file from the older firmware. As for the rollback, you can do that if your current firmware version supports that. Some OTA updates lock the possibility to go back to an older version of the firmware. If you checked the changelog of the last update you received, you might have noticed it mentioned. Why do you want to return to Android 10?

  7. Hi, I bought a phone from someone that has a frp lock on it. An elderly person had it for a short period of time, but can’t remember Google account details. I’ve got the PIT file and did as you said;
    …tick boxes -Auto Reboot
    -Re-Partition
    -F.Reset Time
    I put the PIT file in…Flashed..and…
    still says unauthorised factory reset…
    Help…I’ve got a Samsung s20+ 5g

  8. Hi, I’m at a loss as to what to do here with my Galaxy S9 (PDA G960WVLU9FUE2)… I’ve managed to accomplish everything listed above, but I’m stuck on “SetupConnection”. I’ve tried Odin versions 3.13.3, 3.14.1 and 3.14.4, I’ve downloaded the firmware file from a couple of different websites (including sammobile.com) and I’ve extracted the PIT file from the CSC file without a problem. All the individual files within the firmware get sucked in like they should and the MD5 files are checking just fine. At this point, I’m not sure what else to do.

    FWIW, I was trying to get rid of the FRP on said phone and I downloaded the combination file that matched. There were no issues installing it and it sent me to the Factory Binary page. Everything checks like it should and near as I can tell, the installation of the combination file did what I wanted it to do ie. removed the FRP. I then went into Download mode and am currently stuck as I list above.

    Any help would be appreciated.

  9. Oh, and before I forget – I *did* try to use your instructions to create my own combination file, but I couldn’t find the sboot.img.iz4 file from the BL file to create it. Where can I get a copy of said sboot.img.iz4 file?

  10. Is this accurate information about extractring the pit file? Windows is not able to extract the file after I added .zip after .md5.
    Frustrating when people put anything on the internet.

    1. Hi Abhinav,

      This is a tried and tested method to extract PIT from Samsung firmware. I tried this again today to check if it works and it really did. Are you using the stock zip extractor that comes with Windows? Try WinZip or PowerArchiver.

  11. Hey man thanks for this guide, I also am having issues . It’s a galaxy note 8 SM-n950u. Problem is I get this same fail when trying to flash anything in this phone. It was frp but now it’s not and runs on some customs Os but doesn’t have browser or google and can’t get it. The fail is

    FAIL! (Deviceinfo)
    Osm all threads completed

  12. What about the firmware that contains only single file such as 920CXXU3CQG1_N920COJV3CQG1_N920CXXU3CQG1_HOME.tar.md5 instead of those 4 files (BL, AP, CP, CSC), If i open this firmware im able to see boot.img, cache.img, cm.bin, hidden.img, modem.bin,recovery.img,sboot.bin,system.img, How do i extract pit from this? Or should i only download firmware with BL, AP, CP, CSC ?

  13. I own a, Galaxy Tab s4, SM-T830. This is my tablet (I have reciepts and everything). It was rooted with Magisk 25.2 and TWRP recovery. I did a factory reset then went to Developer Options and I inadvertantly unchecked OEM unlock and turned off my tablet. I didn’t enable USB debugging. When I turned it back on it goes directly to the FRP screen: “Custom binary(boot) Blocked by FRP Lock”. The tablet is FRP locked and OEM locked. I cannot access recovery. All I can do is go into download mode by holding down the power key and both volume keys at the same time while plugged into my Windows 11 PC. Odin detects my tablet but every attempt at anything fails. I am trying to create the Combination file. I have all the latest firmware from Sammobile and through Frija but cannot find the sboot.bin. I’ve tried Nand erase and repartition with PIT file, but that fails. The “adb devices” command does not detect the tablet. I don’t know enough about adb or fastboot to use it properly without instruction. Would Linux be more powerful to do what I want? I know it would be more complicated. I would like to avoid a Samsung service center, if they even exist any more, but will if it’s the only option left.

    1. Are u running Odin on a AMD Ryzen PC? Bc u are missing a key batch file if u are…. I almost lost my mind trying to figure out the adb issue with Odin 3…. I can send u the batch file to make it all work or there are a few mirrors out there, just search AMD Ryzen USB controller fix (it’s a .bat)

  14. Encerio that you deserve my respect you explain things bluntly and as they are unfortunately the Internet is full of garbage and everyone wants to explain and only get the phones stuck more they lie to you a lot and according to the experts or in the pages of developers are things as clear as on this site just start everything as you exposed and problem solved without so many detours that trick of the pit file everyone sends you around the Internet
    And it’s just adding a simple zip to the last one really thanks for the help my respect to this page ✌️

  15. Dear Rakesh
    Thank you for making this guide, it’s wonderful!

    I think I have a far worst problem on my ends. I found this old phone, a Galaxy Core G350 that needed a firmware flash ( it had a small red esclamation point on top left corner of the screen, and was stuck on booting and in “loading charge”). So after various tries, I managed to set this phone on download mode.

    Firstly I tried using Odin for the firmware only, which I obtained via Frija. The problem is that while flashing, Odin got stuck for 30 minutes, so I unplugged the phone. I tried a second time, but the connection stopped again because the usb cable wasn’t plugged so well.. and so the screen of this phone became all glitched.

    So now, all I see is a glitched pixelated screen. I know that even if it’s all glitched like this, the device it’s stuck in download mode. I tried flashing multiple times, even tried to flash TWRP, and finally I tried with the correct cs_02.pit file. It does complete the process every single time, but the phone stays stuck in download mode and in this glitchy state.

    What can I do? Is this phone broken beyond repair?

    Thank you again!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.