Odin and pit file - Galaxy Tab 2 Q&A, Help & Troubleshooting

I am not too clear about the usage of pit file in odin. I am reading that the tar file usually contains a csc portion which already embeds the pit file. However, i am also reading that you can explicitly specify the pit file and check repartitioning to start a clean slate. My question is that if csc already contains the pit why the need to specify it explicitly?
I think in my case i may have to clean the structure much more thoroughly since i have trouble doing a data partition wipe in recovery mode. It is not doing a data wipe at all.

Related

Full firmware with pit file

Hi
My device came with ILO product code.
I played with few (official) firmwares and after initializing my device using smart switch, I can no longer return to my original firmware. It's turns out that the initialization through smart switch used a pit file with very little place for "hidden.img"
Every firmware with above average hidden partition fail with odin.
Where can I get pit file for my location or even better - full firmware with pit included?
Thanks in advance
Sammobile?
Sent from my SM-G920F using Tapatalk
Their firmware's are stripped down - without the file I need
help
Same problem here.any help?
Hi
we meet again
I found this firmware
http://www.gsmforum.ru/threads/221072-G920F-(Galaxy-S6)?
it contains pit with 100MB for hidden.img
I downloaded but haven't flashed yet,
too many flashed in the last couple of days.
edit:
just compared the 100mb pit with the one currently on my phone using this tool
http://forum.xda-developers.com/showthread.php?t=1916936
the differences are - larger hidden.img in expense of userdata
Thread moved to proper forum.
omrij said:
Hi
we meet again
I found this firmware
http://www.gsmforum.ru/threads/221072-G920F-(Galaxy-S6)?
it contains pit with 100MB for hidden.img
I downloaded but haven't flashed yet,
too many flashed in the last couple of days.
edit:
just compared the 100mb pit with the one currently on my phone using this tool
http://forum.xda-developers.com/showthread.php?t=1916936
the differences are - larger hidden.img in expense of userdata
Click to expand...
Click to collapse
Hi
That kinda make sense to me.cause before i flash a european rom with pit file i had less user data i don't remember exactly but it was like 200mb less.
Would u share that new pit with larger hidden.img?i mean just the pit.i will test that and share the resault here
I can still flash one or two more roms.
Have fun
https://www.dropbox.com/s/nlmly8wc8bdm3ql/ZEROFLTE_EUR_OPEN_HIDDEN100M.pit?dl=0
I can confirm this worked for me.
omrij said:
I can confirm this worked for me.
Click to expand...
Click to collapse
well it didn't for me.again fail on hidden.img proccess
any special recepie?i just used the pit file with XSG firmware and odin 3.10.6
I added the pit to the tar and than flashed the tar. Without ticking something special in odin.
omrij said:
I added the pit to the tar and than flashed the tar. Without ticking something special in odin.
Click to expand...
Click to collapse
How do you do that?
If you're on windows - download 7zip and make a new tar with all the files from original firmware+the pit file
ok,just double checking to make sure i do not make any more mistakes.i should put the pit file here right?
Yes
------------------------------
when you choose to add files to archive
just select in archive format - tar
https://www.dropbox.com/s/zkx36acw8u3cch5/Screenshot 2015-05-26 00.56.22.png?dl=0
If you prefer, you can do it in another way
download this file
https://mega.co.nz/#!oJF1nAAS!bHpoSXEiBBLLYtj4HYQZUDvCcvLwUUgNin3wJLeT3eI
flash it (and only it) as csc
reboot again to download mode and flash XSG (original - without added pit)
Very Nice Thanks for the INFO. :good:
I only want to know why PIT can brick your device?
omrij said:
If you prefer, you can do it in another way
download this file
https://mega.co.nz/#!oJF1nAAS!bHpoSXEiBBLLYtj4HYQZUDvCcvLwUUgNin3wJLeT3eI
flash it (and only it) as csc
reboot again to download mode and flash XSG (original - without added pit)
Click to expand...
Click to collapse
Thank you very much

Attention all SAMSUNG owners

Recently found this website......
http://www.tsar3000.com/Joomla/inde...ader-csc-pit-files&catid=55:samsung&Itemid=82
Which hosts what it calls 'repair' firmwares for most of the range of Samsung devices.
They all appear to be multi file firmwares that need to be odin flashed as AP, BL, CP & CSC. I believe that most of the available downloads contain their device specific PIT files as well.
If I understand the term 'repair firmware' correctly, then instead of simply overwriting the data partitions (as is normal) they'll erase and format them during the flash. That being the case, they'll stand a greater chance of successful flash than a regular firmware which could aid in the repair/recovery of otherwise unflashable 'softbricked' devices.....hope they can help someone.......
http://i.imgur.com/rVnFwJM.jpg
Good info , thanks

[Completed] CSC file, repartitioning, PiT file, non-wipe flashing and relations between these

