Git Product home page Git Product logo

kernel-assisted-superuser's Introduction

Kernel-Assisted Superuser for Android

KernelSU

Like being able to do quick cycles of fastboot boot out/arch/arm64/boot/Image.lz4-dtb, but annoyed by the lack of root this way? Well this atrocious idea might be the thing for you! It makes su always just work.

Possibly the worst idea ever.

This is an awful idea! If you're silly, you'll add this to your kernel, and then forget to turn it off for production builds, and then very bad things will happen. This here probably is not for you! If you're reading this sentence, start backing away slowly! Out, damned spot!

Add it to your kernel!

From inside a clean kernel tree of yours:

curl -LsS "https://raw.githubusercontent.com/MlgmXyysd/kernel-assisted-superuser/master/fetch-and-patch.sh" | bash -

Then, make sure CONFIG_ASSISTED_SUPERUSER=y is enabled.

But don't do it! I take no responsibility for the dumpster fire this will cause. You'll probably forget to remove this for your release kernels. There are probably better ways to manage this kind of thing anyway. Don't do it! Just say "no" to backdoors! N.O.

Pop a root shell?

thinkpad $ adb shell
crosshatch:/ $ whoami
shell
crosshatch:/ $ su
You are now root.
crosshatch:/ # whoami
root

Screenshot

Credits

kernel-assisted-superuser's People

Contributors

mlgmxyysd avatar zx2c4 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.