[Galaxy Tab 2 Q&A, Help & Troubleshooting] nissens:
[GT-P5100] Reanimation question

Hello everybody,

I've been using XDA as a source of invaluable information for years. I've done lots of stuff with the help of this forum, for which I'm grateful. Now it's time for me to ask a question or two.

I've got an old Galaxy Tab 2 ( GT-P5100 10,1") almost for free, but the former owner claimed "something's been done to it in the past". Well, what I found is:

- it's softbricked (download mode and bootloader both work; though it's very flimsy, I'll explain that below)

- it has some kind of CWM installed (can't say exactly, but it's no pure CWM, it says something like 'CWM-based ver. 6.0.1' - it boots straight into it, no OS is started at bootup

- normally it's dead brick, after plugging into a charger it displays a battery icon, but the icon doesn't display charging animation, it's terminaly stuck with "waiting" icon (the wheel-like stuff) superimposed on a battery; though every now and then I can get it to work, and it boots into CWM - though there's no rule...

- on the outside, it's labelled as GT-P5100 (can give an IMEI and S/N if needed); though if I try to install a matching ROM via CWM, it says it's a GT-P5110 (maybe a bad ROM was installed in the past?)

- ODIN sees the device and tries to install a factory ROM, but gets stuck on 'SetupConnection' step, as in https://xdaforums.com/showthread.php?t=152184.

-It came with a SD card with some rooting package (S5-SuperSU-v2.82-SR5-20171001224502.zip) so I assume it's rooted or at least somebody tried to.

I've tried several different ROMs (most posted on this forum, but also several other carrier-branded [I'm from Poland and bought it there]).

I'm a Linux user by default, and tried Heimdall as well as Odin. What I haven't tried so far is checking PIT. Every ROM I downloaded is single-file (tar.md5).

I understand that by now it's ancient hardware, but I just want to try myself. Do you have any idea what might be wrong? And could a mod move it into proper thread, if anyone finds this interesting?

---------- Post added at 10:11 PM ---------- Previous post was at 09:45 PM ----------

Some system Info I managed to dump:

rupaul@gokwan:~$ adb devices -l

List of devices attached

c16077819d1b711 recovery usb:1-1.2 transport_id:1

rupaul@gokwan:~$ heimdall detect

ERROR: Failed to detect compatible download-mode device.

rupaul@gokwan:~$ heimdall print-pit --verbose

Heimdall v1.4.1

Copyright (c) 2010-2014 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...

ERROR: Failed to detect compatible download-mode device.

rupaul@gokwan:~$ heimdall print-pit --verbose

Heimdall v1.4.1

Copyright (c) 2010-2014 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: "SAMSUNG USB DRIVER"

Serial No: "	"

length: 18

device class: 2

S/N: 3

VID:PID: 04E8:685D

bcdDevice: 0BF7

iMan:iProd:iSer: 1:2:3

nb confs: 1

interface[0].altsetting[0]: num endpoints = 1

Class.SubClass.Protocol: 02.02.01

endpoint[0].address: 83

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: 02

max packet size: 0200

polling interval: 00

Claiming interface...

Setting up interface...

Initialising protocol...

Protocol initialisation successful.

Beginning session...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

Some devices may take up to 2 minutes to respond.

Please be patient!

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

Session begun.

Downloading device's PIT file...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

PIT file download successful.

Entry Count: 14

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: 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: X-loader

Flash Filename: MLO

FOTA Filename:

--- Entry #1 ---

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 #2 ---

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: 4096

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: SBL1

Flash Filename: Sbl.bin

FOTA Filename:

--- Entry #3 ---

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: 4096

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: SBL2

Flash Filename:

FOTA Filename:

--- Entry #4 ---

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 #5 ---

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: boot.img

FOTA Filename:

--- Entry #6 ---

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: recovery.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: 106496

Partition Block Count: 1433600

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: CACHE

Flash Filename: cache.img

FOTA Filename:

--- Entry #8 ---

Binary Type: 0 (AP)

Device Type: 2 (MMC)

Identifier: 9

Attributes: 0 (Read-Only)

Update Attributes: 0

Partition Block Size/Offset: 1540096

Partition Block Count: 40960

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: MODEM

Flash Filename: modem.bin

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: 1581056

Partition Block Count: 2867200

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: FACTORYFS

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: 4448256

Partition Block Count: 25280478

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: DATAFS

Flash Filename: userdata.img

FOTA Filename:

--- Entry #11 ---

Binary Type: 0 (AP)

Device Type: 2 (MMC)

Identifier: 13

Attributes: 1 (Read/Write)

Update Attributes: 0

Partition Block Size/Offset: 29728734

Partition Block Count: 1048576

File Offset (Obsolete): 0

File Size (Obsolete): 0

Partition Name: HIDDEN

Flash Filename: hidden.img

FOTA Filename:

--- Entry #12 ---

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.bin

FOTA Filename:

--- Entry #13 ---

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: MODEM

Flash Filename:

FOTA Filename:

Ending session...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

Rebooting device...

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

ERROR: libusb error -4 whilst receiving packet. Retrying...

ERROR: libusb error -4 whilst receiving packet. Retrying...

ERROR: libusb error -4 whilst receiving packet. Retrying...

ERROR: libusb error -4 whilst receiving packet. Retrying...

ERROR: libusb error -4 whilst receiving packet.

ERROR: Failed to receive reboot confirmation!

Releasing device interface...

rupaul@gokwan:~$ ^C