How to edit PIT file to repartition device - Android Q&A, Help & Troubleshooting

Hi,
I own a SM-T365 tablet with Android 5.1.1 Lollipop. I want to repartition my tablet so the size of the data partition will be smaller.. it has 11.9GB and i would like it to be around 3GB and all the remaining free space will be unmounted for now.
I searched for a solution and found that I need to edit the PIT file and then flash it using Odin.
I downloaded the original PIT file and tried to flash it and it flashed successfully, then i tried to edit the PIT file using PIT Magic v1.3.10 but any change I am doing results in fail to flash the file..
When i try to flash the new PIT file using Odin it fails with the message in download mode: "SECURE CHECK FAIL: PIT".
Can anyone point to me what am I doing wrong?
Is there any other software to edit the PIT file?

bump

wat do you mean up

Related

[Q] Atlas pit file is a txt?

I went through the forum here for reverting back to stock or any other rom from CM7. I would like to post in that thread but don't have enough posts yet but my question is when I download the provided pit file it is a txt file. Do I just change the extension from .txt to .pit and flash that in ODIN with the TAR file included in the Linked post?
EDIT : after digging some more finally found a working link that is already in .pit format from PhoenixPath
http://forum.xda-developers.com/showthread.php?t=1116424&page=11

[Q] Flashing Stock Rom with Heimdall 1.3.2 on a Macbook 10.6.8

I'm trying to change the stock firmware on my unlocked unrooted international S3: I9300 to an official Samsung ROM downloaded from sammobile. The file I downloaded is called I9300XXDLJ4_I9300OXADLJ4_BTU. It's the UK unbranded firmware. The current firmware is on the phone is:
AP: I9300XXBLH3
CP: I9300XXLH1
CSC: I9300OPSBLH3
I have unzipped the file downloaded from Sammobile, which then gave me a tar.md5 file. So I change the file to just .tar, then unzipped that file. Inside that file I have:
boot.img
cache.img
hidden.img
modem.img
recovery.img
system.img
I then tried to use this tutorial on youtube called: How to Use Heimdall on Mac OSX to Install Kernels and ROMs!
When I open Heimdall on my MacBook, I plug my phone in (in download mode) and go to utilities, detect device, which it does. Then I save the PIT file on my desktop. I then go to the flash tab and browse for the PIT file, load that. Then when I go to add the files I don't have any files listed above called zimage or factoryfs etc, but also the Heimdell options doesn't have anything called kernal or the other ones anyway. My options in the partition name drop down box are:
Bootloader
Userdata
OTA
Hidden
System
Cache
Radio
Recovery
Boot
Param
EFS
BOTA1
BOTA0
MD5HDR
TZSW
The video says to match the files, but mine seems to have different names for things.
I have searched and read many forum posts on here and other sites. Can anyone tell me what I am doing wrong with either the unzipping or with Heimdall?
Thanks
Samsung hate apple....thats probably your problem
Sent from my GT-I9300 using xda premium
Thanks, but I only have access to a Mac. I did try my work computer, but it won't let me install any programs like Odin and drivers without Admin privileges.

[Q] Need PIT file for G925F 32GB

