The answer to your question requires knowing which of the 42 Galaxy S5 models you have and on which firmware it is running. See #1.2 & #1.8 of 42 Galaxy S5 models - Dummies Guide. For instance, some of the minority variants from U.S. carriers have mega locked down bootloaders which prevent rooting or the installation of custom ROMs.