The first number is 0 - not rooted, 1 - rooted, 2 - error, the second number is 0 if the phone was never rooted and 1 if the phone was at least once detected as rooted.
Right, exactly. So no offense to the op been then what is the purposed of this method? If the device still has root who care if it says "qe 0/1" in recovery if you boot it up and superuser is install and su binarys are still there? If I flash the fxz I'm no longer rooted and it will say "qe 0/1" and anyone who knows to check knows I was root and my warenty is void.
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?