Finding the stock firmwares for Samsung Galaxy devices is real easy, and flashing them to the devices even easier. If you are a smartphone enthusiast, you might get into situations when flashing the stock firmware might be your last option to restore your device.

Whether you want to recover your device from a boot loop, unroot the device and remove a custom recovery, or you just want to upgrade or downgrade the OS manually, you’ll have to flash the stock firmware. If you happen to be a Samsung user and have ever flashed the official firmware, CF-Root or a recovery .tar file, you must be acquainted with the very light-weight but a handy tool called Odin. All Samsung devices have a Download or Odin mode for installing a firmwares, firmware components, kernels, or custom recoveries using Odin.

If you make the required preparations before flashing firmwares with Odin, things go successfully most of the time. However, there are some cases where the procedure ends up with error and you get FAIL! message in Odin. One of the commonest form of the errors encountered in Odin while flashing stock firmwares is the “Invalid Ext4 imageand “Get PIT for mapping” issue.

<ID:0/003> Added!!
<ID:0/003> Odin v.3 engine (ID:3)..
<ID:0/003> File analysis..
<ID:0/003> Set PIT file..
<ID:0/003> DO NOT TURN OFF TARGET!!
<ID:0/003> Get PIT for mapping..

Android devices use the EXT4 storage structure which defines the allocation of available storage space to system partitions. PIT (Partition Information Table) is an integral element of all Samsung firmwares that contains the map of storage allocations for different system partitions. Since Samsung releases different variants of the same device depending on storage capacity, carrier, and region/country, the PIT structure on them differs from each other.

Don’t miss: All You Need to Know About Samsung PIT Files

When you flash a firmware, Odin starts looking for the partition information table. If the PIT is detected, the installation will finish uninterrupted, but if the PIT is not detected or it’s corrupted for some reason, you might get “Get PIT for mapping” error. To fix this problem, you will have to provide the appropriate PIT in Odin to install the firmware successfully.

Remember, the PIT is always storage (and in some cases, CSC) sensitive. Thus, if you own a Samsung Galaxy S6 64GB model, you will need the PIT file for the same model number and storage capacity.

Also see: Download PIT File for Samsung Galaxy Devices

You can use Google search to get the correct PIT file for your device, but if you do not get it, there is a way you can pull it manually from your device itself. Below, we’ll see how we can extract PIT file from Samsung Galaxy devices.

Extract PIT File from Samsung Galaxy Devices

Requirement: To be able to use any of the methods described below, you must have root privilege on your Galaxy device.  Both the methods have been tested on the Samsung Galaxy S5.

Method 1: Using Terminal Emulator on Device

  1. Install the Terminal Emulator app from the Google Play store:
    Terminal Emulator for Android Price: Free
  2. Also, install the BusyBox app. Launch the app and then tap the Install option.
    BusyBox Price: Free
  3. Now open Terminal Emulator and grant root permission when prompted.
  4. Now type the following command:
    su
  5. Then type the following command in Terminal Emulator:
    dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
  6. Now browse your phone’s storage to find the backed up PIT file and save it on your PC for future use.

Method 2: Using ADB Commands on Computer

  1. To use ADB commands, you will have to install Android SDK on your computer. If you don’t know how to setup the Android SDK or ADB, read our tutorial.
  2. Go to Settings> Developer options and enable USB Debugging on your device.
  3. Now launch a command prompt on your computer. You can do so by placing the mouse pointer on an empty space on the desktop and then pressing Shift key+Right mouse-click. Select Open command window here option.
  4. Connect your Samsung device to the PC using the stock USB cable.
  5. In the command window, issue the following command and press the Enter key on the keyboard:
    adb devices
    adb shell
    su
  6. When SU is called, grant root permission on your device and type the following command:
    dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
  7. Your device’s PIT should be backed up to the internal storage of the device. Save it on your computer.

Congrats! You can successfully extract the PIT file from your Samsung device. if you got a query or encounter any problem using the tutorial, please leave us a comment. Cheers!

 

Download PIT Files for Samsung Devices

I got a collection of PIT files for some Galaxy devices. If you have the same model, you can download from below. You can find out your device model in Settings> About.

SGS4-Wind

ATT_S4_SGH-I337_16GB

Sprint Galaxy S4 SPH-L720_16GB.pit

SCH-I545-pit

I9500_pit_32GB

I9505_pit_32GB

Sprint_S4_jfltespr_16GB

SM-N900_ha3g_32GB

SM-N9005_HLTE_16GB.pit

SM-N9005_32GB

SM-N900A_ATT_32G.pit

SM-N900P 32 GB PIT File

SM-N900V_USA_VZW_32G.pit  |  Mirror

Note4_SM-N910F_32GB.pit

Note4_SM-N910T_T-Mobile_32GB.pit

SM-N910V_USA_VZW.pit

SM-G901F_pit_G901FVFG1ANI1_VD2

SM-G900A_pit_16GB

SM-G900F_pit_16GB

SM-G900H_pit_16GB

SM-G900I_pit_16GB

SM-G900M_pit_16GB

SM-G900P_pit_16GB

SM-G900T_pit_16GB

SM-G900W8_pit_16GB

Galaxy Grand Prime SM-G530H

Galaxy Tab Pro SM-T-320

SM-T550 Tab A 9.7 16GB  |  Mirror

SM-G530H.pit

J500FN_EUR_OPEN.pit  |  Mirror

SM- J500M.pit

Galaxy-S3-Mini-GT-I8190.pit

SM-T535-GalaxyTab4.pit

Galaxy-Tab-Active-SM-T365.pit

SM-J710F.pit

Galaxy-S3-Mini-GT-I8190.pit

SM-G313HZ_OPEN.pit

SM-G800H_EUR_OPEN.pit

SM-C7000 CHC TGY pit

SM-G610F OJV pit.zip

SM-T231.pit

SM-T531.pit.zip

SM-A8000_OPEN.pit

SM-G950F DREAMLTE_EUR_OPEN.pit

Also see: Fix Invalid Ext4 Image Error in Odin While Installing Samsung Firmware

If you want to share the PIT file for any Galaxy device, please give us the link via comments!

Also see: How to Flash Samsung Firmwares Using Odin

Install Stock Firmware on Samsung Galaxy Devices Using Odin – Detailed Guide

