[Galaxy S II Q&A, Help & Troubleshooting] kylegordon:
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

kyleg@WMWS0001:~/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...

kyleg@WMWS0001:~/src$