NEVER EVER flash with re-partitionif you have download mode, then your phone is not bricked.
Flash the stock firmware of your choice with odin with a pit file and re-partition, and you'll be good to go.
Sent from my gt-i9000 using xda app
it can brick your phone fully