Help with i9100 Partitions/Pit-file (Heimdall) - Galaxy S II Q&A, Help & Troubleshooting

Hey all.
Sorry if this has been asked before, but I can't seem to find a proper answer on the forums. Am using Heimdall 1.4 rc1/2, on Arch Linux.
Not sure whats happened to my phone as its been flashed so many times in the past, and can't remember what might have caused this.
First time using Heimdall, as I got sick of having to keep a partition spare for XP which in the end only got used for flashing to the S2
I would really like a stock PIT file or even some feedback as to whether my partitions are correct?
Notice that the Boot partition is read only and I also have an SBL1 and an SBL2???
Please help....
HTML:
Entry Count: 15
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 0
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: GANG
Flash Filename: emmc.img
FOTA Filename:
--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 1
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash Filename: boot.bin
FOTA Filename:
--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 8192
Partition Block Count: 40960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: efs.img
FOTA Filename:
--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 49152
Partition Block Count: 2560
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBL1
Flash Filename: Sbl.bin
FOTA Filename:
--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 53248
Partition Block Count: 2560
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBL2
Flash Filename:
FOTA Filename:
--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 57344
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash Filename: param.lfs
FOTA Filename:
--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 73728
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: KERNEL
Flash Filename: zImage
FOTA Filename:
--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 90112
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RECOVERY
Flash Filename:
FOTA Filename:
--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 106496
Partition Block Count: 204800
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHE
Flash Filename: cache.img
FOTA Filename:
--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 311296
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEM
Flash Filename: modem.bin
FOTA Filename:
--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 344064
Partition Block Count: 1048576
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FACTORYFS
Flash Filename: factoryfs.img
FOTA Filename:
--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 1392640
Partition Block Count: 4194304
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DATAFS
Flash Filename: data.img
FOTA Filename:
--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 2 (STL Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 5586944
Partition Block Count: 24133632
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: UMS
Flash Filename:
FOTA Filename:
--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 29720576
Partition Block Count: 1048576
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash Filename: hidden.img
FOTA Filename:
--- Entry #14 ---
Binary Type: 1 (CP)
Device Type: 1 (File/FAT)
Identifier: 9
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size/Offset: 0
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name:
Flash Filename:
FOTA Filename:

Can someone tell me if the partitioning for a Gingerbread S2 work with a Jelly Bean ROM. I can build a PIT file off my Dads galaxy S2 which has never been touched. Not sure what it looks like yet as I need to get hold of him (and his phone).
If anyone's running JellyBean perhaps you can generate a PIT file with Heimdall and send it across to have a bash with?

Hutchism said:
Can someone tell me if the partitioning for a Gingerbread S2 work with a Jelly Bean ROM. I can build a PIT file off my Dads galaxy S2 which has never been touched. Not sure what it looks like yet as I need to get hold of him (and his phone).
If anyone's running JellyBean perhaps you can generate a PIT file with Heimdall and send it across to have a bash with?
Click to expand...
Click to collapse
Hi, one time I broke the partition information and I used the attached file to fix it.
I hope it helps.
Running stock jelly bean by the way.
Regards
JP

Thanks for digging that out for me pacmanman! I did also manage to find one for download over at Droidevelopers.com. If anyone needs pit's for future reference they have a good selection www . droidevelopers.com /f363/11722-%5Bdownload%5D-ops-pit-files.html
^Wouldn't let me post the link ^^^^
Turns out that my tables are as they should be so no cause for concern. Just a little user error on my part. Wouldn't let me write the BOOT partition, so I just left it out. To be honest I don't really understand the partitions on these things. I thought the boot partition was required, but its 0 in size. Never paid any attention to it in the past.
BIG WARNING. IF YOU DON'T KNOW WHAT YOUR DOING WITH PIT FILES THEY WILL LIKELY KILL YOUR PET RABBIT!!!!!!
Big thumbs up for Heimdall. Easy once you know how
Incidentally this was my useage:
Open 2 terminals or 1 and copy the partition lists into a text editor for reference.
"heimdall" on its own gives you the useage and options
"sudo heimdall print-pit" gives the partitions on your phone as shown in the original post.
Reference the partition names with the files in the ROM as shown below.
"sudo heimdall flash --SBL1 Sbl.bin --PARAM param.lfs --KERNEL zImage --CACHE cache.img --MODEM modem.bin --FACTORYFS factoryfs.img --HIDDEN hidden.img --verbose --no-reboot"
If anyone wants to correct me on the above please be my guest, as I just used it as surmised.

Your command looks perfect to me.
BTW. Heimdall/Samsung is using boot.bin and BOOT as names for the primary boot loader (and normally you shouldn't need to flash this), while on other systems boot-partition / boot.img is exactly that what Heimdall/Samsung is calling KERNEL / zImage
Sent from my Nexus 7 using xda app-developers app

Aaah, thank you. Excuse my ignorance, but is it reporting the block size to be 0 because it uses less than a full block for BOOT?
How do I go about writing the boot image to BOOT as I still seem to have clockworkmod on this partition and Heimdall brings up an error for this partition, assumedly because the BOOT partition is Read-Only?

SGS2 stores kernel and recovery combined in the kernel partition, i.e. the zImage (which is flashed to kernel partiyion) is for booting the rom as for launching recovery.
Sent from my GT-I9100 using xda app-developers app

I hear you there, but it seems there are actually 2 bootloaders?
i,e, there can be 2 different versions of clockworkmod installed at the same time. One is called by pressing the combination at boot. The other can be called by restarting the phone into.
After flashing the phone it restarted into a broken version of clockworkmod (similarly this same version would be called from if you have the option in android to restart in recovery mode). Switching the phone off and on again had me booting into Android, while using UP, HOME + POWER had me at the default Android recovery menu.
Quite strange....

Probably you have flashed one "new" kernels, I.e. Philz 4.93 or something like that. These have the possibility to boot different kernels depending on the buttons you are pressing when recovery is started. I didn't look very deep into that new feature yet, but as you describe your phones behaviour it must be something like that. Probably the 'second' kernel is again a kernel having CWM included so that your phone boots sometimes into one and other times into the other CWM.
Edit: no, I was wrong, it s not, that a different kernel is started, but you can define some boots scripts which will be executed on startup. Nevertheless also from here you can start CWM it provocate strange behavior.
Sent from my Nexus 7 using xda app-developers app

Read Only?
I am a noob with this but all the partitions listed on my pit file are marked as read-only and I'm curious as to whether or not these attributes can be changed to read/write so I can flash to these partitions or if that is done by flashing a different pit file and if so how do you flash just a pit file
Using heimdall on Linux mint

Related

[Q] Phone broken?

Hey guys I have a strange situation, when I went on holiday skiing it was so cold my phone went out.
But after that it wouldn't boot anymore, it stays on the samsung screen (with yellow triangle from rooting).
Now I can still get in download mode but not recovery mode.
I tried flashing a official ROM on it, it says its succesfull but it doesn't seem to be as there is still a yellow triangle and it still says custom binary and won't start.
Then I tried flashing kernel / PIT with partitioning etc etc, everything it says is succesfull but still doesn't do anything.
Now I want to send it in for guarantee, so I used a jig to reset the counter and custom binary to official Samsung Rom.
This worked ....
Then after leaving the battery out for a few days, I put it back in and the counter is back to 2 and Custom rom ....
Seems I'm screwed now for guarantee, but it really was do to the cold ....
What could be broken ?
Nobody that can help ?
My guess it is the kernel.
I had faced the same issue and fixed it by flashing the right kernel.
What is your phone model? and what kernel did you flash?
Let's take it step by step. Can you post the history of what files you flashed in order to figure out where the problem happened?
Well the problem happend when I was outside in -25 degrees....
The phone was working at that moment with ICS on it.
I also get this when putting my phone in the charger, the circle is not animating and there is power in the battery .... so this is a still image....
It also stays when u pull it out of the charger...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Honestly, I'm starting to think it is a hardware issue and maybe you froze your phone dead. Have you checked the operation temps limits in the user manual?
Is it warm now? Try to keep it like 3 feet away from a heater for like an hour and try to turn it on again. I sure hope only the battery is dead and nothing else. Try to switch batteries with someone else and see what happens.
I'm still puzzled by not being able to get to CWM and only download mode. Let us figure out if it is working or not before trying to flash stuff.
Just to make sure, what is the phone model and last kernel and ROMs you flashed before all this?
The phone is like this already for 2 weeks orso
I switched batteries with a working SII, same result...
I tried everything from this thread, http://forum.xda-developers.com/showthread.php?t=1457458
no results ...
So that was the XXKI3
And I tried the latest official one from Kies ....
Ah phone model is GT-i9100
OK. Following that thread should fix your phone. But let's do it step by step.
1. Remove micro sd card if you have one.
2. get odin.
3. get a good kernel for your phone. Which one were you using? you can get one from here http://forum.xda-developers.com/showthread.php?t=1485162.
4. Now let us try to get to CWM. I had trouble sometimes getting there. Probably you know how. For revision: hold vol.up home and the power while your phone is off. to shut it off you can remove the battery and put it back again. So, keep holding until you see the screen is on and release. it will get there (hopefully).
Try and reply back to see what else we can do.
Tried that with I9100XWKK2_I9100KPNKJ1_I9100XXKI4_HOME.tar
No joy, only download mode ....
It said flashing was successful tho ..
Wow. I, my friend, rest my case.
I would really like to help you out. But don't know how further. I'm really hoping that you are going to figure it out. If you get any step further than what you are on right now I'll be happy to help you.
One last thing is look for a PIT file that works for your phone and check the re-partition option in odin while flashing.
I would finally suggest a trip to a service center.
Do you know by any chance if they accept rooted phones if it is a hardware failure ?
Oh and I got this when checking the PIT with Heimdall,
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 131072
Downloading device's PIT file...
PIT file download sucessful
Entry Count: 15
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 0
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name: GANG
Filename: emmc.img
--- Entry #1 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 1
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name: BOOT
Filename: boot.bin
--- Entry #2 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 4
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 8192
Partition Block Count: 40960
Unknown 2: 0
Unknown 3: 0
Partition Name: EFS
Filename: efs.img
--- Entry #3 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 2
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 49152
Partition Block Count: 2560
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL1
Filename: Sbl.bin
--- Entry #4 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 3
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 53248
Partition Block Count: 2560
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL2
Filename:
--- Entry #5 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 5
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 57344
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: PARAM
Filename: param.lfs
--- Entry #6 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 6
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 73728
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: KERNEL
Filename: zImage
--- Entry #7 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 7
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 90112
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: RECOVERY
Filename:
--- Entry #8 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 8
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 106496
Partition Block Count: 204800
Unknown 2: 0
Unknown 3: 0
Partition Name: CACHE
Filename: cache.img
--- Entry #9 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 9
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 311296
Partition Block Count: 32768
Unknown 2: 0
Unknown 3: 0
Partition Name: MODEM
Filename: modem.bin
--- Entry #10 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 10
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 344064
Partition Block Count: 1048576
Unknown 2: 0
Unknown 3: 0
Partition Name: FACTORYFS
Filename: factoryfs.img
--- Entry #11 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 11
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 1392640
Partition Block Count: 4194304
Unknown 2: 0
Unknown 3: 0
Partition Name: DATAFS
Filename: data.img
--- Entry #12 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 12
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 5586944
Partition Block Count: 24133632
Unknown 2: 0
Unknown 3: 0
Partition Name: UMS
Filename:
--- Entry #13 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 13
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 29720576
Partition Block Count: 1048576
Unknown 2: 0
Unknown 3: 0
Partition Name: HIDDEN
Filename: hidden.img
--- Entry #14 ---
Unused: Yes
Partition Type: 1 (Unknown)
Partition Identifier: 9
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name:
Filename:
Ending session...
Rebooting device...
They usually don't care. But, playing the idiocy and ignorance to what is going on card and smooth talking helps a lot in case they are a little picky.
OK. regarding the re-partition, choose the PIT file and a ROM that works and the ROM has the kernel and everything needed for a full install. they are usually bigger in file size 200-500 megabytes.
The thing is my phone is a G model so all the files I use are different than yours and can not recommend them.
Thnx for the help !
I tried a PIT file and a ROM aswell, still no luck ...
So I'll send it in tomorrow for guarantee, cross the fingers that they don't make a hassle....

Galaxy Tab 10.1 shows only 13gb instead of 32gb

Hey Guys,
I have read all over the internet for a possible solution and have not been able to find one. I will list the things i have tried:
I own a Galaxy Tab 10.1 3G.
a) Return to stock 4.0.4 and factory reset.
b) Flash .pit file.
c) Return to stock 3.2 and factory reset.
d) Flash stock recovery and reset.
I have used df to see the partitions table, the data partition is 13gb and the sdcard partition is 13gb again. so i am guessing the culprit is the data partition. please help me get my partitions.
Regards,
Kalpak.
bump. no one?
I am surprised no one else is facing a similar issue. Can anyone please help me? I am running stock 3.2 right now. My sdcard partition is 16gb and my data partition is 16gb again so please help me regain my space back.
kalpak2021 said:
Hey Guys,
I have read all over the internet for a possible solution and have not been able to find one. I will list the things i have tried:
I own a Galaxy Tab 10.1 3G.
a) Return to stock 4.0.4 and factory reset.
b) Flash .pit file.
c) Return to stock 3.2 and factory reset.
d) Flash stock recovery and reset.
I have used df to see the partitions table, the data partition is 13gb and the sdcard partition is 13gb again. so i am guessing the culprit is the data partition. please help me get my partitions.
Regards,
Kalpak.
Click to expand...
Click to collapse
You need to verify that the PIT file is for the 32 Gb, then install it using ODIN with the "Re-Partition" checkbox checked.
You can see the size of the partitions using fdisk - what df does is to tell you the size of the filesystem on that partition; if something went wrong and formatted only 16Gb of your data partition even though it's got 32Gb allocated, then you'll need to re-create that filesystem.
The most likely cause is that you installed a 16Gb PIT file.
You can find a PIT file editor here: http://forum.xda-developers.com/showthread.php?t=1916936
k1mu said:
You need to verify that the PIT file is for the 32 Gb, then install it using ODIN with the "Re-Partition" checkbox checked.
You can see the size of the partitions using fdisk - what df does is to tell you the size of the filesystem on that partition; if something went wrong and formatted only 16Gb of your data partition even though it's got 32Gb allocated, then you'll need to re-create that filesystem.
The most likely cause is that you installed a 16Gb PIT file.
You can find a PIT file editor here: http://forum.xda-developers.com/showthread.php?t=1916936
Click to expand...
Click to collapse
Thanks for your reply. But i tried using fdisk and pit magic (could not understand anything) without much help. fdisk -l shows nothing.
and i did an fdisk /dev/block/mmblk* -l and i'm quoting the results.
Code:
Disk /dev/block/mmcblk0: 15.7 GB, 15756951552 bytes
4 heads, 16 sectors/track, 480864 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p1: 12 MB, 12582912 bytes
4 heads, 16 sectors/track, 384 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p1 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p10: 314 MB, 314572800 bytes
4 heads, 16 sectors/track, 9600 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p10 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p2: 5 MB, 5242880 bytes
4 heads, 16 sectors/track, 160 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p2 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p3: 8 MB, 8388608 bytes
4 heads, 16 sectors/track, 256 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p3 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p4: 606 MB, 606076928 bytes
4 heads, 16 sectors/track, 18496 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p4 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p5: 469 MB, 469762048 bytes
4 heads, 16 sectors/track, 14336 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p5 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p6: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p6 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p7: 12 MB, 12582912 bytes
4 heads, 16 sectors/track, 384 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p7 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p8: 14.3 GB, 14305198080 bytes
4 heads, 16 sectors/track, 436560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p8 doesn't contain a valid partition table
Disk /dev/block/mmcblk0p9: 8 MB, 8388608 bytes
4 heads, 16 sectors/track, 256 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p9 doesn't contain a valid partition table
also, i am attaching the .pit file i used to flash.
kalpak2021 said:
Thanks for your reply. But i tried using fdisk and pit magic (could not understand anything) without much help. fdisk -l shows nothing.
and i did an fdisk /dev/block/mmblk* -l and i'm quoting the results.
Code:
Disk /dev/block/mmcblk0: 15.7 GB, 15756951552 bytes
Disk /dev/block/mmcblk0p1: 12 MB, 12582912 bytes
Disk /dev/block/mmcblk0p10: 314 MB, 314572800 bytes
Disk /dev/block/mmcblk0p2: 5 MB, 5242880 bytes
Disk /dev/block/mmcblk0p3: 8 MB, 8388608 bytes
Disk /dev/block/mmcblk0p4: 606 MB, 606076928 bytes
Disk /dev/block/mmcblk0p5: 469 MB, 469762048 bytes
Disk /dev/block/mmcblk0p6: 2 MB, 2097152 bytes
Disk /dev/block/mmcblk0p7: 12 MB, 12582912 bytes
Disk /dev/block/mmcblk0p8: 14.3 GB, 14305198080 bytes
Disk /dev/block/mmcblk0p9: 8 MB, 8388608 bytes
Click to expand...
Click to collapse
OK, so you've got a /dev/block/mmcblk0 with 15.7 GB. That's apparently the cause of your problem.
Your attached PIT file looks very strange to me, which probably means that I don't understand what PIT Magic is saying. The partition sizes in that file are all too small.
You'll need to find yourself a good .PIT file.
Does anyone know if there's some way of extracting the PIT from a working device?
Heimdall can download PIT files from devices from Download mode
Sent from my GT-P7510
dave106 said:
Heimdall can download PIT files from devices from Download mode
Sent from my GT-P7510
Click to expand...
Click to collapse
i would like to apologize for such a delayed reply. i am trying to extract the pit file using heimdall but i am getting a "Failed to initialize protocol" error.
Any help would be appreciated.
Some Progress
Some progress guys. Here's a report.
I have been trying for over three hours to get the .pit extracted from the tab and after three tiresome hours (and a little backache), i have successfully extracted the .pit from the tab. So here it goes, first i tried to run the heimdall 1.3.1 on a windows 8 machine, wasted around half an hour and then figured there's something wrong with this version. The next thing i did was looked for a build of 1.4RC1 for windows, could not find. So i downloaded Ubuntu 12.10, ran it in virtualbox. Now, another daunting task was to get rid of unity 3d and install Gnome 3 cuz Unity was sluggish as ****.. Next thing, i download a prebuild version which refuses to work so i build my own heimdall from this link and voila, it worked. Phew!
Now, enough of stories. Here is the print-pit output.
Code:
Heimdall v1.4 RC2
Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Manufacturer: "SAMSUNG"
Product: "SEC DEV"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Protocol initialisation successful.
Beginning session...
This device may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
PIT file download successful.
Entry Count: 17
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 0
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SMD
Flash Filename: emmc.img
FOTA Filename:
--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 6
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BCT
Flash Filename: bct.bin
FOTA Filename:
--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 1
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PT
Flash Filename:
FOTA Filename:
--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 4
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EBT
Flash Filename: bootloader.bin
FOTA Filename:
--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 4
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EB2
Flash Filename:
FOTA Filename:
--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 8
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: GP1
Flash Filename: fusetrigger.bin
FOTA Filename:
--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 24
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: efs.img
FOTA Filename:
--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 10
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SOS
Flash Filename: recovery.img
FOTA Filename:
--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 16
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: LNX
Flash Filename: boot.img
FOTA Filename:
--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 1156
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: APP
Flash Filename: system.img
FOTA Filename:
--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 896
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CAC
Flash Filename: cache.img
FOTA Filename:
--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 4
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MSC
Flash Filename:
FOTA Filename:
--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 24
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MDM
Flash Filename: modem.bin
FOTA Filename:
--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 14
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 27285
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: UDA
Flash Filename: data.img
FOTA Filename:
--- Entry #14 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 15
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 16
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: OTA
Flash Filename:
FOTA Filename:
--- Entry #15 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 16
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 600
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HID
Flash Filename: hidden.img
FOTA Filename:
--- Entry #16 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 17
Attributes: 1 (Read/Write)
Update Attributes: 0
Partition Block Size/Offset: 512
Partition Block Count: 2
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: GPT
Flash Filename:
FOTA Filename:
Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...
I am also attaching the generated .pit file. I am attaching the generated heimdall too in case anyone needs it. Cheers. :good:
BUMP, anyone?
Hi! did you found solution?
i have similar problem. my system partiotn is 19gb and tablet was 32gb ...now i have 2gb free
cant find what to do ....how to repait it
mxmone said:
Hi! did you found solution?
i have similar problem. my system partiotn is 19gb and tablet was 32gb ...now i have 2gb free
cant find what to do ....how to repait it
Click to expand...
Click to collapse
no mate. i haven't found any solution yet. i am planning to take it to service center as a last resort.
Hi! i revert back to previous nandroid backup and all back to normal ( i mean size of system partiotion ) ...as i can see problem is this rom..it have pid file or something like this for 16gb version and not for 32gb.
so just restore you nandroid backup ....
mxmone said:
Hi! i revert back to previous nandroid backup and all back to normal ( i mean size of system partiotion ) ...as i can see problem is this rom..it have pid file or something like this for 16gb version and not for 32gb.
so just restore you nandroid backup ....
Click to expand...
Click to collapse
the sad thing is i dont have one. any other suggestion mate?
you always can try to install different roms or just try to download from samsung stock image and flash it
try to look for 32gb roms .
http://www.sammobile.com/firmwares/#osa ( stock samsung roms)
kalpak2021 said:
Hey Guys,
I have read all over the internet for a possible solution and have not been able to find one. I will list the things i have tried:
I own a Galaxy Tab 10.1 3G.
a) Return to stock 4.0.4 and factory reset.
b) Flash .pit file.
c) Return to stock 3.2 and factory reset.
d) Flash stock recovery and reset.
I have used df to see the partitions table, the data partition is 13gb and the sdcard partition is 13gb again. so i am guessing the culprit is the data partition. please help me get my partitions.
Regards,
Kalpak.
Click to expand...
Click to collapse
Or you had repartion in the wrong way. Try Reset again.
I have tried multiple roms.. I have tried flashing pit too. The only hope was to extract the pit using Heimdall and flash it via odin or heimdall itself. Tried both but I get a red colored message on my screen which I'm guessing is due to a locked boatloader. So I will have to go to the service center itself.

