I wanted to extract the S III boot logo for use on my S II and found out it was really easy because unlike the S II which used a hard to modify lfs partition image, I found a param.bin file that turned out to be a renamed tar file.
So when the phone comes out people can easily replace the logo.jpg in the archive before flashing.
I love the Linux "file" command for identifying renamed extensions easily.
shadowofdarkness said:
I wanted to extract the S III boot logo for use on my S II and found out it was really easy because unlike the S II which used a hard to modify lfs partition image, I found a param.bin file that turned out to be a renamed tar file.
So when the phone comes out people can easily replace the logo.jpg in the archive before flashing.
I love the Linux "file" command for identifying renamed extensions easily.
Click to expand...
Click to collapse
LOL! That's a good find! I wonder if this means that Samsung's starting to accept that people will be messing around deep within their phones (esp. flagship phones)!
shadowofdarkness said:
I wanted to extract the S III boot logo for use on my S II and found out it was really easy because unlike the S II which used a hard to modify lfs partition image, I found a param.bin file that turned out to be a renamed tar file.
So when the phone comes out people can easily replace the logo.jpg in the archive before flashing.
I love the Linux "file" command for identifying renamed extensions easily.
Click to expand...
Click to collapse
Thanks for the great info! Then it's even easier to create an app or a script to mod it at boot time, and add this feature in a kernel
Sent from my GT-I9100 using Tapatalk 2
unfortunately, logo from param.bin is not used.
I've replaced logo.jpg and flashed param.bin to mmcblk0p4 partition, but still see original logo...
PIT Magic is the All In One solution for Creating, Editing and Analyzing Samsung PIT Files.
What are Samsung PIT Files?
PIT files contain the Partition Information Table (PIT) for Samsung Android phones. Different firmware versions may require different partition layouts so the necessary PIT file 'tells' Odin how to set up the phone partitions correctly for the specified firmware to be installed.
The PIT file contains all the relevant information for each required partition such as Partition Name, Flash File Name, Block Size, Block Count etc. and also contains some unknown properties that maybe identifiers or flags of some sort.
Big thanks to Benjamin Dobell and Adam Outler for their extensive knowledge. I have read alot of threads where I found all of your comments regarding pit files very useful.
Click to expand...
Click to collapse
PIT Magic's Main Features:
Create New PIT Files from scratch.
Edit Existing PIT Files and change all available properties.
Analyze a PIT File and create a human readable report of all Partition entries.
Export PIT Analysis to Text File or Copy to Clipboard direct from the User Interface.
Add or Remove Partition entries to a New or Existing PIT File.
Save options to write changes to Existing PIT File or write a New PIT File altogether.
Download Link: PIT_Magic_v1.3.10_Release.zip (Dev-Host)
Click to expand...
Click to collapse
Please Note: PIT Magic requires Microsoft .NET Framework 4.0 to be installed on your PC.
Compatible with Windows XP, Vista, 7
Click to expand...
Click to collapse
Whats NEW in PIT Magic v1.3.10
1. Removed Unknown PIT File Properties #1 to #8 and replaced with 5 Dummy Data Blocks consisting of 4 bytes each as per the Samsung PIT File Specification.
2. Changed the 'Unknown PIT File Properties' Group to PIT File Header Information.
3. Added Option to Display Dummy Data in String or Hexadecimal Format.
4. Fixed a bug with the Reset Form Button. Now it will undo changes made to the PIT File Header Dummy Data fields as well as the currently selected PIT Entry.
5. Changed the layout of the User Interface and made a few slight cosmetic adjustments.
6. Changed the layout of the PIT File Analysis Report to reflect the changes to the PIT Header Information.
7. Fixed a few bugs regarding loading and saving of PIT Files in the User Interface.
8. Removed some redundant and duplicated code and tidied it up in a few places.
9. Fixed PIT File Modified prompt when Creating New / Open Existing / Exit Application. Changes made are now detected properly including to PIT Header Information.
Whats NEW in PIT Magic v1.1.4
1. Changed File Name to Flash File Name and Added FOTA File Name.
2. Changed Chip Identifier to Binary Type.
3. Changed Partition Identifier to Device Type.
4. Changed Partition Flags to Identifier.
5. Changed Unused to Attribute.
6. Changed Unknown #1 in PIT Entry to Update Attribute.
7. Changed Unknown #2 to File Offset and Unknown #3 to File Size. (Obsolete PIT Parameters).
8. Added Thousand separator text formatting to Block Size and Block Count in the User Interface and Analysis UI.
9. Updated User Interface and fixed a few file modified detection bugs that failed to prompt user to save changes on Exit / Open / New.
10. Fixed a Null Reference bug when cancelling 'Save As...' Dialog.
Whats NEW in PIT Magic v1.0.8
Initial Release.
1st
havnt plashed a single pit file in a year+ of owning the gs2
well u can never be too sure
thanks
this looks awesome
Subscribed...
Sent from my SPH-D710 using xda premium
PIT Magic v1.1.4 has now been released!
Enjoy!
lyriquidperfection said:
PIT Magic v1.1.4 has now been released!
Enjoy!
Click to expand...
Click to collapse
This is awesome...I'm waiting for Samsung to send my cell back..wanted me to pay $170 since i cracked the screen on the way to ship it . Hopefully this can help me out. Maybe there should be a collection of stock PIT files?
Will this work with any Samsung Device? Like my S3?
elesbb said:
Will this work with any Samsung Device? Like my S3?
Click to expand...
Click to collapse
Yes PIT Magic will edit ANY PIT File you throw at it!
Sent from my HTC Desire S using Tapatalk 2
lyriquidperfection said:
Yes PIT Magic will edit ANY PIT File you throw at it!
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
Now i just need to obtain the stock PIT file so i can edit it and make my system partition smaller
Do you have any idea where/how i can get one? I highly doubt i'll be able to make one from scratch...
elesbb said:
Now i just need to obtain the stock PIT file so i can edit it and make my system partition smaller
Do you have any idea where/how i can get one? I highly doubt i'll be able to make one from scratch...
Click to expand...
Click to collapse
Search on XDA or Google for I9300 PIT.
Be careful though as there are different ones for 16GB and 32GB depending which model variant you have.
Sent from my HTC Desire S using Tapatalk 2
lyriquidperfection said:
Search on XDA or Google for I9300 PIT.
Be careful though as there are different ones for 16GB and 32GB depending which model variant you have.
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
Ha shockingly i was able to find it. However i have the SGH-T999 Tmo d2Tmo variant. Found a whole bunch of PIT's and even a way to get your stock PIT here but now i need to figure out what everything means exactly in my PIT file. I apologize if im annoying you xD
Here is what i feel needs to be edited.
Code:
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 14
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 221,184
Block Count: 3,072,000
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash FileName: system.img.ext4
elesbb said:
Ha shockingly i was able to find it. However i have the SGH-T999 Tmo d2Tmo variant. Found a whole bunch of PIT's and even a way to get your stock PIT here but now i need to figure out what everything means exactly in my PIT file. I apologize if im annoying you xD
Here is what i feel needs to be edited.
Code:
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 14
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 221,184
Block Count: 3,072,000
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash FileName: system.img.ext4
Click to expand...
Click to collapse
If you are just looking to resize the system partition, then just change the Block Size.
Sent from my HTC Desire S using Tapatalk 2
lyriquidperfection said:
If you are just looking to resize the system partition, then just change the Block Size.
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
Ahh so i resize the block size not the number of blocks? I was thinking it was the number of blocks.. but if i take my max memory in MB and divide that my the block size number, theoretically that should let me know how many megabytes are in each block. Right?
So i edited block size by 102460 from 221184 and nothing happened. Says it flashed successfully but nothing changed in my partitions table.. did i do something wrong?
elesbb said:
Ahh so i resize the block size not the number of blocks? I was thinking it was the number of blocks.. but if i take my max memory in MB and divide that my the block size number, theoretically that should let me know how many megabytes are in each block. Right?
So i edited block size by 102460 from 221184 and nothing happened. Says it flashed successfully but nothing changed in my partitions table.. did i do something wrong?
Click to expand...
Click to collapse
Adjust block count aswell but I think both have to match up somehow. I could be wrong but do some research first.
Sent from my HTC Desire S using Tapatalk 2
anyone have a PIT for the TMo S2 - T989?
lyriquidperfection said:
Adjust block count aswell but I think both have to match up somehow. I could be wrong but do some research first.
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
I've done so much Googling and got no where -.- I'll keep trying and change my keywords and what not. Thanks for all your help!
Sent from my SGH-T989 using Tapatalk 2
---------- Post added at 07:01 PM ---------- Previous post was at 07:01 PM ----------
MR2-MiKe said:
anyone have a PIT for the TMo S2 - T989?
Click to expand...
Click to collapse
Use this link. They have instructions for creating a pit file.
http://rootzwiki.com/topic/32867-pits-for-tmo-sgs3/
Sent from my SGH-T989 using Tapatalk 2
MR2-MiKe said:
anyone have a PIT for the TMo S2 - T989?
Click to expand...
Click to collapse
Here is the PIT File for SGH-T989 / SGH-T989D:
http://d-h.st/juD
Sent from my HTC Desire S using Tapatalk 2
lyriquidperfection said:
Here is the PIT File for SGH-T989 / SGH-T989D:
http://d-h.st/juD
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
thanks dude...ill try it out when my phone gets here monday.
Great googly moogly. Goodsir, I'm drooling. Time to adjust and tweak partitions like Old HTC devices. Now where's my old Captivate?
lyriquidperfection said:
Adjust block count aswell but I think both have to match up somehow. I could be wrong but do some research first.
Sent from my HTC Desire S using Tapatalk 2
Click to expand...
Click to collapse
No, you only need to change the block count, not the block size.
Also, if you take blocks away from /system/, remember to add them to another partition, or you'll just be wasting blocks by not assigning them to any partition at all.
Hey People
I was wondering if anyone could help me with a quick query.
OK so when doing a CWM Backup on the S5 you get 3 or 4 files for the system partition !
Called system.img.ext4.tar and 1 - 2 - 3.
I was wondering if someone had a foolproof way of recombining all of these files into 1 so i can use it as a working base ?
Regards
Will
I need pit file for galaxy grand 2 sm-g7105/sm-g7102 or any model googled alot but didn't found any.help me
My Emmc just started freezing up, so I did some research & one of the most effective method indicate that if we rapartition the emmc in such a way that it it will skip the bad sectors, then problem can be resolved, while looking at partition map for note 4, I saw all small partitions including system are within first 5gb, so I was thinking if we can create a pit file that can start the partition from 5gb onward, leaving first 5gb useless, maybe device will be usable, I created the pit, but Odin won't let me flash it , saying " Secure check fail : Pit", any ideas or if anyone can modify the pit file that would be great.Here is the attachment containing original pit file.
I have the same problem and your suggested logic might be the solution we need. Let's c who can help