[Xiaomi Redmi 1S] sharathe100111:
Here i can guide you to get the partition table details out of your phone.

Follow my steps seriously (don't ever miss or mess with any step. Just follow blindly. As I've faced same issue.

First of all take a Nandroid backup of your phone for safety.

Before going through any of these steps you need to install latest mi PC suite and MiFlash on your windows PC. As i am a mi [redmi 1s] phone user,i use pc suite and flash tool to install adb and fastboot drivers.

(If you are any other phone user, then you can get your phone compatible adb and fastboot drivers from google or you can use the universal fastboot and adb drivers).

here is the link to get universal adb and fastboot drivers for windows: http://xdaforums.com/showthread.php?t=2588979

1) Connect your phone to your pc by using a compatible USB cable.

2) Now install Minimal adb and fastboot from here: (note the installation directory here)

http://xdaforums.com/showthread.php?t=2317790

3) Next navigate to inside of installation directory (minimal adb and fastboot folder in my computer).

4) if you see adb and fastboot applications inside the folder then you are in the right directory.

Now by press and holding shift button make a right click inside the folder. Here you see open command window here, click on it. Or you can navigate to this folder through command prompt.

5) Now reboot your phone into fastboot by pressing volume button (in general down) and power button. if that doesn't work try by googling it.

6) Now in command prompt enter command

fastboot devices

.

If you see any device serial number <space> fastboot. if not wait a minute or two. for ex:

abbf287 fastboot

then your device is successfully connected in fastboot mode.

7) Now download the twrp recovery image file from twrp website. and select your device from devices and download the file by clicking the link with Recommended.

link: https://twrp.me/

8) And copy this file into the same folder as your adb and fastboot binaries (minimal adb and fastboot folder). Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

press enter

fastboot reboot

press enter

9) Now to boot into your latest (twrp) recovery by pressing volume button (in general up) and power button.

10) Now in the same command prompt enter command

adb devices

.

If you see any device serial number <space> recovery. if not wait a minute or two. for ex:

abbf287 recovery

Then your device is successfullu connected in adb (recovery mode).

11) Now download the parted file from the link below and copy the file to the same directory where twrp.zip was copied.

link: https://drive.google.com/file/d/0B_IeQxB3hZfgbU93NzVOcWd6TjA/view?usp=sharing

12) Now in command prompt enter command:

adb shell mount -o remount,rw /system

13) Then enter next command

adb push parted /system/bin/parted

14) You should see some kind of push successful message. Then enter command:

adb shell

.

15) You should see a new command line host-name with a â€œ#â€ sign next to it which indicates youâ€™re connected as root user.

16)Now Enter the following command one after the other followed by enter.

chmod 0755 /system/bin/parted

parted /dev/block/mmcblk0

print

17) Now you have got a table. Which is the current partition table on your phone. Take screenshot of this details in maximized mode for future requirements.

Happy coding. And don't forget take Nandroid backup before messing anything.