Which AOSP branch should I use for Oreo


#1

I want to build AOSP for Oreo
Which branch should i have to use ?


#2

Hi,

I don’t know which branch version is suggested; but John is maintaining a good pinned manifest for AOSP building for Hikey/Hikey960, for example for Hikey960: https://github.com/96boards/aosp-known-good-manifests/tree/master/known-good/hikey960

According to the page [1] Android Pie was released at Aug 6th, so the pinned manifest [2] is the last one for Android Oreo building on Hikey960. You could refer the page [3] for how to use pinned manifest to fetch related codes.

[1] https://en.wikipedia.org/wiki/Android_version_history
[2] https://github.com/96boards/aosp-known-good-manifests/blob/master/known-good/hikey960/2018-07-30_15:39:09-pinned-manifest.xml
[3] https://github.com/96boards/aosp-known-good-manifests/blob/master/README.md


#3

Need to clarify for my previous replying:

Before we have some discussion for AOSP Oreo building for Hikey960 [1], AOSP Oreo cannot support Hikey960.

If I understand correctly, for later 8.x version, we have merged ARM GPU blob libs into AOSP master branch, thus Hikey960 is supported in AOSP master branch; for some early 8.x version (and Oreo version), since the ARM GPU blob lib is missed in the AOSP code base so Hikey960 cannot be supported.

[1] How to Build AOSP Android O


#4

To make that a little more clear, master branch was approximately “oreo” up until “P” was merged in. It was just never supported in a release branch. So to build an “O” version of Android, you would pick a known good manifest from shortly before “P” was merged into AOSP master. And don’t be concerned when the build claims it to be “P”, since master is always one letter ahead.