[Sony Xperia T, TL, TX, V] dagosjt:
Still 2 Gb for user data

Hello,

I tried to follow all the guides point for point, and read all the thread, however I've still the "usual" problem, I can see only 2 Gb for userdata, all the other 10 Gb "seems" lost.

Working with TWRP 3.0.2

The good new is that partitions appear ok now:

/external_sd/fs-utils # ^[[50;25R./parted /dev/block/mmcblk0

./parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Model: MMC MAG2GA (sd/mmc)

Disk /dev/block/mmcblk0: 15.6GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 131kB 2228kB 2097kB TA

2 2228kB 3801kB 1573kB Boot

3 3801kB 5374kB 1573kB Boot2

4 6291kB 27.3MB 21.0MB Kernel

5 27.3MB 28.3MB 1049kB TZ

6 29.4MB 32.5MB 3146kB modemst1

7 33.6MB 36.7MB 3146kB modemst2

8 37.7MB 40.9MB 3146kB fsg

9 40.9MB 46.1MB 5243kB ramdump

10 46.1MB 54.5MB 8389kB ext4 apps_log

11 54.5MB 71.3MB 16.8MB FOTAKernel

12 71.3MB 1359MB 1288MB ext4 System

13 1359MB 1621MB 262MB ext4 Cache

14 1621MB 15.6GB 14.0GB ext4 Userdata

For Userdata I can see 14Gb, wow!

However using CM13 (that installed without other problems apart the storage) I still can see only 2 Gb for Data.

What I tried to do after reading all the thread:

- A factory reset and setting again everything. Still 2 Gb seen.

- Extracted the resize_userdata.zip from CM13 zip and flashed it alone, I obtain an "ERROR: 7" error, and before:

Deleting /data/system/storage.xml

Checking UserData partition structure

Partition resizing failed...

=======

The UserData partition failed to be fixed properly.

=======

In other words it's appear like only the very last step is missing, that is CM13 able to recognize the new partitions, that appears correctly looking at them.

Any tips?

Thanks a lot in advance

Edit 1:

Output of "df -k" and "mount" commands.

The first show both /data and /sdcard under mmcblk0p14 having only 2 Gb of space

The second show the system type is ext4.

Still wondering why 10 gb are "missing"....

/sdcard # df -k

df -k

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 433880 16 433864 0% /dev

tmpfs 433880 20 433860 0% /tmp

/dev/block/mmcblk0p13

251968 4296 247672 2% /cache

/dev/block/mmcblk0p14

2064192 500472 1563720 24% /data

/dev/block/mmcblk0p14

2064192 500472 1563720 24% /sdcard

/dev/block/mmcblk1p1 1917188 1107260 809928 58% /external_sd

/sdcard # mount

mount

rootfs on / type rootfs (rw,seclabel,relatime)

tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)

devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,seclabel,relatime)

selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

tmpfs on /tmp type tmpfs (rw,seclabel,relatime)

adb on /dev/usb-ffs/adb type functionfs (rw,relatime)

/dev/block/mmcblk0p13 on /cache type ext4 (rw,seclabel,relatime,data=ordered)

/dev/block/mmcblk0p14 on /data type ext4 (rw,seclabel,relatime,data=ordered)

/dev/block/mmcblk0p14 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)

/dev/block/mmcblk1p1 on /external_sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iochar

set=iso8859-1,shortname=mixed,errors=remount-ro)

Edit 2: SOLVED!!!!

no idea about what went wrong following the instructions, however I solved with the following steps (at least I think one of them was the reason to solve):

/external_sd/fs-utils # umount /dev/block/mmcblk0p14

umount /dev/block/mmcblk0p14

/external_sd/fs-utils # ./e2fsck -n /dev/block/mmcblk0p14

./e2fsck -n /dev/block/mmcblk0p14

e2fsck 1.41.6 (30-May-2009)

/dev/block/mmcblk0p14: clean, 1909/131072 files, 138382/524284 blocks

/external_sd/fs-utils # e2fsck -fpDC0 /dev/block/mmcblk0p14

e2fsck -fpDC0 /dev/block/mmcblk0p14

/dev/block/mmcblk0p14: 1909/131072 files (8.9% non-contiguous), 138382/524284 blocks

/external_sd/fs-utils # mount /dev/block/mmcblk0p14

mount /dev/block/mmcblk0p14

/external_sd/fs-utils # df -k

df -k

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 433880 16 433864 0% /dev

tmpfs 433880 20 433860 0% /tmp

/dev/block/mmcblk0p13

251968 4296 247672 2% /cache

/dev/block/mmcblk1p1 1917188 1107260 809928 58% /external_sd

/dev/block/mmcblk0p14

2064192 520584 1543608 25% /data

Still 2 Gb, but /sdcard is gone...

Reflashed resize_userdata.zip, this time no errors at all AND SUCCESS! Now I have 12Gb internal memory!!!!

Thanks a lot, was hard but even interesting to solve, and it's easy to understand how much difficult was to put all this together! Now I can feel this phone can go on for years, until hardware doesn't abandon it. Not my main phone anymore, but a wonderful reserve phone still!