The most recent update for the S5 is the Marshmallow 6.0.1. It originally came with Android 4.4. 2 KitKat.