yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 5] fozzy501:
Is there a good method to root 5.0? and keep 0x0

? i have looked and found some ways but I wanted to know what way was the best
[T-Mobile Samsung Galaxy S 5] FungalRaincloud:
The only way I have found is to downgrade to a vulnerable version (which will require a factory reset after downgrading), then use a pre-rooted version of 5.0 to upgrade. Other methods of rooting 5.0 trip knox, from my personal research.
[T-Mobile Samsung Galaxy S 5] toobz:
Will this method work for me? I just got a Tmobile Galaxy S5 and it has 4.4.2 android on it. However, it downloaded the lolipop update and I postponed the update for a day. Since I am still on 4.4.2 is this a good way to root my phone and be able to install customer recovery and roms?

Thank you
[T-Mobile Samsung Galaxy S 5] Canyon30:
Tested and works great! I was too excited and got the official OTA so I had to downgrade for your process. After doing that I had to wipe/factory reset and I'm golden! Thanks for the good work!
[T-Mobile Samsung Galaxy S 5] halsee:
Thanks for the great tutorial !
[T-Mobile Samsung Galaxy S 5] redhonker:
Will give it a try. Thanks
[T-Mobile Samsung Galaxy S 5] kisame94:
Hello,

This method worked for me.

The only problem is that I can't flash a cutom ROM on my device. I tried with Alexander's ROM but my phone is blocked on the SAMSUNG logo. I flashed it with TWRP recovery.

Anyone know If how to flash a custom ROM on T-mobile NK2 Samsung Galaxy S5?

Thank you.
[T-Mobile Samsung Galaxy S 5] jaydonstewartjts:
So to root the nk2 fiemware all you have to do is download the kernel, put in ap slot in oding, then put phone in download mode and click start?
[T-Mobile Samsung Galaxy S 5] abelgrahf:
Towel Root says does not support phone currently

Would I need an older version of for this to work than what is on their site currently? My phone is currently on the nk2. I have tried flashing the nk2 rom with odin and it said this phone is not supported in towelroot. I flashed the nk2 file to restore it back then reflashed the nk2 boot and it did the same thing. I had successfully used this method on my phone before and unrooted cause of an issue that ended up being unrelated. I have also tried a bunch of different modstrings with no luck. Any help would be appreciated.
[T-Mobile Samsung Galaxy S 5] Hypoxic1:
Using mobile odin pro, should I flash the bootloader using PC odin FIRST? Then the "rest" with mobile odin? What gets flashed with mobile odin? Just don't want to do all this over again.

So mobile does kernel , recovery and system & I should flash modem and firmware (which is same as bootloader, right) using PC odin? What a chore!
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
After you have ne6 and root, i would use mobile odin to update the software to nh5 and dont forget to inject root. Once that is done, go ahead and flash the bootloader and modem in pc odin. U should be back completely on nh5 w root. You can check by downloading samsung phone info from the playstore and that will show your nh5 files and if you tripped knox.

Also before you flash with pc odin make sure you pull your battery out of the phone for a min and then put the battery back in and flash the files with pc odin. Only reason to do this is the modem sometimes does not take untill you do the battery pull.

This is what you should have in mobile odin pro. Look at both pictures and match it.
[T-Mobile Samsung Galaxy S 5] Hypoxic1:
Yea, something is weird with my phone. Flashed using mobile odin & upon rebooting, everything was fine. I even checked & everything in ABOUT PHONE ended with NH5.

But I still did the PC ODIN flashing of bootloader & modem in BL & CP slots. Got the error crap again. OK, now to start all over AGAIN. LOL. I'm getting good at this!

This time, I'll do the mobile odin flashing & be done. Hopefully that is enough. Using Samsung Phone Info, everything but bootloader is NH5.
[T-Mobile Samsung Galaxy S 5] ashraf sharif:
here is the bootloader for nh5 https://www.androidfilehost.com/?fid=23622183712469491 flash with pc odin.
[T-Mobile Samsung Galaxy S 5] gspears:
Do you have the modem as well?

Thanks for your good work.
[T-Mobile Samsung Galaxy S 5] ashraf sharif:
all bootloaders and modems for each variant of the s5 here http://xdaforums.com/showpost.php?p=52210611&postcount=4
[T-Mobile Samsung Galaxy S 5] Galenstmarie:
Kies Reinstall

After each failed try at rooting do I have to go through the reinstall using Kies?
[T-Mobile Samsung Galaxy S 5] gspears:
You should be able to odin back to the version you are interested in. For me that's easier than Kies.
[T-Mobile Samsung Galaxy S 5] Galenstmarie:
Developer Options

Also, you give the different settings to make on the S5, but I assume the old standbys, developer option and debugging should also be selected before I try it again? Thanks
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yes you can use kies and or odin to get back to stock.. Yes make sure you have all checks and unchecks before you root and or load super user.

Also I dont understand why a few are having issues with this rooting method. Are you guys trying to preserve knox by clicking no to disabling knox when you try to update su binarys. I use my method over and over and never had any issues with rooting, i got the hang once on disable knoxs but a quick restart of the phone and re run su and all good.

.

.

I have added a couple of things to the directions, which i think will help some get thru the error with root and super.

7. Open up SuperSu and install the Binarys into your phone, Make you click Normal install and not CWM/TWRP. You then will be prompted to Disable knoxs, You click yes, (I clicked disable and have had no side effects.) You will have to reboot to make sure Super user takes effect. You can check to see if you have root by downloading root checker of your choice from the playstore.

7a, If you some reason you get an error saying the super user failed to install, Dont worry, just reboot your phone and and re run super su apk and you will see that it actually did install super user, you can verify by using root checker to verify. You do not need to restore your phone back to stock and start over.

.

.

I think this is where everyone gets nervous and think they have failed at root.. Hit ok on the error and just REBOOT THE PHONE>> DO NOT TRY TO RE INSTALL SUPER USER UNTILL YOU REBOOT
[T-Mobile Samsung Galaxy S 5] richierich118:
I don't understand either . The only problem I had was when I had to disable knox. A reboot fix that with no problems
[T-Mobile Samsung Galaxy S 5] Galenstmarie:
Odin Text

This is what it says when it fails

Enter CS for MD5...

Check MD5.. Do not unplug cable

Please wait

boot.tar.d5 is valid

checking MD5 finished successfully

Leave CS...

Added!!

odin v.3 engine (id:3)..

File analysis

Setup correction

Initialization

Get PIT for mapping

Firmware update start...

Single download

boot.img

Nand Write Start!!

Complete(Write) operation failed

All threads completed. (Succeed 0 /Failed 1)

---------- Post added at 07:14 PM ---------- Previous post was at 07:09 PM ----------

That should be setup connection, not correction
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
What version of odin are you using?

I just re downloaded all the files from the 1 st post and was able to install thru odin with no issues.

I would try a different cable, if you have a cable that is not the new usb 3 one, try that.. You can also try a different usb port, if you are using a desktop try one on the back of the computer instead of one on the front. If you are using a laptop, then try a desktop. Make sure your computer has a usb 3.0 port, this may be an issue with that or at least one with a usb 2.0 SS.
[T-Mobile Samsung Galaxy S 5] Hypoxic1:
Are you using a PC or VMWare on a Mac? THAT turned out to be my issue, not galaxyusers instructions.

YOU MUST ONLY USE A GENUINE WINDOZE PC!
[T-Mobile Samsung Galaxy S 5] DrKnobz:
Well damn! Thats been my issue this whole time too.
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Did you guys get it working? I tried it on all my computer (yes all windows pc) and could not get odin to fail. Sorry.. Iam not familar with Mac or any apple product.. Personally cant stand Apple.. LOL

If you plan on sticking with a android device, you really should get a windows pc or laptop. They are fairly cheap and can be found every where. I have both windows and linux based computers to do my work on android. I have heard of people using Jodin to use odin on a mac, but havent really heard of this in a while. Try and do a search of jodin on the internet..
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Ok I updated OP and have added a couple of things to the post. I hope this helps everyone out.. Added the full Stock NH5 T-Mobile rom Just in case you need it. I will also be adding the modems, so you can pick and choose which one works better for you. This will be added later today when i get home from work.
[T-Mobile Samsung Galaxy S 5] Hypoxic1:
You're awesome! Why can't "tech support" always be this helpful with ANY business?

So to clarity, my issue was ONLY because of running Windows in a virtual machine (VMWare Fusion). That has sufficed with previous phones, but this ODIN is obviously a bit more finicky. Otherwise, your directions were pretty much spot on. BTW, I never got a "YES" or "NO" for disabling KNOX, but I got a "CANCEL" or "OK" upon it saying that it's gonna disable it because blah blah whatever. I obviously pressed OK to disable & just as you said, I've had NO issues with my phone or private mode or SHealth, etc.
[T-Mobile Samsung Galaxy S 5] itsme_4ucz:
Need some advice, just got a Tmobile S5 for my friend and its ANE6 firmware and i was able to root it using towelroot.

What the best way to upgrade to latest Stock ROM keeping the root?

Thanks!!
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Oh ok, i really thought something was wrong with my method and i tried like hell to get it to fail odin. Lol. There is a new odin 3.10, maybe that one might not be so finicky. Another thing you might want to try an older version like odin 3.07. Just throwing things to try. As far as the disable yes or no, cancel and ok, pretty much the same thing. LOL See we all learn something new everyday.. Glad you got it thou.

1.Personally I would odin the latest firmware to NH5 and than use my method to reroot.

.

2. You can use odin to flash the modem and bootloader, than you would need to purchase Mobile odin pro to flash the rest of the NH5 rom and use MOBILE ODIN PRO to inject root and superuser into the rom.

.

It is really up to you which way you do it. Both ways work. its just a personal preference since you all ready have root on older ne6 firmware. My way just saves you a few steps, since most new phones all ready have the latest nh5 on it. Plus you dont lose any settings by having to flash backwards to ne6 full rom..

I hope this helps you out, cause i all most got my self lost trying to explain.. lol
[T-Mobile Samsung Galaxy S 5] itsme_4ucz:
So if i understand right, here are the steps i should follow:

1) Install NH5 bootloader (NH5 Boot.tar from OP) and NH5 modem from (NH5 modem) using PC ODIN (in OP)

2) The install the NH5 rom (couldnt find the link to this) using mobile odin pro

thats it.
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
No do not use my boot.tar that is just a kernel called boot.img. You need the bootloader and then you can use my modem and full stock nh5 rom from my links. If you scroll back thru these post, there is on person that post a link to the bootloader file. Look for post #26 from ashraf sharif.
[T-Mobile Samsung Galaxy S 5] itsme_4ucz:
Thanks a lot, got the files from http://xdaforums.com/showpost.php?p=52210611&postcount=4

will start the process, fingers crossed!!
[T-Mobile Samsung Galaxy S 5] Galenstmarie:
Recovery

I was successful rooting my galaxy S5. The process went smoothly once I used a Windows PC.

Thanks for your help Now I would like to install recovery. Can you tell me which one you prefer and what process I should use. Thanks AgainI just re downloaded all the files from the 1 st post and was able to install thru odin with no issues.
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
You have 2 choices

.

1. CWM- Phils cwm touch -- install via odin

.

2. TWRP.- I believe you can install this via odin or you can download this thru Goo Manager available from playstore. I would search this just to be sure.

.

I used to use Phils CWM Touch, but it seems the CWM lost all devs and is no longer being supported or updated ( I hate to see it end and hope someone picks it back up again)

So the choice is really up to you. You flash either one and try it, if you dont like it, then you can flash the other. But remember that flashing a custom recovery will trip knox and your warranty is or will be void.
[T-Mobile Samsung Galaxy S 5] itsme_4ucz:
Success!! thanks a lot!!
[T-Mobile Samsung Galaxy S 5] boo_radley:
How would one know if NH5 or NH6 I have checked phone's software and info and cannot seem to find it

Sorry if silly question and appreciate any help.
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
If you click setting-general-about and scroll down, you will see what firmware you are at. It will look like this....
[T-Mobile Samsung Galaxy S 5] Jason_Otaku:
Is it safe to install custom recovery on NH5?
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
If you dont care about tripping knox. Then flash away. If you do not want to trip knox then no do not install custom recovery..

And no there is no way to restore or revert knox back to 0x0 after you trip it 0x1.
[T-Mobile Samsung Galaxy S 5] spaniolo:
Thanks!!! It worked with no issues at all. Very easy!!!
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Iam glad this root method works for all of you.. I have over 180 downloads on the files for root. So iam only guessing it has worked for a lot of people. I know some have had issues, but that was because or the computer, operating system (mac), and other issues not pertaining to this method. :good::good::good:
[T-Mobile Samsung Galaxy S 5] leprkon:
Hi, just wanted to make sure that I am going to do this correctly before I actually do it. Don't want to mess up!

I got a warranty replacement, and it came with NE6. I use TowelRoot, root it, and then I go into Mobile ODIN and flash NH5 (2.3 GB file) making sure to inject root. From here, would I need to flash the bootloader and modem in PC ODIN or am I good to go?

Sorry if this is a stupid question! I just don't want to have to finish up everything and then boot up to a bunch of FC's...god I hate FC's with a passion.
[T-Mobile Samsung Galaxy S 5] ashraf sharif:
you would only need to flash the bootloader in pc odin as the last step as mobile odin doesn't flash bootloaders. the modem is included in the full tar and firmware only files so it is not necessary to flash the modem again after flashing with mobile odin. make sure you use the pro version of mobile odin
[T-Mobile Samsung Galaxy S 5] leprkon:
Thanks for the reply! I just wanted to say that everything went smoothly and I have NH5 with root and Knox was not tripped!
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yes Ashraf is correct, Yes make sure after you flash, you check to make sure the modem took, If it did not take, then reflash the modem with pc odin.. Seems for some reason when you try to use mobile odin pro it does not take.. If you have any problems, pull the battery from the phone for like 30 sec to minute.. Then flash the modem, this should work..

.

Make sure that if you are coming from the full ne6,

DO NOT

use my boot.tar as this is just the kernel and not the full bootloader that is needed when you upgrading to NH5 from NE6.

.

This is one of the reason i created my method to update and root NH5. If you pc flash the full NH5 firmware, then it will flash everything you need at once and then a few steps you can have root again..

.

It is strictly up to you to decide which way you want to go.. Either way just make sure you follow directions and you should not have any issue.
[T-Mobile Samsung Galaxy S 5] leprkon:
Thanks for the help!

A few more questions, I just need to check the Baseband to confirm that the radio took, correct?

In regards to the bootloader, I was not aware of the difference and flashed the boot.tar that you had provided. Is there an issue here? Would I just have to reflash the bootloader from a different file? If so, which file should I go get?

Thanks in advance.
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yes correct on the baseband to verify the modem took correctly.

And the boot.tar that i have is the kernel only hence the boot.tar. Bootloader is a different set of files that mobile odin can not flash correctly. So you will have to download the bootloader from another post and flash thru pc odin. This and many other reasons is why i made my post, since it is alot easier to flash the full nh5 with pc odin and have everything on my phone once. Then i just follow my direction to root.
[T-Mobile Samsung Galaxy S 5] leprkon:
Thanks again for the prompt reply. I found the bootloader and just flashed it. Everything is up and running and there are no problems what's so ever!
[T-Mobile Samsung Galaxy S 5] TamBen7:
App not found

I tried to download the files but it keeps saying "Application not found". I tried the older link but I get the same message. Why is that?

---------- Post added at 10:25 PM ---------- Previous post was at 10:17 PM ----------

I have Windows 8 on my old laptop. I tried to download but I keep getting error message "Application not found". I tried to download the older version but I get the same message. Why is that?
[T-Mobile Samsung Galaxy S 5] jasminenakamura:
Norton Keeps deleting the tr.apk download

All the files downloaded successfully but I keep getting an error with downloading the TowerlRoot tr.apk file. My Norton Security keeps blocking and removing it stating it's a Trojan threat. I took a screenshot of the Norton Alert.

Would anyone be so kind to tell me if the tr.apk file is indeed infected or is my Norton just being overly cautious?

Thanks

[IMG="Norton blocking tr.apk file"]https://dl.dropboxusercontent.com/u/13787464/Misc/Screenshot%202014-11-05%2020.37.05.png[/IMG]
[T-Mobile Samsung Galaxy S 5] ashraf sharif:
the towelroot apk can be downloaded directly to the phone. also you can temporarily disable your antivirus
[T-Mobile Samsung Galaxy S 5] spaniolo:
Hey, just for your information I also have Norton full security suit on my windows 7 and I had no issues. Everything downloaded in Chrome and I followed d the steps described on the OP with no problems.

However you may want to review your security settings in Norton maybe your settings are set higher than mine. In any case it should be safe to download from these forums , believe me this community takes care of each other very nicely and if someone would post infected files they would be shut down quick. My two cents...
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yes ashraf and spaniollo are both correct. These files are not viruses and that your computer antivirus program is being picky. As far as windows 8 goes, get windows 7 pro. Lol.