I have ideas about what PIT files do. They provide data for appropriate phone storage partitioning.
I know repartitioning (an ability in ODIN and z3x) wipes data
I also know the differences between CSC and HOME_CSC is that the first one wipes data and second doesn't.
Now I have some questions:
Is repartitioning different from using a PIT file?
If yes, will I face problems checking repartition checkbox without using a PIT file?
I inspected CSC and found a .pit file inside it. Is that pit file responsible for wiping data (repartition thing)?
How to realize if a 1-file ROM (PDA only) is non-wipe or not?
Well ,
Infact 1 rom tar will not wipe data's , it's only install as updated for ur current firmware but if u had / faced random reboot then for sure u need full wipes ,
Yes once u install rom with pit its will erase everything on ur phone & its will solve too many problems if ur firmware having it .
Good luck ,
Thank you for Using XDA Assist ,,

Odin Error (Can't open the specified file) line 1892 - FIXED (for me)

Hope this might help someone here.
I rooted my s8+ and basically got stuck with a soft-bricked phone, telling me I could only use official firmware etc etc. I was able to get the phone into download mode (eventually) but I wasn't able to flash anything including the stock Pie rom. I spent all night trying to find a solution to no avail and then found this, which I've edited a bit. And it worked. I've now got my s8+ back with Android 9 on it without any bloatware and it's actually better than ever. Thanks to Krolik301 for your help. I'm just hoping this may help someone.
1. Download the stock ROM and extract it.
2. Make a copy of the CSC file and rename one from the file type .md5 to .rar
3. Extract the PIT file from the CSC .rar file.
4. In Odin v3.13, make sure you add all four files from the extracted ROM (BL, AP, CP and CSC).
5. Click the PIT tab and add the PIT file that you just extracted from the CSC.rar file.
6. I the Options tab of Odin, make sure that Re-Partition, Auto Reboot and F.Reset Time are all ticked.
7. Click Start and hopefully you'll be back to your stock ROM
And please don't hold me responsible for any loss of data or a phone that still won't boot.
Hope this helps someone. Happy Easter
Muddyfunk said:
Hope this might help someone here.
I rooted my s8+ and basically got stuck with a soft-bricked phone, telling me I could only use official firmware etc etc. I was able to get the phone into download mode (eventually) but I wasn't able to flash anything including the stock Pie rom. I spent all night trying to find a solution to no avail and then found this, which I've edited a bit. And it worked. I've now got my s8+ back with Android 9 on it without any bloatware and it's actually better than ever. Thanks to Krolik301 for your help. I'm just hoping this may help someone.
1. Download the stock ROM and extract it.
2. Make a copy of the CSC file and rename one from the file type .md5 to .rar
3. Extract the PIT file from the CSC .rar file.
4. In Odin v3.13, make sure you add all four files from the extracted ROM (BL, AP, CP and CSC).
5. Click the PIT tab and add the PIT file that you just extracted from the CSC.rar file.
6. I the Options tab of Odin, make sure that Re-Partition, Auto Reboot and F.Reset Time are all ticked.
7. Click Start and hopefully you'll be back to your stock ROM
And please don't hold me responsible for any loss of data or a phone that still won't boot.
Hope this helps someone. Happy Easter
Click to expand...
Click to collapse
Hello. I'm helping someone on discord with this exact issue (the error code is "can't open the specified file (line 665)". I extracted the PIT file from CSC and placed it into the PIT file. I also put all of the firmware files in their proper place (except for HOME_CSC, as he wants to keep his files). Do I absolutely have to put the CSC file in place of the HOME_CSC file?

Flashing stock rom for Samsung devices with Heimdall

Hello y'all.
I got this SM-A530F/DS, a galaxy A8 (2018), from a relative that got a problem. I am not sure about specifics, but it was never tampered with or rooted, I believe that things start to go bad after an unsuccesful OTA update. The phone does not boot, it just stays on samsung logo screen indefinetly, I can put the phone on download mode though so I think this is fixable by flashing the stock rom anew.
Now I got the stock firmware from sammobile and it seems good, but it is on a format for Odin, unfortunately I dont have access to a Windows computer, just Linux. So I got heimdall and read through whatever info I could find and I think I grok the fundamentals.
TLDR:
I have the following questions about the process:
1) Inside the stock files there is a .pit file that I assume is tailored to the stock ROM being distributed, should I use this .pit or should I use the one that I can extract from the phone with Heimdall?
2) The .img files seem to be lz4 compressed so should I first decompress those, or can I pass the compressed file to heimdall?
3) Inside the tar file for Odin {AP, BL, CP, CSC} there are a meta-data folder with a fota.zip file, does this file in any way influence heimdall flashing process?
p.s. I not sure if this should be moved to the device subforum as the questions mainly deal with the Samsung devices and heimdall in general and I could not find a Samsung sub forum to post this to
So I got the situation sorted.
1) The .pit file in the stock rom was the same as the phones, so I didnt have to do anything about that
2) The .img, .bin files must be decompressed first, not a great deal just had to 'lz4 -d' those
3) Those fota.zip didnt matter for heimdall, I just followed the phones .pit file to match partition names to partitions file and did a single 'heimdall flash' command

Categories

Resources