[Q] S2 with Download mode only

Afternoon all,
Where to start...
The other day my S2 with CM10.1 nightly 29/03/13 ran out of power (again). No big deal I thought so it got charged up and turned on later. It sat at the bootloader splash screen, and never continued.
The issue is that it won't go into recovery mode, and it won't boot any further than the bootloader. I can't connect via adb, and there's no way of flashing a new ROM or a recovery ROM from the device itself.
I've tried Odin, and it hangs at NAND Write Start whilst trying to push on a clockworkmod recovery image - which is a bit worrying. I've tried different cables and different ports, but this is always the furthest I get. I've used Heimdall to get a copy of the PIT, which is attached below for reference in plain text and binary - so I can communicate with the device, but I'm wondering if it's suffered from a flash corruption or some sort of failure?
My question is...
Can somebody provide a copy of the PIT from a working i9100? I'd like to compare a known good copy with mine.
Is the PIT for a CM10.1 i9100 different from a stock i9100?
If I were to reflash the CM10.1 ROM, will my /data partition be safe?
If I were to 'factory reset' or flash a stock ROM somehow, will my /data partition be safe?
I have backups courtesy of TitaniumBackupPro, and Dropbox, but not of the photo collection (mea culpa) - is there any possible way to grab the /data partition?
Many thanks
Kyle
[email protected]:~/src$ sudo heimdall print-pit
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 131072
Downloading device's PIT file...
PIT file download sucessful
Entry Count: 15
Unknown 1: 0
Unknown 2: 0
Unknown 3: 0
Unknown 4: 0
Unknown 5: 0
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 0
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name: GANG
Filename: emmc.img
--- Entry #1 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 1
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name: BOOT
Filename: boot.bin
--- Entry #2 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 4
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 8192
Partition Block Count: 40960
Unknown 2: 0
Unknown 3: 0
Partition Name: EFS
Filename: efs.img
--- Entry #3 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 2
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 49152
Partition Block Count: 2560
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL1
Filename: Sbl.bin
--- Entry #4 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 3
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 53248
Partition Block Count: 2560
Unknown 2: 0
Unknown 3: 0
Partition Name: SBL2
Filename:
--- Entry #5 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 5
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 57344
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: PARAM
Filename: param.lfs
--- Entry #6 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 6
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 73728
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: KERNEL
Filename: zImage
--- Entry #7 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 7
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 90112
Partition Block Count: 16384
Unknown 2: 0
Unknown 3: 0
Partition Name: RECOVERY
Filename:
--- Entry #8 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 8
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 106496
Partition Block Count: 204800
Unknown 2: 0
Unknown 3: 0
Partition Name: CACHE
Filename: cache.img
--- Entry #9 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 9
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 311296
Partition Block Count: 32768
Unknown 2: 0
Unknown 3: 0
Partition Name: MODEM
Filename: modem.bin
--- Entry #10 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 10
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 344064
Partition Block Count: 1048576
Unknown 2: 0
Unknown 3: 0
Partition Name: FACTORYFS
Filename: factoryfs.img
--- Entry #11 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 11
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 1392640
Partition Block Count: 4194304
Unknown 2: 0
Unknown 3: 0
Partition Name: DATAFS
Filename: data.img
--- Entry #12 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 12
Partition Flags: 2 (R/W)
Unknown 1: 0
Partition Block Size: 5586944
Partition Block Count: 24133632
Unknown 2: 0
Unknown 3: 0
Partition Name: UMS
Filename:
--- Entry #13 ---
Unused: No
Partition Type: 2 (EXT4)
Partition Identifier: 13
Partition Flags: 1 (R)
Unknown 1: 0
Partition Block Size: 29720576
Partition Block Count: 1048576
Unknown 2: 0
Unknown 3: 0
Partition Name: HIDDEN
Filename: hidden.img
--- Entry #14 ---
Unused: Yes
Partition Type: 1 (Unknown)
Partition Identifier: 9
Partition Flags: 0 (R)
Unknown 1: 0
Partition Block Size: 0
Partition Block Count: 0
Unknown 2: 0
Unknown 3: 0
Partition Name:
Filename:
Ending session...
ERROR: Failed to receive session end confirmation!
Re-attaching kernel driver...
[email protected]:~/src$
Have u tried this thread?
http://forum.xda-developers.com/showthread.php?t=1457458
"To err is human, to forgive is divine"
Sent from my SGS II
Borked NAND is my guess. Possibly JTAG'able, maybe motherboard replacement.
I had the same problem a while ago with my sgs2, unfortunately i couldn't revive it, i ended up sending it to the repair center, turned out a hardware problem.
Messing with PIT is not the best solution though, but good luck anyway.
@immortalneo I have thanks
@MistahBungle That's my fear. Really wishing I'd symlinked DCIM to removable storage
@silv3rfox Glad to hear I'm not alone with this. Did it come back with fresh firmware or was your data intact?
I've managed to get in via adb shell, even though the screen is blank. There's a very limited filesystem, and all attempts to read from /dev/block/mmcblk0 eventually time out and result in the hardware rebooting and kicking me out - possibly a watchdog.
I hoped to dd /dev/block/mmcblk0p* to a microsd card as I can access external cards, but as I say it always times out and leaves a 0K length file on the card.
I'm prepared to pay up for the recovery of data from the phone, so I was wondering if there's any recommended recovery/repair centers? All I'd like is a copy of the filesystem on the flash (it sounds so simple I'll happily chuck the phone away once I have that!
Cheers
Best bet is to ask local mobile repair shops if they're capable of recovering your data, failing that contact companies that normally recover data from conventional hard drives. You may get lucky.
Many thanks. I've done just that, and have emailed Kroll and a few others.
I'll post here with the results, if there are any
Well, I had a discussion with Kroll Ontrack... apparently I've done everything their expert phone engineers would do, and the next stage is physical removal of the chip - which is something they don't do
My initial thought is to move the flash chip to a known working motherboard - so I'm about to get in touch with reworkbga.com about the task.
The PIT data - where is that stored? Is it on flash or elsewhere? Surely if reading the flash is the problem then it wouldn't be able to load the PIT? Just trying to throw some doubts into my process at the moment!
Well, just to close this one off, I got in touch with local authorised Samsung repair shop and they took it in. It ultimately went away for a new motherboard - as expected the whole thing was knackered.
Had to suffer the loss of 6 months of photos. Live and learn!

