Skip to content
Alexander Martinz edited this page Aug 23, 2022 · 3 revisions

This device repo aims to support booting AOSP on SHIFT devices supported by the mainline Linux kernel.

This is a forked version for development, for the original wiki please see: https://github.com/aospm/android_device_generic_sdm845/wiki

Supported devices

How to build and flash AOSP images?

Download source and build AOSP images

Sync AOSP

mkdir aosp-repo
cd aosp-repo
repo init -u https://android.googlesource.com/platform/manifest -b master
repo sync -j$nproc

Get local manifests

This is needed to include extra repositories, which are not included in AOSP.

wget -P .repo/local_manifests/ "https://raw.githubusercontent.com/SHIFTPHONES/aospm_manifest/main/aospm.xml"
wget -P .repo/local_manifests/ "https://raw.githubusercontent.com/SHIFTPHONES/aospm_manifest/main/aospm_shift.xml"
repo sync -j$nproc

Afterwards local manifests can be found at vendor/shift/manifests, which you can copy to .repo/local_manifests manually, if there are changes.

Build AOSP for <codename>

Note: replace <codename> with the actual name, for example axolotl.

source build/envsetup.sh
lunch <codename>-userdebug
m

Flash and boot AOSP images

See the device specific link at Supported devices above.

TODO