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
  • android-lights-hal Public Forked from SoMainline/android-lights-hal

    Android Lights AIDL HAL

    aospm/android-lights-hal’s past year of commit activity
    C++ 1 14 0 0 Updated Oct 4, 2024
  • android_device_generic_sdm845 Public

    SDM845 AOSP repo for mainline devices

    aospm/android_device_generic_sdm845’s past year of commit activity
    Makefile 29 7 0 4 Updated Apr 27, 2023
  • .github Public
    aospm/.github’s past year of commit activity
    0 0 0 0 Updated Jan 1, 2023
  • libqril Public

    Multithreaded QRTR/QMI message parsing library for communicating with Qualcomm Modems

    aospm/libqril’s past year of commit activity
    C 7 1 0 0 Updated Oct 6, 2022
  • qrild Public

    Open source QMI RIL implementation for devices with QRTR modems

    aospm/qrild’s past year of commit activity
    C++ 14 2 0 0 Updated Oct 6, 2022
  • qmic Public Forked from calebccff/qmic

    QMI IDL compiler with extras

    aospm/qmic’s past year of commit activity
    C 0 BSD-3-Clause 11 0 0 Updated Oct 6, 2022
  • qrtr Public Forked from linux-msm/qrtr

    Userspace reference for net/qrtr in the Linux kernel

    aospm/qrtr’s past year of commit activity
    C 1 BSD-3-Clause 31 0 0 Updated Sep 26, 2022
  • android_local_manifests Public

    Local manifests for AOSPM repos.

    aospm/android_local_manifests’s past year of commit activity
    1 5 0 1 Updated Sep 6, 2022
  • linux Public
    aospm/linux’s past year of commit activity
    C 5 4 0 1 Updated Aug 23, 2022
  • uqmi Public Forked from openwrt-set/uqmi

    Tiny QMI implementation (modified for AOSP)

    aospm/uqmi’s past year of commit activity
    C 1 2 0 0 Updated May 19, 2022

Top languages

Loading…

Most used topics

Loading…