Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
/ RootChecker Public archive

RootChecker is a lightweight Android library that provides easy and efficient methods to determine whether the device is rooted, an emulator, using a proxy, or is debuggable.

License

Notifications You must be signed in to change notification settings

broscr/RootChecker

Repository files navigation

RootChecker

This project has moved to a new repository. Please follow the link below to access the latest version of the project.

Security Utils

The development of this project is now continuing at the following repository:

Security Utils

Please update your bookmarks and clone the new repository to get the latest updates and contributions.

How to Clone the Security Utils

To clone the new repository, use the following command:

git clone https://github.com/broscr/security-utils.git

What is RootChecker?

RootChecker is a lightweight Android library that provides easy and efficient methods to determine whether the device is rooted, an emulator, using a proxy, or is debuggable. This library is useful for developers who want to improve the security and performance of their applications by preventing them from running on rooted devices, emulators, devices using a proxy, or debuggable devices.

Features

RootChecker provides the following features:

  • Root Detection: This feature allows you to detect whether the device is rooted or not. If the device is rooted, your application can take appropriate actions to enhance security.

  • Emulator Detection: This feature allows you to detect whether the application is running on an emulator or not. If the application is running on an emulator, it can take appropriate actions to prevent malicious activities.

  • Proxy Detection: This feature allows you to detect whether the device is using a proxy or not. If the device is using a proxy, your application can take appropriate actions to prevent unauthorized access.

  • Debuggable Detection: This feature allows you to detect whether the application is debuggable or not. If the application is debuggable, it can take appropriate actions to prevent malicious activities.

Why should I use this library?

There are several reasons why you might consider using RootChecker:

  • Ease of use: RootChecker provides easy and lightweight methods to determine device status, making it easy to integrate into your application.

  • Security: Rooted devices, emulators, devices using a proxy, or debuggable devices can pose a potential security risk for applications. RootChecker enhances security by preventing applications from running on such devices.

  • Compatibility: RootChecker is compatible with various Android versions and devices, ensuring that your application works across different devices and versions. -- Android 5.0 (API level 21) and above. -- Java 8 and above.

  • Performance: RootChecker can improve the performance of your application. For example, if your application does not work on a rooted device or a device using a proxy, it prevents unnecessary code from executing, thus improving performance.

How to Install?

You can easily install RootChecker by adding the following dependency to your app-level build.gradle file:

implementation "io.github.broscr:RootChecker:0.4"

How to usage ?

Using RootChecker in your application is simple. You can call the following methods to determine device status:

// If the device is rooted, it returns true. 
RootChecker.isRooted()

// If the device is an emulator, it returns true. 
RootChecker.isEmulator()

// If the device using proxy, it returns true.
RootChecker.isUsingProxy()

// If the application is debuggable, it returns true.
RootChecker.isDebuggable(this)

LICENSE

RootChecker is released under the MIT License. This means that you can use, modify, and distribute the library as long as you comply with the terms of the license.

Issues and Contributions

If you encounter any issues while using RootChecker, please report them on the GitHub issues page. We welcome feedback, bug reports, and feature requests to make this library better. If you want to contribute to the project, please feel free to submit pull requests on GitHub. We appreciate your help in making RootChecker better.

About

RootChecker is a lightweight Android library that provides easy and efficient methods to determine whether the device is rooted, an emulator, using a proxy, or is debuggable.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages