So I was walking on the street when, texting, when suddenly my battery level dropped from 100% to zero in a second, and my phone(Samsung Galaxy GT-B5510) shutted down itself. (Not blackscreen, it gave the whole shut down-animation thing).
My first idea was that the battery in fact was empty, so I connected it to my charger(230V, not USB). After 3 hours I decided to check on my phone, and it was surprisingly very hot. I immediately removed the battery and disconnected it from the charger, thinking there was something wrong with the battery.
When it was cooled down, I put the battery back in and turned on my phone.
The phone was stuck at the Samsung Galaxy Txt - loading screen, so I restarted it in Recovery Mode using VOL UP + HOME + POWER, to delete the cache.
Deleting the cache didn't do anything, so I pressed Wipe data/factory reset in the Recovery menu. It was stuck for 1 hour, not doing anything, and I pulled out the battery.
Now my phone automatically boots to recovery mode when starting, and when I do a factory reset there's this message saying "E:unknown volume for path [/dbdata]."
The phone is not rooted, it never was, and when I try to flash a ROM with ODIN(Yes I can still access Download mode), ODIN gives this message "NAND write failed".
KIES doesn't even detect the phone, so I can't use that to recover my phone.
What do I do? I only have this phone for a month..