132 COMMENTS

  1. Hello, can you please help me with the PIT file for the Samsung Galaxy Note 5 (N9200ZHU3DQL1 – Galaxy Note5 SM-N9200 TGY Hong Kong). the latest update was on 20 December 2017. Thankz in advance!

  2. Hey, I would really appreciate if anyone would provide me with a PIT file for Samsung Galaxy TAB 4 8GB (SM-T231). If you would share it I would be really grateful. : )

  3. Hello. I got “No such file or directory”. Why?
    Trying to extract form Sm-N9200 TGY 64GB.

  4. Thanks but I found out that I downloaded a currupted firmware, tried other version and Its fine now but Ill save this for later, More power

  5. Can you share PIT file for Samsung Galaxy C7 32 GB ( SM-C7000 Hong Kong 6.0.1 ( latest update 2017-06-30 ) C7000ZHU2AQF2 – C7000ZZH2AQF2 , 32 GB internal storage ) Please I already search the google all night till morning still no luck ,, please share it so I and the other who had same issue like me can get over it soon..

  6. is there no pit for SM-j510mn? why and i cant do the terminal thing because mi phone is brickied af

  7. Hi, can you kindly tell me where I can find the pit file for SM-A500F, please?

  8. Hi, please, please, on my knees, upload mega file to
    SM-J710MN please !!! please 🙁

  9. There are two variant for the Galaxy J5 (SM-J500M), one of them is the version with 8gb of internal storage and the other one has 16gb. I have the 16gb variant and I dont know if the PIT you provided will work with my phone, Im in a real hurry. Thanks

  10. I did the procedure, and got the .pit file for the GT-S6313T. But at the moment of flashing the device, it takes an eternity to exit DO NOT TURN OFF TARGET !!, while the device already shows SECURE: Signature verification failed; SECURE CHECK FAIL: ID 0x48. And after a few minutes, it finally shows Re-Partition operation failed.

  11. I just wondering.. which command line should I enter in order to grab a pit file from a healthy device?

  12. Hi I am trying to get the PIT file for a Samsung sm-T365, can you help as i cannot download from device. Thanks

  13. I am looking for pit of SM-T535 for days but it is impossible! my tablet doens’t boot anymore

  14. hey it says the file should be backed up onto my device storage but where? could you be more specific.

  15. Dear Rakesh, I will be grateful if I could be helped with a pit file for my boot-looping Samsung Galaxy Grand Duos I9082. It was made in Vietnam but I am residing in Ghana. Please, do help because I need it badly. Thanks for your time.

  16. i need pit for samsung galaxy note 8.0 its GT-N5110 or GT-N5100? Im not sure because inside my device it say N5100 but when my tab is in download mode it say N5110? So im not sure

  17. Nevermind, I pretty much sure i didn’t type the command wrong, but copying and pasting fro here workerd out. Thanks!

  18. Hello, when I try the command in adb I get this error:
    /dev/block/mmcb1k0: cannot open for read: No such file or directory.
    What can it be?

  19. hello,i need pit for galaxy A9000(2016)
    i bought from Hong kong and i changed rom from odin and it failed. it said the files were too big
    and ext’4 is vaild.
    i searched every where and i didn’t find.
    the phone got stuck on download mode.
    the mail is : [email protected]

  20. Man, tyvm, all perfect but i cant find the out.pit file on windows, i can list it throw the adb shell with ls, and it is there, it exist, but is not listed on the files in the atached device from windows. any help?

  21. Hello , I have a Galaxy Xcover GT- S5690L with brick , and possess the firware but have not need the pit file if someone can help me get it thank you very much

  22. Hie bro. Pliiz can i get pit file galaxy SM-J500F. It says fix invalid Ext4 image

  23. Rakesh Please help me…my samsung note 2 bought from soudi arabia is soft bricked now…it is in boot loop. I tried several times to flash with odin with different stock roms..bt failed always. Odin 1.3 version showed the below log, but in 3.1 it shows nand write fail. my email id [email protected]….please help me

    Enter CS for MD5..

    Check MD5.. Do not unplug the cable..

    Please wait..

    Checking MD5 finished Sucessfully..

    Leave CS..

    SetupConnection..

    Initialzation..

    Get PIT for mapping..

    Firmware update start..

    sboot.bin

    Complete(Write) operation failed.

    All threads completed. (succeed 0 / failed 1)

    Removed!!

    Added!!

  24. Hi, I get the “Secure check fail: PIT” messange again and again, I have an J500m, i extracted the PIT file from the phone using busybox and the terminal emuler, but it still wont work. If Anyone could help me?

  25. Hey, i Need the pit file for a Note 4 SM 910G Indian Version

    I’m using N910GDTU1COJ3_N910GXSA1COJ3_N910GDTU1COJ3

  26. hi dude… i just have another error on odin
    what should i do??? it says write operation filed

  27. Can you please post the pit file for note 4 SM910G?
    it would be very very very much appreciated. thanks 🙂

  28. sir how i can upgrade my galaxy s3 android 4.3 to lollipop otherwise Kitkat please send me solution please

  29. hello, i have samsung galaxy gt-i9082 , plz i wanna to have the pit file, would i have it?

  30. Hi, I have bought a Samsung Galaxy S6 Edge Plus 64GB SM-G9280 from China and I want to use a Hong Kong firmware made for SM-G9287 Samsung Galaxy S6 Edge Plus 64GB. Is there any chace to flash the SM-G9287 firmware on the SM-G9280 device ? I have the firmware file but I don’t have the PIT file, please help !!!

  31. hello i have a 16 gb N9005 samsung device does anyone have the PIT the one in this article doesnt work and i need to use my phone :'(

  32. hi friend, can you provide the gt-s5283b pit file? I just can’t find it. thanks in advance

  33. would love to give the pit for SM-G920X but there is no mmcblk0 file not found 🙁 So I can’t backup.

  34. PIT does not contain any of those info and has nothing to do with installed or uninstalled apps. It means Partition Information Table and it only contains configuration map for internal storage.

  35. I have a Galaxy Tab 3 10.1 (G5210). If I extract the PIT file to send to someone that needs it, will it contain any personal info? If I have rooted it and uninstalled some system apks, will the PIT file be incomplete?…thanks

  36. I did this back in December will look for link in xda tomorrow. Ordered a replacement phone. Have seen a few guys pull the pit post it on xda and people brick the phone. If I find the old screen shots I will post the links.

  37. I have and pulls fine. Fails in odin. Have tried with himedall and fail on use. Don’t know if note 4 or chip is to blame but if anyone gets this to work the whole note 4 community on xda would sure love to know.

  38. Not tested on the Note 4 but it should work. The location of the PIT files on most Galaxy devices is the same. It’s safe to try.

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