I have Huawei Ascend XT2, i added 16GB SD card as external memory.
I decided to added that card as internal memory so i used ADB shell commands and partitioned it, it shows me as internal memory but shows wrong space, below are the commands I used:
HWH1711-Q:/ $ sm list-disks
disk:179:64...