It may be possible to restore it. It might depend on what firmware was flashed, both wrong initially and "proper" later. Please give links to those firmwares. Regardless, likely this cure is not what you need. The device may not be recoverable or it might be a very easy fix depending on whether it can access preboot mode (see here: [Only registered and activated users can see links. ]) and additionally what symptoms it displays. Give all relevant info, no matter how minor please.