No windows 8 security is causing you that problem. Just download towel root to you phone.. Simple...
[T-Mobile Samsung Galaxy S 5] dimm0k:
just wanted to chime in that this works for me! recently switched to T-Mobile and the device I obtained had NE6... I Odin'd NH5 stock, Odin'd NE6 kernel, towelroot, Odin'd NH5 kernel and I'm still root with KNOX at 0x0! much thanks to [MENTION=3364603]galaxyuser88[/MENTION]
[T-Mobile Samsung Galaxy S 5] iTz KeeFy:
Thanks so much for this! Just got my GS5 today and rooted with no issues following your method, nice work!
[T-Mobile Samsung Galaxy S 5] Guntert:
I can't get towelroot to work with my tmobile s5 nh5. I'm just looking to root, don't want custom roms and can't trip knox.. any help?
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yeah, read this step by step.

http://xdaforums.com/showthread.php?p=56098894
[T-Mobile Samsung Galaxy S 5] Guntert:
Thank u, says I'm rooted but having problems with app that I needed to be rooted... anyone use appradio2 with S5?
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
What is the problem you are having? You need to be more specific. We can not read your mind.

Also do you have the adapter that is required to use samsung with your radio? Also it doesnt say that s5 is supported, just s4.
[T-Mobile Samsung Galaxy S 5] Guntert:
Thank you for fast reply. Love that I'm rooted and Knox not tripped.. I was told the s5 was compatible others are using it but they all have custom roms and have tripped Knox. I read somewhere that my error means selinux needs to be in permissive mode. Again thank you for your step by step.

Yes I have the right cables, I had a s3 and it worked fine but upgraded to a s5
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Sorry i have not used that app before. So i could not begin to tell you how to get it working. Sounds like a custom rom might be the way to go if it works with that. I would wait to see if the dev updates his app before making any decisions.
[T-Mobile Samsung Galaxy S 5] Guntert:
Would a custom kernel trip Knox? U know of any way to put selinux in permissive mode
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Yes a custom rom will trip knoxs. You can download SELinux Mode Changer from the playstore.
[T-Mobile Samsung Galaxy S 5] Guntert:
Is kernel same thing as custom rom?
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
No. If you install a custom kernel you will trip knox
[T-Mobile Samsung Galaxy S 5] Guntert:
Selinux mode changer does not work for me

---------- Post added at 03:52 PM ---------- Previous post was at 03:49 PM ----------

Can I flash a kernel that switches selinux to permissive mode and not trip Knox?
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
if you flash a kernel that is not stock then you will trip knox. That is something you need to decide. Its your phone. Sorry i can not help with this. Maybe some one else might know.
[T-Mobile Samsung Galaxy S 5] Guntert:
OK thanks.. don't want to trip Knox..
[T-Mobile Samsung Galaxy S 5] jasminenakamura:
I am interested in rooting my S5 only so I could use the Wifi Tether App.

I have a question. If I follow the instructions and root my S5 successfully, will my phone still be able to receive new software updates?

Thanks
[T-Mobile Samsung Galaxy S 5] galaxyuser88:
Iam gonna say no to the update. Only cause you are rooted, but iam not 100 % sure due to fact that you are not adding a custom recovery. Most of the time when you root, you want to disable updates, because if an update comes out and you take it you possibly will lose root and my not be able to root after update. Google and android are really starting to crack down on rooting.
[T-Mobile Samsung Galaxy S 5] dimm0k:
when I had my SGS4 on Sprint, updates would download automatically and wait for you to update by pressing the notification in the Notification panel. if you proceeded to update, it would fail once it reboots and attempts the update. with the SGS5 on TMO, what I've noticed when I had NE6 towelroot'd was that once you check for an update it would download and keep reminding you about the update... if you proceed with the update it would also fail once it reboots so I had to Odin NH5 first and then follow the steps in the OP to root NH5.
[T-Mobile Samsung Galaxy S 5] gspears:
DimmOK is correct, it will fail if you try and take an OTA update once you are rooted. But for most of us here that is a good thing. Because there is no telling what might happen if you take an OTA update. It could fix it so you can't root or possibly lock the bootloader, or who knows what else. I'd rather the unsuspecting take the update and find out what happens to them and then ODIN the update at a time of my choosing when I know what it does and doesn't do.

Good Luck!

If I've helped please push the "Thanks" button.
[T-Mobile Samsung Galaxy S 5] Guntert:
What is a good kernal to use? I might as well just trip Knox cause I need selinux to be permissive