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

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 ,,

Related

[Q] PIT/EFS Backup of a brand new P6800

Hello @all
since last weekend I'm also a proud owner of a Galaxy Tab 7.7 Wifi+3G 16GB (P6800). Now I have read a lot of threads about rooting,...
But at the very beginning I want to make a backup of all essential parts. In a first step this will include the partition table and the EFS Filesystem.
PIT Backup
=Q1=> Is it true that I'm able to get a backup of my partition table (PIT file) even without rooting my device?
=Q2=> Are the following steps correct?:
1) Put device in download mode
2) Detect device with heimdall
3) Download PIT with Heimdal
=Q3=> Can something go wrong with this method, or should this be absolutely safe?
EFS Backup
To backup my EFS partition, I thought of the following steps:
- Rooting the device
- Using some tool to backup the EFS partition (like KTool for the SGSII / Galaxy Note)
=Q4=> Is there a tool which can provide such a function for the Galaxy Tab?
=Q5=> Or do I need to do it manually, e.g. via "dd" and terminal emulator?
Best regards,
Chris
Hey
=Q1=> Is it true that I'm able to get a backup of my partition table (PIT file) even without rooting my device?
Click to expand...
Click to collapse
Think odin/heimdal only reads the file, it doesn't get stored anywhere on the phone..it should however come in the stock_rom_tar file.
Partition table
To backup my EFS partition, I thought of the following steps:
Click to expand...
Click to collapse
Just adapt rotohammers old tab7 commands to 7.7 partitions.. I dont trust any backup software unless it spesifies my device is supported
Just call out if something borks
Regarding the PIT file,
maybe I did not specify that one clearly: My goal is NOT to store the PIT file on the device. I want to download the PIT file to my computer, so I can use it in an emergency to flash a stock firmware with odin & repartition.
Best regards,
Chris
segelfreak2 said:
Regarding the PIT file,
maybe I did not specify that one clearly: My goal is NOT to store the PIT file on the device. I want to download the PIT file to my computer, so I can use it in an emergency to flash a stock firmware with odin & repartition.
Best regards,
Chris
Click to expand...
Click to collapse
Here is the pitfile of the Galaxy tab P6800 which I got from the Samsung Service Center in after much request.
Hello Manipur,
thank you very much for your answer and the PIT file from Samsung. I will archive it, just for the case that I'm forced to flash my Tab with the Odin repartition option.
Best regards,
Chris
thank you so much for this file. after huffing and puffing for literally 4 hours with a soft-bricked p6800 i decided to adventure into unknown territory of the re-partition box in odin.
suffice it to say that i instantly revived the p6800 in less than 5 minutes with this file
THANK YOU THANK YOU THANK YOU

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

Odin and pit file

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.

[GUIDE] Downgrade SM-G920i from Android 7.0 to 6.0.1 with Secure Download Enabled

Hello all!
This is my first tutorial here, hope to be useful as it was for me. After several attempts and extense research mainly here in XDA I finally achieved to downgrade my SM-G920I from 7.0 to 6.0.1 even with secure boot enabled.
The basics: Using a chilean stock 6.0.1 ROM:
- I've extracted all files from the stock rom and repacked it as 4 files without sboot.bin Instructions here: forum DOT gsmhosting DOT com/vbb/f777/tutorial-create-samsung-4-file-multi-firmware-your-own-100-a-1860706/- I've used a PIT default file for my model and region from here: sammobile dot com/forum/threads/30173-galaxy-S6-G920-pit-files
The instructions are the usual, Using Odin 3.12, flash the files into their respective slots and select the PIT file into PIT tab also. In options disable auto reboot and check re partition.
Download link in progress, but you can DIY with the instructions before.
downgrade issue can you give me the PIT file for sm-g920f please
also i have issue to back to nougat an error occured hidden.img durinf flashing
Mehar Zain said:
also i have issue to back to nougat an error occured hidden.img durinf flashing
Click to expand...
Click to collapse
Have you downloaded a 6.0.1 stock rom for your model and then followed my instructions?
PD: The FRP for your device in on the second link mentioned before.
There is easier way ,after extracting delete all .bin (aboot cache hidden and something else cant remember)then repack using 7zip to the originat format u will notice that the new archive is bigger it's about 3.6 gb inside there is data,system and some other files flash the new archive with odin and thats all ,worked fine t mobile g920t downgrading from nougat to mm
amin44 said:
There is easier way ,after extracting delete all .bin (aboot cache hidden and something else cant remember)then repack using 7zip to the originat format u will notice that the new archive is bigger it's about 3.6 gb inside there is data,system and some other files flash the new archive with odin and thats all ,worked fine t mobile g920t downgrading from nougat to mm
Click to expand...
Click to collapse
Yes, you are right. Using 7zip is a lot easier.
Will work on Att version G920A with locked bootloader on 7.0? I've been researching 2 days to see about downgrading it 6.0.1 while taking least chances as possible. If answer is yes, when repackaging should I remove md5 extension on all 4 files?
Thanks
amin44 said:
There is easier way ,after extracting delete all .bin (aboot cache hidden and something else cant remember)then repack using 7zip to the originat format u will notice that the new archive is bigger it's about 3.6 gb inside there is data,system and some other files flash the new archive with odin and thats all ,worked fine t mobile g920t downgrading from nougat to mm
Click to expand...
Click to collapse
how you repack to original format with 7zip?
i always get error cheksum when put the file in odin
zhadow88 said:
how you repack to original format with 7zip?
i always get error cheksum when put the file in odin
Click to expand...
Click to collapse
Just select the file and compress them using normal compression in options ,maybe the problem is with your version of odin
https://forum.xda-developers.com/showpost.php?p=81418691&postcount=29

Categories

Resources