Git Product home page Git Product logo

5l1v3r1 / android_universal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bkerler/android_universal

0.0 1.0 0.0 52.6 MB

Universal android boot to root

License: MIT License

Python 93.03% Shell 0.04% Batchfile 0.01% HTML 0.37% CSS 0.01% Mako 0.01% C 0.89% JavaScript 0.01% Roff 0.05% DTrace 0.01% Visual Basic 0.01% PLSQL 0.05% C++ 0.51% Tcl 4.86% Makefile 0.13% Mask 0.01% F# 0.01% C# 0.02% GLSL 0.01% Forth 0.01%

android_universal's Introduction

Android Universal Boot Rooting Toolkit

(c) B. Kerler, MIT License

Converts stock boot images and adds hidden root (accessible via netcat session), patches selinux and adds adb. Tested with Android 4.x - 9.x.

Options:

  -filename FILENAME, -fn FILENAME
                        boot.img or recovery.img
  -stopboot             Device will halt on boot logo
  -justunpack, -ju      Just extract kernel + ramdisk (files will be in tmp/)
  -custom, -c           Stop in order to make changes (files will be in tmp/)
  -precustom, -pc       Stop in order to make changes before patches (files will be in tmp/)
  -forcesign, -fs [1|2] Enforce signing with google keys, 1=Avbv1, 2=Avbv2

Installation:

Windows:

  • You need to run makeramdisk.cmd twice. The first time being run, it will setup the environment.

Linux:

sudo apt install python3 python3-pip
sudo pip3 install -r requirements.txt

Usage:

Linux:

./makeramdisk.sh -filename boot.img

Windows:

./makeramdisk.cmd -filename boot.img
For AVBv1 : Output is boot.signed
For AVBv2 : vbmeta.img needs to be in the same directory. Output is boot.patched

ToDo:

Nothing, but maybe Android 10 needs more help :)

android_universal's People

Contributors

bkerler avatar

Watchers

 avatar

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.