• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[ROOT][TUTORIAL] How to extract your Samsung Galaxys Partition Information Table (PIT) file

KingOfTheNet

Well-Known Member
Sep 26, 2016
104
58
This tutorial was written for and tested on Samsung Galaxy devices, I wouldn't recommend trying this on any other device (Besides, i'm pretty sure Samsung is the only company to use a PIT file). I will not be held responsible for any damage done to your device. Both methods were tested and working on 10 Galaxy Devices, so don't hunt me down or kill my dog if you mess this up. Follow this tutorial at your own risk.

Disclaimer 2: If you flash a pit file to your device made for another device/model, you will brick your handset, no questions asked. Example, flashing the pit file made for a GT-P3113 to a SM-G850A will brick your device (that is, if Odin even allows you to do that). Just remember, along with the inherent dangers of flashing anything to your device, pit files can often create more problems than it can solve. I also do not recommend following this tutorial if your device currently has a damaged/broken partition. Your recovery (stock or custom) should indicate to you whether or not one of your device's partitions is broken/damaged. Follow this tutorial at your own risk.

PIT files can be very useful at times, especially if a partition in your device is damaged or broken, then they can really save your rear-end. If your device is rooted, there is a way to extract your devices pit file. To do that, there are a few things you will need.

1) Root Access (Obviously)
2) Terminal Emulator for Android installed
3) Busybox installed
4) A brain

Lets get started!
Also, flashing your device's pit file does wipe all of your data, so make a backup on an external sdcard/usb flash drive before testing.

Terminal Emulator Method.
1) Check to see if your device has root or not, if it doesn't, you will need to get that. If it does, make sure Terminal Emulator for Android and Busybox is installed on your device.
2) In the terminal, type in, without quotes, "su" and grant root access when requested.
3) Download the txt file at the end of this thread and type the code into the terminal. Then hit enter.
4) Once completed, navigate to your internal storage where the pit file was stored and copy the file to a flash drive via usb-otg or to an external sdcard to your pc (if your device doesn't support either of those, use "adb pull filenamehere.pit").
5) If you are going to test the file out (which I suggest you do), I recommend making a full nandroid backup, having a usb jig in-hand, or something for your device to boot off of just in case your phone somehow fails the test (which it likely won't).
6) Download your devices firmware if you haven't already and go through the steps to flash your device's firmware via Odin, make sure the .pit file you created is under the PIT slot/tab in Odin, boot your device into download mode and plug it into your pc and click start, and wait for Odin to give off a "PASS" message.
7) If the phone reboots without issues, then you've done everything right. If it doesn't reboot at all, do this.
-Plug in a usb jig to your device, it should boot into download mode after a second.
-If that fails, just walk into the store and play dumb.

Then again, it's not likely your phone will be bricked after the flash, unless you misread something in the instructions or clicked something in Odin too quickly and inserted the wrong file or inserted the file in the wrong place.

ADB (Android Debug Bridge) Method.
1) Check to see if your device has root or not, if it doesn't, you will need to get that. If it does, make sure Terminal Emulator for Android and Busybox is installed on your device.
2) Make sure your device has usb debugging enabled, then plug it in to your pc. If requested, allow your computers fingerprint on your device.
3) Make sure you have the adb and fastboot drivers installed on your computer, if you don't you can download them at the end of this thread. Then navigate to them and open a command prompt from that directory. (Go to the adb folder then press Shift+Backclick then select 'Open command window here')
4) Download the txt file at the end of this thread.
5) In the window type in the following commands in order. Commands to type in are in BOLD BLUE

adb devices
adb shell
su


Allow Adb shell root access once prompted on your device.
6) Copy and paste the code from the .txt file you downloaded into the command window, then hit enter and wait.
7) Once completed, navigate to your internal storage where the pit file was stored and copy the file to a flash drive via usb-otg or to an external sdcard to your pc (if your device doesn't support either of those, use "adb pull filenamehere.pit")..
8) If you are going to test the file out (which I suggest you do), I recommend making a full nandroid backup, having a usb jig in-hand, or something for your device to boot off of just incase your phone somehow fails the test (which it likely won't).
9) Download your devices firmware if you haven't already and go through the steps to flash your device's firmware via Odin, make sure the .pit file you created is under the PIT slot/tab in Odin, boot your device into download mode and plug it into your pc and click start, and wait for Odin to give off a "PASS" message.
10) If the phone reboots without issues, then you've done everything right. If it doesn't reboot at all, do this.
-Plug in a usb jig to your device, it should boot into download mode after a second.
-If that fails, just walk into the store and play dumb.

