[Q] Where to find I9505 partition layout - Galaxy S 4 Q&A, Help & Troubleshooting

Hi,
I want to know the names of all the mmcblk0p* partitions.
How do I get them?
Is there a way to read the PIT file from the device ?

I gathered the information myself.
Result is here: http://forum.xda-developers.com/showthread.php?t=2397794

Related

Urgently needed: Recovery partition

Hello guys,
Sorry for starting new thread with this request while there are plenty of similar threads in the forum, but non of them has a link to download the files on the recovery partition. And that is why I'm starting this thread. (there is only one dead link)
I must say that I've rendered my lovely HTC dead after I've played with the files on the recovery partition. Hence I need that original HTC English Vista system. Not a played with recovery image.
I don't understand about commands, and that guides on dumping ...etc. All what I need are the recovery partition files, simple copy past. Is there is any, please? Can somebody direct me to a link here or anywhere, please? Or copy past the recovery partition, upload it, or burn it on a DVD and I'll pay for hem, please?
Thanks,

[Q] need help regarding hidden partition

hello we knows hidden.img contain some apps which doesn't delete after full factory default
i tired a lot to find them in android rooted device trough root browser but i couldn't
so my questions is
which folder contains those application
and which folders related to hidden partition in android device
2nd question
is there any way to modify hidden.img file
so i can put some extra application in that and then flash it on phone
sorry for bad english hope you understand

Pit file for i9505 (16Gb) i9505XXUHOJ2 CSC=btu

