re-partitioning android phone's internal memory I have a Micromax Unite 2 Android phone.

The original internal memory was 8 GB, but now it shows me only 1.67 GB.

I used a third party app to see what happened.

It shows me unallocated space in 4 different partitions, each one is 700 MB. Other partitions are system, userdata, cache etc.

Currently my phone has Android 4.4.2 KitKat.

Is there any command to do that from terminal? How to allocate that space? Please help me.
Do not attempt to correct this,mine is having same problem. So, I've started using SD card. Once I tried to correct this my phone went dead. Luckily it was under warranty. If it is partially in serviceabe service centre will figure out that you have used third party software. Be careful.