Partition Mapping (SM-S550TL) - Samsung Galaxy On5 Questions & Answers

Has anyone been able to map the partitions for this variant? How to read Samsung PIT files?
I have included the variant's PIT down below. Preferably, which block is for the System partition?

HitByAZinger said:
Has anyone been able to map the partitions for this variant? How to read Samsung PIT files?
I have included the variant's PIT down below. Preferably, which block is for the System partition?
Click to expand...
Click to collapse
Have you looked at PIT magic?
https://forum.xda-developers.com/showthread.php?p=32297786#post32297786

Related

Resizing /System

Hi, I just wanted do know if there's a way I can change the size of the /system becuase it uses almost half of the phone's storage.
Apparently, only the I9500 can resize its partitions, and that can only be done through use of a PIT file. However, in my opinion it's not worth doing, and on all the Qualcomm devices, impossible to do.
Hi,
Just the addition. It's impossible to resize partition. But, the only thing to know: Samsung reserves 1/8 of total storage (2 from 16 GB ) for cache partition. It's unnecessary for most people because cache partition in most devices are 200-500 MBs.
I9500 devices that shipped in all regions and in China are different. You can't use full Chinese firmware in International devices and vice versa without a PIT file (International/Chinese). Installing Chinese PIT might reserve more space for user data (11.8 GB compared to 8.9 GB in International one), but it has several disadvantages.
First, is you can't install any custom ROM that is a block-build based installer (by patching system partition). It instantly fails because mount points of International PIT and Chinese PIT are completely different.
Second, if you do a full Chinese firmware install with ODIN on International devices and you don't remove sboot.bin from the archive and re-pack it, you'll end yourself with Chinese bootloader that pretty hard to be 'vanished' in standard way of installing firmware.
Sent from my ASUS_Z00AD

size of system.img

Dear All:
This is a fundamental / dumb question that I am not sure where to post it.
I have a Moto X Pure/Style. I have a relatively strange variant (Chinese, XT1570). But that is not the point.
I have obtained two official images from Chinese website. Version wise they are identical.
One strange difference is size of "system.img" file.
The one I choose to flash my phone with (mind you that this is the OFFICIAL stock image with no modifications) has a system.img file which is 1.36GB in size.
Another package I obtained from a different Chinese source has a system.img file of 3.99GB in size.
When I looked to my phone, system.img file of 4GB is about right, that is how much it occupied on my phone.
Why this 1.36GB system.img file worked at first place? is there a differeces?
thanks in advance.
The larger image is probably a sector/sector image of the entire partition (dd). The smaller is just the files in use.
If you want to test this, flash the smaller image and note the free space remaining. Then flash the larger. I bet the two numbers will be similar if not the same.
sector/sector image of entire partition?
gpz1100 said:
The larger image is probably a sector/sector image of the entire partition (dd). The smaller is just the files in use.
If you want to test this, flash the smaller image and note the free space remaining. Then flash the larger. I bet the two numbers will be similar if not the same.
Click to expand...
Click to collapse
Thanks for your reply. I got a couple questions.
The large system.img file was created by clobber the sparsechunk.x file together.
What do you mean "entire partition?"
Here is what I am trying to do:
I have a Chinese version of Moto X Pure. It is the only dual-SIM version that support both AT&T and China's LTE band. However, China banned Google services thus the Chinese version contains NO Google services nor Google Service framework. What I want is to flash the XT1572 version (Rest of Asia) dual SIM Android OS while keep the modem part intact.
1. is it safe to assume all Moto X Pure|Style's partition structure is identical?
2. on Chinese web, an article stated that all I have to do is flash the boot.img AND system.img and leave everything else intact, the phone will work. Is this something I can just assume?
3. I noticed that bluetooth has its on firmware (BTFM.bin). does GPS has its own firmware as well? if it is, which image file is it? The reason I am asking this is because hardware wise, Chinese variant is different from rest of Moto X Pure in terms of navigation hardware: Chinese variant has GPS, Beidou (Chinese), and Glonass (Russian) all three receivers. and given the choice, i would like to keep that intact as well.
Thanks in advance
Entire partition as in the entire 4GB partition space. Obviously the system is not occupying all of this space, but the image created was a snapshot of the entire space including unused space.
1) I don't see why they would create different partition layouts for different regions. Usually the only difference would be in software
2) Boot.img is the kernel and system.img is the system partition. You should be fine flashing these two.
3) I don't recall ever seeing a separate gps partition. I'd think the code for it would be part of the baseband.
Whether or not the xt1572 has the right drivers for this is another matter.
Make a backup of system, boot, and data partitions, then flash the xt1572 boot and system only. You'll maybe able to boot right up or you'll have to do a factory reset from within the recovery if it bootloops on startup.
now I am confused... I see TWO system partitions in Teamwin recovery
when I tried to do a backup with Teamwin recovery, i actually see TWO "System" partition:
System (which is about 1.5GB)
and
System R/O (which is about 4GB)
what is the differences between these two system partitions?
when I do
fastboot -s XXXYYYZZZ flash system system.img
which "system" partition am I really flashing?
and when teamwin recovery said I can backup "system" partition and "system R/O" partition, how doe these two partition map to fastboot's partition? I see I can flash
partition
bootloader
modem
fsg
bluetooth
boot
recovery
system
there is only one system...
gpz1100 said:
Entire partition as in the entire 4GB partition space. Obviously the system is not occupying all of this space, but the image created was a snapshot of the entire space including unused space.
1) I don't see why they would create different partition layouts for different regions. Usually the only difference would be in software
2) Boot.img is the kernel and system.img is the system partition. You should be fine flashing these two.
3) I don't recall ever seeing a separate gps partition. I'd think the code for it would be part of the baseband.
Whether or not the xt1572 has the right drivers for this is another matter.
Make a backup of system, boot, and data partitions, then flash the xt1572 boot and system only. You'll maybe able to boot right up or you'll have to do a factory reset from within the recovery if it bootloops on startup.
Click to expand...
Click to collapse
Strange. Which version of twrp are you using?
Can you post a pic?

Search Pit Partitions Files

Hello,
i search for my galaxy s5 Partitions Pit Files. i have flashed CyanogenMod mit my Smartphone have only 11,59Gb where the other 6 gb?? Need a Original pit file mir 16 GB where can i find it?

Need hw partition image for xt1626

My device get hw partition corrupted and now my sims not working, are recognized but not signal. And the only way is restoring hw partiton from a working phone.
PLease can someone with rooted device sent me this file? Is only 8mb.
which file do you need? is it not the gpt.bin file in the stock files?

[j500nlte] Can you change PIT without data loss?

Can you re-partition J500FN without data loss and/or damaging eMMC? How to do it properly?
What I need to do:
- extend /data
- shrink /system and /hidden
What I tried:
- using REPIT (errors running from TWRP, nor /tmp)
- manually using parted tool (doesn't support ext4)
What I have:
- Odin
- PIT Magic
- official firmware J500FNXXS1BQG2
- PIT file extracted from firmware
- full eMMC backup as .img
Another idea - will it work?
- shrink backed up /system with resize2fs (this will work - tried on /hidden)
- modify PIT file with PIT Magic
- flash it all with ODIN
PIT Magic shows that PIT is in partition #29. This partition is not visible in parted, it's free space there. Any other way to modify it other than Odin?

Categories

Resources