Avatar
GrapheneOS (RSS Feed)
2306b336f168f4add8da924dae907d2a6b9c13fb0a06672bd7708295dec75da7
Public posts from @GrapheneOS@grapheneos.social https://grapheneos.social/@GrapheneOS

There are many serious regressions in each new major Linux kernel release. Very little testing is done and vast majority of regressions don't block releases.

We had to temporarily maintain a Linux 5.15 LTS package for our build machines after Arch moved to 6.1 for the linux-lts package.

https://grapheneos.social/@GrapheneOS/110121922247803516

If you're experiencing these build failures while building GrapheneOS on Linux 6.2 or Linux 6.1, please update to latest 6.2.9 or 6.1.22 http://kernel.org (http://kernel.org) releases. This is a very simple example of why moving to new Linux LTS branches is so difficult for production devices.

https://grapheneos.social/@GrapheneOS/110121892503527706

Linux 6.1 included a major memory management regression due to the new maple tree VMA implementation. This caused a high chance of spurious mmap failures while compiling dex bytecode to native code during Android/GrapheneOS builds. It's resolved by Linux 6.2.9 and Linux 6.1.22.

#grapheneos (https://grapheneos.social/tags/grapheneos)#android (https://grapheneos.social/tags/android)#linux (https://grapheneos.social/tags/linux)#linux (https://grapheneos.social/tags/linux)-kernel #aosp (https://grapheneos.social/tags/aosp)#build (https://grapheneos.social/tags/build)#mmap (https://grapheneos.social/tags/mmap)

https://grapheneos.social/@GrapheneOS/110121891995898025

Stock Pixel OS moves to a new monthly stable branch for quarterly and yearly releases. Pixel 6 / 7 currently use android13-5.10-2022-12\_r2 with additional Pixel-specific backports. That means they're still on 5.10.149 and will be until 3rd quarterly release of Android 13 (QPR3).

https://grapheneos.social/@GrapheneOS/110100615719470962

For example, android13-5.10-2023-02 and android13-5.15-2023-02 are last month's Android 13 stable kernel branches. ASB-2023-02-05\_13-5.10 and ASB-2023-02-05\_13-5.15. There are now 3 more revisions of each along with new monthly branches and initial monthly tags. It's too much...

https://grapheneos.social/@GrapheneOS/110100615262224120

GKI LTS branches such as android13-5.10-lts are developed in parallel with an Android kernel development branch such as android13-5.10 with changes merged back and forth. We use android13-5.10-lts. android13-5.10 is turned into a new stable branch every month with backports.

https://grapheneos.social/@GrapheneOS/110100614763430836

GrapheneOS takes full advantage of the stable GKI ABI to quickly ship kernel.org LTS releases once Greg KH incorporates them into the GKI LTS branch. For the 5.10 branch used by the Pixel 6 and Pixel 7, we've just moved to latest GKI LTS revision based on 5.10.176.

https://grapheneos.social/@GrapheneOS/110100614311331511

Greg KH maintains Generic Kernel Image (GKI) LTS branches for the Linux kernel alongside the kernel.org LTS branch releases. GKI LTS branches include Android's stable ABI for out-of-tree modules, enabling updating the base kernel without changing out-of-tree modules.

#grapheneos (https://grapheneos.social/tags/grapheneos)#privacy (https://grapheneos.social/tags/privacy)#security (https://grapheneos.social/tags/security)#linux (https://grapheneos.social/tags/linux)#linux (https://grapheneos.social/tags/linux)-kernel #lts (https://grapheneos.social/tags/lts)#gki (https://grapheneos.social/tags/gki)

https://grapheneos.social/@GrapheneOS/110100613459521078

March 2023 release of the Android Open Source Project and stock Pixel OS are finally being published today. Monthly and quarterly releases are usually published on the first Monday of the month (deferred for US holidays like July 4), but that's not always the case. We'll be quickly integrating and shipping the new release as always. This is the 2nd quarterly release of Android 13 (QPR2) and brings far more changes than monthly releases including many more recommended security patches than usual.

https://grapheneos.social/@GrapheneOS/110016964728045494

https://grapheneos.social/@GrapheneOS/110011410223109419 (https://grapheneos.social/@GrapheneOS/110011410223109419)

GmsCompatConfig v38 won't be moving to the Beta channel and has been removed from the Alpha channel. We'll need to take a different approach to out-of-the-box compatibility with the Play Integrity API without needing to grant the Phone permission.

https://grapheneos.social/@GrapheneOS/110016924912152089