How to Extract PIT File from Samsung Galaxy Devices

120

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
    Jack Palevich Tools Free
    Download
  2. Also, install the BusyBox app. Launch the app and then tap the Install option.
    BusyBox
    Download
  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!

Method 3: Using PIT Magic Tool

To know about this method, see this tutorial.

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   |  Mirror

ATT_S4_SGH-I337_16GB   |  Mirror

Sprint Galaxy S4 SPH-L720_16GB.pit   |  Mirror

SCH-I545-pit   |   Mirror

I9500_pit_32GB   |  Mirror

I9505_pit_32GB   |  Mirror

Sprint_S4_jfltespr_16GB   |  Mirror

SM-N900_ha3g_32GB   |  Mirror

SM-N9005_HLTE_16GB.pit   |  Mirror

SM-N9005_32GB   |  Mirror

SM-N900A_ATT_32G.pit   |  Mirror

SM-N900P 32 GB PIT File   |  Mirror

SM-N900V_USA_VZW_32G.pit  |  Mirror

Note4_SM-N910F_32GB.pit  |  Mirror

Note4_SM-N910T_T-Mobile_32GB.pit  |  Mirror

SM-N910V_USA_VZW.pit

G901F_pit_G901FVFG1ANI1_VD2   |  Mirror

SM-G900A_pit_16GB   |  Mirror

SM-G900F_pit_16GB   |  Mirror

SM-G900H_pit_16GB   |  Mirror

SM-G900I_pit_16GB   |  Mirror

SM-G900M_pit_16GB   |  Mirror

SM-G900P_pit_16GB   |  Mirror

SM-G900T_pit_16GB   |  Mirror

SM-G900W8_pit_16GB   |  Mirror

Galaxy Grand Prime SM-G530H

Galaxy Tab Pro SM-T-320

SM-T550 Tab A 9.7 16GB

SM-G530H.pit

J500FN_EUR_OPEN.pit  |  Mirror

SM- J500M.pit | Mirror

Galaxy-S3-Mini-GT-I8190.pit | Mirror

SM-T535-GalaxyTab4.pit | Mirror

Galaxy-Tab-Active-SM-T365.pit | Mirror

SM-J710F.pit

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

  • Leonardo Fidel

    i need a pit for sgh-i547

  • Alan Yearsley

    Need a pit file for Galaxy Tab S3 Tablet to load CSC, BTU can anyone help please?

  • Juuh Campos

    j105b

  • Shahab Khan

    sir i need gt p7500 pit file plz help

  • Cristian Mendoza

    i need too!!! the same pit

  • Lloyd Nicolaas

    ALL the files above seem to have been removed…

  • Lloyd Nicolaas

    need the same pit file…

  • Arun kk

    My phone is missing this pit file ..am very hard to recover that ,,,Please send the pit file samsung galaxy grand SM-G530H … to my Email : arunkk.calicut@gmail.com

  • Thiago Lemos

    please help me!
    Accurate (PIT)
    Model: samsung galxy GT-s7390

  • naimat atal

    hello can you sent me samsung A520 pit file

  • -ΚЦПムレ乇メ

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

  • Do you still need it?

  • Model number?

  • Amin Khan

    I need pit file for j7 prime 16 GB original .plz help me

  • Rodrigo Pereira

    Hy. I need Sm-g130bu pls.

  • Cristian Grosaru

    Hello, please Help! Can you please send me pit file from sm-t335. Thank you!

  • Yea

  • Gerson da Costa Peres

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

  • R R

    Hello, I need .pit file for SM-T813 (XAR) 64GB, thank you very much.

  • Pingback: Entendendo ROMs e hacking no Android – Publicadoon()

  • Karyita Aryasatya (Ary Phone)

    Please help me. I need PIT file for samsung J106B/DS.

  • Download this firmware:
    https://www.androidfilehost.com/?fid=24345424848488126

    You will find the PIT inside it.

  • Djapex Santos

    Hello can you please send me pit file from sm-g530fz. Thank you

  • Vijay Singh

    bhai file hai kya

  • kishor

    please quickly send my device pit file….my device name Samsung j2 sm-j200g

  • Erick

    Did you get the pit file for P905M? Thanks

  • slender junior xD

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

  • Yes, it will work.

  • Emmanuel losieku

    Hello
    Please need PIT for Samsung GT-S7560

  • Diego Matallana

    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

  • Mario Ostella

    Do you have PIT file for Smasung SM-G750H ? Thanks before

  • Celso

    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.

  • Erick Will

    Does it changes from a device to another device?

  • See step 5 and 6.

  • Erick Will

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

  • Erick Will

    Thank you very much for your efforts 🙂 You’re really helping here!

  • I’ll try.

  • Erick Will

    I need a PIT file for P905M.. Could, anyone please, upload it to me?

  • JafPaR Suut

    is there PIT for samsung galaxy tab 2 10.1 GT-P5100 here?

  • Mention the exact model number of your phone.

  • Lexzi Freeman Riley

    pls Mr. Rakesh i need PIT file for Samsung Galaxy S Plus (GT – I9001)

  • Ali Zafar

    samsung j2 pit file
    did any bdy have

  • Hi,

    Just added the PIT file for Samsung Galaxy Tab Active LTE.

  • Vijay Patel

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

  • Ahsan Ul Haq

    samsung G531y pit file nedeed………..

  • Adalberto Tejeda

    I need pit file for t280 . Tab A7 2016 pleaseee

  • Merchant Mike Munemo

    J110F PIT file pliiz

  • Adrian Gordon

    i need a pit for SM-J320P
    J320PVPU1APH2

  • Koçer

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

  • Joseph Armand Arroyo

    I need pit for sm-j700m one sim

  • Rafael Da Silva

    Someone can help me to find a PIT for SM-T560?

  • Delvis Mavarez

    I need pit for i8190

  • Shawn Paffhausen

    i need pit for 920V

  • Janai Lynch

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

  • Faizal Yusop

    i need pit files for SM-J110G. Please…

  • Dimitris Patse

    i need pit files for SM-G900F_16GB_EUR_Greece

  • PARKERsp

    I need Samsung S5367…

  • EXsmoove

    Rakesh i have a sm-n15s. I neet pit

  • Yaw Nkansah

    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.

  • Aubree

    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

  • Wilton Pedrosa

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

  • Wilton Pedrosa

    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?

  • محمد عثمان

    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 : star.line.002@gmail.com

  • Martin Ignacio Lopez

    Forget it, i Disconected the device and connected it again and i its there now.!

  • Martin Ignacio Lopez

    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?

  • George

    samsung galaxy tab pro T-320 8.4 16 GB please help me with pit file

  • Jakob Daniel

    Hello, can I get a GT-I9506(Galaxy S4 LTE+) S/N: RF1DB1GP0ND .PIT File

    Thanks In Advance

  • Dani

    Can you guys help with a pit for GT I9100(galaxy S2) sn:0019d24d75ed7e

  • Mauro Lucio

    sm-a5000/ds fcc id: a3lsma500m A5 16gb dual sim

  • Mention the full model number.

  • Mauro Lucio

    Plz , PIt for a500m/ds zto ?

  • Pingback: How to Flash Stock Firmware on Samsung Galaxy Devices - Technastic()

  • Jean Baptiste

    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

  • Merchant Mike Munemo

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

  • mat

    too bad it doesnt work for samsung sm-g920f

  • rmaik

    Hiii, i need a Pit file for an Samsung Core plus SM-G3502T contac richardmaik.xd@hotmail.com Thanksss!

  • Coco Greece

    pit file for SM-G355HM please

  • Usman Talib

    please can you tell me how i can get pit file for galaxy grand prime sm-G530h please

  • Sibi

    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 santohere2002@gmail.com….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!!

  • 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?

  • Samnang Major Cineplex

    Hi, you have PIT File for SM-N915s 32GB, please share link

  • Santiago Alfonso

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

    I’m using N910GDTU1COJ3_N910GXSA1COJ3_N910GDTU1COJ3

  • Samnang Major Cineplex

    Hello, i need a Pit file for an Samsung Note Edge SM-N915S – 32GB. Please contac me at samnang.creative@gmail.com Thank you 🙂

  • noel

    i have samsung galaxy gt-s7560m , plz i wanna to have the pit file
    please help me

  • Жандос Базархан

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

  • Abhinav Bahri

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

  • jatin

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

  • Kibae Jeon

    Hello, I need a Pit file for Galaxy SM-A8000 16GB. Please contact me at kibae.jeon@gmail.com. Thank you 🙂

  • Dribnu Ali

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

  • Dolores

    Thank you 🙂 Rakesh.

  • Pingback: Download PIT Files for Galaxy S6 Edge (All Models) | DroidViews()

  • John

    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 !!!

  • Dolores

    Hello, i need a Pit file for an Samsung S6 SM-G920I – 64GB. Please contac me at doloresnunez@hotmail.com Thank you 🙂

  • DIOS DEL DESTINO

    hi, I need the pit file for an samsung tab 4 sm-t230….please contact me at falomore@yahoo.com …..thanks

  • Pingback: Install Stock Firmware on Samsung Galaxy Devices Using Odin - Detailed Guide()

  • Alberto Rusea

    Hello, i need a .pit file for an Samsung S6 – 32GB, pls contact me at alb3rto2005@yahoo.com

  • Luj Yafi

    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 :'(

  • Diego Pereira dos Santos

    Good afternoon friends. Does anyone have the PIT file galaxy s6 edge G925i?

  • Walter Wendhausen Neto

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

  • Udhay Kadiyala

    Hi folks anyone have the .pit for Samsung Galaxy G900R4? Need this desperately.

  • Reaid

    samsung galaxy gt s5830i pit file

  • john

    Having the same proble here, did yo find a solution?

  • James Farwell

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

  • 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.

  • B Boyd

    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

  • RANDY R

    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.

  • Can you show the Odin screenshot?

  • RANDY R

    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.

  • 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.

  • RANDY R

    Has anyone had this work with note 4

  • Pingback: Fix Invalid Ext4 Image Error in Odin While Installing Firmware on Samsung Devices()