When it comes to updating or flashing stock roms Samsung is the easiest one, you can easily find roms for Samsung devices and also its more easy to install them. When ever you need to fix Boot loop or unroot your Samsung device you need to flash stock rom. Some times we face issues like “Invalid Ext4 image” and “Get PIT for mapping” while flashing rom using Odin. If PIT file is missing you can not flash stock rom. You can find PIT file from Google but make sure you find the correct one, if by any means you cannot find then you need to follow the steps mentioned below to Extract PIT File from Samsung Devices.
We will use two method to Extract PIT File from Samsung Devices, but before going any further you need root access on your Samsung Galaxy device.
Contents
How to Extract PIT File from Samsung Devices:
Step#1: First download and install Terminal Emulator from Google Play.
Step#2: Download BusyBox app from Google Play and install it.
Step#3: Now launch Terminal Emulator and grant root access.
Step#4: Type in the following command.
su
Step#5: Now after the first command type the following command.
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
Step#6: Open file manager on your device and search for PIT file, save it on your PC.
Method#2:
Step#1: First you have to install and setup Android SDK on your computer.
Step#2: Now enable USB Debugging on your device.
Step#3: Launch command prompt on your Computer.
Step#4: Connect your device using USB cable with PC.
Step#5: Type the following commands in command prompt and press enter.
adb devices adb shell su
Step#6: When SU pop-up appears grant the permissions.
Step#7: Now type the following command.
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
Step#8: Your PIT file should be backed up on your devices, Save it on your PC.
All Done !!!