Hi, I'm pretty comfortable using odin at this point, but I haven't been able to find a clear explanation of what the pit file does and when I should use it. Can someone help clarify that for me?
Thanks!
Sent from my SCH-I500 using XDA Premium App
The pit file specifies the partitions and their sizes that android is to use when reformatting. It's used when you go between ROMS with different file systems (rfs, ext4).
the meaning of PIT
i agree. PIT = Partition Information Table
You only use it when Ossining a complete stock package and need to repartition. such as when you bootloop, check the repartition, add the pit, and the full recovery image
Sent from my SCH-I500 using xda premium
Shameless thread plug: My glossary defines 'pit file' and a lot of the other rooting terms that everyone has to learn.
http://forum.xda-developers.com/showthread.php?t=1513143
Just ctrl+f the word 'pit' - between that and a careful reading of Droidstyle's guide, you should be good to go.
Related
In the How To flash your GS2.
I saw not to tick re-partition.
What is the purpose of re-partition and when and how using it ?
.PIT refers to the partition information table you only need it if you screw up your partition table or if the firmware specifically requires it because of a change in the partition table layout. It's very likely you may never have to use this.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1075278
Thanks a lot
Hi all,
I am just wondering if anyone has information on what repartition does in the ODIN interface. When do we use it?
I am a complete newbie and any guidance is much appreciated.
Thank you
ardabelati said:
Hi all,
I am just wondering if anyone has information on what repartition does in the ODIN interface. When do we use it?
I am a complete newbie and any guidance is much appreciated.
Thank you
Click to expand...
Click to collapse
what i know about it is that dont ever use it while flashing mate every tutorial is advising to dont use it in order to keep your phone alive
ardabelati said:
Hi all,
I am just wondering if anyone has information on what repartition does in the ODIN interface. When do we use it?
I am a complete newbie and any guidance is much appreciated.
Thank you
Click to expand...
Click to collapse
It repartitions.
Repartition does exactly what it means, it repartitions.
Your ROM is xx amount of size big, it is continuous, you partition it to seperate it.
Here's a random example.
16GB = 1GB BOOT, 1GB CACHE, 2GB SYSTEM ROM, 2GB USERDATA, 10GB STORAGE.
Now instead of 1 whole chunk of 16GB, you have 5 partitions which adds up to 16gb.
Im using repartition and Pit file on every reflash so far and having no problems.
Its only going to allot the partition sizes as mentioned in the pit file and nothing more.
bala_gamer said:
Im using repartition and Pit file on every reflash so far and having no problems.
Its only going to allot the partition sizes as mentioned in the pit file and nothing more.
Click to expand...
Click to collapse
The problem is not the repartitioning, the problem is the pit file, some people don't have the correct pit file.
The other problem is bootloader and where it is placed. Just imagine if the bootloader is placed in a partition, and your pit file is not for the SGS2, and does not create a partition for the bootloader. No bootloader, no boot, no download mode. That would be a pretty fun situation.
I want to create a Odin or zip of the recovery that is on my phone. Right now I have two Fascinates, Froyo on one and GB on the other.
Is there any How-To or anything as far as that gos that can explain the process of pulling the recovery and creating the update file. I have searched the forum and the net but have not found anything.
Thanks
Here's what I think your looking for??
http://forum.xda-developers.com/showthread.php?t=1150016
Sent from my SCH-I500 using XDA App
efan450 said:
Here's what I think your looking for??
http://forum.xda-developers.com/showthread.php?t=1150016
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
I've tried using this method on both stock froyo, and gb... neither worked. I ripped all the info, including the personal stuff. The regular system files were the normal sizes.. the movinand.bin was 4GBs.
I tool all the files and made one single tar file, then did the md5sum, etc... using cygwin, filesize was approx 4.4GB. When I tried to flash it back with odin it fails at the beginning.
I've been thinking too... would it be possible to tar/md5 each of the files individually? Then using each of the odin slots accordingly.
What about flashing a complete stock odin img first.. then flash my apps/data/info seperate.. with odin.
Maniac
Hi!
I know that I'm asking about forbidden subjects but I have no intention of doing something stupid just want to understand some things about S2.
That's what I think I understand:
- PIT is a file that contains partition layout on our device, that partitions are later flashed with files from rom package (files are partition images in fact)
- Normally we do not need to re-partition because there is only one partition description available on S2 - so all ROM share it (also it's not recommented coz if sth goes wrong we have big problem - device without partitions)
- EFS is one of the partitions and it shouldn't be touched (contains IMEI etc)
Here is my question:
Some people flash ROM with PIT and repartition and still have working device - how is it possible ?? - re-partition should wipe everything including EFS.
EDIT:
One more thing - when exploring XXKP8 rom package from sammobile.com noticed that there is PIT file and some file named
I9100_EFS_I9100XXKP8_CL42141_REV02_user_low_ship.tar.md5
that contains efs.img file I wonder what is this file for. Some generic EFS image ??
Regards
Slig
The pit is used for partition mapping, basically telling the program which block device is which partition. You dont need to use the pit as Odin can pull it from the phone, this also prevents people from using i9000 pits (sgs1, and yes this has happened)
Efs has both generic files and device specific files, I think.
Sent from my GT-I9100 using Tapatalk
Thanks for response !
veyka said:
this also prevents people from using i9000 pits (sgs1, and yes this has happened)
Click to expand...
Click to collapse
Yeah I read about that epic failure. That is why I'm asking - want to know everything before doing anything.
Regards
Slig
slig said:
Hi!
Here is my question:
Some people flash ROM with PIT and repartition and still have working device - how is it possible ?? - re-partition should wipe everything including EFS.
The recommendation is not to flash PIT file or repartition unless you know what you are doing .
PIT does not wipe EFS .
Their is a PIT file description post on the forum .
jje
jje
Click to expand...
Click to collapse
Hi ! Thank You for Your response.
JJEgan said:
The recommendation is not to flash PIT file or repartition unless you know what you are doing .
Click to expand...
Click to collapse
Yes, I'm fully aware of that. I'm just the kind of person that like to know why so I decided to investigate this subject deeper. Another thing is that I'll probably try to use heimdall and that program requires better understanding than "use PDA field in Odin".
You can just flash a .pit file and check repartition. You just have to make sure your flash won't fail. If you have faulty drivers or a damaged usb cable, then it will brick your phone.
If you want to try it, make a flash without .pit and repartition and if it works you can use them. Its just something unexperienced users should not use.
Unless something changes, we don't need to repartition, (one case might be if android plus tw is bigger than 500 ish megs Samsung would need to make the system partition bigger) so we just don't need to use it, and making the risks sound worse it keeps newbies away.
Sent from my GT-I9100 using Tapatalk
I've found Odia's thread GT-9100 PIT v Flash analysis
http://forum.xda-developers.com/showthread.php?t=1104139
Very interesting informations that answers many of my questions.
Does anyone have the Partition Info file (.PIT) that can be used in Odin to repartition our phones if needed?
It will be very good if someone can provide one
But that I have seen posted anywhere yet.
Sent from my SGH-T869 using XDA Premium 4 mobile app
I have tried to create one with Heimdall on my Mac but I get an error that it does not get the proper end of file or the .PIT and it will not create anything but a 0 byte file.
philow said:
Does anyone have the Partition Info file (.PIT) that can be used in Odin to repartition our phones if needed?
Click to expand...
Click to collapse
Can someone that is rooted follow the directions in the second post of this thread? http://forum.xda-developers.com/showthread.php?t=2737448
Just FYI of anyone searching for a TMB S5 PIT file, it can be found in the thread that philow cited. Note that this is for a standard, 16 GB phone. If you have a 32 GB phone that means two things: I am envious and you will need a different PIT.
SM-G900T /S5 TMB 16 GB PIT
.