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

Discussion in 'Android Rooting' started by KingOfTheNet, Jan 12, 2017.

  1. KingOfTheNet

    KingOfTheNet Well-Known Member
    63

    Sep 26, 2016
    75
    40
    63
    Male
    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. 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, 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 incase 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) 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, 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 RED

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

    >Edited to add an extra something to the disclaimers, re-word some of the instructions better, and to add a download link to the ADB & Fastboot drivers on 1/22/2017<

    Cheers!
     

    Advertisement
    #1 KingOfTheNet, Jan 12, 2017
    Last edited: Jan 22, 2017
    Jfalls63 and Bg260 like this.
  2. Bg260

    Bg260 VIP Member
    VIP Member
    653

    Apr 30, 2016
    3,277
    3,177
    653
    Male
    Freelance Entrepreneur
    Lincoln
    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:)
     
    Jfalls63 and KingOfTheNet like this.
  3. KingOfTheNet

    KingOfTheNet Well-Known Member
    63

    Sep 26, 2016
    75
    40
    63
    Male
    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. :)
     
    Jfalls63 likes this.
  4. Ahmed Mabrouk25

    15

    Jan 21, 2017
    5
    0
    15
    Male
    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
     

Share This Page

Loading...