[Fascinate Android Development] CrushD:
EDIT: before anyone continues down my path, you may want to adynalyne's method to remove voodoo here http://xdaforums.com/showthread.php?t=804784

Okay well a friend of mine had this problem and Factory Wipes would not restore his data partition, and I just recently fixed it through some weird method which I'll describe. You may want to try reflashing Voodoo as was suggested earlier by other users and having the remove voodoo file present so that your phone will try to remove voodoo again, if that doesn't work you can try my method. I must warn you it isn't the simplest solution and you may do some serious harm if you wipe the wrong partition, but this is the method I used to fix my friend's phone.

So first, to make sure you have the same problem as my friend:

With your phone plugged in and usb debugging, go into adb shell.

Next enter the command: mount

You'll see a bunch of gibberish, look to see if you have an entry somewhere saying, check my attachment. That's what my friend's printout said, I realized the difference between that and my working phone's was that it was missing a line saying /data (a line that starts out with /dev/block/mmcblk0p4 /data was what I had, but that's for voodoo, for a stock system it should be /dev/block/mmcblk0p1 /data I think). If you are missing this line too then you may have the same problem as my friend.

The Solution I used:

Go here and download Parted http://www.droidforums.net/forum/dr...0-internal-storage-partitions-screwed-up.html it is the partition tools that come with cyanogenmod I think

Follow those instructions, until you finish doing "chmod 0755 <file> on each of the 6 files." after doing the chmod lines stop as you've installed the tools and have em ready to go.

You should still be in adb shell if you followed the above instructions, now I want you to type in:

parted /dev/block/mmcblk0p4 print

now if this partition exists for you, that means you've still got the voodoo partition on your phone.

It may be unnecessary, but I wiped this partition with the commands:

parted /dev/block/mmcblk0p4

rm 1

accept if it asks you to continue, if you didn't have this partition you can skip those steps.

Now type in:

quit (it'll exit parted and bring you back into adb shell)

parted /dev/block/mmcblk0 print

what you should notice is that there is a partition 1 that begins in 8000-ish KB and ends somewhere at some 200-ish MB (I don't quite remember the exact numbers), if you've got this, this is your incomplete mmcblk0p1 partition. Also, I want you to note where Partition 2 begins, should be something like 1655 or 1665 MB (don't quite remember which) is it's starting point. I wiped partition 1 with the following commands:

parted /dev/block/mmcblk0

rm 1

After accepting to remove the partition, once again use "quit" to go back into adb shell.

Next I recreate this partition using:

mkpartfs primary ext2 1 xxxx (DO NOT TYPE THIS IN AS I WROTE IT, be sure to replace the xxxx, xxxx is the EXACT same number as the start of your Partition 2, which should be 1655 or 1665 if I recall. Use that exact number)

This will recreate your partition where the /data goes in ext2 format, not rfs unfortunately because the cyanogenmod partition tools do not support it. I next ran this command:

parted /dev/block/mmcblk0 mkfs ext2

it'll ask for partition number, enter 1. Then it'll ask for format, enter ext2. After that's done, quit parted and exit adb shell. Your phone should now have a partition of /dev/block/mmcblk0p1 which it can detect and correctly format into the right filesystem.

Reboot your phone, you'll still notice that you are at 0.0 internal data available, but this is because /dev/block/mmcblk0p1 is still in ext2 format. To remedy this go to Setting > Privacy > Factory data reset. This'll make your phone reformat the /dev/block/mmcblk0p1 partition into it's correct rfs format with all the correct folders it needs, after your phone completes the factory data reset and reboots, you should have your internal memory back up to 1.55 GB as it should be in stock.

THESE STEPS WORKED FOR ME, PLEASE KNOW WHAT YOU ARE DOING (I only halfway knew what I was doing, but it was good enough) AND DO NOT ATTEMPT IF YOU DON'T FEEL BOLD ENOUGH. Perhaps someone wiser than myself will make an easy solution, but here's my method, be sure to meet the criteria before following.

For those curious, I got the idea from inspecting my friend's mount printout then reading through the following urls:

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

http://www.droidforums.net/forum/dr...0-internal-storage-partitions-screwed-up.html

http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

Good luck and if you decide to try this out, hope you have the same success I did.