[HTC Desire X] hubidubi:
I did some more research.

First I tried to start fdisk/parted to print the partition table. Both did not work. parted hangs, while fdisk says it could not read the device.

So I looked what I can find with procfs. There are only four partitions printed.

cat /proc/partitions
major minor #blocks name

179 0 3784708 mmcblk0
179 1 20 mmcblk0p1
179 2 544 mmcblk0p2
179 3 4500 mmcblk0p3
179 4 1 mmcblk0p4

cat /proc/emmc
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 00c7f600 00000200 "recovery"
mmcblk0p27: 00fffc00 00000200 "boot"
mmcblk0p24: 3bdffe00 00000200 "system"
mmcblk0p26: 0f000000 00000200 "cache"
mmcblk0p25: 4cfffe00 00000200 "userdata"
mmcblk0p28: 017ade00 00000200 "devlog"
mmcblk0p30: 00040000 00000200 "pdata"
mmcblk0p31: 46800000 00000200 "fat"
mmcblk0p29: 00011c00 00000200 "extra"

Then I tried to find out wether there were error messanges concerning the emmc:

dmesg |grep mmc
<6>[ 7.378778] C0 mmc0: SDCC Version: 0x00000000
<3>[ 7.378981] C0 mmc0: No card detect facilities available
<6>[ 7.380389] C0 mmc0: Qualcomm MSM SDCC-core at 0x00000000a0600000 irq 80,0
dma 7 dmacrcri 12
<6>[ 7.380416] C0 mmc0: Controller capabilities: 0x00000001
<6>[ 7.380434] C0 mmc0: Platform slot type: MMC
<6>[ 7.380451] C0 mmc0: 8 bit data mode enabled
<6>[ 7.380468] C0 mmc0: 4 bit data mode disabled
<6>[ 7.380484] C0 mmc0: polling status mode disabled
<6>[ 7.380504] C0 mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.380524] C0 mmc0: Slot eject status = 0
<6>[ 7.380541] C0 mmc0: Power save feature enable = 1
<6>[ 7.380561] C0 mmc0: DM non-cached buffer at ffdc0000, dma_addr 0x13740000

<6>[ 7.380584] C0 mmc0: DM cmd busaddr 0x13740000, cmdptr busaddr 0x13757f40
<6>[ 7.381294] C0 mmc1: SDCC Version: 0x00000000
<6>[ 7.383129] C0 mmc1: Qualcomm MSM SDCC-core at 0x00000000a0400000 irq 56,2
94 dma 10 dmacrcri 6
<6>[ 7.383156] C0 mmc1: Controller capabilities: 0x00000001
<6>[ 7.383174] C0 mmc1: Platform slot type: SD
<6>[ 7.383191] C0 mmc1: 8 bit data mode disabled
<6>[ 7.383208] C0 mmc1: 4 bit data mode enabled
<6>[ 7.383224] C0 mmc1: polling status mode disabled
<6>[ 7.383244] C0 mmc1: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.383264] C0 mmc1: Slot eject status = 1
<6>[ 7.383281] C0 mmc1: Power save feature enable = 1
<6>[ 7.383301] C0 mmc1: DM non-cached buffer at ffda0000, dma_addr 0x13760000

<6>[ 7.383324] C0 mmc1: DM cmd busaddr 0x13760000, cmdptr busaddr 0x13777f40
<6>[ 7.383951] C0 mmc2: SDCC Version: 0x00000000
<6>[ 7.385494] C0 mmc2: Qualcomm MSM SDCC-core at 0x00000000a0500000 irq 58,0
dma 8 dmacrcri 7
<6>[ 7.385521] C0 mmc2: Controller capabilities: 0x00000001
<6>[ 7.385539] C0 mmc2: Platform slot type: SDIO(WIFI)
<6>[ 7.385556] C0 mmc2: 8 bit data mode disabled
<6>[ 7.385573] C0 mmc2: 4 bit data mode enabled
<6>[ 7.385589] C0 mmc2: polling status mode disabled
<6>[ 7.385609] C0 mmc2: MMC clock 144000 -> 50000000 Hz, PCLK 80000000 Hz
<6>[ 7.385629] C0 mmc2: Slot eject status = 1
<6>[ 7.385646] C0 mmc2: Power save feature enable = 1
<6>[ 7.385666] C0 mmc2: DM non-cached buffer at ffd80000, dma_addr 0x13780000

