[Vibrant Q&A, Help & Troubleshooting] azizreallycool:
Well before i begin ..

This procedure involves flashing and erasing partitions manually on your internal memory card.. if you dont know wat youre doing .. lemme remind you .. you may brick your device..(well i still dont know if its possible to brick this device.. but stil ...)

you hv been WARNED!!

Here's wat happend to my phone..

I was on stock 2.1 and wanted to flash a custom rom for which I tried to backup my current rom..which didnt work well.. I got thrown in the clockmod recovery mode..were I tried to back up n gave me error..And I accidently reformatted the sdcard thinking its the external sd..:( but this thing actuallly soft bricked my phone.. :(

I had to flash a stock Rom with Odin .. but then now it never passed the samsung boot logo.. n went to the black screen of death .. with soft buttons working ..:( (aka Soft brick)

The only rom that works after this is "Eugenes froyo that doesnt brick"

After I flashed that rom .. the phone finally comes up agian .. but this time without any Application memory.. it shows 0.00 in Application memory..and I cannot install any apps now nor download any from market ...

On top of which I couldnt flash any other rom even from clockworkmod recovery as it gives me this error>>

"Can't mount /dev/block/mmcblk0p2 (File exists)"

"Can't mount DATA"

"Installtion aborted"

Well here are the steps of how to fix this and repartition your sd card manually bcoz after loads of research I found out that my internal partitions are messed up .. that the system partitons are alright but the /DATA and /SWAP arent ..:)

Heres wat youll need:

1:working android sdk and samsung drivers installed

2:"Eugenes froyo that doesnt brick(with 2E recovery)"rom

3:Parted (attached)

4:clockworkmod recovery.zip(attached update.zip)

step1:

Flash the froyo rom from eugene using odin .. ofcourse coz thats the only one that works ;)..

Step2:

Turn on usb debugging and connect your phone to the pc..

go to command promopt and type this:

>adb devices

you wil see sum serial no in the connected devices .. which means your adb and drivers are working fi9..

if you get any other error or no devices found your sdk isnt configured properly or its drivers issue ..

step3:

Download and extract the Parted to a folder(you'll hv six files)

you wil hv to push all six files to your device in the /sbin folder of your device...

use the push command

>adb push [path]filename /sbin

If it works..gr8 (it didnt work for me ... bcoz it kept on givin me "permission denied" errors..)

If thats the case ..push them to /system that by default in eugenes rom is mounted as RW

>adb push [path]filename /system

do this for all 6 files...

now get into the adb shell

>adb shell

it wil display '$' prompt

type "su"

at this point tap accept button displayed on your phone ..

after which it wil display # prompt

now you're in shell as root..:)

Step 4:

okay now copy all the six files you pushed into the /system directory to the /sbin directory and set permissons like this:

#cp /system/[xyz] /sbin

#chmod 0755 /sbin/[xyz]

(replace the [xyz] with the filenames..do this for all 6 files..)

now get into the /sbin directory

#cd /sbin

#ls

This should display all the files in your /sbin

The parted files you copied should be here...

Now lets start partitioning..

#parted /dev/block/mmcblk0 and hit enter.

here it should get you into the parted prompt..(parted)

enter "print"

>(parted) print

this should display your card status and partitions..

Mine displayed:

total 16.0 GB

and had 3 partions

15.5 GB fat32 (which is /SYSTEM)

512 MB ext3 (which is /DATA)

32.2 MB linux swap(v1) (which is /Swap)

which ofcourse wasnt right ;) do the math your self .. on a 16 GB card you cannot hv memory space more den 14.5 GB LOL

wel so youll need to remove the rest of the 2 partitons.. use these commands:

(parted) rm 2 (the second partition)

(parted) rm 3 (the third partition)

you wont be able remove /SYSTEM as its currently mounted and parted wil throw you errors..

now youre almost done .. DO NOT repartition..

now exit from parted and shell

(parted)quit

#exit

$exit

you should be back to command prompt..

Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..

der in partions menu format /system

(yes this wil format your phone n without flashing wil not boot up again...)

step 5:

Reboot device in downloading mode

after odin recognises device flash it again with Eugene's froyo rom (you can flash it with stock rom also but i suggest eugenes rom)

make sure the "reformat partitons" is checked.. and hit Start..!!

After it flashes you phone wil boot up and BAM!!.. you hv a fully working froyo with application memory back .. you should hv around 1.73gb of application memory after that...smiles... congrats ... now you can go ahead and download any apps n install them ..

And also flash from clockworkmod recovery with the custom rom of your choice ... :)...

i hope this was helpful for ppl.. coz i really needed this wen all tht happened to me .. i had to read data all over the internet,get commands from manuals of adb and parted, and majorly spend a lot of time coz couldnt find straight answers .. for the same device.. :)

dont forget to hit the thanx button>>:)