Giter Site home page Giter Site logo

mainline_manifest's Introduction

Project

This projects aims to provide an AOSP build system capable of boot with Linux Mainline kernel on the Oneplus 5 (Cheeseburger).

At the moment, AOSP (Android S) is validated to boot with Kernel 5.11. Kernel sources are available here: https://github.com/robertosartori/mainline-kernel-oneplus-msm8998

Build instructions

Follow the instructions from Google to setup a machine to build Android 11: https://source.android.com/setup/build/initializing

Then, sync all the sources:

$ repo init -u https://github.com/roberto-sartori-gl/mainline-manifest -b msm8998/android-mainline-5.11 -m cheeseburger.xml
$ repo sync -c --no-clone-bundle --no-tags

then:

$ source build/envsetup.sh
$ lunch cheeseburger-userdebug
$ make -j12

the images will be available in out/target/product/cheeseburger.

Flash instructions

The images can be flashed using fastboot:

$ fastboot flash boot out/target/product/cheeseburger/boot.img
$ fastboot flash system out/target/product/cheeseburger/system.img
$ fastboot flash vendor out/target/product/cheeseburger/vendor.img
$ fastboot flash userdata out/target/product/cheeseburger/userdata.img

Current status

Following features are working:

  • display (upside down at the moment)
  • touch
  • bluetooth
  • volume and power buttons
  • adb for debug
  • RTC
  • Brightness control

ToDo

Following features are not working:

  • screen orientation (upside down at the moment)
  • audio (no driver and no device tree nodes)
  • battery stats
  • fingerprint and capacitive buttons
  • wifi (it turns on but it is not possible to connect to any wifi network)
  • RIL (2g/3g/4g, phone calls)
  • suspend (when screen goes off, bluetooth and adb stop working)
  • RGB LED
  • haptics (https://wiki.postmarketos.org/wiki/Haptics)
  • Cameras
  • NFC

Thanks to...

I mostly put the pieces together. So thanks to:

mainline_manifest's People

Contributors

roberto-sartori-gl avatar

Stargazers

 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.