3

How to Extract PIT File From a Samsung Galaxy

Our recent post on Odin errors mentioned a particular error, ‘There is no PIT partition error‘. Users are having issues getting PIT files to flash with stock firmware using Odin. Progeeksblog guide will help you how to extract PIT files using the terminal emulator or ADB commands so that you don’t have any issues in the future.

I have also included PIT files already extracted for some of the popular Galaxy devices including Galaxy Note 4, Note 3, S5, and S4. I am planning to add more in the future to make it easier for you.

“Get PIT for mapping” is one of the common issues encountered while flashing stock firmware using Odin and here is what the log would like:

<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

PIT stands for Partition Information Table, which contains the map of storage allocations for all device system partitions and contains important data of your device such as storage, region, and carrier. You need to be very careful when downloading any PIT file from the web. Make sure that you check the device model and carrier etc.

How to Extract PIT File

Extract-PIT-file

You can use 2 methods to extract PIT, one is without using a PC with the Android Terminal Emulator app and the second method uses the Fastboot ADB commands to extract PIT from stock firmware that can later be flashed with Odin.

1. Android Terminal Emulator

Step 1: First of all you need to install the Terminal Emulator app from Play store.

Step 2: Also install the BusyBox app. Here is the link

Step 3: Now launch the emulator app, and grant root permission access.

Step 4: Enter the following command code:

su

Step 5: Then push the following command which will eventually extract the PIT file:

dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176

The .pit should be saved on your phone storage. I would recommend you save it in case you need it in the future. You can also upload it online with your specific phone model number so that others can use it.

2. Android ADB Commands

This method requires you to setup the adb and fastboot drivers on your PC. Before you proceed, make sure that you’ve enabled USB debugging from Settings > Developer options.

  • Run the command window. The keyword shortcut is Window key+R
  • Connect your device to the PC using the USB cable.
  • Type the following commands in the command prompt window and then hit the Enter key.
adb devices
adb shell
su
  • When SU is called, grant device root access and then push the following command line code:
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176

That’s it, guys! I hope by the end of the step-by-step guide you’ve successfully extracted the PIT file from your device. Do let us know in the comment section, how it went for you.

Here are some of the PIT files for Samsung devices:

Samsung Galaxy S4

  • Galaxy S4 Windows
  • AT&T Galaxy S4 SGH-I337 16GB
  • Sprint Galaxy S4 SPH-L720 16GB
  • Verizon Galaxy S4 SCH-I545
  • Galaxy S4 I9500 32GB
  • Galaxy S4 I9505 32GB
  • Sprint S4 jfltespr 16GB

Samsung Galaxy Note 3

  • Galaxy Note 3 SM-N900 ha3g 32GB
  • Galaxy Note 3 SM-N9005 HLTE 16GB
  • Galaxy Note 3 SM-N9005 32GB
  • Galaxy Note 3 AT&T SM-N900A 32GB
  • Galaxy Note 3 Sprint SM-N900P 32GB
  • Galaxy Note 3 Verizon SM-N900V 32GB

Samsung Galaxy Note 4

  • Galaxy Note 4 SM-N910F 32GB
  • Galaxy Note 4 T-Mobile SM-N910T 32GB

Samsung Galaxy S5

  • Galaxy S5 Plus G901F G901FVFG1ANI1 VD2
  • Galaxy S5 AT&T SM-G900A 16GB
  • Galaxy S5 SM-G900F 16GB
  • Galaxy S5 SM-G900H 16GB
  • Galaxy S5 SM-G900I 16GB
  • Galaxy S5 SM-G900M 16GB
  • Galaxy S5 Sprint SM-G900P 16GB
  • Galaxy S5 T-Mobile SM-G900T 16GB
  • Galaxy S5 SM-G900W8 16GB
  • Galaxy Grand Prime SM-G530H

Thanks for reading. Did you find it helpful? Do let us know and share your feedback, it will help us to improve the article.

Related Articles:

Share it with friends
Imran Aftab
 

Hello, I'm Imran Aftab, a tech enthusiast using Android, iOS, and Windows. Hardware expert for Gaming & Crypto mining rigs. I have been writing on tech since 2013, starting with ohguideme, then Androidcentral. I have written and published several guides and tutorials on how to root Android, flash custom ROM, recovery, and jailbreak iPhone, and have written several guides on how to bypass FRP. I also worked in a phone repair shop, so I have pretty good experience with mobile software and troubleshooting. So, all the guides you see here have been tested and confirmed to work.

Click Here to Leave a Comment Below 3 comments