SGT3 10.1 Rom Developing by learning developers

Read First. The information posted in this thread can be extremely dangerous. We are here to get and share information. If you are looking for real development please see Angel666 thread at
" [Development][Source]CyanogenMod 11 for SGT-3 10.1" => http://forum.xda-developers.com/showthread.php?t=2633554
Please if you can donate to Angel666. He is our only current real NONE Stock Rom development.
Objective: We are a bunch of newbie trying to promote New NONE Stock Rom Development for Galaxy Tab 3 10.1. Witch carries "La maldicion del x86 processor". All available rom development is base on stock samsung rom. Not a single AOSP or Cianogenmod rom has been release. We need expertise guys. But since there is shortage I propose this thread so that Brave or Crazy newbie can share an experience ourself.
Rules:
xda Forum Rule:
1) We are in Development Area. All post has to be related ONLY to development by the rules of this forum. Be aware.
This thread rules
2) All development information are accepted no mater how dummy you think they may be.
3) ALL Developers Accepted - please help us or get involve.
4) All None developers - yes here you can post and share your development trouble.
5) Please be smart, Go Away while you can. Please consider the position you are in now:
> Part of XDA-developers. You have given you first step away of the common user!!!!!
> Have a Galaxy Tab 3 10.1. You have found your self a magic gadget that carries "Maldicion"
> Android Development Area - Ohhhh boy here is where you started to make your first big error for a common user. Go away.
> You put your best hope of salvation in a guy who think is an angel of hell. Sorry Angel666.
> Now you are following a bunch of inpatient crazy guys that have no idea what to do!!!! To make it difficult most have P5210 - wifi only while Angel666 has P5200 3g!
You been warm if you are a Nice common xda user. Go Away. Do not blame us if you get touch by the "Maldicion".
Back to business:
Bunch of nice links for you to start reading:
Yessss first read.
Then read again.
If you have time left then read more
XDA nice placesssss
Chef Central > Android => http://forum.xda-developers.com/chef-central/android
General discussion > XDA-University
COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
=> http://forum.xda-developers.com/showthread.php?t=2060017
Android Development and Hacking > Android Software Development
[GUIDE] The Comprehensive AOKP Building Guide => http://forum.xda-developers.com/showthread.php?t=2217175
xda-university.com => http://xda-university.com/
http://xda-university.com/as-a-developer/introduction-how-an-android-rom-is-built
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
http://xda-university.com/video-guides
Other
cyanogenmod.org
forum.cyanogenmod.com => h__p://forum.cyanogenmod.com/
wiki.cyanogenmod.org => h__p://wiki.cyanogenmod.org/w/Main_Page
Development => h__p://wiki.cyanogenmod.org/w/Development
Build_Guides => h__p://wiki.cyanogenmod.org/w/Build_Guides
How To Port CyanogenMod Android To Your Own Device => h__p://wiki.cyanogenmod.org/w/Doc:_porting_intro
download.cyanogenmod.org => h__p://download.cyanogenmod.org/
Unofficial_Ports => h__p://wiki.cyanogenmod.org/w/Unofficial_Ports
h__ps://github.com/CyanogenMod
h__ps://github.com/cyanogenmod/android_device_samsung_p5100
h__ps://github.com/CyanogenMod/android_device_samsung_p5110
h__ps://github.com/CyanogenMod/android_device_samsung_p5113
Google => h__p://source.android.com/source/index.html
Intel Developer Zone - software.intel.com
h__p://software.intel.com/en-us/search/site/language/en?query=intel+eula+x86+android+&sort_by=search_api_relevance&sort_order=DESC&collapsed_state=null
Intel Opensource Technology center => h__ps://01.org/android-ia/
github.com repositories
kumajaya repositories => h__ps://github.com/kumajaya?tab=repositories
Samsung Galaxy Tab 3 8.0 SM-T310 => h__ps://github.com/kumajaya/android_device_samsung_lt01wifi
HazouPH / android_device_motorola_smi => h__ps://github.com/HazouPH/android_device_motorola_smi
HazouPH / android_device_motorola_smi-plus => h__ps://github.com/HazouPH/android_device_motorola_smi-plus
Nice P2xx developers
h__ps://github.com/Angel666?tab=repositories
h__ps://github.com/Angel666/device_samsung_santos103g
h__ps://bitbucket.org/DutchDanny
h__ps://bitbucket.org/DutchDanny/kernel_samsung_santos10/src
h__ps://bitbucket.org/DutchDanny/android_kernel_santos10wifi/src
h__ps://github.com/trevd?tab=repositories
h__ps://github.com/trevd/android_device_samsung_p52xx
h__ps://github.com/trevd/android_kernel_samsung_santos10
info on Patches
h__p://review.cyanogenmod.org/#/q/owner:%22Trevor+Drake%22+status:merged,n,z
h__ps://github.com/HazouPH/android_device_motorola_smi/tree/jellybean/patch
h__ps://bitbucket.org/seandroid/frameworks-base/commits/4c1d9043b3a0c6d82872af1ec9f9daab7fa32d03
x86 similar devices
h__p://sourceforge.net/projects/razr-i.motorola/files/razr-i/9.8.2I-50_SMI-28/
oxavelar / android_device_motorola_intel_smi => h__ps://github.com/oxavelar/android_device_motorola_intel_smi
HazouPH / android_device_motorola_smi => h__ps://github.com/HazouPH/android_device_motorola_smi
HazouPH / android_device_motorola_smi-plus => h__ps://github.com/HazouPH/android_device_motorola_smi-plus
android-x86
h__ps://groups.google.com/forum/#!forum/android-x86
h__p://git.android-x86.org/
I think this is good enough to start this thread
Lots of good information. I am a crazy one that has been looking to start developing ROMS. Why not end my frustration with my TAB 3. I will begin reading and learning and will help develop a non TW ROM.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
I been having some troubles with Heimdall. It wont program my tablet? the error is "ERROR: Protocol initialisation failed!"
Code:
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
ERROR: Protocol initialisation failed!
Releasing device interface...
So I started looking for P5210 pit and since I could not found one I decided to try an old trick use in other devices.
I use
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176
And after testing the pit it seems correct. Looking inside it shows that its real name is "GT-P5210_EUR_XX_20130523.pit" so I rename it.
It is funny the only previews pit I found was for GT-P5200_EUR_XX_20130523.pit. Similar names.
So I created the other missing file needed for heimdall the "firmware.xml"
I attached the files.
But I still have not find why Heimdall wont communicate with Tablet?
Here is an analisys of the partition table
Code:
P5200 P5200 P5210 P5210 P5010 P5010
Identifier Partition Name Flash FileName Partition Name Flash FileName Block Size Block Count
1 RESERVED1 - RESERVED1 - 81920 6144
2 EFS efs.img EFS efs.img 16384 40960
3 CONFIG - CONFIG - 196608 32768
4 FACTORY - FACTORY - 229376 4096
5 MEDIA - MEDIA - 233472 4096
6 CACHE cache.img CACHE cache.img 5324800 716800
7 RESERVED2 - RESERVED2 - 237568 8192
8 SYSTEM system.img SYSTEM system.img 286720 4833280
9 USERDATA userdata.img USERDATA userdata.img 6041600 24715264
10 BOOT boot.img BOOT boot.img 106496 40960
11 RECOVERY recovery.img RECOVERY recovery.img 147456 40960
12 RADIO modem.bin RESERVED3 188416 8192
13 HIDDEN hidden.img HIDDEN hidden.img 5120000 204800
14 CARRIER carrier.img CARRIER carrier.img 245760 8192
15 TDATA tdata.img TDATA tdata.img 253952 8192
16 PARAM param.bin PARAM param.bin 73728 8192
17 PERSDATA persdata.img PERSDATA persdata.img 262144 24576
18 BOTA0 - BOTA0 - 8192 4096
19 BOTA1 - BOTA1 - 12288 4096
20 DNX dnx_fwr.bin DNX dnx_fwr.bin 88064 2048
21 OTA - OTA - 90112 16384
70 OSIP osip.bin OSIP osip.bin 1
71 PIT GT-P5200_EUR_XX_20130523.pit PIT GT-P5210_EUR_XX_20130523.pit 34 15
72 SBOOT sboot.bin SBOOT sboot.bin 49 6095
73 MD5HDR md5.img MD5HDR md5.img 6144 2048
74 SBOOT2 sboot2.bin SBOOT2 sboot2.bin 57344 16384
80 IAFW iafw.bin IAFW iafw.bin 4096
I know the table looks bad. But take the data to a spread sheet. Note that the Block Size & Block Count shown is for P5210 only. it is different for P5200.
Now that we know the partitions, would it be possible to package say ubuntu and flash it to the device using heimdall ? is that possible at all :/
@Nitro_123
jijiji you are like us, you want with all your hart Ubuntu in Tab3 10.1. Nice
We on the other hand, want with all our hart AOSP or Cianomodgen.
I bet you having Ubuntu alt least boot up should be feasible but at this moment I may not be your guy.
I am trying to make Heimdall work for Tab3 10.1.
Good news:
I thought I had detected what seems the problem. But My collection of data was done in WIN7 version.
I have setup my CodeBlocks to compile Heimdall so that I can work on it.
I have started to do some mods, recompiling and testing.
Bad news
Ubuntu Heimdall behave very different than in WIN7. Delays are different even the debug messages change.
So the initial thought of a time delay of 1 second is not seen in Ubuntu. Still failed in the same spot.
Heimdall source have no comments!!! But it has many print labels that are easy to spot.
All the nice tools that I have to debug usb are for windows! I need to get some for Ubuntu.
Still It seems feasible.
I just want to say that I still working. Not as easy as I thought.
In Ubuntu many USB Device Managers query the USB port, disk driver , HID, Modemmanager, Audio & Video Player etc..(many others).
In particular some even "claim" the USB for them-self. This alternate USB managers make difficult the reverse engineering. In other words when I sniff ( monitor) the USB data I am never sure who sent what!!! I can say that I am learning a lot for sure.
Today i decide to use a different strategy. I will create my own communication program so I now for sure what I been sending to the Device. Well I will use an old ATT Captivate for initial testing. The Idea is to create a a good sequence that I can latter test against my P5210. With the intention to know if I can recreate the good sequence that I had record previously with WIn7+Odin.
It is not my intention to create my own Heimdall, but to have a good comparison to point the defect or suggested modification in Heimdall.
Be back when I get something useful.
pit file
hello,
sorry to bother you,
my question is, is this pit file specific to heimdall usage or is it a universal file usable in odin?
thank you for your time
m
afterthought, there i a point in the boot process where a flag android cos path taken
go here http://forum.xda-developers.com/showthread.php?t=2589370&page=2 post #18
the theory being if this can be modified/sticken/spoofed etc. then any kernel should load and boot through.
First my apologies to all. Personal issues had keet me out of this game. Still even when this tread did not got rolling I see that it did on:
"[SIGNUP] [DEVELOPMENT] signup sheet for AOSP build team", in the General area.
@moonbutt74
I can not deny to respond to you, my respect to your wonderful work in this forum. Thank for your time.
First be careful with what I say. I am no developer.
moonbutt74 said:
... is this pit file specific to heimdall usage or is it a universal file usable in odin?
Click to expand...
Click to collapse
My best guest is that all Samsung PITs files are "universal". I have never seen a PIT file in this forum that was to be use only for Odin or Heimdall.!!! But I cab be mistaken.
Now the question is really: Is this a good PIT for P5210??? How I got it?
Well it is explained on response #3. http://forum.xda-developers.com/showpost.php?p=50234793&postcount=3
So I started looking for P5210 pit and since I could not found one I decided to try an old trick use in other SAMSUNG devices.
I use
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176
And after testing the pit it seems correct. Looking inside (Reading the PIT file) it shows that its real name is "GT-P5210_EUR_XX_20130523.pit" so I rename it like that.
Click to expand...
Click to collapse
Just download Heimdall package files.tar.gz. In it you will see a folder P5200, the pit inside was downloaded from the web. But inside the folder P5210 you will see "GT-P5210_EUR_XX_20130523.pit" That is the file I created with
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=481 skip=2176
then renamed "out.pit" to read instead "GT-P5210_EUR_XX_20130523.pit"
You can look at the pit file using "PIT Magic v1.3.10 - Samsung PIT Creator, Editor, Analyzer!"
http://forum.xda-developers.com/showthread.php?t=1916936
Or you can use Heimdall PRINT function for the PIT.
Here is the report using the Analisys fubction on the pit
Code:
----------------------------------------------------------
PIT Magic v1.3.10 Copyright © Gaz 2012.
----------------------------------------------------------
Analysis for: GT-P5210_EUR_XX_20130523.pit
----------------------------------------------------------
----------------------------------------------------------
<<< Pit File Start >>>
----------------------------------------------------------
----------------------------------------------------------
<<< PIT File Header Information >>>
----------------------------------------------------------
Header Magic: 0x12349876 (4 Bytes)
Entry Count: 27 (4 Bytes)
----------------------------------------------------------
Dummy Data #1 (In String and Hexadecimal Format):
----------------------------------------------------------
String: COM_
Hexadecimal: 434F4D5F
----------------------------------------------------------
Dummy Data #2 (In String and Hexadecimal Format):
----------------------------------------------------------
String: TAR2
Hexadecimal: 54415232
----------------------------------------------------------
Dummy Data #3 (In String and Hexadecimal Format):
----------------------------------------------------------
String: inte
Hexadecimal: 696E7465
----------------------------------------------------------
Dummy Data #4 (In String and Hexadecimal Format):
----------------------------------------------------------
String: lsb
Hexadecimal: 6C736200
----------------------------------------------------------
Dummy Data #5 (In String and Hexadecimal Format):
----------------------------------------------------------
String:
Hexadecimal: 00000000
----------------------------------------------------------
Dummy Data Length: (4 Bytes Per Block, 20 Bytes In Total.)
----------------------------------------------------------
Header Size: (28 Bytes)
----------------------------------------------------------
<<< PIT File Entries >>>
----------------------------------------------------------
----------------------------------------------------------
Entry Memory Address: 0x1C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 70
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size:
Block Count: 1
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: OSIP
Flash FileName: osip.bin
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xA0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 71
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 34
Block Count: 15
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PIT
Flash FileName: GT-P5210_EUR_XX_20130523.pit
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x124
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 72
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 49
Block Count: 6,095
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBOOT
Flash FileName: sboot.bin
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x1A8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 73
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 6,144
Block Count: 2,048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MD5HDR
Flash FileName: md5.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x22C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 18
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 8,192
Block Count: 4,096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOTA0
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x2B0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 19
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 12,288
Block Count: 4,096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOTA1
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x334
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 2
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 16,384
Block Count: 40,960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash FileName: efs.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x3B8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 74
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 57,344
Block Count: 16,384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBOOT2
Flash FileName: sboot2.bin
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x43C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 16
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 73,728
Block Count: 8,192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash FileName: param.bin
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x4C0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 1
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 81,920
Block Count: 6,144
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RESERVED1
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x544
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 20
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 88,064
Block Count: 2,048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DNX
Flash FileName: dnx_fwr.bin
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x5C8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 21
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 90,112
Block Count: 16,384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: OTA
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x64C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 10
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 106,496
Block Count: 40,960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash FileName: boot.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x6D0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 11
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 147,456
Block Count: 40,960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RECOVERY
Flash FileName: recovery.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x754
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 12
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 188,416
Block Count: 8,192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RESERVED3
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x7D8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 3
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 196,608
Block Count: 32,768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CONFIG
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x85C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 4
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 229,376
Block Count: 4,096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FACTORY
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x8E0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 5
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 233,472
Block Count: 4,096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MEDIA
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x964
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 7
Attribute: 5 (READ / WRITE)
Update Attribute: 1 (FOTA)
Block Size: 237,568
Block Count: 8,192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RESERVED2
Flash FileName: -
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0x9E8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 14
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 245,760
Block Count: 8,192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CARRIER
Flash FileName: carrier.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xA6C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 15
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 253,952
Block Count: 8,192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: TDATA
Flash FileName: tdata.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xAF0
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 17
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 262,144
Block Count: 24,576
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PERSDATA
Flash FileName: persdata.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xB74
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 8
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 286,720
Block Count: 4,833,280
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash FileName: system.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xBF8
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 13
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 5,120,000
Block Count: 204,800
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash FileName: hidden.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xC7C
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 6
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 5,324,800
Block Count: 716,800
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHE
Flash FileName: cache.img
FOTA FileName:
----------------------------------------------------------
Entry Memory Address: 0xD00
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 9
Attribute: 5 (READ / WRITE)
Update Attribute: 5 (FOTA)
Block Size: 6,041,600
Block Count:
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: USERDATA
Flash FileName: userdata.img
FOTA FileName: remained
----------------------------------------------------------
Entry Memory Address: 0xD84
----------------------------------------------------------
Binary Type: 0 (UNKNOWN)
Device Type: 2 (MMC)
Identifier: 80
Attribute: 2 (STL)
Update Attribute: 1 (FOTA)
Block Size:
Block Count: 4,096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: IAFW
Flash FileName: iafw.bin
FOTA FileName:
----------------------------------------------------------
<<< Pit File End >>>
----------------------------------------------------------
So to all my buddies. This PIT File is NOT Official, I just used some tools previously discussed in XDA for other Samsung devices.
moonbutt74 said:
afterthought, there i a point in the boot process where a flag android cos path taken
go here http://forum.xda-developers.com/showthread.php?t=2589370&page=2 post #18
the theory being if this can be modified/sticken/spoofed etc. then any kernel should load and boot through.
Click to expand...
Click to collapse
Wao, that will be nice. In fact this is the first step to run Ubuntu from boot on our device. There are a couple of friend that will like that.
I will try later to read at the link to try to inform myself.
What I have understood on this boot process is that Samsung has place some sort of Signature in the Boot/Kernel/firmware. If we try to mod or use anything different it fail the Signature Process forcing the boot process to fail. Something like that. Forgive me If I am wrong.
So I will expect that kitkat will test the boot partition for its signatures. And if the boot partitions are not as expected Kitkat fail!! At least that is how the Galaxy S*** guys has explained! Again, Forgive me If I am wrong.
Jijiji
I am confuce. I am reading your article and found you new my anwser back on may!!
Also found that kali is another linux distro! So we are talking the same objective.

