Here's my PIT file from freshly rooted phone using downgrade to KK with ANE2/towelroot and upgrade to LP with BOJ1/flashfire...
Extract / Post your pit file
Pit file is needed to be flashed when the partition table of your device is corrupted due to some reason such as a wrong flash of your variant.
When partition table is corrupted or missed from your device, odin will tell you when flashing firmware that there is "no pit partition" or "Re-Partition operation failed", in this case pit file must be flashed along with the stock firmware (or alone) with "re-partition" ticked in odin.
--DO NOT flash pit file if there is no need for it--
There is some ways to extract pit file from your device such as using "heimdall" or some tools.
Here i will show you how to extract the pit file manually with a simple way using terminal emulator or adb shell command.
your phone must have a proper root access, with busybox installed (preferred).
how to do it
With terminal emulator:Please attach the extracted pit file in a zip in this thread and mention your S5 variant name and storage (16/32GB) that other users can benefit from it
Download and install terminal emulator from play store.
Open it and type:
Grant permissionCode:su
See the pit file in your internal sdcard, move it to pcCode:dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
With adb shell:
You must have android sdk installed in your pc.
Enable "usb debugging" in "developer options", connect your phone to pc, open a cmd window (shift+right mouse click) and type:
Grant permissionCode:adb devices adb shell su
See your pit file in your internal sdcard and move it to pc.Code:dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
![]()
THX to
@linty
@xtechx
@fffft
@jeffreylin_
@tdunham
@ratatouille
@LoSt180
@babygau
@felstar
@born4trance
@demdix
@qwerty22
@/ofAllEvil
@Max One
@hawst
@androidrouen
Here i will show you how to backup & restore EFS and NV_data manually for some variants of Galaxy S5 without a third party app or tool.
Sure a third party app or tool will do the job, but it is good to learn something.....
Backuping efs partition is an essential step to keep it safe after rooting since a bad flashing/modding of your S5 may result in a corruption of that partition. so it is better to be safe than sorry, so any disturbance in the EFS data might result in null IMEI and baseband version.
This will backup data like device specific essential information such as the IMEI (International Mobile Station Equipment Identity), wireless device MAC address, baseband version, product code, system ID and NV data.
You must have a proper root access in addition to busybox installed (preferred)
you can dump these partitions also using adb shell command. but here i will show you how to backup using a terminal emulator.
![]()
How to do it
Backup EFS/NV_data for SM-G900F/T/P/A/I/M/W8 variants:
Download "terminal emulator" app from play store and install it.
Open the app and type:
Grant permissionCode:su
copy images from internal sdcard to a safe place such as pc.Code:dd if=/dev/block/mmcblk0p12 of=/mnt/sdcard/efs.img.ext4 dd if=/dev/block/mmcblk0p13 of=/mnt/sdcard/modemst1.bin dd if=/dev/block/mmcblk0p14 of=/mnt/sdcard/modemst2.bin
Note that the size of .img and .bin must be as follow: efs (14MB) modemst1/2 (3MB each)
Restore EFS/NV_data for SM-900F/T/P/A/I/M/W8 variants:
Make sure Backuped images are in your internal sdcard (not in any folder).
open terminal emulator and type (HERE DONT MAKE MISTAKES!) :
Code:su dd if=/mnt/sdcard/efs.img.ext4 of=/dev/block/mmcblk0p12 dd if=/mnt/sdcard/modemst1.bin of=/dev/block/mmcblk0p13 dd if=/mnt/sdcard/modemst2.bin of=/dev/block/mmcblk0p14Backup EFS/NV_data for SG-900H variant:
Download "terminal emulator" app from play store and install it.
Open the app and type:
Grant permissionCode:su
copy images from internal sdcard to a safe place such as pc.Code:dd if=/dev/block/mmcblk0p3 of=/mnt/sdcard/efs.img.ext4 dd if=/dev/block/mmcblk0p4 of=/mnt/sdcard/m9kefs1.bin dd if=/dev/block/mmcblk0p5 of=/mnt/sdcard/m9kefs2.bin dd if=/dev/block/mmcblk0p6 of=/mnt/sdcard/m9kefs3.bin
Note that sizes of .img and .bin must be as follow: efs (20MB) m9kefs1/2/3 (4MB each)
Restore EFS/NV_data for SG-G900H variant:
Make sure Backuped images are in your internal sdcard (not in any folder).
open terminal emulator and type (HERE DONT MAKE MISTAKES!):
Code:su dd if=/mnt/sdcard/efs.img.ext4 of=/dev/block/mmcblk0p3 dd if=/mnt/sdcard/m9kefs1.bin of=/dev/block/mmcblk0p4 dd if=/mnt/sdcard/m9kefs2.bin of=/dev/block/mmcblk0p5 dd if=/mnt/sdcard/m9kefs3.bin of=/dev/block/mmcblk0p6
---------- Hardware Information ----------
Connected Device SN.: ########
Device Manufacturer: SAMSUNG
Device Model: SM-G900F
Product Code: SM-G900FZWADBT
Hardware Version: MP 0.800
---------- Firmware Information ----------
PDA Version: G900FXXS1CQD4
Baseband Version: G900FXXU1CQA3
CSC Version: G900FDBT1CQA1
---------- Software Information ----------
Kernel Release: 3.4.0-9493471
Kernel Version: #1 SMP PREEMPT Wed Apr 5 00:11:08 KST 2017
ROM Build: kltexx-user 6.0.1 MMB29M G900FXXS1CQD4 release-keys
Android Version: 6.0.1
BusyBox Version: 1.23.2-Stericson
SU Binary Version: 2.82:SUPERSU
Hi!I am a newbie. And I urgently need a PIT-file which fits to my device and firmware. :crying:
Any help very welcome!!!
@embrosyn - can your PIT file be the solution for me?
Extract / Post your pit file
Pit file is needed to be flashed when the partition table of your device is corrupted due to some reason such as a wrong flash of your variant.
When partition table is corrupted or missed from your device, odin will tell you when flashing firmware that there is "no pit partition" or "Re-Partition operation failed", in this case pit file must be flashed along with the stock firmware (or alone) with "re-partition" ticked in odin.
--DO NOT flash pit file if there is no need for it--
There is some ways to extract pit file from your device such as using "heimdall" or some tools.
Here i will show you how to extract the pit file manually with a simple way using terminal emulator or adb shell command.
your phone must have a proper root access, with busybox installed (preferred).
how to do it
With terminal emulator:Please attach the extracted pit file in a zip in this thread and mention your S5 variant name and storage (16/32GB) that other users can benefit from it
Download and install terminal emulator from play store.
Open it and type:
Grant permissionCode:su
See the pit file in your internal sdcard, move it to pcCode:dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
With adb shell:
You must have android sdk installed in your pc.
Enable "usb debugging" in "developer options", connect your phone to pc, open a cmd window (shift+right mouse click) and type:
Grant permissionCode:adb devices adb shell su
See your pit file in your internal sdcard and move it to pc.Code:dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
![]()
THX to
@linty
@xtechx
@fffft
@jeffreylin_
@tdunham
@ratatouille
@LoSt180
@babygau
@felstar
@born4trance
@demdix
@qwerty22
@/ofAllEvil
@Max One
@hawst
@androidrouen
I uploaded pit for 32GB G900SNeed pit for SM-G900S Korea and instructions please!