Code Monkey home page Code Monkey logo

android_run_root_shell

This code is still ugly, please re-write it and send pull-requests, if you want to use this.

Building

  • Download the Android Native Development Kit (NDK): http://developer.android.com/tools/sdk/ndk/index.html#Downloads

  • Extract into some directory and put that in your path: export PATH=ANDK_DIR:$PATH

  • In another directory clone this repo: git clone --recursive https://github.com/android-rooting-tools/android_run_root_shell

  • Change to the directory where the repo was cloned cd android_run_root_shell

  • To start build process use the following ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk

  • If all goes well you will get the compiled binary at: ./libs/armeabi/run_root_shell

Running

  • Download the Android Software Development Kit (SDK) ADT Bundle: http://developer.android.com/sdk/index.html

  • Extract into some directory and put the platform-tools folder in your path: export PATH=SDK_DIR/sdk/platform-tools/:$PATH

  • Change to the directory with the compiled run_root_shell binary (see above)

  • Connect your Android device through USB (click Cancel if it asks to enable USB storage; charging only is the correct mode) and enable USB debugging on the device.

  • Start the adb server on your computer: sudo adb start-server

  • Transfer run_root_shell to a temporary directory on the phone: adb push run_root_shell /data/local

  • Ensure that run_root_shell has execute permissions: adb shell chmod 777 /data/local/run_root_shell

  • Run the command on the phone: adb shell /data/local/run_root_shell

xxxrainzyian's Projects

.github icon .github

Default Community Health Files for the MicrosoftDocs organization on GitHub

.github-1 icon .github-1

Community health files for the @GitHub organization

acorn icon acorn

A small, fast, JavaScript-based JavaScript parser

apollo-android icon apollo-android

:robot: A strongly-typed, caching GraphQL client for the JVM, Android and Kotlin multiplatform

atom icon atom

:atom: The hackable text editor

autoprefixer icon autoprefixer

Parse CSS and add vendor prefixes to rules by Can I Use

blurts-server icon blurts-server

Firefox Monitor arms you with tools to keep your personal information safe. Find out what hackers already know about you and learn how to stay a step ahead of them.

browser-compat-data icon browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN

choosealicense.com icon choosealicense.com

A site to provide non-judgmental guidance on choosing a license for your open source project

cli icon cli

GitHub’s official command line tool

contributor_covenant icon contributor_covenant

Pledge your respect and appreciation for contributors of all kinds to your open source project.

desktop icon desktop

Simple collaboration from your desktop

docs icon docs

The open-source repo for docs.github.com

fetch icon fetch

A window.fetch JavaScript polyfill.

git icon git

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.

github-tag-action icon github-tag-action

A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version. Works on any platform.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.