Use KNOX features while rooted?

BLuFeNiX

Senior Member
Jan 18, 2013
423
200
0
I have an S8, currently running U2BQK5, rooted via SamFAIL. Knox is not tripped (0x0).

I would like to be able to use Knox Containers (or even license the phone with my own ELM and KLM keys). I have seen evidence of someone achieving this on an S7, here: https://www.reddit.com/r/GalaxyS7/comments/5rtcv1/all_knox_apps_working_on_rooted_phone_with/

I have some ideas, but I am unsure if they will trip knox:

* modify stock U2BQK5 system.img to contain su binary, but remove nothing else (leave knox) and flash it
* use flashfire to flash a stock U2BQK5, and allow it to everroot (does this modfiy system.img or boot.img? I need to keep boot.img stock or else knox flag will trip, AFAIK)
* use Xposed to hook Knox root detection and make it think I am not rooted (example: http://repo.xposed.info/module/akhil.knoxrootbypass)

Any thoughts or general guidance would be greatly appreciated.