<6>[ 7.385689] C0 mmc2: DM cmd busaddr 0x13780000, cmdptr busaddr 0x13797f40
<6>[ 7.447169] C0 mmc_attach_sdio mmc_send_io_op_cond error1: -110
<3>[ 7.470703] C0 mmc0: ACMD 41 init process fail : resp : 0x0
<6>[ 7.534723] C0 mmc0: cid 90014a2058494e594814005f562a8f6e
<6>[ 7.534738] C0 mmc0: csd d02701320f5903d7ffffffe78a4040e6
<6>[ 7.534758] C0 mmc0: ext_csd 00000000000000010301000000000000
<6>[ 7.534776] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534794] C0 mmc0: ext_csd 00004000000000080000000000000000
<6>[ 7.534813] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.534831] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534849] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534868] C0 mmc0: ext_csd 00000800000000000000000000000000
<6>[ 7.534886] C0 mmc0: ext_csd 00000000000001040000000000000000
<6>[ 7.534904] C0 mmc0: ext_csd 00000000000000000000200000000000
<6>[ 7.534923] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.534941] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534959] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534978] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.534996] C0 mmc0: ext_csd 00000040000000000000020000000000
<6>[ 7.535014] C0 mmc0: ext_csd 00001000000000000000000000000000
<6>[ 7.535033] C0 mmc0: ext_csd 00000000000000000000080000000000
<6>[ 7.535051] C0 mmc0: ext_csd 00000000000000000000000000000a00
<6>[ 7.535069] C0 mmc0: ext_csd 0000000000000001150a0a0700100701
<6>[ 7.535088] C0 mmc0: ext_csd 02010807070013000073800800080808
<6>[ 7.535108] C0 mmc0: ext_csd 08080800000000000202020700020005
<6>[ 7.535126] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535144] C0 mmc0: ext_csd 00000000000000101f05000000010003
<6>[ 7.535163] C0 mmc0: ext_csd 00011e00000000000000000000000000
<6>[ 7.535181] C0 mmc0: ext_csd 00000000000000000000000000000004
<6>[ 7.535199] C0 mmc0: ext_csd 00000008000000000000000000000200
<6>[ 7.535218] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535234] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535253] C0 mmc0: ext_csd 00000010000000000000000000000000
<6>[ 7.535271] C0 mmc0: ext_csd 00000000000000000000000000000002
<6>[ 7.535289] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535308] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.535326] C0 mmc0: ext_csd 00000000000000000000000000000000
<6>[ 7.539618] C0 mmc0: set ext_csd.erase_group_def
<6>[ 7.550189] C0 mmc0: new high speed MMC card at address 0001
<6>[ 7.550671] C0 mmcblk0: mmc0:0001 XINYH 3.60 GiB
<6>[ 7.607051] C0 mmc2: Slot status change detected (0 -> 1)
<3>[ 7.857109] C0 mmc0: CMD18: Data timeout
<3>[ 7.857121] C0 mmc0: SDCC PWR is ON
<3>[ 7.857169] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 7.857181] C0 mmc0: SDCC irq is enabled
<3>[ 7.857399] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 7.857411] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 7.857423] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 7.857438] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 7.857454] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 7.857471] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 7.857538] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 7.857621] C1 mmc0: Controller has been reinitialized
<3>[ 7.857711] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 7.857728] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 7.857751] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 7.857768] C0 Buffer I/O error on device mmcblk0, logical block 1266
<3>[ 8.163094] C0 mmc0: CMD18: Data timeout
<3>[ 8.163106] C0 mmc0: SDCC PWR is ON
<3>[ 8.163153] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 8.163163] C0 mmc0: SDCC irq is enabled
<3>[ 8.163381] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 8.163393] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 8.163404] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 8.163419] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 8.163436] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 8.163453] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 8.163514] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 8.163596] C1 mmc0: Controller has been reinitialized
<3>[ 8.163676] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 8.163693] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 8.163713] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 8.163729] C0 Buffer I/O error on device mmcblk0, logical block 1266
<6>[ 8.163773] C0 mmcblk0: p1 p2 p3 p4 < >
<6>[ 8.164671] C0 mmc_rescan_try_freq: Find a MMC/eMMC card
<6>[ 8.233194] C0 mmc2: new high speed SDIO card at address 0001
<6>[ 8.251248] C0 mmc_rescan_try_freq: Find a SDIO card
<3>[ 8.790308] C0 mmc0: CMD18: Data timeout
<3>[ 8.790318] C0 mmc0: SDCC PWR is ON
<3>[ 8.790366] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 8.790376] C0 mmc0: SDCC irq is enabled
<3>[ 8.790594] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 8.790606] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 8.790618] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 8.790633] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 8.790649] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 8.790666] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 8.790741] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 8.790841] C1 mmc0: Controller has been reinitialized
<3>[ 8.790936] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 8.790953] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 8.790979] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 8.790998] C0 Buffer I/O error on device mmcblk0, logical block 1266
<3>[ 9.096353] C0 mmc0: CMD18: Data timeout
<3>[ 9.096363] C0 mmc0: SDCC PWR is ON
<3>[ 9.096408] C0 mmc0: SDCC clks are ON, MCLK rate=50000000
<3>[ 9.096416] C0 mmc0: SDCC irq is enabled
<3>[ 9.096591] C0 mmc0: MCI_TEST_INPUT = 0x000003fe
<3>[ 9.096599] C0 mmc0: ADM mode: busy=1, chnl=7, crci=12
<3>[ 9.096609] C0 mmc0: xfer_size=4096, data_xfered=0, xfer_remain=4096
<3>[ 9.096621] C0 mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done
=0, got_auto_prog_done=0, req_tout_ms=10000
<3>[ 9.096634] C0 mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspendi
ng=0
<3>[ 9.096648] C0 mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0,
disable_depth=0, runtime_error=0, request_pending=0, request=0
<3>[ 9.096721] C1 mmc0: DMA channel flushed (0x80000004)
<6>[ 9.096803] C1 mmc0: Controller has been reinitialized
<3>[ 9.096889] C0 mmcblk0: error -110 sending stop command, original cmd resp
onse 0x40000900, card status 0x400900
<3>[ 9.096903] C0 mmcblk0: r/w command failed, status = 0x40000900
<3>[ 9.096924] C0 end_request: I/O error, dev mmcblk0, sector 10128
<3>[ 9.096941] C0 Buffer I/O error on device mmcblk0, logical block 1266

I see some I/O errors there. :rolleyes: