[Q] When using Re-partiton with ODIN3 - Galaxy S II Q&A, Help & Troubleshooting

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

Related

Odin question: what is pit?

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.

OGIN - repartition

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.

[Q] PIT Repartition vs EFS (nothing bricked just asking)

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.

[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

Partition table broken, How to re-partition

I tried to increase my system partition and I ended up breaking the partition table, now nothing works, I saw that through odin I can send a PIT file to fix this, but I can not find this file for the specific tablet. Does anyone own or can you explain to me how I can correct this in a different way? thank you
Dowmload a 4 Part Stockrom and than you all Images and a Pit file
bierma32 said:
Dowmload a 4 Part Stockrom and than you all Images and a Pit file
Click to expand...
Click to collapse
where can I find these files for p4wifi? I did not find them at all
MrLucasmr said:
where can I find these files for p4wifi? I did not find them at all
Click to expand...
Click to collapse
Take an look here for Pit https://www.google.com/url?q=http:/...3Da4QFggLMAA&usg=AOvVaw2EsuSAyILQCFZZN1urYt9I
Here an Guide to to update https://www.google.com/url?q=http:/...3Da4QFggcMAQ&usg=AOvVaw0f6MSqYZAl-ddlAslIZpYB

Categories

Resources