AFAIK, Private mode uses KNOX.
I've saw reports from S5 users who rooted their phones and lost this function.
So, i think, it nearly impossible to port because you have to root or at least flash custom ROM which will trigger KNOX flag.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb