[T-Mobile HTC One (M7)] Angelus96:
Hey, well im still trying, I do install the TRWP 2.6.3.3 and 2.8.0.7 I think. Now i mount the partitions.. all of them... but it only recognize 619 MB for /data and /sdcard...

~ # ←[6ndf -h

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 891.8M 128.0K 891.6M 0% /dev

/dev/block/mmcblk0p37

629.9M 16.0M 613.9M 3% /data

/dev/block/mmcblk0p35

15.7M 4.0M 11.7M 26% /system

/dev/block/mmcblk0p36

1.8G 31.8M 1.8G 2% /cache

~ # ←[6n

There was also something equal to represent the /sdcard partition.. even with the same /dev/block/mmcblk0p37 label, except that the path was /sdcard.

So I recreate the partition through this post:

http://android-revolution-hd.blogspot.nl/2013/10/fix-data-htc-one.html

but then... the sdcard won't mount again. And the FSTAB show only this:

more /etc/fstab

/dev/block/mmcblk0p35 /system ext4 rw

/dev/block/mmcblk0p36 /cache ext4 rw

/dev/block/mmcblk0p37 /data ext4 rw

/usb-otg vfat rw

As you can see the /sdcard it's not there.. I don't know if it should .....

So, listing partitions with fdisk... for mmcblk0 drive... it shows me this...

~ # ←[6nfdisk -l /dev/block/mmcblk0

fdisk -l /dev/block/mmcblk0

Warning: deleting partitions after 60

Disk /dev/block/mmcblk0: 31.2 GB, 31272730624 bytes

1 heads, 16 sectors/track, 3817472 cylinders

Units = cylinders of 16 * 512 = 8192 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 * 1 17 128 4d Unknown

Partition 1 does not end on cylinder boundary

/dev/block/mmcblk0p2 17 49 256 51 Unknown

Partition 2 does not end on cylinder boundary

/dev/block/mmcblk0p3 49 16382 130671 5d Unknown

Partition 3 does not end on cylinder boundary

/dev/block/mmcblk0p4 16382 3817472 30408720 5 Extended

Partition 4 does not end on cylinder boundary

/dev/block/mmcblk0p5 16383 16384 16 5a Unknown

/dev/block/mmcblk0p6 16385 16417 256 73 Unknown

/dev/block/mmcblk0p7 16417 18364 15577+ 5b Unknown

/dev/block/mmcblk0p8 18364 18396 256 5c Unknown

/dev/block/mmcblk0p9 18396 18524 1024 45 Unknown

/dev/block/mmcblk0p10 18524 18556 256 47 Unknown

/dev/block/mmcblk0p11 18556 18812 2048 46 Unknown

/dev/block/mmcblk0p12 18812 19072 2080+ 4c Unknown

/dev/block/mmcblk0p13 19072 19712 5120 34 Unknown

/dev/block/mmcblk0p14 19712 19840 1024 36 Unknown

/dev/block/mmcblk0p15 19840 19968 1024 0 Empty

/dev/block/mmcblk0p16 19968 27649 61441 50 Unknown

/dev/block/mmcblk0p17 27649 28672 8190+ 74 Unknown

/dev/block/mmcblk0p18 28673 32768 32768 0 Empty

/dev/block/mmcblk0p19 32769 32896 1022+ 76 Unknown

/dev/block/mmcblk0p20 32896 33408 4096 4a Unknown

/dev/block/mmcblk0p21 33409 33920 4096 4b Unknown

/dev/block/mmcblk0p22 33921 36481 20480 19 Unknown

/dev/block/mmcblk0p23 36481 36481 4 0 Empty

/dev/block/mmcblk0p24 36481 36513 256 23 Unknown

/dev/block/mmcblk0p25 36513 36515 16 0 Empty

/dev/block/mmcblk0p26 36515 36675 1280+ 0 Empty

/dev/block/mmcblk0p27 36675 36683 64 0 Empty

/dev/block/mmcblk0p28 36684 36811 1024 0 Empty

/dev/block/mmcblk0p29 36812 49152 98727+ 0 Empty

/dev/block/mmcblk0p30 49153 55936 54270+ 0 Empty

/dev/block/mmcblk0p31 55936 65536 76800+ 77 Unknown

/dev/block/mmcblk0p32 65537 77824 98303 0 Empty

/dev/block/mmcblk0p33 77825 79872 16384 48 Unknown

/dev/block/mmcblk0p34 79873 81920 16383+ 71 Unknown

/dev/block/mmcblk0p35 81921 319488 1900543 83 Linux

/dev/block/mmcblk0p36 319489 401408 655359+ 83 Linux

/dev/block/mmcblk0p37 401409 3809280 27262976 83 Linux

/dev/block/mmcblk0p38 3809281 3812481 25600 83 Linux

/dev/block/mmcblk0p39 16383 16384 16 5a Unknown

/dev/block/mmcblk0p40 16385 16417 256 73 Unknown

/dev/block/mmcblk0p41 16417 18364 15577+ 5b Unknown

/dev/block/mmcblk0p42 18364 18396 256 5c Unknown

/dev/block/mmcblk0p43 18396 18524 1024 45 Unknown

/dev/block/mmcblk0p44 18524 18556 256 47 Unknown

/dev/block/mmcblk0p45 18556 18812 2048 46 Unknown

/dev/block/mmcblk0p46 18812 19072 2080+ 4c Unknown

/dev/block/mmcblk0p47 19072 19712 5120 34 Unknown

/dev/block/mmcblk0p48 19712 19840 1024 36 Unknown

/dev/block/mmcblk0p49 19840 19968 1024 0 Empty

/dev/block/mmcblk0p50 19968 27649 61441 50 Unknown

/dev/block/mmcblk0p51 27649 28672 8190+ 74 Unknown

/dev/block/mmcblk0p52 28673 32768 32768 0 Empty

/dev/block/mmcblk0p53 32769 32896 1022+ 76 Unknown

/dev/block/mmcblk0p54 32896 33408 4096 4a Unknown

/dev/block/mmcblk0p55 33409 33920 4096 4b Unknown

/dev/block/mmcblk0p56 33921 36481 20480 19 Unknown

/dev/block/mmcblk0p57 36481 36481 4 0 Empty

/dev/block/mmcblk0p58 36481 36513 256 23 Unknown

/dev/block/mmcblk0p59 36513 36515 16 0 Empty

/dev/block/mmcblk0p60 36515 36675 1280+ 0 Empty

Partition table entries are not in disk order

~ # ←[6nmount

At this point... all the unknown labels... makes me wonder if there is not some space left that need to be assigned.... because the fdisk command it recognizes the complete space of the phone... 32GB.

So I think it can be probably save--- Before declare it a goner... :P I got hope still....

What can be the issue so the partitions got messed up--- and how can I create the virtual SD with the size it should have...????

Something interesting I notice... its that when I reboot the phone.. the recovery its erased... like if the memory goes off.. So I have to flash again the recovery...

And ones in.. the system partitions it's not recognize at the first. I have to wipe it, with twrp, si I can get mounted again...

Thanks for any advice or help..

regards!