Then again, it's not likely your phone will be bricked after the flash, unless you misread something in the instructions or clicked something in Odin too quickly and inserted the wrong file or inserted the file in the wrong place.

If this helped you out be sure to like this thread and please let me know if you were confused in any way or if this tutorial didn't work for you for some reason, or if the download link goes down.

Extract PIT File code: https://mega.nz/#!j8QSmYJK!2-cJQuceRmdha49CsNHZVsuyWLczD2rTClfC7-2q-UQ
ADB & Fastboot Drivers: https://mega.nz/#!HgwBnBJK!wP6tSMvsb2V0hnsdsz2LzBsrk9QkJ-S21xFZs51nF6k

Cheers!
 
Last edited:
  • Like
Reactions: Jfalls63 and Bg260
Good work. I'm pretty sure Samsung is the only manufacturer that uses a Partition Information Table. So yeah, this won't work on an HTC:)
Ya never know, some other phone company could use the idea of a pit file someday... As of right now however, Samsung is indeed the only company (to my knowledge) to use a pit file in their handsets. :)
 
  • Like
Reactions: Jfalls63
Upvote 0
This tutorial was written for Samsung Galaxy devices and was tested on Samsung Galaxy devices, I wouldn't recommend trying this on any other device. I am not responsible for any damage done to your device. Both methods were tested and worked on 10 Galaxy Devices, so don't kill my dog if you mess this up.

PIT files can be very useful at times, especially if a partition in your device is damaged, then PIT files can really save your rear-end. If your device is rooted, there is a way to extract your devices pit file. To do that, there are a few things you will need.

1) Root Access (Obviously)
2) Terminal Emulator for Android installed
3) Busybox installed
4) A brain

Lets get started!

Terminal Emulator Method.
1) Check to see if your device has root or not, if it doesn't, you will need to get that. If it does, make sure Terminal Emulator for Android and Busybox is installed on your device.
2) In the terminal, type in, without quotes, "su" and grant root access when requested.
3) Download the txt file at the end of this thread and type the code into the terminal. Then hit enter.
4) Once completed, navigate to your internal storage where the pit file was stored and copy the file to a flash drive via usb-otg or to an external sdcard to your pc.
5) Make a full nandroid backup before testing.
6) Go through the steps to flash your device's firmware via Odin and wait...
7) Enjoy!

ADB (Android Debug Bridge) Method.
1) Check to see if your device has root or not, if it doesn't, you will need to get that. If it does, make sure Terminal Emulator for Android and Busybox is installed on your device.
2) Make sure your device has usb debugging enabled, then plug it in to your pc. If requested, allow your computers fingerprint on your device.
3) Make sure you have the adb and fastboot drivers installed on your computer. Then navigate to them and open a command prompt from that directory. (Go to the adb folder then press Shift+Backclick then select 'Open command window here')
4) Download the txt file at the end of this thread.
5) In the window type in the following commands in order. Commands to type in are in BOLD

adb devices
adb shell
su

Allow Adb shell root access once prompted on your device.
6) Type the code from the .txt file into the command window, then hit enter and wait.
7) Once completed, navigate to your internal storage where the pit file was stored and copy the file to a flash drive via usb-otg or to an external sdcard to your pc.
8) Make a full nandroid backup before testing.
9) Download your devices firmware if you haven't already and go through the steps to flash your device's firmware via Odin and wait...
10) Enjoy!

If this helped you out be sure to like this thread and please let me know if you were confused in any way or if the download link goes down.

Extract PIT File code: https://mega.nz/#!j8QSmYJK!2-cJQuceRmdha49CsNHZVsuyWLczD2rTClfC7-2q-UQ
Hello and thanks for all that information
Actually I have a problem with my device Samsung Galaxy Note || N7100
my device is dead and I can't open it at all on any mode .. it even don't accept charging because it needs the scatter file to be able to install a new rom again
is there any way to have such file from anyone who has a working phone with the same device properties?
all I need is that file and I didn't found it anywhere when I google it. can any one help here please ?
Thanks in advance
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones