In the adb shell command when I entered su, it prints:
su root@hxjgeakt:/ #
It means my phone is rooted right?
How can I check when exactly was the phone rooted?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
As for the first part: Yes, that definitely means your device is rooted.
For the second part of your question, IMHO it's close to impossible to figure the exact timestamp of rooting (apart from yourself noting it in some document). Though there seem to be tools reporting it, as mentioned in this answer1, I'm afraid that timestamp is not much reliable (unless I missed something). According to Andrew's comment, those apps do so by checking the timestamps of certain files, such as the
su binary. Depending on several conditions, that might be totally off:
subinary when new versions are available), that timestamp is definitely much later than the time you've rooted the device
So if any tool tells you the date, I wouldn't count on the fact the date is correct – unless the dev can explain how the check is performed, and prove why the reported timestamp is correct.
1: the linked answer was deleted while I wrote mine