[Sony Xperia M] TomekParuszewski:
My bad, i copied wrong section of cmd. Now is last try

~ # ←[6nls -l
ls -l
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x 2 root root 0 May 23 01:53 boot
-rw-r--r-- 1 root root 579 May 23 01:53 boot.txt
drwxrwx--x 6 system cache 4096 May 17 10:36 cache
-rwxr-x--- 1 root root 284696 May 23 01:53 charger
drwxr-xr-x 3 root root 0 May 23 01:53 data
drwxr-xr-x 2 root root 0 May 23 01:53 datadata
-rw-r--r-- 1 root root 3920 May 23 01:53 default.prop
drwxr-xr-x 10 root root 3260 May 23 03:36 dev
drwxr-xr-x 2 root root 0 May 23 01:53 emmc
drwxr-xr-x 2 root root 0 May 23 01:53 etc
drwxr-xr-x 2 root root 0 May 23 01:53 external_sd
-rw-r--r-- 1 root root 10961 May 23 01:53 file_contexts
-rw-r----- 1 root root 1213 May 23 01:53 fstab.qcom
-rwxr-x--- 1 root root 187840 May 23 01:53 init
-rwxr-x--- 1 root root 2704 May 23 01:53 init.qcom.syspart_fixup.sh
-rwxr-x--- 1 root root 2892 May 23 01:53 init.rc
-rwxr-x--- 1 root root 512 May 23 01:53 init.recovery.qcom.rc
drwxr-xr-x 2 root root 0 May 23 01:53 internal_sd
-rw-r--r-- 1 root root 14452 Jan 1 1970 logo.rle
drwxrwxr-x 5 root system 0 May 23 01:53 mnt
dr-xr-xr-x 132 root root 0 Jan 1 1970 proc
-rw-r--r-- 1 root root 2161 May 23 01:53 property_contexts
drwxr-xr-x 2 root root 0 May 23 01:53 recovery
drwxr-xr-x 3 root root 0 May 23 01:53 res
drwx------ 2 root root 0 May 13 22:52 root
drwxr-x--- 2 root root 0 May 23 03:36 sbin
drwxr-xr-x 2 root root 0 May 23 01:53 sd-ext
lrwxrwxrwx 1 root root 11 May 23 01:53 sdcard -> /data/media
-rw-r--r-- 1 root root 660 May 23 01:53 seapp_contexts
-rw-r--r-- 1 root root 95689 May 23 01:53 sepolicy
d---r-x--- 2 root sdcard_r 40 May 23 01:53 storage
dr-xr-xr-x 14 root root 0 May 23 01:53 sys
drwxr-xr-x 3 root root 0 May 23 01:53 system
[B]-rw-rw-rw- 1 root root 5120 May 22 10:22 testgpt[/B]
drwxrwxr-x 2 root shell 280 May 23 03:36 tmp
-rw-r--r-- 1 root root 8196 May 23 01:53 ueventd.qcom.rc
-rw-r--r-- 1 root root 7275 May 23 01:53 ueventd.rc
~ # ←[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): r
r

Recovery/transformation command (? for help): l
l
Enter backup filename to load: /testgbt
/testgbt
Problem opening /testgbt for reading! Error is 2.
The specified file does not exist!
Unable to open file '/testgbt' for reading! Aborting!

Recovery/transformation command (? for help):

UPD

after second attempt

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): r
r

Recovery/transformation command (? for help): l
l
Enter backup filename to load: /testgbt
/testgbt
Problem opening /testgbt for reading! Error is 2.
The specified file does not exist!
Unable to open file '/testgbt' for reading! Aborting!

Recovery/transformation command (? for help): ?
?
b use backup GPT header (rebuilding main)
c load backup partition table from disk (rebuilding main)
d use main GPT header (rebuilding backup)
e load main partition table from disk (rebuilding backup)
f load MBR and build fresh GPT from it
g convert GPT into MBR and exit
h make hybrid MBR
i show detailed information on a partition
l load partition data from a backup file
m return to main menu
o print protective MBR data
p print the partition table
q quit without saving changes
t transform BSD disklabel partition
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu

Recovery/transformation command (? for help): l
l
Enter backup filename to load: /testgpt
/testgpt

Recovery/transformation command (? for help):

there is no effect, no warning, nothing