Galaxy S5. The water resistance is great. Sorry but I've tested the HTC One M8 camera in person against the GS5 and the pictures look sorta washed out. I own phones from HTC,Samsung, and Motorola. I'm not a fanboy. I can honestly say the Galaxy S5 is better than the M8 in every way except for the front facing speakers the M8 has. Other than that, the Galaxy S5 has better display, battery life, better camera sensor.