verizon samsung galaxy note 2 sch-i605 stuck in a boot loop

Hello,
My verizon samsung galaxy note 2 sch-i605 phone rebooted all of a sudden when I clicked on a text message. Since then it is stuck in a boot loop. I tried booting into clockwork recovery mode using Vol Up + Power + Home but then it shows me the 'TEAMWIN' screen and then continues bootlooping. I have tried everything for the past 4 hours and read about 30 articles. I have tried changing the recovery program to TWRP, installed CI605_I605VRLJB_I605VRALJB_CL414933_HWID04_HW_Rev0406_low_ship_user.tar.md5 via odin, repartitioned the phone via odin using sch-i605-16gb.pit. However, nothing changes the phone stays in bootloop. What else can I do?
salilsurendran said:
Hello,
My verizon samsung galaxy note 2 sch-i605 phone rebooted all of a sudden when I clicked on a text message. Since then it is stuck in a boot loop. I tried booting into clockwork recovery mode using Vol Up + Power + Home but then it shows me the 'TEAMWIN' screen and then continues bootlooping. I have tried everything for the past 4 hours and read about 30 articles. I have tried changing the recovery program to TWRP, installed CI605_I605VRLJB_I605VRALJB_CL414933_HWID04_HW_Rev0406_low_ship_user.tar.md5 via odin, repartitioned the phone via odin using sch-i605-16gb.pit. However, nothing changes the phone stays in bootloop. What else can I do?
Click to expand...
Click to collapse
Ok..
So you are unlocked... what and where did you get that tar you are flashing..
You can try a couple things..
Find the data corruption thread..stickied in general.. flash stock recovery and do a factory reset. . Follow the directions. . See if that brings you or of the boot loop..
Flash that with the pit file in odin..
Report back here if that fixes it.. if not we'll move on
Sent from my SCH-I605 using XDA Premium 4 mobile app
lacoursiere18 said:
Ok..
flash stock recovery and do a factory reset. . Follow the directions. .
Click to expand...
Click to collapse
This is exactly what I did following the directions in http://forum.xda-developers.com/showthread.php?t=2024207 . I downloaded the Official VRALJB 4.1.1 12/9/12- http://www.androidfilehost.com/?fid=9390214368362234374 mentioned in the above page. I flashed the pit file using Odin. Nothing is getting me out of the bootloop. It is like the custom recovery etc. I am flashing has no effect at all of the phone.
I want to completely clean out the ROM including the bootloader etc. and install a new ROM. Unfortunately I am unable to connect using ADB either because my phone is not in USB debugging mode. It doesn't enter recovery mode and any of the custom recovery or ROMs I flashed to the phone is not taking effect?
I have given up. My phone is completely bricked. I installed the latest 4.3 OTA , latest firmware from Samsung and TWRP but it is as if my phone is in read only mode and nothing at all changes and the same boot loop happens again and again. Right now my only option is to take it back to Samsung but it is not under warranty since it about 1 year 5 months old. I live in the South Bay Area, California. Anywhere nearby I can take the phone to have the ROM physically replaced?
You will need to start completely over with this phone. I had the same issue.. Taking it back to stock and re rooting it did the trick. Partitions are hosed.
drarkanex said:
You will need to start completely over with this phone. I had the same issue.. Taking it back to stock and re rooting it did the trick. Partitions are hosed.
Click to expand...
Click to collapse
I have already tried taking in back to stock etc. reinstalling recovery etc. Nothing makes a difference. Odin says pass but there is no change in hte phone it goes into the same boot loop over and over again.
I had to do mine about 4 or 5 times. I thought i had bricked my phone too because mine rebooted by itself while i was in facebook. Then didnt comeback up. Make sure you run odin with admin rights on win 7
drarkanex said:
I had to do mine about 4 or 5 times. I thought i had bricked my phone too because mine rebooted by itself while i was in facebook. Then didnt comeback up. Make sure you run odin with admin rights on win 7
Click to expand...
Click to collapse
So did you not change anything during 4-5 times of flashing?
No.. No changes.. Got it back up on the stock rom. When it came back up i let it sit for 30 min to make sure it took
Also for good measure.. Redownload the stock rom again.
salilsurendran said:
I have already tried taking in back to stock etc. reinstalling recovery etc. Nothing makes a difference. Odin says pass but there is no change in hte phone it goes into the same boot loop over and over again.
Click to expand...
Click to collapse
salilsurendran said:
So did you not change anything during 4-5 times of flashing?
Click to expand...
Click to collapse
This is because your recovery partition is borked (Broken) you need to look into a program called Heimadell.. It allows you to flash img's separately .. In this case you need to flash a stock recovery.img..
lacoursiere18 said:
This is because your recovery partition is borked (Broken) you need to look into a program called Heimadell.. It allows you to flash img's separately .. In this case you need to flash a stock recovery.img..
Click to expand...
Click to collapse
I already used Heimadell. Like I said it seems that my phone is in read only mode. Is there any way I can make my sd card bootable and force my phone to boot from it rather than the rom?
Anyway to put the Verizon Samsung Galaxy Note 2 in fastboot mode?
I was able to use Heimdall suite and download the PIT file. I then flashed the stock rom using Heimdall and repartitioned it using the PIT file. I then redownloaded the PIT file and nothing changed. I then tried flashing the 4.1.2 ROM using Heimdall. Downloaded the PIT file again. There was no change at all. Heimdall and Odin seem to be able to access my system and reports 100% success when it comes to flashing the *.img files but the PIT file reports no changes. When I use ADB devices or fastboot devices command they report no devices attached. Is there any software that can let me explore the phone in download mode. Note I am not able to get to recovery or a fastboot mode(if different from download mode). Here is the PIT file from my system as reported by Heimdall:
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Entry Count: 22
Unknown 1: 1598902083
Unknown 2: 844251476
Unknown 3: 30797
Unknown 4: 19757
Unknown 5: 19780
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 80
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 0
Partition Block Count: 1734
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOTLOADER
Flash Filename: sboot.bin
FOTA Filename:
--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 82
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 0
Partition Block Count: 1734
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: bootloader
Flash Filename: swagBoot
FOTA Filename:
--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 81
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 1734
Partition Block Count: 312
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: TZSW
Flash Filename: tz.img
FOTA Filename:
--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 70
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 34
Partition Block Count: 16
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PIT
Flash Filename: t0.pit
FOTA Filename:
--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 71
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 50
Partition Block Count: 2048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MD5HDR
Flash Filename: md5.img
FOTA Filename:
--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 1
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 8192
Partition Block Count: 8192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOTA0
Flash Filename: -
FOTA Filename:
--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 16384
Partition Block Count: 8192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOTA1
Flash Filename: -
FOTA Filename:
--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 24576
Partition Block Count: 40960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: efs.img
FOTA Filename:
--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 65536
Partition Block Count: 8192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: m9kefs1
Flash Filename: m9kefs1.bin
FOTA Filename:
--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 73728
Partition Block Count: 8192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: m9kefs2
Flash Filename: m9kefs2.bin
FOTA Filename:
--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 81920
Partition Block Count: 8192
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: m9kefs3
Flash Filename: m9kefs3.bin
FOTA Filename:
--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 90112
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash Filename: param.bin
FOTA Filename:
--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 106496
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash Filename: boot.img
FOTA Filename:
--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 122880
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RECOVERY
Flash Filename: recovery.img
FOTA Filename:
--- Entry #14 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 60
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 122880
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: recovery
Flash Filename: recoverThis
FOTA Filename:
--- Entry #15 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 139264
Partition Block Count: 180224
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RADIO
Flash Filename: modem.bin
FOTA Filename:
--- Entry #16 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 319488
Partition Block Count: 524288
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: TOMBSTONES
Flash Filename: tombstones.img
FOTA Filename:
--- Entry #17 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 843776
Partition Block Count: 3145728
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHE
Flash Filename: cache.img
FOTA Filename:
--- Entry #18 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 3989504
Partition Block Count: 4718592
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash Filename: system.img
FOTA Filename:
--- Entry #19 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 14
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 8708096
Partition Block Count: 40960
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash Filename: hidden.img
FOTA Filename:
--- Entry #20 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 15
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 8749056
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: OTA
Flash Filename: -
FOTA Filename:
--- Entry #21 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 16
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 8765440
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: USERDATA
Flash Filename: userdata.img
FOTA Filename: remained
When you put your phone in Odin mode what does it display? Anything about Knox warranty? You said in one of your previous post that you tried the 4.3 ota. If the bootloader updated when you did that then using Odin to flash anything lower than 4.3 won't work.
No when I put it in Odin mode it says:
ODIN MODE
PRODUCT NAME: SCH-I605
CUSTOM BINARY DOWNLOAD: NO
CURRENT BINARY: SAMSUNG OFFICIAL
SYSTEM STATUS: OFFICIAL
I did several flashes of stock ROMs but nothing has changed in the phone. The PIT file is the exact same PIT as is supposed to be originally as mentioned in this page http://forum.xda-developers.com/showthread.php?t=2118348&page=102 as the link https://dl.dropboxusercontent.com/u/13769093/note2_i605_t0.pit

Categories

Resources