Root Checker fails on Android's default su
(built from AOSP), but in adb shell
it works fine. It seems this su
program doesn't provide root access to the Android framework. But I don't quite know the details. Is there anyone who can explain it? Thanks.
I think Chris pointed out the reason in his comment. su
works on an engineering build, but not on a factory ROM. It looks like this has something to do with build flags.