Giter Site home page Giter Site logo

android_kernel_motorola_msm8952-patches's Introduction

android_kernel_motorola_msm8952-patches

This repo houses a series of patches to the lineage OS motorola msm8952 kernel to get nethunter working.

Its a work in progress.

List of patches

android-keyboard-gadget.patch

Patch for https://github.com/pelya/android-keyboard-gadget It makes the phone act as a HID device, both mouse and keyboard. TODO: gotta add stuff to also tweak selinux I guess.

drivedroid patch

This is already in the default lineage os kernel, no further action required.

wireless patches

I based this off the changes made in the kali-wifi-injection-3.18 patch. This one seemed to have slightly more in it than the 3.12 one so we'll give it a try and hope nothing explodes.

Apply a patch

To apply a patch, first make sure you got all your sources by following the instructions to [build lineage os])(https://wiki.lineageos.org/devices/athene/build).
Then apply the patches before the brunch step by going to the kernel source directory and using:

patch -p1 < location/of/patch/file.patch

The -p1 will strip off the first / and everything before it inside the patchfile. so a/net/mac80211/tx.c becomes net/mac80211/tx.c, meaning if you are in the root of the kernel folder for your device, it'll patch the right files.

For our motorola G4 plus, the location of this kernel will be wherever/lineage/kernel/motorola/msm8952/.

Make sure to go back to the proper build location (wherever/lineage/) before brunch.

android_kernel_motorola_msm8952-patches's People

Contributors

wknd avatar

Watchers

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