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.
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.
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.
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.
adb devices
adb shell
su
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.
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:
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.