Coder Social home page Coder Social logo

abbuaus / android_kernel_oppo_peqm00 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dabao1955/android_kernel_oppo_peqm00

0.0 0.0 0.0 1.54 GB

Support kernelSU kernel source code for MediaTek devices in the OPPO Reno series on ColorOS13.x

Shell 100.00%

android_kernel_oppo_peqm00's Introduction

android_kernel_OPPO_PEQM00

Support kernelSU kernel source code for MediaTek devices in the OPPO Reno series on ColorOS13.x

Supported Devices

  • OPPO Reno6 (mt6877)

  • OPPO Reno6 Pro (mt6893)

  • OPPO Reno5 Pro (mt6889)(WIP)

  • OPPO Reno7 Pro (mt6893)(WIP) (no offical way to unlock bootloader)

  • OPPO Reno8 (mt6893) (no way to unlock bootloader)

  • OPPO Qualcomm Device (This is the kernel source code of the MediaTek device, not the kernel source code of the Qualcomm device. In the future, there may be an entire kernel source code for sm8280 or sm7250 that supports kernelSU.)

Branches

  • Readme: rt
  • 4.19: default kernel source branch
  • 4.19-ksu-dev: sync KernelSU without Kprobes kernel source branch
  • oplus-vendor: oplus vendor source branch

Quick Start

Device Enviroment

at least 2g memory free and 8g free disk space.

Setup Enviroment

Required dependencies for installation for Debian/Ubuntu

sudo apt-get install libncurses5-dev libncurses-dev libssl-dev device-tree-compiler bc cpio lib32ncurses5-dev lib32z1 build-essential binutils bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev git

Pull toolchain for your home folder

run

git clone https://github.com/LineageOS/android_prebuilts_gcc_linux-x86_aarch64_aarch64-linux-android-4.9 aarch64-linux-android-4.9 --depth=1
git clone https://github.com/LineageOS/android_prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.9 arm-linux-androideabi-4.9 --depth=1
wget https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+archive/refs/heads/android12-release/clang-r383902.tar.gz

Download kernel source code from wget instead of git to your home folder ,and extract kernel source archive and rename to kernel-4.19

Run git to get kernel vendor source code

git clone https://github.com/dabao1955/android_kernel_OPPO_PEQM00 -b oplus_vendor vendor --depth=1

Extra Steps

Copy vendor folder to your home folder and copy vendor/oplus/kernel_4.19/audio to kernel-4.19/sound/soc/codecs

Run setup.sh to sync kernelsu

edit build_kernel.sh to change config.

Finally,run build_kernel.sh before you into the kernel-4.19 folder.

Download Built Kernel

here

android_kernel_oppo_peqm00's People

Contributors

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