Skip to content

MagiskChecker is android library used to check whether your device already rooted by Magisk or not

License

Notifications You must be signed in to change notification settings

stevensiahaan/MagiskChecker

Repository files navigation

MIT license

MagiskChecker

MagiskChecker is used to check whether your device already rooted by Magisk or not

Download

Gradle

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Step 2. Add the dependency

dependencies {
  implementation 'com.github.stevensiahaan:MagiskChecker:1.1'
}

Maven

Step 1.

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

Step 2. Add the dependency

<dependency>
	<groupId>com.github.stevensiahaan</groupId>
	<artifactId>MagiskChecker</artifactId>
	<version>1.1</version>
</dependency>

Usage

MagiskUtils magiskUtils = new MagiskUtils();
Log.e(TAG, (magiskUtils.isDeviceRootedByMagisk() ? "Rooted" : "Not Rooted"));

About

MagiskChecker is android library used to check whether your device already rooted by Magisk or not

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages