Post Reply

[TUT] root WITHOUT tripping knox

OP mattyyey

3rd July 2014, 06:57 PM   |  #1  
OP Senior Member
Flag Manchester
Thanks Meter: 60
 
176 posts
Join Date:Joined: Mar 2010
More
Hi everyone.

I'm no-one special, but I have rooted several phones. I usually wait till the ability to revert or not trip a counter (knox in this case, but most stock bootloaders have one these days afaik ). I had some spare time and have been researching for the last few hours getting my facts straight before I attempted anything. I now have root.

I'm only writing this because it wasn't too clear on the forums about rooting without tripping knox, even after some searching and reading the stickies.

I have just rooted my S5 (SM-G900F). I can confirm that the knox counter isnt tripped using a samsung phone info app i found (also double checked in dl mode).

before we start, heres some notes:
- So as far as I understand, towelroot works on more than just the SM-G900F but i suggest you check first.
- Using odin will add to your counter if you flash anything other than stock with it afaik. This was the same for me on the S3 but I had triangle away.
- Installing a custom recovery via odin will add to the knox counter obviously.
- Installing a custom recovery via another method might trip knox.
- Flashing a custom ROM will add to the counter. (couldnt anyway without custom recovery)
- Boot into download mode using VOLDOWN, HOME, POWER and click continue (i suggest un-plugging it) this will show u the counter.
- Quick view the counter with this app: Phone INFO Samsung
-With root access it might be possible to do something that will trip knox, even with it "disabled" by supersu. be careful.
- apparently if you trip knox, you cannot update the radio. quote from alan shore
- OTA updates will probably remove root
- Most places, if you trip the counter, your warranty is void.
- you can fix s health issuses caused by xposed by editing the build.prop (not sure how same that is with knox)


Heres how I did it:
(0. I actually did a OTA and security policy update check before attempting this.)
1. disable security policy updates (security) and automatic updates (about) in the settings. This is just in case. Updates might remove your root.

2. Download tr.apk from towelroot.com/ by clicking the icon. Please note that when i did this Avast AV flagged it up, which i then disabled and re-downloaded the file. Use at your own risk. I had no problems...

3. Enable Unknown Sources (settings->security), copy the apk to your sdcard install. I again got a flag from avast... i clicked ignore

4. Run it. Might take a little while...

5. Install SuperSU from the market.

6. Run super su and let it install the su binaries.

7. Depending on what you want root for, you may wish to disable knox using super su (i intend to use xposed so i did). When I attempted to let it disable knox, it failed. As it instructed, I rebooted and ran it again... all done.

Now I installed root checker and titanium backup and had a play. root works. I rebooted and checked download mode, knox counter : 0x0 root is still there after reboot. all done! Make sure you have read and understand the notes before you go off using root.

I hold no responsibility for any damage or loss of data.
I do not claim to have made anything. a big thanks to all the respective contributing devs, esp chainfire for his never ending development for android, and geohot creator of towelroot for making it all possible.

If you have errors and questions the original thread for towelroot is below:
http://forum.xda-developers.com/show....php?t=2783157

That's all folks!
Last edited by mattyyey; 21st September 2014 at 09:01 PM.
The Following 20 Users Say Thank You to mattyyey For This Useful Post: [ View ]
4th July 2014, 08:27 AM   |  #2  
Junior Member
Thanks Meter: 2
 
8 posts
Join Date:Joined: Aug 2010
Confirmed! I tried this on my SM-G900F and:
a) knox was not tripped
b) root installed
c) device status remained official!

Great work!

http://imgur.com/d0pTAb5

Quote:
Originally Posted by mattyyey

Hi everyone.

I'm no-one special, but I have rooted several phones. I usually wait till the ability to revert or not trip a counter (knox in this case, but most stock bootloaders have one these days afaik ). I had some spare time and have been researching for the last few hours getting my facts straight before I attempted anything. I now have root.

I'm only writing this because it wasn't too clear on the forums about rooting without tripping knox, even after some searching and reading the stickies.

I have just rooted my S5 (SM-G900F). I can confirm that the knox counter isnt tripped using a samsung phone info app i found (also double checked in dl mode).

before we start, heres some notes:
- So as far as I understand, towelroot works on more than just the SM-G900F but i suggest you check first.
- Using odin will add to your counter if you flash anything other than stock with it afaik. This was the same for me on the S3 but I had triangle away.
- Installing a custom recovery via odin will add to the knox counter obviously.
- Installing a custom recovery via another method might trip knox. (can anyone help me answer that properly?)
- Flashing a custom ROM will add to the counter. (couldnt easily anyway without custom recovery)
- Boot into download mode using VOLDOWN, HOME, POWER and click continue (i suggest un-plugging it) this will show u the counter.
- Quick view the counter with this app: Phone INFO Samsung
-With root access it might be possible to do something that will trip knox, even with it "disabled" by supersu. be careful.
- apparently if you trip knox, you cannot update the radio. quote from alan shore
- OTA updates will probably remove root
- Most places, if you trip the counter, your warranty is void.
- you can fix s health issuses caused by xposed by editing the build.prop (not sure how same that is with knox)


