FOSS on Mobile

Why Android Builds Are So Slow — And What We Can Do About It

<p>Building Android is notoriously slow and resource-hungry. Even on high-end hardware, a full AOSP build can take hours, and each release continues to grow by ~10–20%, amplifying compile times and storage pressure. For anyone maintaining custom ROMs, vendor trees, or downstream forks, faster builds are not just nice to have: regulation requiring shipping fixes faster makes build performance a core productivity issue.</p> <p>Over the years, the Android ecosystem has tried to keep pace with this growing complexity. Solutions like ccache and distributed build systems (goma, reclient), and even experiments with Bazel have all aimed to make builds faster and more scalable. But these tools were designed for other projects and struggle with Android’s unique challenges — lack of sandboxing, incomplete dependency tracking, and heterogeneous toolchains.</p> <p>This talk explains how the Android build system actually works, why incremental builds so often fall apart, and where the time really goes. We’ll then walk through the major open-source acceleration approaches, their strengths and limitations, and what it takes to run them effectively in your own infrastructure—whether you’re a hobbyist with a homelab or maintaining a large downstream tree.</p>

Weitere Infos

Live Stream https://live.fosdem.org/watch/ub4132
Format devroom
Sprache Englisch

Weitere Sessions

31.01.26
FOSS on Mobile
UB4.132
<p>This is a review of the current state of Free and Open Source Software on Mobile devices. Mobile computing continues to be one of the most conspicuous and rapidly evolving software ecosystems ever, and open source software is at the heart of it - from the Linux kernel, the tooling, languages and libraries needed to write apps, through to devices that run a completely open source stack</p> <p>We will talk about the changes in the way Google releases AOSP code and how that affects developers of ...
31.01.26
FOSS on Mobile
Yuning Liang
UB4.132
<p>Android support for RISC-V is advancing rapidly, and this talk delivers an in-depth technical update on the open-source AOSP porting effort. We will walk through the current status of AOSP on RISC-V platforms, including ART/LLVM, Bionic, HAL and vendor-interface development, and compatibility work for emerging RISC-V SoCs. The session will examine the key engineering challenges encountered along the way—such as JIT/AOT differences on RISC-V, graphics-stack porting (Mesa, DRM/KMS, GPU ...
31.01.26
FOSS on Mobile
Stefan Lengfeld
UB4.132
<p>The Android Open Source Project (AOSP) is more than just the yearly and now half-yearly releases of the Android platform source code. It consists of 3000+ git repositories, 1500+ repo XML manifests, and 1.8+TB of (compressed) source code data.</p> <p>In this talk I want to give a detailed tour of the AOSP releases, the code, and everything that can be found in the AOSP repositories: How are the <code>_rXXX</code> releases assembled? And why do the git tags sometimes go backward? Where do I ...
31.01.26
FOSS on Mobile
Andreas Itzchak Rehberg
UB4.132
<p>At <a href="https://izzyondroid.org/">IzzyOnDroid</a>, we provide <a href="https://izzyondroid.org/about/security/ReproducibleBuilds/">Reproducible Builds</a> (RBs) for Android apps. In this talk, I want to outline:</p> <ul> <li>what Reproducible Builds are and what are some of their advantages</li> <li>how we approach Reproducible Builds in combination with our <a href="https://apt.izzysoft.de/fdroid">Android App Repo</a></li> <li>some of the challenges of Reproducible Builds for Android ...
31.01.26
FOSS on Mobile
UB4.132
<p>Securely signing Android releases, while being a critical process and operation for every AOSP-based project, has been lacking in comprehensive documentation, especially for building a production-grade and enterprise-level signing infrastructure. This talk presents our experience in designing and implementing a Hardware Security Module (HSM)-based signing solution for CalyxOS that ensures transparency and operational practicality while upholding security standards widely endorsed by security ...
31.01.26
FOSS on Mobile
UB4.132
<p>NewPipe is a widely used <strong>FOSS Android app</strong> that provides privacy-respecting access to <strong>YouTube, PeerTube, and other streaming services</strong>. It can search, view channels, play videos, listen to playlists, download media, and more.</p> <p>Developing an application with so many distinct features often involves compromises or <strong>feature trade-offs</strong>. During the talk, we'll explain how TeamNewPipe takes these decisions together with the community. In recent ...
31.01.26
FOSS on Mobile
Sylvia van Os
UB4.132
<p>Since August 2025 IzzyOnDroid has been providing app download stats for the IzzyOnDroid repository and since September, Neo Store has included these download stats in the client, with Droid-ify support hopefully releasing before this talk.</p> <p>This lightning talk will quickly go through: 1. How the download stats system works 2. Which applications already show the stats 3. How to use the stats in your own applications</p> <p>Relevant links: Download stats dashboard: ...