Hi Sean,Hi there,
First off thanks for the feedback it's appreciated to see other people like my work as well. As for your question I guess it would depend on if it was CM or another ROM. Unfortunately, as far as I know there is no tutorial to do this and this is why I delved into the source code to remove it so I can use my banking apps. By all means if you have some source code for the phone on a github you want me to have a look at to see if I can remove it give me some links and ill see what I can do.
Thanks for your response and offer! Although I am currently not looking at a specific ROM (CM13 is excellent so far), ROMs such as Resurrection Remix or Bliss seem interesting I figured removing root maybe involved only removing some files from the source, but delving into source code sounds more complex. One of my banking apps (Bunq) still detects some traces of root by the way ('Your device might be rooted'), but does work. As does the MaaS360 app which is most important for me.
Please let me know if you'd like me to test/try something on the OP2 for you.
Thanks for the explanation. I'm sure you've done a great job, however I think it is a little misleading to say that in reference to CyanogenMod.
This is a whole rom that doesnot have root