Skip to content
@aospm

AOSP Mainline

Running upstream AOSP on top of close to mainline kernels on Android devices

AOSP Mainline

AOSPM is a collaborative project to run upstream Linux and AOSP on "form factor" devices, traditionally phones. Whilst the majority of upstream AOSP testing is done with dev boards like the Thundercomm RB3 (db845c), these can often be prohibitive for hobbyist developers, and lack useful features like modem/GPS, haptics, batteries, etc... Phones with the same SDM845 SoC are easily obtainable and with some soldering to expose UART can become just as effective dev devices.

Status

There currently isn't active development on this project, however related work is still underway. Feel free to drop a message in #aosp-developers on OFTC if you'd like to get involved!

Supported phones

  • Xiaomi PocoPhone F1
  • OnePlus 6 (6T TBD)
  • SHIFTPHONES SHIFT6mq
  • FairPhone 4
  • yours...?

The kernel is regularly seeing support for more phones, postmarketOS host an an excellent wiki which includes many of these devices. You can see also browse by SOC, e.g. the Snapdragon 845 page, contributions are always welcome!

If your device isn't yet supported but has an SDM845 or similar SoC, bringing up AOSPM should be relative straightforward!

TBD: porting guide? In the meantime, the wiki has some useful resources: https://github.com/aospm/android_device_generic_sdm845/wiki

The repos

Current development

  • AIDL Lights HAL
  • SMB2 (pmi8998) charger / fuel gauge drivers - currently using default health HAL, could add new features
  • Improve audio support / headphone switching - active kernel regressions
  • Radio HAL / RIL - https://github.com/aospm/qrild

Next up

  • Investigate ways to reduce code carried on top of AOSP, integrate better with upstream HALs
  • Venus video transcoding
  • Calls?

Pinned Loading

  1. android_device_generic_sdm845 android_device_generic_sdm845 Public

    SDM845 AOSP repo for mainline devices

    Makefile 29 7

  2. linux linux Public

    C 5 4

  3. external_vibrator-ff external_vibrator-ff Public

    Generic force-feedback vibrator HAL for upstream haptics drivers

    C++ 5

Repositories

Showing 10 of 18 repositories

Top languages

Loading…

Most used topics

Loading…