OGIN - repartition - Galaxy S II Q&A, Help & Troubleshooting

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.

Related

[Q] Odin Pit s1_odin_20100513.pit & s1_odin_20100512.pit

ok yeaaa i read this
27.What is the .pit file? Why are there different versions?
The .pit file contains information regarding the partitioning of the internal ROM (note, that this is NOT the internal SD card! They are different memory chips!) and it is used during the flashing procedure. There are currently two version of the .pit file, respectively ending on 512.pit and 513.pit. They differ in that they have different partition sizes stored for each of the partitions that is created on the ROM. As of now, all ROMs seem to be functioning without any problems when the 512.pit file is used, whereas ROMs from version XWJG5 on do not work when the 513.pit file is used.
Not that these describe the partition of the ROM, however, they only actually change the sizes of the partitions if the 'repartition' option is checked in Odin3 during flash. You can flash providing the 513.pit file while your device is formatted according to the 512.pit file, however, this can cause unforeseen complications and it is advised to either use the .pit file according to which your phone is partitioned or alternatively select the 'repartition' option during flash.
now, i have Odin from 2 diffrent places 1 from Akaskrilla's website then the one from XDA in a post here(got this one first) but they both have diffrent .pit files 1 being "s1_odin_20100512.pit(came with the odin i got from xda)" other being "s1_odin_20100513.pit(akaskrilla)", i dont wanna use the wrong .pit as far as i can tell that seems very important that you dont get this wrong so i had to ask so ask me what u need to ask so i can keep the rite one. thx for the help in advance cause i wanna flash some roms!!!!
RanT476 said:
ok yeaaa i read this
27.What is the .pit file? Why are there different versions?
The .pit file contains information regarding the partitioning of the internal ROM (note, that this is NOT the internal SD card! They are different memory chips!) and it is used during the flashing procedure. There are currently two version of the .pit file, respectively ending on 512.pit and 513.pit. They differ in that they have different partition sizes stored for each of the partitions that is created on the ROM. As of now, all ROMs seem to be functioning without any problems when the 512.pit file is used, whereas ROMs from version XWJG5 on do not work when the 513.pit file is used.
Not that these describe the partition of the ROM, however, they only actually change the sizes of the partitions if the 'repartition' option is checked in Odin3 during flash. You can flash providing the 513.pit file while your device is formatted according to the 512.pit file, however, this can cause unforeseen complications and it is advised to either use the .pit file according to which your phone is partitioned or alternatively select the 'repartition' option during flash.
now, i have Odin from 2 diffrent places 1 from Akaskrilla's website then the one from XDA in a post here(got this one first) but they both have diffrent .pit files 1 being "s1_odin_20100512.pit(came with the odin i got from xda)" other being "s1_odin_20100513.pit(akaskrilla)", i dont wanna use the wrong .pit as far as i can tell that seems very important that you dont get this wrong so i had to ask so ask me what u need to ask so i can keep the rite one. thx for the help in advance cause i wanna flash some roms!!!!
Click to expand...
Click to collapse
Actually, it's less important than you'd think unless you plan to repartition (in most cases I'd say you shouldn't). In fact, don't even bother including the .pit at all, as it will automatically check repartition if you do. This will make you unhappy if you forget to uncheck it .
As for the differences between the pits.....it seems that it's basically a matter of what amount of space it allocates to each of the mounts. What's better for what rom? Not sure anyone can tell you for sure, but it's not going to brick your phone if you pick the "wrong" one or anything. I think most people feel the 512 is best suited for 2.1 roms, whereas the 513/813 ones are for froyo, and the 831 is possibly meant for 2.2.1 or 2.3 roms (it's been reported to be reserved for the Vibrant 4G atm, no idea how accurate that is).
Hope that helps.
MWBehr said:
Actually, it's less important than you'd think unless you plan to repartition (in most cases I'd say you shouldn't). In fact, don't even bother including the .pit at all, as it will automatically check repartition if you do. This will make you unhappy if you forget to uncheck it .
As for the differences between the pits.....it seems that it's basically a matter of what amount of space it allocates to each of the mounts. What's better for what rom? Not sure anyone can tell you for sure, but it's not going to brick your phone if you pick the "wrong" one or anything. I think most people feel the 512 is best suited for 2.1 roms, whereas the 513/813 ones are for froyo, and the 831 is possibly meant for 2.2.1 or 2.3 roms (it's been reported to be reserved for the Vibrant 4G atm, no idea how accurate that is).
Hope that helps.
Click to expand...
Click to collapse
+1 I have used the 512 and 513 not sure of the difference looked like i got a little more ram 513 but I just stick with the 512 and the now the 831 (when I need). It will not hurt if you are using Odin to experiment, then you can evaluate the results for yourself....... good explaining MWBehr
MWBehr said:
Actually, it's less important than you'd think unless you plan to repartition (in most cases I'd say you shouldn't). In fact, don't even bother including the .pit at all, as it will automatically check repartition if you do. This will make you unhappy if you forget to uncheck it .
As for the differences between the pits.....it seems that it's basically a matter of what amount of space it allocates to each of the mounts. What's better for what rom? Not sure anyone can tell you for sure, but it's not going to brick your phone if you pick the "wrong" one or anything. I think most people feel the 512 is best suited for 2.1 roms, whereas the 513/813 ones are for froyo, and the 831 is possibly meant for 2.2.1 or 2.3 roms (it's been reported to be reserved for the Vibrant 4G atm, no idea how accurate that is).
Hope that helps.
Click to expand...
Click to collapse
that definatelly helps man thx, and i was talking about the whole flashing back to stock but i it seems that your telling me, jus use 512.pit for 2.1 but what if i wanna flash a 2.2 rom? use the 513.pit? or no pit at all? or just use the CWM to flash them. I wanna kno how to do it in case i have to odin back to stock(T959UVJFD) if something goes wrong but i alrdy kno you dont need a .pit to flash a kernel(if im not mistaken) so thats all i need answered then i can have fun.
and yes thx for helping me you helped out alot, now everything is straight : ).

[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.

Partition file (.PIT) for our S5

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
.

[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