All tags
Posts tagged with "AOSP"
Why ALSA Loopback Can't Capture Audio on Amlogic S905X4
ALSA loopback on S905X4 captures silence because the Amlogic Audio HAL intercepts PCM before it reaches the hardware pins, routing it through Dolby MS12 via an internal SPDIF path invisible to ALSA.
為什麼 ALSA Loopback 在 Amlogic S905X4 上抓不到音訊
在 S905X4 上用 ALSA Loopback 做音訊擷取,結果只有靜音。問題不在 loopback 硬體,而是 Amlogic Audio HAL 在 PCM 到達硬體腳位之前就把音訊轉進 Dolby MS12,走了一條 ALSA 看不到的內部 SPDIF 路徑到 HDMI TX。
SELinux Multi-SoC Policy Architecture: From Pitfalls to Design Contracts
When an Android platform supports multiple chipsets, the layered design of SELinux policy determines the ceiling of maintenance cost. This post walks through the three-layer protection model, common directory layout traps, and how to govern cross-SoC sepolicy with contracts instead of folders.
SELinux Multi-SoC 策略架構:從踩坑到設計契約
在 Android 平台上支援多個晶片組時,SELinux policy 的分層設計決定了維護成本的上限。這篇文章從實戰踩坑出發,拆解三層保護模型、目錄切法的常見陷阱,以及如何用「契約」而非「資料夾」來治理跨 SoC 的 sepolicy。
用 Apple Container + Rosetta 在 Mac 上跑 AOSP Module Build
macOS 26 推出了 Apple Container,我試著用它在 MacBook 上本地跑 AOSP module build,加速開發迭代。這篇記錄完整的設定過程、踩到的三個坑、以及 persistent cache 的效能數據。
Running AOSP Module Builds on Mac with Apple Container + Rosetta
macOS 26 shipped Apple Container. I tried using it to run AOSP module builds locally on a MacBook to speed up development iteration. This post covers the setup, three compatibility issues I hit, and performance data with persistent cache.
從極客灣被封殺的橫評學到的:Android OS 開發者該關注的 Video/Audio Linkage Path
極客灣 44 台手機遊戲性能大橫評被全網下架,但其測試方法論對 Android OS 開發者極具參考價值。深入分析 Video Linkage Path 和 Audio Linkage Path 的技術原理、Android vs iOS 的差異,以及自定義 Android 平台的優化方向。
247GB 的 Codebase,一個 AI,和一堆踩過的坑
當你的 AOSP codebase 大到人腦裝不下,Claude Code + 自建 MCP server 能幫到什麼程度?這是我從「能動就好」到 16 個工具的完整過程,包括哪些假設被打臉。
How to build AOSP on M1
How to build AOSP on M1