As the title says i need the PIT file for a S6 edge G925F with 32GB. Maybe someone can pull it from his device.
m3dd0g said:
As the title says i need the PIT file for a S6 edge G925F with 32GB. Maybe someone can pull it from his device.
Click to expand...
Click to collapse
Did you find one if so can you link need it for jodin
Thanks mate
jaythenut said:
Did you find one if so can you link need it for jodin
Thanks mate
Click to expand...
Click to collapse
No sorry im still searching.
Sent from my SM-G925F using XDA Free mobile app
m3dd0g said:
No sorry im still searching.
Sent from my SM-G925F using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks mate
W?
Can somebody upload this file pls? Big community but nobody is willing to upload a single file?
Just delete the hidden ImG..from the firmware and you are done...
Alex-V said:
Just delete the hidden ImG..from the firmware and you are done...
Click to expand...
Click to collapse
Are you sure? I want it to debrand.
How is it possible to delete the hidden.img from the firmware?
chik0 said:
Are you sure? I want it to debrand.
How is it possible to delete the hidden.img from the firmware?
Click to expand...
Click to collapse
Yes.. Delete the .md5 from the firmware file..now extract it using winrar...now delete the hidden.img now use this toolkit http://forum.xda-developers.com/showthread.php?t=3101195
To make your own firmware and flash it with Odin..
Chik0 please give Feedback if you Can Flash without FAIL.
I tried already with deleting the hidden.img . I deleted the hidden.img with PowerArchiver from the .tar file. It didn't work.
€dit: It worked.
What I did:
1.) Downloaded an unbranded Firmware from sammobile.
2.) Installed PowerArchiver and opened the .tar file with it (removed .md5 before) and deleted the hidden.img
3.) Used this toolkit to flash with odin: http://www.skipsoft.net/?wpdmpro=unified-android-toolkit-v1-4-0
3.1.) Just follow the instructions from the toolkit.
4.) Done
chik0 said:
I tried already with deleting the hidden.img . I deleted the hidden.img with PowerArchiver from the .tar file. It didn't work.
€dit: It worked.
What I did:
1.) Downloaded an unbranded Firmware from sammobile.
2.) Installed PowerArchiver and opened the .tar file with it (removed .md5 before) and deleted the hidden.img
3.) Used this toolkit to flash with odin: http://www.skipsoft.net/?wpdmpro=unified-android-toolkit-v1-4-0
3.1.) Just follow the instructions from the toolkit.
4.) Done
Click to expand...
Click to collapse
But I still have a 4 GB /hidden partition on my device. I want to reduce /hidden and enlarge /data => therefor a pit file is needed, not only to delete hidden.img from the tar file ...
mielletseed said:
But I still have a 4 GB /hidden partition on my device. I want to reduce /hidden and enlarge /data => therefor a pit file is needed, not only to delete hidden.img from the tar file ...
Click to expand...
Click to collapse
i dont think it will be as easy as it sounds...in the past you needed to be s-off + have a different patition layout to flash
are there such differences in hidden partition ..i mean that it could only 2gb or so..? and rest to data
Alex-V said:
i dont think it will be as easy as it sounds...in the past you needed to be s-off + have a different patition layout to flash
are there such differences in hidden partition ..i mean that it could only 2gb or so..? and rest to data
Click to expand...
Click to collapse
What do you mean with "to be s-off"? The "different partition layout to flash" is the pit file the OP is looking for
Yes there are differences. I found an article about the new S6 devices and there were screen shots with less data used by the system. There was more data "free" than the whole actual size of my /data partition.
So I inspected my partition layout and found that the biggest partitions of my device are /data (~20 GB) /system (~4 GB) and /hidden (~4 GB).
So I'm looking for a different pit file to minimize /hidden and maximize /data
mielletseed said:
What do you mean with "to be s-off"? The "different partition layout to flash" is the pit file the OP is looking for
Yes there are differences. I found an article about the new S6 devices and there were screen shots with less data used by the system. There was more data "free" than the whole actual size of my /data partition.
So I inspected my partition layout and found that the biggest partitions of my device are /data (~20 GB) /system (~4 GB) and /hidden (~4 GB).
So I'm looking for a different pit file to minimize /hidden and maximize /data
Click to expand...
Click to collapse
ah sorry for misunderstanding..if I say in the past...I mean HTC times..I forget to say that sometimes..and on HTC phones you must have security off..while the phones come with and boatloader looked..boatloader can be official unlocked for root and such things but to flash different and selfmade partitions you must have S-off..
anyway so you needs an pit.. I saw the best way is if you are rooted and you needs it for the 32GB model..so I can't help..mine is 128GB..
that's the thing I don't know..is there any possibility to change the sizes of the partitions from the extracted pit from the phone...
and if there is such a thing
(if you don't) root it..so you can extract the pit from the phone...
Alex-V said:
ah sorry for misunderstanding..if I say in the past...I mean HTC times..I forget to say that sometimes..and on HTC phones you must have security off..while the phones come with and boatloader looked..boatloader can be official unlocked for root and such things but to flash different and selfmade partitions you must have S-off..
anyway so you needs an pit.. I saw the best way is if you are rooted and you needs it for the 32GB model..so I can't help..mine is 128GB..
that's the thing I don't know..is there any possibility to change the sizes of the partitions from the extracted pit from the phone...
and if there is such a thing
(if you don't) root it..so you can extract the pit from the phone...
Click to expand...
Click to collapse
Dears
I have same problem in my S6 edge (Model G925F), I used CF-Auto-Root-zerolte-zeroltexx-smg925f.tar.md5 to root my device then my device hang with error
Recovery Is not Seandroid Enforcing
I download TWRP recovery and wipe everything and make return to factory settings but no luck same error appear
I download XSG-G925FXXU1AOD4-20150409145130.zip stock ROM but it gave me error NAND write error
I did what mentioned in this thread to delete hidden.img and use SkipSoft ToolKit to generate the ROM without hidden.img
now it pass NAND write error but give me failed after cm.img.
Please advice
tabulnaga said:
Dears
I have same problem in my S6 edge (Model G925F), I used CF-Auto-Root-zerolte-zeroltexx-smg925f.tar.md5 to root my device then my device hang with error
Recovery Is not Seandroid Enforcing
I download TWRP recovery and wipe everything and make return to factory settings but no luck same error appear
I download XSG-G925FXXU1AOD4-20150409145130.zip stock ROM but it gave me error NAND write error
I did what mentioned in this thread to delete hidden.img and use SkipSoft ToolKit to generate the ROM without hidden.img
now it pass NAND write error but give me failed after cm.img.
Please advice
Click to expand...
Click to collapse
i am also stuck at the same stage and process as you
did u find out how to fix it?
Find all the PIT files you need here http://forum.xda-developers.com/showthread.php?t=3171636
Enjoy!
just use smart switch to flash official rom

PIT File for XXU Firmware for G925F

Hi to all.
I would like to ask a few questions, that i haven't been able to find the answer to,
even after extensive search.
I have a G925F with the G925FXXS5EQI7 Firmware.
As I have seen at sammobile.com, the newest and more common Firmware updates come with XXU Firmwares.
https://www.sammobile.com/firmwares/galaxy-s6-edge/SM-G925F/
The attempts to install a XXU Firmware over the XXS have failed,
with the error in Odin which I assume is because of the wrong hidden partition size and/or PIT file.
The /proc/partitions file in the XXS firmware has this in the partition table:
259 1 204800 sda17
so I assume it's the 200M partition size, correct?
I have seen this pages regarding the PIT files.
https://forum.xda-developers.com/ga...g925-pit-files-multi-thread-download-t3171636
https://www.sammobile.com/forum/showthread.php?t=30136
The first one here at XDA has nothing but dead links,
while the second has every PIT file from the first one except the HIDDEN300M pit,
and a additional HIDDEN250M pit file not present in the first link.
So the questions I would like to ask are:
1. Could you please inform me on what is the correct PIT File to download,
in order to install the XXU Firmware? Any download link if possible?
2. I have read somewhere here in the forums that if I install the largest (so the HIDDEN250M, or 300M)
PIT file will allow me to install any firmware, but will eat away some MBs of storage, is that correct?
3. Should I install the PIT file alone, in the PIT options without any firmware, or along with a firmware?
4. Is data/cache wipe necessary, or could I just update from the XXS firmware without data loss?
5. With the correct (largest?) PIT file I will be able to install either XXU or XXS firmware, right?
I would really appreciate your input on this.
Thank you in advance.
McClane13 said:
Hi to all.
I would like to ask a few questions, that i haven't been able to find the answer to,
even after extensive search.
I have a G925F with the G925FXXS5EQI7 Firmware.
As I have seen at sammobile.com, the newest and more common Firmware updates come with XXU Firmwares.
https://www.sammobile.com/firmwares/galaxy-s6-edge/SM-G925F/
The attempts to install a XXU Firmware over the XXS have failed,
with the error in Odin which I assume is because of the wrong hidden partition size and/or PIT file.
The /proc/partitions file in the XXS firmware has this in the partition table:
259 1 204800 sda17
so I assume it's the 200M partition size, correct?
I have seen this pages regarding the PIT files.
https://forum.xda-developers.com/ga...g925-pit-files-multi-thread-download-t3171636
https://www.sammobile.com/forum/showthread.php?t=30136
The first one here at XDA has nothing but dead links,
while the second has every PIT file from the first one except the HIDDEN300M pit,
and a additional HIDDEN250M pit file not present in the first link.
So the questions I would like to ask are:
1. Could you please inform me on what is the correct PIT File to download,
in order to install the XXU Firmware? Any download link if possible?
2. I have read somewhere here in the forums that if I install the largest (so the HIDDEN250M, or 300M)
PIT file will allow me to install any firmware, but will eat away some MBs of storage, is that correct?
3. Should I install the PIT file alone, in the PIT options without any firmware, or along with a firmware?
4. Is data/cache wipe necessary, or could I just update from the XXS firmware without data loss?
5. With the correct (largest?) PIT file I will be able to install either XXU or XXS firmware, right?
I would really appreciate your input on this.
Thank you in advance.
Click to expand...
Click to collapse
Any thoughts...???
Thanks in advance.
BUMP
Caligula36 said:
BUMP
Click to expand...
Click to collapse
Google. There are loads of links. Which pit you need?
It's quite easy.
Use samfirm tool in manual mode (enter which FW you want to have) and tick binary nature. It'll download the latest multi part factory image which contains the right pit file in the CSC part.
If odin detects it there it uses it.

SM-T30 Pit file

For those of u who need help getting the pit file for SM-T350 to use Jodin or something of that nature.
link: https://mega.nz/#!XYkBXCQK!cVlXYSDfoJZ9kMRonnPFlFtxyetNEv1mmX2Vr2v6mks

Categories

Resources