[Sony Xperia M4 Aqua] tonystark88:
FOR DUAL SIM VARIANTS

Guys i also need the partition size. To obtain it it's easy.

You need:

1 - adb

2 - a rooted M4 Aqua

If you have these digit from you command line:

adb shell

su

then confirm permissions of root on your device.

After that you have to digit

ls -l /dev/block/bootdevice/by-name/

cat /proc/partitions

and you obtain something like this

root@E2303:/ # ls -l /dev/block/bootdevice/by-name/
lrwxrwxrwx root root 1970-11-14 18:59 DDR -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-11-14 18:59 FOTAKernel -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-11-14 18:59 LTALabel -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-11-14 18:59 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-11-14 18:59 aboot -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-11-14 18:59 alt_aboot -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-11-14 18:59 alt_hyp -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-11-14 18:59 alt_rpm -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-11-14 18:59 alt_s1sbl -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-11-14 18:59 alt_sbl1 -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-11-14 18:59 alt_tz -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-11-14 18:59 apps_log -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-11-14 18:59 boot -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-11-14 18:59 cache -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-11-14 18:59 config -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-11-14 18:59 fsg -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-11-14 18:59 hyp -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-11-14 18:59 modem -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-11-14 18:59 modemst1 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-11-14 18:59 modemst2 -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-11-14 18:59 oem -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-11-14 18:59 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-11-14 18:59 rdimage -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-11-14 18:59 rpm -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-11-14 18:59 s1sbl -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-11-14 18:59 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-11-14 18:59 ssd -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-11-14 18:59 system -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-11-14 18:59 tz -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-11-14 18:59 userdata -> /dev/block/mmcblk0p29
root@E2303:/ # cat /proc/partitions
major minor #blocks name

7 0 123216 loop0
7 1 41588 loop1
254 0 524288 zram0
179 0 7634944 mmcblk0
179 1 2048 mmcblk0p1
179 2 512 mmcblk0p2
179 3 256 mmcblk0p3
179 4 1024 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 256 mmcblk0p9
179 10 1024 mmcblk0p10
179 11 512 mmcblk0p11
179 12 512 mmcblk0p12
179 13 512 mmcblk0p13
179 14 1536 mmcblk0p14
179 15 1536 mmcblk0p15
179 16 1536 mmcblk0p16
179 17 32768 mmcblk0p17
179 18 65536 mmcblk0p18
179 19 40960 mmcblk0p19
179 20 32768 mmcblk0p20
179 21 40960 mmcblk0p21
179 22 8 mmcblk0p22
179 23 32 mmcblk0p23
179 24 512 mmcblk0p24
179 25 16384 mmcblk0p25
179 26 8192 mmcblk0p26
179 27 253952 mmcblk0p27
179 28 204800 mmcblk0p28
179 29 4296704 mmcblk0p29
179 30 2612992 mmcblk0p30
179 32 512 mmcblk0rpmb
179 64 15558144 mmcblk1
179 65 15557120 mmcblk1p1

After you obtained that, send these output to me. Thank you.