Install TWRP and Root 5.1.1 update on T-Mobile Galaxy S5

t-mobile s5 5.1.1 root

While Galaxy S6 5.1.1 root has been out for a while now, the T-Mobile Galaxy S5 users were left behind as regards their own Android 5.1.1 root, for build G900TUVU1FOF6. Not anymore, using the basic work done by 5.1.1 root chief g.lewarne over S6 5.1.1 builds, user ShinySide over at XDA brought the trick to S5 5.1.1 build, and with great help from some solid and tons of Trap music, he did it — he achieved the root on T-Mobile Galaxy S5!

That’s some real good news, but it comes with a little nagging issue of warranty getting broken. Well, this method uses custom recovery, and breaks KNOX flag, meaning warranty of your T-Mobile S5 will be lost if you root your device.

Remember that Trap music that ShinySide listened a lot of while working S5 5.1.1 root, well, the resulting end product, a custom kernel packaging the root access, has been slightly appropriately named after that only, as, meet one and only — TrapKernel!

All you need to do achieve root access son your T-Mobile S5 is flash the TrapKernel using TWRP/CWM recovery. But if you don’t want to lose warranty, better wait this one out. While there are no hopes as to how and when KNOX-free root solution will be available, it’s upon you to think and decide whether you want root right now or not.

How to Root T-Mobile Galaxy S5 on Android 5.1.1 OF6 update


  • TrapKernel, based on your build no.
    • Build OF6 — Link | File: (12.8 MB)
    • Build OG6 — Link | File: (12.7 MB)
  • TWRP recovery — Link | File: twrp-
  • Odin PC software — Link | File: (1.6 MB)

Supported devices

  • T-MOBILE GALAXY S5, model no. SM-G900T
  • Don’t try on any other Galaxy S5 set than model no. G900T!
  • Don’t try on any other device whatsoever!


Warning: Warranty may be void of your device if you follow the procedures given on this page. You only are responsible for your device. We won’t be liable if any damage occurs to your device and/or its components.

  1. Download the Odin software, TWRP recovery and TrapKernel file from above. Be sure to download the trap kernel based on your current build no., otherwise, camera may stop working for you.
  2. Install Galaxy S5 drivers (method 1 there!) first of all. Double click the .exe file of drivers to begin installation. (Not required if you have already done this.)
  3. Connect Galaxy S5 to PC and transfer the TrapKernel file to the device. It’s very important step, don’t miss it. Make sure you have the TrapKernel on your S5 before proceeding further. (Keep TWRP recovery and Odin on your PC, don’t transfer them.)
  4. Extract the Odin file. You should get this file, Odin3 v3.10.6.exe (other files could be hidden, hence not visible).
  5. Disconnect your S5 from PC if it is connected.
  6. Boot Galaxy S5 into download mode:
    1. Power off your T-Mobile S5. Wait 6-7 seconds after screen goes off.
    2. Press and hold the three buttons Volume Down + Power + Home together until you see warning screen.
    3. Press Volume Up to continue to download mode.
  7. Double click on extracted file of Odin, Odin3 v3.10.6.exe, to open the Odin window, as shown below. Be careful with Odin, and do just as said to prevent problems.
    Odin 3.10.6
  8. Connect your Galaxy S5 to PC now using USB cable. Odin should recognize your S5. It’s a must. When it recognizes, you will see Added!! message appearing in the Log box in bottom left, and the first box under ID:COM will also show a no. and turn its background blue. Look at the pic below.
    • You cannot proceed until you get the Added!! message, which confirms that Odin has recognized your device.
    • If you don’t get Added!! message, you need to install/re-install drivers again, and use the original cable that came with device. Mostly, drivers are the problem (look at step 2 above).
    • You can try different USB ports on your PC too, btw.
      Odin 3.10.6 Added message
  9. Load the TWRP file into Odin. Click the AP button on Odin and the select the file: twrp-
    • Info: When you load files, Odin checks the md5 of firmware file, which takes time. So, simply wait until that’s done and the firmware file is loaded. Don’t worry if Odin gets unresponsive for a while, it’s normal. Binary size will also show up in Odin.
      Odin TWRP Root
  10. Go to Options tab in Odin, and un-select the Auto Reboot checkbox. You should have bothAuto Reboot and Re-partition checkbox un-selected. Don’t use PIT tab. Go back to Log tab now, it will show the progress when you hit start button in next step.
    Odin Auto Reboot Not Selected
  11. Click the Start button on Odin now to start flashing the TWRP recovery on your T-Mobile Galaxy S5. Once done, you’ll get PASS message as show below upon successful installation from Odin. Now, device won’t reboot automatically, which is what we wanted. Proceed to next step to reboot it into recovery mode.
    • If Odin gets stuck at setup connection, then you need to do steps 6 to 12 again. For this, close Odin, disconnect your S5, remove battery, insert it back after 5-6 seconds and then start from step 6 again.
    • Or, if you get FAIL in the top left box, you need to try flashing again, as stated just above.
      Odin 3.10.6 Pass Message Appears
  12. Reboot your S5 into recovery mode. Do this:
    1. Power off your S5. Wait 6-7 seconds after screen goes off.
    2. Press and hold the three buttons Power + Home + Volume up together until you see Samsung’s logo. Then let go of the buttons. You will soon enter TWRP recovery.
  13. [Optional] Create a backup. Tap on backup, and then select partitions of your choice, preferably all of them, and then do the Swipe action at bottom to start backing up the whole phone! It would always come very handy in case anything bad happens to phone. Go back to TWRP’s main screen by tapping on Home button at bottom left corner.
  14. Now, the Android 5.1 Root. On main screen of TWRP, tap on Install, and then browse and select the Trapkernel file ( On next screen, just do the Swipe action at the bottom to root Galaxy S5 on 5.1 build.
  15. Tap on System Reboot button after that to restart the phone, which will be now rooted on 5.1.1 OF6 update.

That’s it. Enjoy root access! And let us know if you need any help with T-Mobile S5 5.1.1 root access.

If you need any help with this, let us know via comments below and we will try our best to help you out.



57 Comment

  1. Jeremy L says: Reply

    The kernel breaks the S5 camera.
    Any solutions to that?

    1. Krishna says: Reply

      New version of trapkernel added, which is actually what you need to use in order to get root access properly without breaking camera. try it and let us know. It should fix camera. If it doesn’t let us know.

      1. RNST13 says: Reply

        I installed the version on the link above and camera is not working..

  2. jpize says: Reply

    i know it says no other device but metro pcs has 5.1.1 and ive always used tmo guides for it. would this work on my metro s5?

  3. keegan says: Reply

    Roor is 100% effective but camera fails. Please help

  4. romulus777 says: Reply

    Anyone have a workaround for the camera?

    1. Krishna says: Reply

      What problem you facing with camera exactly?

      1. Jason says: Reply

        It says “Warning – Camera Failed” and you cannot use that camera at all in any application that uses the camera. It just shows a black screen too so it doesn’t work. I need a fix for this too. I need to have the camera working. Please help!!!

        1. Krishna says: Reply

          Hi, a new version of trapkernel added, which is actually what you need to use in order to get root access properly without breaking camera. try it and let us know. It should fix camera. If it doesn’t let us know.

          1. Soccerdad says:

            Hi, everything went smoothly for me but the camera does not work for me either. Also, there seems to be no difference with this root. I still can not disable bloatware. Can I revert to a state where my camera will work? I have kids in sports.. I take a million pics

          2. Retailcorp says:

            Did everything correctly and my camera wont work. USB functions are alsonot working properly. Short of a factory reset can I reverse this? At least get camera function back?

          3. RNST13 says:

            Can you give download link to new version of Trapkernel?

  5. Mr.lee says: Reply

    Help me. I upgraded from 4.4.2 kikat to 5.1.1 (FOG6) on S5 G900T. But root checker app say that “sorry! …properly…”. So do must i follow guide above?

    1. Yes, follow the above guide.

      1. Le Van Tho says: Reply

        Thank you so much, but I’m worry, I see above everybody saying the camera fail

        1. Krishna says: Reply

          The download link has been updated after users reported fail camera problem. Use the FOG6 kernel from above, and you will be fine.

  6. Ido says: Reply

    Thank you!!! Easy as pie even for a begginer like works great and everything else.

  7. Gilbert says: Reply

    Hi i,m complete the process successfully ,but can,t completed installation of SU app, so my galaxy s5 was rooter just shorty period,what i need to do

  8. j macgre says: Reply

    I have an SM-G900T3, but the guide says do not attempt this on any phone other than a SM-G900T.
    So I guess I won’t try it…

    1. Works on my G900T3

  9. Hi, I mistakenly chose to install SuperSU after kernel installation in TWRP, before first reboot.

    The instructions from the dev page at XDA say not to do this; I would ask there but I have not enough posts (6 out of 10) for the proper permissions.

    Is there a disadvantage to doing this? SuperSU seems to have installed fine on my device. What would the process be to do it as instructed? A simple reflash?

    Thanks in advance!

  10. I got stuck at TWRP flash, due to an FRP lock. I found that I needed to unlock the bootloader:
    Settings > Search “OEM unlock”

  11. Chris says: Reply

    I tried flashing an after the flash it says no OS installe

  12. Just Ernie says: Reply

    Thank you, easy to follow, worked great, no camera problems!

  13. Marc says: Reply

    i flashed recovery and odin showed everything as it was supposed to but once i put the phone into recovery its not showing the twrp recovery still shows….

    Android system recovery

    1. Marc says: Reply

      i just redid the whole process it works now, no clue why twrp didnt take to the device the very first time.

  14. jay says: Reply

    the twrp file will nit load up in Odin. any idea why?

    1. Krishna says: Reply

      You are selecting the .tar file, right?

  15. Chad Bosworth says: Reply

    God Bless Krishna and ShinySide!! THANK YOU

  16. Cesar says: Reply

    Will this work on baseband FOJ4?

  17. Cal says: Reply

    Hi, I’ve heard that FOJ4 5.1.1 can use the FOG6 kernel to root without a problem.
    Is this true?

    1. Cesar says: Reply

      It worked for me without problems.

  18. damon says: Reply

    No matter what I do it still shows FOJ4. I have done everything twice with both kernels.

  19. me says: Reply

    ok i have Sm-G900t from tmobile with 5.1.1 android but my build number ends in FOJ4, will this method still work? got it off craigslist so not worried about a warranty or anything.

    1. Dallin says: Reply

      I would like to get a confirmation for this also. I downloaded hispasian kernel foj4_v8. Is this the correct kernel to use on F0j4 while following this method for rooting?

  20. RomeSC says: Reply

    During the Odin step, I click on the options tab, but all the items are greyed out. I am unable to deselect “Auto Reboot”. The log shows “Added” and the ID:COM box is blue as disussed in the guide. But I am unale to untick the Auto Reboot box. please advise if you see this post. Thank you.

    1. Dallin says: Reply

      I can go to the options tab and select everything without having my phone selected. You might have a corrupt version of odin. try downloading it and starting over.

  21. Louis says: Reply

    Hi, I also would like to know if I can root my SM-G900T from T-Mobile with FOJ4. Thanks.

  22. davidboogerds says: Reply

    Buidlnumber ending in FOJ4 bump.
    Will there be an update of the TrapKernel?
    Is it possible to downgrade my device?

    1. Krishna says: Reply

      Are you looking to install TWRP and root both? or only Root?
      If you only want root, then simply flash this cf root kernel from here –
      It will work with FOJ4.
      If you want TWRP too, then after rooting with above kernel, download goomanager app from play store and install recovery from that app — that’s the easiest way to install TWRP on rooted devices.

      1. davidboogerds says: Reply

        Thanks for the prompt reply Krishna. I tried rooting by flashing the cf root kernel you linked. I did not exactly know how so i guessed using Odin. My phone got stuck into a reboot cycle. I managed to reset it, but now it’s (a) not rooted and (b) i can’t do regular updates anymore. Probably related to the yellow “Set Warranty BIt: kernel” message i get in the top left corner during start up now.

        I want to try root my device (SM-G900T) again.

        Could you please provide a link to a how-to with a step by step description of how to “simply flash a cf root kernel”?


        1. davidboogerds says: Reply

          Did this (no success)
          1: backup user data using easy backup to my google drive
          2: wipe data/factory reset
          2a: reboot VolUP+power+home; b select “wipe data/factory reset” (click power); c: select Yes -delete all
          3: wipe cache partition (similar to step 2);
          4: reboot to bootloader (similar to step 2);
          5:Read the screen, it says:

          ODIN MODE
          PRODUCT NAME: SM-G900T
          CURRENT BINARY: Custom
          SYSTEM STATUS: Custom
          KNOX WARRANTY VOID: 0x1 (4)
          RP SWREV: S1, T1, R1, A1, P1
          UDC START

          6: unplug usb cable; plug it back in
          7: start Odin3 v3.10.7 (also tried Odin3 v3.10.6)
          8: Verity that it says “ADDED”. It does
          9: in ODin: press AP, select file “CF-Auto-Root-kltetmo-kltetmo-smg900t.tar.md5” (34061 kB)
          10: in Odin, under tab “options”, uncheck everything except “Auto reboot” and “F. reset time”
          11: in Odin, press button “Start”
          12: Odin does it;s thing (says PASS ultimately in green)
          13: The phone reboots, it says “Recovery is not Seandroid Enforcing”
          14: red one-eyed android is there. Text flies by in white. Unfortunately, it says something fails, it starts again (too fast to remember the error). It loads the recovery instead. I get to set up Android from scratch. (i can run this again if you think this will contain vital clues)
          15: Using Check Root I confirm that rooting has indeed failed.

          Any suggestion on how to do things differently?

          1. Krishna says:

            Please check and tell the build no. on your device, under Settings > About device.

          2. Krishna says:

            Well you did everything alright, otherwise you wouldn’t get PASS message. Seems CF Root is broken. Anyway, flash this kernel –
            Should work. Let me know. No need to do a wipe data/factory reset in recovery BTW when flashing a kernel, or recovery, cf root, etc. That is required only when you are installing a firmware, and has a custom ROM installed previously (and that too not in all cases).

  23. Louis Spilker says: Reply

    Is anybody still moderating this? How do you transfer trapkernel to device?? put it where?? Will it work with foj4 or not???

  24. Louis Spilker says: Reply

    Page had not refreshed for me and only saw replies after. Sorry.. Still lost 🙁

    1. Gally says: Reply

      I have done all the steps but when it was time to install zip file at end there was no zip file. I dropped trapkernel file directly to phone where all other system folders are. It came up as an img file on my pc. Not sure why. I could not find zip file anywhere to install. went exploring and found option to install super su file. it said i was not rooted and this would root it. Went ahead and hit install. phone has been in downloading state for a long time now. What do i do ??

  25. Gally says: Reply

    Phone wont boot anymore. Stays stuck on Samsung logo. Shoot me now please.

  26. Erica says: Reply

    hello can you please advise about Camera fail or at least ho to revert back to previous state, there is no new or updated Kernal where Cam doesnt fail… pleeeeeeease help!!

    1. Krishna says: Reply

      The FOG6 version provided in the article doesn’t result in camera fail.. have you tried it?

      1. Erica says: Reply

        yes, I used according to my build from above- Build OF6 — Link | File: (12.8 MB)

        1. RNST13 says: Reply

          I have the same issue. I used the links above to download and after the root, camera fails. any help pls…..

  27. mike says: Reply


    I did all the above and got to the reboot screen where it asked about installing the SuperSU which I DID NOT install. The note on the reboot screen said that the phone didn’t appear rooted and did I want to install the SuperSU…some confusion. How can I now tell that my phone has been “Rooted”?

    Thanks for this!

    1. mike says: Reply

      Hi there…DDG’d it…using a terminal app, I checked and am indeed rooted!!! Woohoo!

  28. i also followed the instruction to the “T”. everything went according to plan but i also have a problem with the camera failing issue. what do i do to fix this? can i now install custom roms? how do i remove the touchwiz interface and just have a stock google phone? thanks in advance for your anticipated cooperation and advice. u guys r GREAT!!!! -tony the tiger voice

  29. Tom says: Reply

    My s5 is already rooted and the camera does not work on it. Can I just install the kernel or do I have to uninstall root and everything and redo the process?

    1. Tom says: Reply

      UPDATE: I tried to just install the new kernel with TWRP Recovery and my camera still does not work and shows Camera Failed. What next?

Leave a Reply