I have a Galaxy 2 and a few days ago I charged cell phone and I when took out it from the charge the phone didnt turn on.
I tried reinstall the rom but the installation fails in ODIN.
I tried different ROMs but all failed.

I took to lab and they said the device was burned inside probably due to power charging.
But it is very strange that the device enters DOWNLOAD and when I turn the phone appears a message:
Firmware upgrade encountered an issue. Pleasev recovety mode in Kies & try again

The repair shop you took it to is probably wrong/doesn't know what they're talking about; think about it, if something was 'burnt out' on the motherboard, the phone wouldn't boot at all. However, with that said, it is possible the NAND could be corrupted, which is sometimes the case with these.

Find Hopper8'd 'Odin troubleshooting' thread stickied in General & try everything in that thread as many times as you have patience for/until you get a successful Odin flash, these cases are always fixed with persistence when they're actually recoverable (which is often the case when you still have download mode).

If you find after days of trying you can't get a successful flash, take it to another mobile repair shop. Most likely fix will be motherboard replacement as it's not feasible to just replace the NAND (very fiddly to do & would cost you more in labour than a motherboard replacement).

The repair shop you took it to is probably wrong/doesn't know what they're talking about; think about it, if something was 'burnt out' on the motherboard, the phone wouldn't boot at all. However, with that said, it is possible the NAND could be corrupted, which is sometimes the case with these.

Find Hopper8'd 'Odin troubleshooting' thread stickied in General & try everything in that thread as many times as you have patience for/until you get a successful Odin flash, these cases are always fixed with persistence when they're actually recoverable (which is often the case when you still have download mode).

If you find after days of trying you can't get a successful flash, take it to another mobile repair shop. Most likely fix will be motherboard replacement as it's not feasible to just replace the NAND (very fiddly to do & would cost you more in labour than a motherboard replacement).

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?