Pit file for i9505XXUHOJ2
I have a hand-me-down 16gb LTE GT-i9505 from my son in London. (I'm in Australia). After a system crash during an OTA update I was unable to flash with Kies or Odin; tried different computers and OS's so then tried with heimdall using a downloaded pit file (I stupidly didn't save the original pit file beforeflashing) and the stock rom (i9505XXUHOJ2) from Sammobile. I don't know whether the pit file was suitable for my 16gb S4 or not, but heimdall still wouldn't flash the unzipped rom until I created a heimdall package with it. Even then, heimdall reported a failure to flash after successfully flashing eg one partition, so I just kept stopping and reconnecting to heimdall (Linux Mint 64 bit) until all partitions one at a time until all seemed to flash. Very messy process! (On my part not really understanding what I was doing)
Now my phone is crashing and rebooting constantly after working ok for a couple of weeks. This was the same issue that led me to update in the first place. I replaced with new battery. No change. Reinstalled stock again today without error using heimdall,but I'm still getting the random crashes. So I thought trying to reinstall again with a correct pit file this time might help. I'm thinking hardware problems after that as it also crashes in recovery and reboots.
Can someone direct me to a correct pit file ? - I have no idea which ones are compatible with my device and the stock rom I'm trying to get working again. This is my primary phone.
My hardware details are:
Device type: jflte
Name: jfltexx
Qcom/MSM8960 (32BIT)
msm8960/apq8064
GPU adreno 320
Modem: mdm9215m
Hardware revision MP 0.900
Bootloader i9505XXUHOJ2
PDA i9505XXUHOJ2
Baseband: i9505XXUHOJ2
CSC: BTU
Hi,
You could utilize search function around Galaxy S4 forum to get the proper pit for your phone.
Sent from my GT-I9500
krasCGQ said:
Hi,
You could utilize search function around Galaxy S4 forum to get the proper pit for your phone.
Click to expand...
Click to collapse
I have been searching all day through xda and found nothing that seems to help. Googled for days without result either. There are pit files out there. But none seem to match my device/stock rom combination. And I've read (newbie on these matters) that it does matter which pit file is used, and could be the cause of my constant crashing problems if partitioning is not quite right.
If you could narrow my search options I'd be happy to keep searching but not for lack of trying on my part so far.
gc2712 said:
I have been searching all day through xda and found nothing that seems to help. Googled for days without result either. There are pit files out there. But none seem to match my device/stock rom combination.
Click to expand...
Click to collapse
I think there are no specialized type for your phone (unlike my GT-I9500). Any pit files for regular GT-I9505 should be okay.
If you still 100% unsure, download BTU stock firmware via SamFirm with "Nature..." checked. It has pit file bundled with it and has 4 files when extracted (Pit is inside CSC's tar.md5).
Sent from my GT-I9500
krasCGQ said:
I think there are no specialized type for your phone (unlike my GT-I9500). Any pit files for regular GT-I9505 should be okay.
If you still 100% unsure, download BTU stock firmware via SamFirm with "Nature..." checked. It has pit file bundled with it and has 4 files when extracted (Pit is inside CSC's tar.md5).
Click to expand...
Click to collapse
Thanks for the follow up. Much appreciated. I hadn't heard of Samfirm before but have downloaded it and will get the stock ROM today using it. I was under the impression that the pit file did matter depending on the capacity of the phone. (16gb,32gb,64gb). Unfortunately, my son can't remember which he purchased - he bought it online unlocked and the original invoice gives no indication, and I'm not sure whether PhoneInfo just looks at partition sizes or whether it actually interrogates the hardware to assess internal flash memory size (It says I have 16Gb).
If the pit file version really doesn't matter then I'll just use the one in the downloaded stock ROM, but I was hoping to verify this first.
Edit: It seems there is no CSC tar.md5 in the extracted download. Only the flashable partitions etc. I have attached an image of 7zip extraction. Any other thoughts/ideas?
google this; all-pit-files-for-samsung-softbrick_28
you´ll see a site with all sam pit files; you could also check for a software named magic pit, here in the forum, it allows you to check and alter the pit files easily.
Ghangrel said:
google this; all-pit-files-for-samsung-softbrick_28
you´ll see a site with all sam pit files; you could also check for a software named magic pit, here in the forum, it allows you to check and alter the pit files easily.
Click to expand...
Click to collapse
Many thanks for the search tip. I'll have a look at magic pit too, but with a little more observant attention I also noticed the CSC*.tar.md5 file and it did indeed contain a single file called JFLTE_EUR_OPEN.pit. So I am beginning to assume there is only one pit file for different i9505 international (and unlocked) variants? I have found several pit files now and had a look at them with pit magic (EMS Professional now) and they all seem the same as the one I installed on my phone and the one I downloaded with SamFirm.
What I would like to be able to calculate is the size of the partitions, but not sure how block size and block number fit together to calculate that number. Any advice?
gc2712 said:
Thanks for the follow up. Much appreciated. I hadn't heard of Samfirm before but have downloaded it and will get the stock ROM today using it. I was under the impression that the pit file did matter depending on the capacity of the phone. (16gb,32gb,64gb). Unfortunately, my son can't remember which he purchased - he bought it online unlocked and the original invoice gives no indication, and I'm not sure whether PhoneInfo just looks at partition sizes or whether it actually interrogates the hardware to assess internal flash memory size (It says I have 16Gb).
If the pit file version really doesn't matter then I'll just use the one in the downloaded stock ROM, but I was hoping to verify this first.
Edit: It seems there is no CSC tar.md5 in the extracted download. Only the flashable partitions etc. I have attached an image of 7zip extraction. Any other thoughts/ideas?
Click to expand...
Click to collapse
gc2712 said:
Many thanks for the search tip. I'll have a look at magic pit too, but with a little more observant attention I also noticed the CSC*.tar.md5 file and it did indeed contain a single file called JFLTE_EUR_OPEN.pit. So I am beginning to assume there is only one pit file for different i9505 international (and unlocked) variants? I have found several pit files now and had a look at them with pit magic (EMS Professional now) and they all seem the same as the one I installed on my phone and the one I downloaded with SamFirm.
What I would like to be able to calculate is the size of the partitions, but not sure how block size and block number fit together to calculate that number. Any advice?
Click to expand...
Click to collapse
Yes, that's it. Flash all files (AP, BL, CP, and CSC) on the corresponding section in ODIN. You don't need to provide additional pit because your phone will be partitioned using pit file inside CSC tar.md5 (re-partition should be checked). It'll do the magic.
Sent from my GT-I9500
krasCGQ said:
Yes, that's it. Flash all files (AP, BL, CP, and CSC) on the corresponding section in ODIN. You don't need to provide additional pit because your phone will be partitioned using pit file inside CSC tar.md5 (re-partition should be checked). It'll do the magic.
Click to expand...
Click to collapse
I'm caught up with things for a few days now, but will give it a go. Many thanks.
gc2712 said:
What I would like to be able to calculate is the size of the partitions, but not sure how block size and block number fit together to calculate that number. Any advice?
Click to expand...
Click to collapse
you can use the pitmagic to do this, it shows the starting block [block count] and the block size of each partition... one of the pits I´ve got was wrong, I could check it at sva partition table.
about what you want to know, I do believe the userdata is left alone only marking the starting block but the size is just identified by the program and not limited by the pit for start.
I'm still trying to figure out if my phone is 16gb or 32gb storage. If I use phoneinfo-Samsung it reports 16gb. If I input the device imei into imei.info.com I get 32gb listed for my device. All the other info for my s4 on that site is correct. Which source is likely to be correct? I am a little bit suspicious that phoneinfo-samsung might only look at formatted partitions to calculate storage rather than reporting on the hardware flash memory chip. I am wondering whether my constant system crashes may be because of incorrectly formatted partitions. Any advice?
gc2712 said:
I'm still trying to figure out if my phone is 16gb or 32gb storage. If I use phoneinfo-Samsung it reports 16gb. If I input the device imei into imei.info.com I get 32gb listed for my device. All the other info for my s4 on that site is correct. Which source is likely to be correct? I am a little bit suspicious that phoneinfo-samsung might only look at formatted partitions to calculate storage rather than reporting on the hardware flash memory chip. I am wondering whether my constant system crashes may be because of incorrectly formatted partitions. Any advice?
Click to expand...
Click to collapse
use twrp recovery to wipe>advanced wipe : then u can check the size of the data / internal storage ; don´t forget to check if it´s checked in mount option
Ghangrel said:
use twrp recovery to wipe>advanced wipe : then u can check the size of the data / internal storage ; don´t forget to check if it´s checked in mount option
Click to expand...
Click to collapse
Haven't had the courage to install TWRP yet. ?
gc2712 said:
Haven't had the courage to install TWRP yet.
Click to expand...
Click to collapse
it´s a simple task. to be sure, extract the recovery file from your stock rom or from sammobile´s, then you can flash it again.

Pit file editing for repartioning the emmc.

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

How to create a Debrick.img from old partitions copy?

Hi, I'm trying to find as much information as possible about what a Debrick.img file contains, but I do not find as much information as I'd like. I asked for an IMG in the subforum of my mobile, but I do not know if someone will listen to me.
I have an old copy of all the partitions of my mobile, made with FlashFire.
Exemple of copies of partitions that I have:
boot.lz4
boot.md5
intsd.0002.tlz4
intsd.md5
intsd.tlz4
recovery.lz4
recovery.md5
Could this be useful for building my Debrick.img?
What else would I need?
Please.
Please.

Categories

Resources