GithubHelp home page GithubHelp logo

domkalel / bacon-superuser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from julian-klode/bacon-superuser

0.0 0.0 0.0 655 KB

Enable the integrated superuser support in your OnePlus One

Home Page: https://forums.oneplus.net/threads/flashable-zip-cm12-enable-integrated-superuser.297089/

License: Apache License 2.0

Makefile 36.37% Python 32.36% Shell 31.27%

bacon-superuser's Introduction

Integrated Superuser for the OnePlus One

This generates

  1. an update zip that flashes a debuggable boot image and a su binary to a OnePlus One. (full)
  2. an update zip that flashes a su binary integrating with the Superuser in CM settings that ignores the ro.debuggable settings. (light)

Comparison

Item Full Light
Integrated in settings Yes Yes
Has boot.img Yes No
adb root Yes No

Building

Make sure to initialize and update the submodules first. Then run

make full     to build the update zip with a boot.img
make light    to build the update zip without a boot.img

This will also try to upload the resulting binaries to my page which will fail.

Disclaimer

This project is in no way affiliated or endorsed by Cyanogen, Inc. or OnePlus.

License & Origin information

The files in signapk/ are part of the Android Open Source Project.

Files: zip-base/META-INF/com/google/android/update-binary
Origin: CM11S, AOSP
 The file is probably part of AOSP as well. It was taken from the CM 11S
 update zip.

Files: zip-base/META-INF/com/google/android/updater-script
       zip-base/file_contexts
       zip-light-base/META-INF/com/google/android/updater-script
       zip-light-base/file_contexts
Origin: CM11, CM11S
 These files are derived from the official 11S firmware update zip and the CM11
 M8 update zip. The derived parts consist only of a few lines and are most
 likely not protected by copyright.

Files: zip-base/system/xbin/su
Source: https://github.com/koush/Superuser
Origin: CM11 M8
 Extracted from CyanogenMod 11 M8

The boot image shipped in the full zip file is the debuggable boot image shipped by CyanogenMod. You can find the source for the kernel contained in it:

https://github.com/CyanogenMod/android_kernel_oneplus_msm8974

All other files are Copyright (C) 2014, 2015 Julian Andres Klode [email protected] and licensed under the terms of the Apache license, version 2.0.

bacon-superuser's People

Contributors

julian-klode avatar danielrheinbay 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.