nullog/rtbox


Android RootBox library.

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

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

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.nullog:rtbox:v0.2.0'
	}
	dependencies {
		implementation("com.github.nullog:rtbox:v0.2.0")
	}
	<dependency>
	    <groupId>com.github.nullog</groupId>
	    <artifactId>rtbox</artifactId>
	    <version>v0.2.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.nullog" % "rtbox" % "v0.2.0"
        
        

                            
    :dependencies [[com.github.nullog/rtbox "v0.2.0"]]
        
        

Readme


RTBox (RootBox)

Build Status Codeship Status for nullog/rtbox Circle CI Build Status Build status codecov

This ia a library to simplify the usage of root exec on the Android OS.It is a Java wrapper around native binaries shipped with every Android OS, but can also be used to package and execute your own native binaries.

Use library as Gradle dependency

  1. The Last VERSION: Download

  2. Gradle:

    compile 'top.itmp.rtbox:rtbox:0.2.0'
    
  3. Maven:

    <dependency>
     <groupId>top.itmp.rtbox</groupId>
     <artifactId>rtbox</artifactId>
     <version>0.2.0</version>
     <type>pom</type>
    </dependency>
    
  4. Snapshots:

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

      	allprojects {
      		repositories {
      			...
      				maven { url "https://jitpack.io" }
      		}
      	}
      
    • Add the dependency

      	dependencies {
      		compile 'com.github.nullog:rtbox:-SNAPSHOT'
      	}
      

    Download The Last AAR

    How to use the last aar:

    • Add it in your app build.gradle at the end of repositories:

      	repositories {
      		flatDir {
      			dirs 'libs'
      		}
      		...
      	}
      
    • add dependencies:

      	dependencies {
      		compile(name:'rtbox--SNAPSHOT', ext:'aar')
      			...
      	}
      

Contribute

Fork RTBox and do a Pull Request. I will merge your changes back into the main project.

Other Root Libraries

  • https://github.com/Chainfire/libsuperuser
  • https://github.com/Free-Software-for-Android/RootCommands
  • https://github.com/Stericson/RootTools

Authors

RTBox is based on serveral other open source projects:

  • Dominik Sch¨¹rmann (RootCommands)
  • Stephen Erickson, Chris Ravenscroft, Adam Shanks, Jeremy Lakeman (RootTools)
  • Michael Elsdrfer (Android Autostarts)

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.