Extract PIT file

Manually flashing a firmware on any Samsung Galaxy device is easy, it hardly takes 5 minutes, provided you have the appropriate files. However, in some cases, the installation process gets interrupted by an error that just says Get PIT for mappingThis error usually occurs when the PIT file is missing or is corrupted, a PIT file is a basic in Samsung firmwares, it is responsible for keeping details about where the storage is allocated in the phone.

Do keep in mind that PIT files are almost always storage sensitive, this means that if you have a 32 gigs variant of Galaxy S6, you are bound to flash the PIT file of the same storage. Otherwise, things might break. Although you can use Google search in order to find the appropriate PIT file for your device but if you fail in that, you can always use a method that is used by the experts to pull out the PIT file straight from your device. The latter basically eliminates any chance of having the wrong PIT file.

Note: The method only works for rooted Samsung devices. In case you are not rooted, you can do so by using CF-AutoRoot.

Extract PIT File From Galaxy Devices

  1. Install Terminal Emulator and BusyBox from Play Store.
  2. Now launch the BusyBox app and Install it from within the app.
  3. Open Terminal Emulator and grant root access.
  4. Type in the following command and press enter.


  5. Once done, type in the following command.

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

That is it, the PIT file will be extracted and put in your phone’s storage. You can now flash the firmwares without having to face the error. But do keep in mind that you need to attach the PIT file in Odin as well as check the re-partition box.


Please enter your comment!
Please enter your name here