Link to home
Start Free TrialLog in
Avatar of kwlol
kwlol

asked on

Root check false positives in Miui Xiaomi mobiles

My company is developing a mobile App, and it is advised to block Rooted machine from using it.
The Rooted detection mechanism works, but has false positives on non-Rooted Miui Xiaomi mobiles, because they seems to have some Root-bundled function even it is new.

Is there any way to distinguish a Rooted and non-Rooted Xiaomi? to check the bootloader lock or unlock status? Grateful if any can share me some source code for the check.

Thanks a lot.
ASKER CERTIFIED SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kwlol
kwlol

ASKER

So, any system parameter can be returned to indicate if it is rooted or not.

Thanks.
What is your Rooted detection mechanism?

If the phone is pre rooted, any mechanism will detect it as rooted.
Avatar of kwlol

ASKER

From our consultant,
1. Check for application packages which are commonly installed for rooting
2.Check the existence of root related application in the common directories
3. Check the build tag
4. Check the directory permissions to identify full-access right to any process
5. Check the System Properties to verify no root permission should be given for system process (e.g. adb)
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'Jackie Man' (https:#a42339541)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

jackieman
Experts-Exchange Cleanup Volunteer