Coder Social home page Coder Social logo

xmusjackson / android_kernel_lge_lmg820 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 197.66 MB

License: Other

Makefile 0.27% C 98.11% Assembly 1.25% C++ 0.03% Shell 0.08% Perl 0.15% Awk 0.01% Python 0.07% GDB 0.01% sed 0.01% Yacc 0.01% Lex 0.01% UnrealScript 0.01% SmPL 0.01% Gherkin 0.01% XS 0.01% Raku 0.01% Roff 0.01% Clojure 0.01% M4 0.01%

android_kernel_lge_lmg820's Introduction

Stock+ 4.14.117 for LG G8 US (TMO)

This will is source for my LG G8 kernel.

The kernel should now be working. I am not finished making changes, and I'd also like to merge some kernel updates as well at some point, but for now, this is a better kernel for our LG G8's, namely because we can compile modules against this source for use inside of android.

In order to get this working, you have to pull the modules out of your 'out' directory or wherever your compiled files ended up. Take a look at your /vendor/lib/modules to get a list of the modules you need. Non audio modules needed will be 'wmc_drv.ko' (for LG Pay) and 'vpnclient.ko' (for LG proprietary VPN client) You may note that there is an extra module on your system that we can't compile, 'texfat.ko'. Our kernel will have native exfat support, but getting vold to use the native support will be trickier. We may have to compile vold seperately later, but I have a bit to learn before I can do that. For now we have a couple of options. We can force the kernel to load modules, reguardless of signatures. We could try to resign the module with the new signing keys, but I'm not sure the modversion will pass. I'll have to look into this.

For now we lose native automounting of exfat partitions.

Audio modules will compile as "(module)dlkm.ko" They need to be renamed to "audio(module).ko" One of the modules, machine_dlkm.ko needs to be renamed to audio_dlkm_msmnile.ko This is the only file that needs to be renamed differently, the rest can be done with simple commands like:

find . -name *_dlkm.ko -exec cp {} modules ; rename -- _dlkm.ko '.ko' *dlkm.ko and for file in *; do mv $file audio$file; done;

There will be one extra audio module, 'wcd_cpe_dlkm.ko', we don't need this one we can just delete it. If you renamed all of your audio files with those commands before reading this, it will be "audio_wcd_cpe.ko"

This is the kernel source for the LG G8 T-Mobile (LM-G820TM) downloaded from opensource.lge.com, specifically for the 20J build. Compatibility with devices outside of the Tmo LG G8 and 20J build is to be determined.

android_kernel_lge_lmg820's People

Contributors

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