Heres how I did it:
(0. I actually did a OTA and security policy update check before attempting this.)
1. disable security policy updates (security) and automatic updates (about) in the settings. This is just in case. Updates might remove your root.

2. Download tr.apk from towelroot.com/ by clicking the icon. Please note that when i did this Avast AV flagged it up, which i then disabled and re-downloaded the file. Use at your own risk. I had no problems...

3. Enable Unknown Sources (settings->security), copy the apk to your sdcard install. I again got a flag from avast... i clicked ignore

4. Run it. Might take a little while...

5. Install SuperSU from the market.

6. Run super su and let it install the su binaries.

7. Depending on what you want root for, you may wish to disable knox using super su (i intend to use xposed so i did). When I attempted to let it disable knox, it failed. As it instructed, I rebooted and ran it again... all done.

Now I installed root checker and titanium backup and had a play. root works. I rebooted and checked download mode, knox counter : 0x0 root is still there after reboot. all done! Make sure you have read and understand the notes before you go off using root.

I hold no responsibility for any damage or loss of data.
I do not claim to have made anything. a big thanks to all the respective contributing devs, esp chainfire for his never ending development for android, and geohot creator of towelroot for making it all possible.

That's all folks!

Last edited by xmun; 4th July 2014 at 10:46 AM. Reason: Added snapshots/photos
The Following 2 Users Say Thank You to xmun For This Useful Post: [ View ]
4th July 2014, 08:48 AM   |  #3  
Junior Member
Flag Singapore
Thanks Meter: 5
 
17 posts
Join Date:Joined: Jul 2014
Donate to Me
More
So lets say I have rooted my phone with Towelroot. When I want to go for service or I would say to get a warranty back. How do I unroot it?

Thanks
4th July 2014, 08:50 AM   |  #4  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,140
 
8,548 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by minin0la

So lets say I have rooted my phone with Towelroot. When I want to go for service or I would say to get a warranty back. How do I unroot it?

Thanks

Install superSU from Play and inside the app choose to unroot. Data factory reset and that should be it.
The Following User Says Thank You to gee2012 For This Useful Post: [ View ]
4th July 2014, 09:26 AM   |  #5  
Junior Member
Flag Singapore
Thanks Meter: 5
 
17 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Quote:
Originally Posted by gee2012

Install superSU from Play and inside the app choose to unroot. Data factory reset and that should be it.


Did you tried and use on SM-G900F before?

Sent from my SM-G900F using XDA Free mobile app
Last edited by minin0la; 4th July 2014 at 09:33 AM.
4th July 2014, 09:46 AM   |  #6  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,140
 
8,548 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by minin0la

Did you tried and use on SM-G900F before?

Sent from my SM-G900F using XDA Free mobile app

No i haven`t myself, but it is confirmed that this works.
The Following User Says Thank You to gee2012 For This Useful Post: [ View ]
4th July 2014, 09:49 AM   |  #7  
Junior Member
Flag Singapore
Thanks Meter: 5
 
17 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Quote:
Originally Posted by gee2012

No i haven`t myself, but it is confirmed that this works.

I will look more on Google about that. If anyone tried to unroot SM-G900F with Supersu and it's works, please do let me know about it.

Sent from my SM-G900F using XDA Free mobile app
4th July 2014, 12:20 PM   |  #8  
*elmo*'s Avatar
Senior Member
Flag Sesame Street
Thanks Meter: 380
 
1,299 posts
Join Date:Joined: Aug 2012
More
Mattyyey, maybe noob question. Root will erase internal memory? Will do factory reset?

Sent from my SM-G900F using XDA Premium 4 mobile app
Last edited by *elmo*; 4th July 2014 at 12:30 PM.
4th July 2014, 12:57 PM   |  #9  
Junior Member
Flag Singapore
Thanks Meter: 5
 
17 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Rooting should not be removing the internal memory. (Correct me if I am wrong)

They should just give you a 'superuser' right for you to be able to modify the system files, etc.

Sent from my SM-G900F
Last edited by minin0la; 4th July 2014 at 01:05 PM.
The Following 2 Users Say Thank You to minin0la For This Useful Post: [ View ]
4th July 2014, 03:50 PM   |  #10  
OP Senior Member
Flag Manchester
Thanks Meter: 60
 
176 posts
Join Date:Joined: Mar 2010
More
No this doesn't wipe anything, it just allows things to run with elevated permissions(root apps).

Also been exploring some more... I also now recommend you do a nandroid using online nandroid backup app as it'll do a nandroid without recovery. Then I installed exposed framework and am having fun with that hehe

Also you might wanna install busy box (titanium backup has its own)

Sent from my SM-G900F using XDA Premium HD app
Last edited by mattyyey; 4th July 2014 at 03:58 PM.

The Following 2 Users Say Thank You to mattyyey For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
guide, knox, root, towelroot, tutorial
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S 5 General by ThreadRank