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. :angel:
- 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/showthread.php?t=2783157
That's all folks!
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
mattyyey said:
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. :angel:
- 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!
Click to expand...
Click to collapse
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
minin0la said:
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
Click to expand...
Click to collapse
Install superSU from Play and inside the app choose to unroot. Data factory reset and that should be it.
gee2012 said:
Install superSU from Play and inside the app choose to unroot. Data factory reset and that should be it.
Click to expand...
Click to collapse
Did you tried and use on SM-G900F before?
Sent from my SM-G900F using XDA Free mobile app
minin0la said:
Did you tried and use on SM-G900F before?
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
No i haven`t myself, but it is confirmed that this works.
gee2012 said:
No i haven`t myself, but it is confirmed that this works.
Click to expand...
Click to collapse
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
Mattyyey, maybe noob question. Root will erase internal memory? Will do factory reset?
Sent from my SM-G900F using XDA Premium 4 mobile app
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
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
minin0la said:
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
Click to expand...
Click to collapse
Confirmed for 900F model, everything is fine and knox is not triped!
Device status unofficial
Sent from my SM-G900F using XDA Premium 4 mobile app
*elmo* said:
Device status unofficial
Sent from my SM-G900F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That`s to be expected off course after you gain root (admin) privleges
Not able to disable knox in super su. In su start to disable and hold on...
PS. Now status is official
Sent from my SM-G900F using XDA Premium 4 mobile app
zic1 said:
Confirmed for 900F model, everything is fine and knox is not triped!
Click to expand...
Click to collapse
Did device status become Official too?
Sent from my SM-G900F
minin0la said:
Did device status become Official too?
Sent from my SM-G900F
Click to expand...
Click to collapse
I have official. But I'm not able yo turn of knox in supersu
Sent from my SM-G900F using XDA Premium 4 mobile app
*elmo* said:
I have official. But I'm not able yo turn of knox in supersu
Sent from my SM-G900F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What do i mean is when you try to unroot the device with Supersu. Did the device status turn to official too?
Sent from my SM-G900F
minin0la said:
What do i mean is when you try to unroot the device with Supersu. Did the device status turn to official too?
Sent from my SM-G900F
Click to expand...
Click to collapse
I didn't try unroot.
Sent from my SM-G900F using XDA Premium 4 mobile app
Yes you can unroot using super su.The first time I tried it didn't work.so I rebooted and it worked great root checker app confirm that my ph I ne fors not have root access everything looks as if it has never been rooted...thank you to all devs great work root and unroot has never been so easy.....
Sent from my SM-G900P using XDA Premium 4 mobile app
Source from original thread:
http://forum.xda-developers.com/showthread.php?t=2783157
Not rooted, but denied access. Any ideas?
Were you rooted before? You may need to factory reset
Sent from my SM-G920T using Tapatalk
Is Knox tripped on your device? That will prevent you from using Samsung Pay. Samsung Pay actually doesn't appear to check if you are rooted. It checks Knox services through this method call "ServiceManager.getService("tima")". Tima appears to be deactivated when Knox is tripped (From my research). If the method call returns that the service is not active it knows you triggered Knox.
Yes I was rooted, updated through Smart Switch some time ago.
So will the Factory Reset "un-trip" Knox?
Thanx guys
bigpadabuu said:
Yes I was rooted, updated through Smart Switch some time ago.
So will the Factory Reset "un-trip" Knox?
Thanx guys
Click to expand...
Click to collapse
Nope. Once you trip Knox, there is currently no way to reset it.
I have some problems
bigpadabuu said:
Not rooted, but denied access. Any ideas?
Click to expand...
Click to collapse
When you fix this problem, please help anyone who have same problem
I successfully installed magisk on my samsung s8 but now the secure folder, software updates and maybe other apps don't work as they recognise my phone being rooted. I thought the point behind magisk was to hide the phone from looking rooted?
how can i fix this issue?
thanks
You tripped KNOX by flashing custom binaries. You're boned.
is there a way to root the phone without tripping KNOX?
cpu2007 said:
is there a way to root the phone without tripping KNOX?
Click to expand...
Click to collapse
There might be, but I don't think there's any going back for you. As far as I know you can't revert a triggered KNOX...
I installed magisk because I thought knox won't be tripped but I was wrong.
Does anyone know how I can use secure folder, software updates and banking apps now that my app is rooted? they can all recognise my app is rooted and won't work
cpu2007 said:
I installed magisk because I thought knox won't be tripped but I was wrong.
Does anyone know how I can use secure folder, software updates and banking apps now that my app is rooted? they can all recognise my app is rooted and won't work
Click to expand...
Click to collapse
You can still hide Magisk from many apps with Magisk. You'll just have to activate Magisk Hide in the Manager settings. SafetyNet is added by default and any other app that detects root might be fooled if you add it to the Magisk Hide list.
I've said it before and I'm sure I'll say it again. The purpose of Magisk is NOT to hide root and pass SafetyNet (it's just a really nice feature); it's to make your system modifications systemless. You could use this to keep your devices ability to update through OTA, with a couple of extra steps. But, the main advantage for me (and it's the deal-breaker) is that I don't have to redo any of my system modifications after an update. These could be changing screen density, debloating system apps, systemising apps, changing prop values, etc. Before Magisk I could spend 30-45 minutes after an update just setting upp all the system tweaks the way I wanted it, only to realise a couples of days later I'd forgotten something. Now, with Magisk - flash the update, done!
Recommended reading if you're new to Magisk:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
https://forum.xda-developers.com/apps/magisk/magisk-details-dummies-to-developers-t3473486
And if you're having issues:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
I have activated Magisk Hide and selected the app (Lloyds banking app) then restarted the phone but the app can still recognize that the phone is modified.
I'll look at the other solution that are being proposed in one of the links you've sent and sew how it goes but if anyone has any advice on how to fix this, that will be great.
I have backup for my bootloader,boot,system etc - flashing that back, will it revert the knox?
Thanks
cpu2007 said:
I have backup for my bootloader,boot,system etc - flashing that back, will it revert the knox?
Click to expand...
Click to collapse
I don't do Samsung, but as I understand it: nope.
More info can probably be found in your device's forum here on XDA.
cpu2007 said:
I have activated Magisk Hide and selected the app (Lloyds banking app) then restarted the phone but the app can still recognize that the phone is modified.
I'll look at the other solution that are being proposed in one of the links you've sent and sew how it goes but if anyone has any advice on how to fix this, that will be great.
I have backup for my bootloader,boot,system etc - flashing that back, will it revert the knox?
Thanks
Click to expand...
Click to collapse
Realise this is a very late reply, but if still had no joy with Lloyd's banking app, it will store it's root detection so will still think your phone's rooted even after Magisk Hide. Need to wipe the app data or reinstall.
Is there a module to bypass/cloak a tripped Knox & root access to enable use of Pay?
I'm thinking of something like Root Cloak (When it worked with Snapchat) - except working and for the new Nougat Xposed. I'm using the Galaxy S5+ on a Resurrection Remix rom.
You could say "Well why not just use Root Cloak?" but the module says that it only supports 5.x.x & 6.x.x., whereas I am on 7.1.1. Thank you for any help
Note: My KNOX is tripped and there is no reset. I'm hoping that there is a module that will cloak this and/or at least fool Android Pay to work on my phone.
No.
Sent from this galaxy
S- Health is disabled on my s7 because I tripped Knox after rooting. I am aware there is a method that changes the build.prop file to enable it, but safety net does not pass after I change it. Is there any way to enable S-health with magisk?
Thanks in advance!
Hey guy, I'm trying to do that. I'm waiting to someone help me using resetprop.
https://forum.xda-developers.com/apps/magisk/how-to-change-build-prop-value-using-t3710370