[Sony Xperia M] TomekParuszewski:
ok, so i did what you wrote, here is output

C:\Windows\system32>adb pull GPT c:\

1000 KB/s (5120 bytes in 0.005s)

C:\Windows\system32>adb shell

~ # ←[6ngdisk /dev/block/mmcblk0

gdisk /dev/block/mmcblk0

GPT fdisk (gdisk) version 0.8.4

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): t

t

Partition number (1-27): i 25

i 25

Partition number (1-27): 25

25

Current type is 'Linux filesystem'

Hex code or GUID (L to show codes, Enter = 8300): L

L

0700 Microsoft basic data 0c01 Microsoft reserved 2700 Windows RE

4200 Windows LDM data 4201 Windows LDM metadata 7501 IBM GPFS

7f00 ChromeOS kernel 7f01 ChromeOS root 7f02 ChromeOS reserved

8200 Linux swap 8300 Linux filesystem 8301 Linux reserved

8e00 Linux LVM a500 FreeBSD disklabel a501 FreeBSD boot

a502 FreeBSD swap a503 FreeBSD UFS a504 FreeBSD ZFS

a505 FreeBSD Vinum/RAID a800 Apple UFS a901 NetBSD swap

a902 NetBSD FFS a903 NetBSD LFS a904 NetBSD concatenated

a905 NetBSD encrypted a906 NetBSD RAID ab00 Apple boot

af00 Apple HFS/HFS+ af01 Apple RAID af02 Apple RAID offline

af03 Apple label af04 AppleTV recovery af05 Apple Core Storage

be00 Solaris boot bf00 Solaris root bf01 Solaris /usr & Mac Z

bf02 Solaris swap bf03 Solaris backup bf04 Solaris /var

bf05 Solaris /home bf06 Solaris alternate se bf07 Solaris Reserved 1

bf08 Solaris Reserved 2 bf09 Solaris Reserved 3 bf0a Solaris Reserved 4

bf0b Solaris Reserved 5 c001 HP-UX data c002 HP-UX service

ef00 EFI System ef01 MBR partition scheme ef02 BIOS boot partition

fd00 Linux RAID

Hex code or GUID (L to show codes, Enter = 8300): ^C

C:\Windows\system32>adb shell

~ # ←[6ngdisk /dev/block/mmcblk0

gdisk /dev/block/mmcblk0

GPT fdisk (gdisk) version 0.8.4

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): ?

?

b back up GPT data to a file

c change a partition's name

d delete a partition

i show detailed information on a partition

l list known partition types

n add a new partition

o create a new empty GUID partition table (GPT)

p print the partition table

q quit without saving changes

r recovery and transformation options (experts only)

s sort partitions

t change a partition's type code

v verify disk

w write table to disk and exit

x extra functionality (experts only)

? print this menu

Command (? for help): i 25

i 25

Partition number (1-27): 25

25

Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)

Partition unique GUID: F9CDF7BA-B834-A72A-F1C9-D6E0C0983896

First sector: 294912 (at 144.0 MiB)

Last sector: 2752511 (at 1.3 GiB)

Partition size: 2457600 sectors (1.2 GiB)

Attribute flags: 0000000000000008

Partition name: 'system'

Command (? for help): i

i

Partition number (1-27): 26

26

Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)

Partition unique GUID: A0844021-4CC1-3547-D2CD-0BDCC7B903C3

First sector: 2752512 (at 1.3 GiB)

Last sector: 3264511 (at 1.6 GiB)

Partition size: 512000 sectors (250.0 MiB)

Attribute flags: 0000000000000008

Partition name: 'cache'

Command (? for help): i

i

Partition number (1-27): 27

27

Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)

Partition unique GUID: 6EA4C6D3-957A-AB5B-7455-749893E94191

First sector: 3268608 (at 1.6 GiB)

Last sector: 7634910 (at 3.6 GiB)

Partition size: 4366303 sectors (2.1 GiB)

Attribute flags: 0000000000000008

Partition name: 'userdata'

Command (? for help): t

t

Partition number (1-27):

"t" requires HEX code to changing partition type, so i didn't do anything