GithubHelp home page GithubHelp logo

zstart820 / kernelsu_oneplus_martini_guide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from natsumerinchan/kernelsu_oneplus_martini_guide

0.0 0.0 0.0 72 KB

Guide of compile KernelSU for Oneplus 9RT(martini)[MT2110/MT2111]

License: The Unlicense

Shell 100.00%

kernelsu_oneplus_martini_guide's Introduction

简体中文 || English

KernelSU_Oneplus_martini_Guide

Guide of compile KernelSU for Oneplus 9RT(martini)[MT2110/MT2111]

I have made the original repository private.

Warning ⚠️ ⚠️ ⚠️

  • 1.Please backup the offical boot.img and vendor_dlkm.img before you flash!!!You can use ssut/payload-dumper-go to extract them from payload.bin in ROM.zip.(The ROM package version must as same as your using OS.)
  • 2.I am not the author of these kernel, so I will not release any compiled products in this repository, please fork this repository (Sync to your private repository is better) and run workflow by yourself.
  • 3."If you are not a kernel author and use someone else's source code to build KernelSU, please use it for your own use only and do not share it with others, it is respectful to the author." --xiaoleGun/KernelSU_Action (I have create a Private repository to compile for me.)

Support ROMS

Action Name Kernel source Used Branch Kernel Author Notes
Pixel Experience Inline PixelExperience-Devices/kernel_oneplus_martini thirteen inferno0230 Unsupport OOS and ColorOS.
Pixel OS Inline bheatleyyy/kernel_oplus_sm8350 thirteen bheatleyyy Unsupport OOS and ColorOS.
Eva Kernel mvaisakh/oneplus9pro main mvaisakh Unsupport OOS and ColorOS. Recommend.

How to build

1.Github Action

Fork this repository and run workflows by yourselves. If you can not found Actions tab,please go to settings-actions-General,set Actions permissions as 'Allow all actions and reusable workflows'

Github Action

Run ncipollo/release-action@v1
Error: Error 403: Resource not accessible by integration

If you get this notice when you try to upload to releases,please go to settings-actions-General,set Workflow permissions as 'Read and write permissions'.

2.Build on your PC

debian_build.sh :for Debian distributions (e.g. Debian, Ubuntu, etc.)

arch_build.sh :for Arch distributions (e.g. Arch Linux, Manjaro, etc.)

  • export SETUP_KERNELSU=true (If you don't want to compile KernelSU,please set it as false)

Instructions

1.How to Install

  • 1.Download and install KernelSU Manager.Install branches other than main is not recommended, because they may not work properly.
  • 2.Download platform-tools (Don't install from Ubuntu20.04 source.)
  • 3.Reboot to Recovery Sideload mode,flash "Kernel-op9rt-signed.zip"
adb reboot sideload
adb sideload ./Kernel-op9rt-signed.zip

2.Notes for Update

You may encounter the fastbootd or recovery mode can not connect to the PC, please enter bootloader mode to reflash the official boot.img

adb reboot bootloader
fastboot flash boot ./boot.img
fastboot reboot recovery

Now you can continue to update.

3.How to uninstall

Please reflash the offical boot.img and vendor_dlkm.img

adb reboot bootloader
fastboot flash boot ./boot.img

4.How to sync updates to your private repository

Use Github Desktop to clone your private repository to local, then go to the directory and open a terminal.

// Sync mainline branch to the repository

git remote add Celica https://github.com/natsumerinchan/KernelSU_Oneplus_martini_Guide.git //This step is only required for the first time update.

git fetch Celica main
// Cherry-pick commit from the mainline repository to your private one.

git cherry-pick <commit id>

Then use Github Desktop to upload commits to Github

Credits and Thanks

kernelsu_oneplus_martini_guide's People

Contributors

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