-
Notifications
You must be signed in to change notification settings - Fork 7
Home
This device repo aims to support booting AOSP on SDM845 devices supported by the mainline Linux kernel.
- OnePlus 6 (enchilada)
- SHIFT SHIFT6mq (axolotl)
- Xiaomi PocoPhone F1 (beryllium)
Join us over on #aosp-developers on OFTC
mkdir aosp-repo
cd aosp-repo
repo init -u https://android.googlesource.com/platform/manifest -b master
git clone https://github.com/aospm/android_local_manifests .repo/local_manifests -b main
repo sync -j$(nproc)
source build/envsetup.sh
# See table above
lunch <codename>-userdebug # Where <codename> is the codename of your device
make -j$(nproc)
NOTE: To get display working on SDM845, we need supported Adreno firmware binaries, otherwise the device will not boot to UI.
Adreno binaries are shipped with non-distributable license, hence I'm not shipping them in my build setup.
You can extract Adrenoa630_*
firmware binaries from a working device build.
I extracted mine fromlineage-16.0-20190612-nightly-beryllium-signed.zip
;)OnePlus 6 firmware can be obtained here: https://gitlab.com/sdm845-mainline/firmware-oneplus-sdm845/-/tree/aosp
Make sure you clone the aosp branch.Copy the contents to
out/target/product/sdm845/vendor/firmware
(adjust sdm845 to your lunch target), deletevendor.img
and runmake -j$(nproc)
to recreatevendor.img
.
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot reboot
- LEDs and Brightness Control
- Camera
- Modem / RIL / Voice Call
- Battery Stats
- Sensors and Accelerometers