The easy guide to root the Galaxy S5 (Including 5.0 Lollipop)

Rooting opens your device to a whole world of customization, including ad blockers, system optimizers, and more. This guide will show you how to root the Galaxy S5 anywhere in the world that contains an unlocked bootloader. Here is a short list of known bootloader unlocked phones from North America:

Canada: All S5s, regardless of carrier

USA: Sprint, T-Mobile (AT&T and Verizon are confirmed locked)

Mexico: All S5s, regardless of carrier

Caution: Do NOT try this on an octa-core Galaxy S5 which only contains the model G900H. Take a look in your battery compartment to make sure it isn’t a G900H.

All other countries, please Google “Galaxy S5 <your carrier name> bootloader” and find out whether it is locked or not.


 

What you need:

Hardware:

  • A USB cable
  • A Windows PC running Windows 7 or later

Software:

  1. Samsung USB Drivers. Download link
  2. The S5 Root Files. Download link

Alright, let’s get started. First off, install the Samsung USB drivers. Just install it like a normal application.

scr1

scr3

Now, extract all the files from the S5 root files archive into a folder. Copy the SuperSU.zip file into the Download folder in your phone’s internal memory:

ndsinue83

Now, turn off your phone and put it into Download Mode. In order to do that, turn it off completely. Then, hold Volume DOWN, Home and Power till you get to the following screen

dwer2

Now, press volume up and you will be at a screen with lots of Verbose text.

kfjhf487

 

Now, connect your phone to your computer and Run ODIN from the ODIN folder. Make sure to Uncheck the “Auto Reboot” option like the following screenshot.

Click “AP” and select TWRP.tar . Then click Start. After it is done, take your battery and USB cable out (it will result in the phone being completely turned off). Leave it for 15 seconds and put it back.

Power your phone on. Then turn it off again. This time, Hold Volume UP, Home and Power button and boot into TWRP recovery.

For some people, it seems that the “Power your phone on. Then turn it off again” step seems redundant, so you could skip it if you can not boot to TWRP.

fkjfhui48

From TWRP, Select Install, navigate to the Download folder and tap on SuperSU.zip

Slide to install it, and then reboot your phone. After the initial boot, go to your app drawer and open the new app “SuperSU”. If it wants to disable KNOX, let it do it. If it doesn’t, let it be for 15 seconds and reboot your phone. Now go to the SuperSU app again, it will prompt to disable KNOX. Let it disable KNOX. After it is done, you need to reboot your phone.

That’s it! Now you are able to download root apps and work with them!

Sources: Odin 3.09, SuperSU, TWRP

 

112 thoughts on “The easy guide to root the Galaxy S5 (Including 5.0 Lollipop)”

  1. jr2000 says:

    Thank you thank you thank you! I finally got root on my Galaxy S5 Rogers!

  2. alex says:

    tried this method on sm-g900w8 and stuck on a bootloop

    1. Ishmum Rahman says:

      that’s weird, I have the exact same model and I used the exact same steps. Can you try booting into recovery (VOL UP+ Home + Power) and wiping cache?

      1. David says:

        I also get stuck on a bootloop. I dont know how to get out of it. I can’t proceed, or undo what I’ve done.

        What did you do to fix the problem?

        1. Ishmum Rahman says:

          What is your android version? To get back, I restored using ODIN via a stock firmware

          1. David says:

            I’m currently running Android 5.1.1.
            I’m very new to this, and I’m not sure where to look to get the stock firmware.
            if you could point me in the right direction, that would be very appreciated.
            Thank you.

          2. David says:

            I tried this method on my sm-g900w8 running 5.1.1 and got stuck on a bootloop after completing the install of supersu. Nothing I did was able to get out of the bootloop to complete the rooting process. I was finally able to flash the stock ROM back onto my phone and get out of the bootloop cycle. however, my phone is still not rooted. i tried this method again with no success and I’m right back to where I started.

            if anyone has the same problem, you could visit http://www.sammobile.com/firmwares to get the ROM that corresponds to your model number. you are going to have to make a free account to actually download the file. Just follow the steps on the download page once you’ve chosen your model number and you should be up and running with an unrooted device.
            I hope this helps anyone that is stuck in a bootloop

  3. RayRice says:

    Works great thx

  4. JamesM says:

    I put the TWRP.tar file on using odin, but when I tried to boot into recovery mode, it showed a dead android logo and says “no command” then goes into what I am assuming is the default recovery screen. I read on youtube that I should try to flash the .tar file again, but after 3 tries along with removing the battery, it just won’t load TWRP

    1. Ishmum Rahman says:

      Try a different PC.

  5. Nunya says:

    Does it trip knox? I’ve seen a bunch of people ask, but the question has never been answered.

    1. Ishmum Rahman says:

      Yes, it does.

  6. Lionel says:

    are there instructions for using a mac??? OS 10.7.5.

    1. Ishmum Rahman says:

      Sorry, I do not use a mac 🙁

  7. Silly D says:

    Thanks for the guide, Ishmum.

    I followed your steps, however instead of TWRP recovery I only get the regular “Android system recovery”.
    Any idea what might have caused this?

    Thanks!

    1. Ishmum Rahman says:

      Weird! As long as you have confirmed that your phone has an unlocked bootloader, that shouldn’t happen.

      Can you try a different PC?

      1. Silly D says:

        Thanks for the response. I have tried a different PC now, but still no luck. It seems that I have the same problem as JamesM.

        After Odin says “RES OK !!” the device is removed and the thread is not completed until the phone rebooted. Is this normal?

        And is there any way I can tell that my phone has a locked bootloader? I could find no information on google about my phone provider’s stance on that.

        Thanks!

        1. Ishmum Rahman says:

          That’s weird! Can you post your model number please? Also, the thread should complete while the device is in bootloader mode.

          1. Silly D says:

            My model number is SM-G900F running Android 5.0.

            I did have some issues making my PC recognize my device’s internal memory, so I turned on USB debugging. I tried using on with USB debugging turned on and off, the result was the same.

            Here’s some stuff my bootloader says:
            Current Binary: Custom
            System Status: Custom
            Reactication Lock(KK): off
            Know warranty void: 0x0
            Qualcomm secureboot: enable (CSB
            Securse download: Enable

            Hopefully I’m not the only one with this issue! Wouldn’t want to waste your time.

          2. Silly D says:

            Hmm, that also didn’t seem to work. Here’s what Odin usually tell me:

            recovery.img
            NAND Write Start!!
            RQT_CLOSE !!
            RES OK !!
            Removed!!
            Remain Port …. 0
            All threads completed. (succeed 1 / failed 0)

            Surely I must have done something wrong. Maybe my bootloader is locked? Is there any way to tell?

          3. Silly D says:

            I tried a few more things and now it works! I disabled the “Auto Reboot” option in odin and reset the phone by remove the battery. Also I turned on USB debugging.

            You might want to include that in your guide. For troubleshooting!

            Thanks for the help.

          4. Ishmum Rahman says:

            cool! USB debugging actually has no effect when the phone is in bootloader mode, but it’s great you got it working 😀

            I will add that to my guide.

  8. Jeff says:

    Thanks for this guide! I used a different guide before this and tried verifying root status with Root Checker and it still said it wasn’t rooted. Followed every step exactly described here then ran Root Checker when finished and sure enough, it was confirmed that I had Root Access! My phone is a Sprint Samsung Galaxy S5 (SM-G900P) w/ Lollipop 5.0 installed.

    1. Ishmum Rahman says:

      Awesome! You’re welcome 😀

  9. John says:

    I have never rooted before. Is this working and safe?

    1. Ishmum Rahman says:

      Yes, and yes. There is no logic to putting up a non working & unsafe guide especially on my personal blog.

  10. Devin says:

    same issue as jamesm and Silly D.

    Not getting any errors, just won’t go to the twrp menu =\

    1. Ishmum Rahman says:

      Did you try what Silly D did? http://i.imgur.com/lNdNHzi.jpg

      Also what model of phone?

      1. ed101 says:

        Thank you so much. Same problem, after trying Silly D’s fix, my phone can be rooted.

        1. Ishmum Rahman says:

          Good to know 8)

  11. nav says:

    also cant get to twrp menu, installed the twrp you said to aswell on two different computers, no luck at all. Did all the steps

    running lollipop on sm g900w8, galaxy s5 on rogers

    1. Ishmum Rahman says:

      Could you please try what this other user got success by? http://i.imgur.com/lNdNHzi.jpg

      1. nav says:

        did everything, my 6th time now. even tried a different custom recovery, seems like nothing will work.

        1. Ishmum Rahman says:

          If you are stuck in the stock recovery, it HAS to be something with your computer, usb cable or just drivers.

          If you can’t get to the recovery menu, it is vol up, home and pwr in order. Even after that you can’t do anything, I’m not sure what to say because those are literally the only things that can mess up.

  12. g says:

    i am unable to root my Rogers g900w8, im using openrecovery-twrp-2.8.5.0-gt-klte.tar

    im following your instructions carefully and ive done it several times. the only thing i wasnt sure of was to leave the F. reset Time checked, i tried it both ways though and it didnt work. should i try from another computer?

    Odin screen
    http://i.imgur.com/Lta1Nco.png

    recovery screen
    http://i.imgur.com/pwPaKI6.jpg

    1. Ishmum Rahman says:

      That sucks, as I am on a G900W8 too. F. reset AND auto reboot should be off. After you flash TWRP, you should take the battery out, put it back then immediately boot to recovery using vol up, pwr and home.

      1. g says:

        i have the version G900W8VLU1BOC1 and its saying “SE for Android Status – Enforcing”

        are you on G900W8VLU1BOB3 ?

        maybe that is the problem

        1. Ishmum Rahman says:

          I am on BOC1

  13. capi says:

    Hi and thanks for this great guide! Maybe you might be able to help. I have followed the guide to the letter but everything froze when flashing my S5 Lollipop. I tried to run Odin again but all I am getting is Fail every time. It is now hanging on “Setup Connection”… stays there for about 5 mins and then Fail! Do I have to delete any partial files from the phone after the failed install? If this was to run perfectly how long should it take?

    1. Ishmum Rahman says:

      It should take ~10 minutes to finish.

      Try a different computer

  14. Brian Jonas says:

    I have tried rooting my phone but when I open superSU it says their is no binary and this su cant install them if you you have 5.0 you need to manually re-root check back at the forums for your device.
    What should I do?

    1. Ishmum Rahman says:

      Not sure which root method you followed, but if it says no root binary, that means you need to flash SuperSU.zip again.

      Using my guide, that should not happen.

    2. Ishmum Rahman says:

      Reflash SuperSU

  15. King420 says:

    Hey guys,

    Make sure you enable USB Debugging as a previous user stated.

    Also, when you open ODIN make sure you have “AUTO REBOOT” & “F. Reset Time” UNCHECKED.

    Once you start the process wait until it completes.

    Once it completes; remove the cable from your phone; remove the battery for 15 seconds. Once you put the battery back in immediately boot into recovery mode; do not reboot the phone.

    It should load TWRP.

    I tried the above steps and it worked instantly.

  16. V says:

    Never mind – figured it out.

    After you remove the battery and force a hard reboot, don’t turn the phone on and off again before going into Recovery Mode.

  17. Ahssen says:

    can i use this guide for galaxy s5 verzion .. even with locked bootloader?

    1. Ishmum Rahman says:

      No, you can not. It is specifically written in the beginning why you can not as well

      1. Mike Bell says:

        I saw that. Please, I need to know how you confirmed that they are locked devices or at least a citation of how you 100% know this to be the case.

        Thanks in advance

        1. Ishmum Rahman says:

          Sure, I am 100% positive that the Verizon models are locked, because multiple Google searches and XDA said so.

  18. Giacomo says:

    Hi there,

    I’ve got a Galaxy S5 5.0 BOB7. Does it work for this model and firmware? If not do you have an suggestion hot to get root access?
    Thanks
    Giacomo

    1. Ishmum Rahman says:

      It will work, yes.

  19. Giacomo says:

    Galaxy s5 5.0 (Germany) BOB7. 30 second following the guide and got root access. Easy peasy.
    Easy, fast and ..great!
    Thanks

    1. Giacomo says:

      Galaxy s5 5.0 (Germany) BOB7. 30 second following the guide and got root access. Easy peasy.
      Easy, fast and ..great!
      Thanks

      1. Ishmum Rahman says:

        Awesome! Enjoy 🙂

  20. fatDAD says:

    Works great with Telus, thanks

  21. Olpha says:

    I’m looking for a way to do same thing WITHOUT trip the flash counter…. and I don’t wanna use the flash counter reset…. It was possible to do whit my sgs3 canadian roger’s. …. anyone know how??

    1. Ishmum Rahman says:

      Not possible without tripping the flash counter.

      1. Olpha says:

        WOWW!!!! This is a really fast answer!!!! Thank you 🙂 Then now, the only thing I have to say is: fuck you warranty, fuck you bloatware, fuck you stock recovery and welcome to my superuser acces ???

        1. Ishmum Rahman says:

          Yep and I doubt any S3 still has warranty, it is not very new anynore. Do not use this guide for your S3, this is only for S5s.

          1. Olpha says:

            Lollll yes I know this method is for s5 and don’t think that any of sgs3 are still on warranty too ?

  22. steven says:

    even after i turned on the usb debugging it said it doesn’t have authorization help me i’m using rogers

    1. steven says:

      i mean fail(auth) i don’t really know what it means

      1. steven says:

        never mind i needed to uncheck the reactivation lock in my phone at setting;security;reactivation lock.
        thanks anyways

        1. Ishmum Rahman says:

          Glad you got it sorted out

  23. Mike says:

    The link doesn’t work for the USB Drivers

    1. Ishmum Rahman says:

      Updated to show correct links. Thanks.

  24. john says:

    Hi there, just checking that this will work with an unlocked AT&T Samsung S5 running Lollipop 5.0. Thank you.

    1. Ishmum Rahman says:

      This will not work :/

      1. john says:

        Thanks for the response. I am just curious as to why it won’t work, and if there might be a chance I could root it in the future.

        1. Ishmum Rahman says:

          The problem is that your phone has a locked bootloader. A locked bootloader means it will check for any alterations to the phone and will refuse to start if it is altered on the OS level. There is definitely a chance you will be able to root in the future, but definitely not using this guide unfortunately.

  25. Jacob S says:

    Hi, the root file download is not working. It says the file is currently unavailable. Also, just wanted to check this works with SM-G900w8. Thanks!

    1. Ishmum Rahman says:

      Hi. I fixed it, sorry for the delay.

  26. jimmy says:

    I’ve found a lot of S5 rooting tuts out there with a lot of inconsistencies, I just rooted and installed TWRP with your method and works great ! I think the key is to make sure auto reboot is unchecked, pull cable and battery, then boot straight into recovery and install the supersu.zip. Went without a hitch and took about 2 mins.
    Thanks man !!

    1. Ishmum Rahman says:

      Enjoy 😀

  27. catman says:

    Root files are unavailable.

  28. marc says:

    the S5_Root_Files.zip link is broken:(

    1. Ishmum Rahman says:

      Fixed 😀

  29. Melissa says:

    so the issue appears to be there is no TWRP.tar file in the ODIN folder

    Added!!
    Odin v.3 engine (ID:4)..
    File analysis..
    Can’t open the specified file. (Line: 214)
    All threads completed. (succeed 0 / failed 1)
    Removed!!

    can you please advise? Im going through all this trouble just so i can run a data recovery on my phones internal memory

    1. Ishmum Rahman says:

      Seems like there is a problem opening the file or directory. Try extracting to a different folder and report back.

      1. Melissa says:

        when i download the zippyshare.com file, all that there is Odin and SuperSU.zip folders

        in Odin there’s only Odin 3.09 App and Odin readme theres no .tar extension within the Odin folder

        1. Ishmum Rahman says:

          Well that’s because I am an idiot! I fixed the links, you can re-download the ZIP and it should contain TWRP.tar

          1. retr0sp3kt says:

            The copy I downloaded (yesterday, september 23 2015) did not have it either. I downloaded it manually.

          2. Melissa says:

            thanks for adding the .tar file but now I cant get past step the Odin .tar run step

            heres what Im getting

            FAIL!

            Added!!
            Odin v.3 engine (ID:4)..
            File analysis..
            SetupConnection..
            Complete(Write) operation failed.
            All threads completed. (succeed 0 / failed 1)

          3. Ishmum Rahman says:

            Hi, seems like the TWRP team uploaded a bugged build. I updated ODIN and TWRP to latest and fixed versions, check the link again and the guide should work for you with no problems hopefully. I did a test run to be sure and it worked.

          4. Melissa says:

            still no such luck it seems to make more progress but this is what Im getting before the inevitable fail

            its goes from green, to white (RECOVERY) ad then red for fail

            Removed!!
            Added!!
            Odin engine v(ID:3.1100)..
            File analysis..
            SetupConnection..
            Initialzation..
            Get PIT for mapping..
            Firmware update start..
            SingleDownload.
            recovery.img
            NAND Write Start!!
            FAIL! (Auth)

            Complete(Write) operation failed.
            All threads completed. (succeed 0 / failed 1)

          5. Ishmum Rahman says:

            Hi, can you post your model number please? I think there is something going on with your phone.

          6. Melissa says:

            It’s G900W8

          7. Melissa says:

            hey

            so im trying this again

            when i do the volume up, home and power buttons I now get the
            Android system recovery screen

            these are the options

            reboot system now
            apply update from ADB
            apply update from external storage
            apply update from cache
            wipe data/factory reset
            wipe cache partition
            reboot to bootloader
            power down
            view recovery logs
            enable cp logging
            disable cp logging

            thoughts/suggestions??

          8. Ishmum Rahman says:

            Seems like TWRP is being installed then wiped again. Do this: Flash with ODIN, but check auto reboot on. Immediately hold power and up when you see the progress bar to 70% or so. Keep on holding, you will then boot to TWRP.

  30. Jeff says:

    After digging around and not finding anything that could root my Bell 900W8 this guide and files was much appreciated. Thanks for taking the time to make it available!

    1. Ishmum Rahman says:

      Enjoy 😀

  31. retr0sp3kt says:

    Worked perfectly on my Telus s5. Had to borrow my girlfriend’s windows laptop because Heimdall (atleast on linux) has not been updated.

  32. kameejee says:

    Hi Ishmum
    I am on G900W8VLU1BOC2 lollipop 5.0 telus version. Will it work. The only reason I am willing to take this chance is due to extremely ooper battery performance after BOC2 update. Would greatly appreciate your input. Also I want to go back to liyay 4.4.42 version so can you also help how to do that per your instructions above?

    1. Ishmum Rahman says:

      Hi, yes it will work for rooting. To downgrade, you need to follow this guide: http://forums.androidcentral.com/samsung-galaxy-s5/489071-tutorial-downgrade-samsung-galaxy-s5-5-0-4-4-kitkat.html

      I have downgraded to 4.4.2, esp after noticing the slowdown in 5.0 and the general lag in all apps. Keep in mind this is a bit of a stretch for beginners, as it has the potential to brick your phone (make it useless due to failed ROM flash).

  33. Derek says:

    I tried it about 5 times and was never able to boot into TWPR (it just booted into the standard recovery screen). I followed someones advice in the comments – The problem was in the directions: “Power your phone on. Then turn it off again. This time, Hold Volume UP, Home and Power button and boot into TWRP recovery.” It worked when I skipped ‘Power your phone on. Then turn it off again. ‘ and went straight to ‘Hold Volume UP, Home and Power button and boot into TWRP recovery.’

    Hope this helps some people.

    1. Ishmum Rahman says:

      Hi, seems like different steps work for different people. Your method has been added to the post.

  34. Daniel says:

    Thank’s so much for the tutorial! I managed to install TWRP without any problems, but for some odd reason SuperSU is not asking me to disable knox. I tried to reset my phone and launch the app again, but no luck unfortunately. I also tried to flash the SuperSU zip a second time. The odd part is I’m able to install rooted app’s now without any issues. I’m just concerned that I will have issues when I try flashing new roms.
    Any help would be greatly appreciated.

    1. Ishmum Rahman says:

      If it isn’t asking to disable Knox and you aren’t having problems, leave it as it is then. You will not have problems flashing ROMs.

  35. Fernando says:

    F. Y. I: THIS WORKS ON THE CRICKET WIRELESS SM-G900AZ S5 RUNNING LOLLIPOP 5.0!

  36. Fernando says:

    P. S. Patience = Success!

  37. daniel says:

    I can install and get to TWRP recover and install the zip file but after the reboot i get stuck in boot log. I have enable usb debugging and turned off the options in odin which must have been successful as i’m getting twrp recovery. Still stuck in boot log though any help?

    1. Ishmum Rahman says:

      Hi, what is your OS version? If it is anything more than 5.0 it will definitely not work.

      1. daniel says:

        5.1.1.

        i GUESS i GOT MY ANSWER……is there anything coming out for 5.1.1.?

        Also, just fyi….for soft brick the easiest way to get it back to factory was downloading Kies 3…..takes about 4 mins and back to original with no more boot loop

  38. shorya says:

    Sir plz help me i am using s5-g900H.
    Wht is correct procedure for rooting. I think it shows that it’s bootloader is locked.

    1. Ishmum Rahman says:

      Hey, SM-G900H should not be bootloader locked. For that variant, follow this guide.

  39. sean says:

    to all that want to know u can root the g900w8 s5 Canadian versions with cf auto root google cf auto root along with the model of your phone use odin and place the cf file in ap part of odin set your phone into download mode start the odin flash when phone reboots u have root///
    yes it trips knox but yes root is working correctly

  40. Berenice Bernoski says:

    It is in reality a nice and helpful piece of info. I am glad that you shared this helpful information with us. Please stay us informed like this. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *