Samsung's 5th-generation Android-based Galaxy smartphone was released April 11, 2014. Improvements to the phone include a fingerprint scanner, updated camera, larger display, and water resistance. It is available in four different colors; black, blue, white, and copper.
Did you flash a custom ROM? If you did, that is probably your problem. If not, it might be a bad joint under the wifi chip but try a factory reset first.