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