Android Performance

Android Weekly Issue 2025-08

Word count: 867Reading time: 5 min
2025/02/23
loading

Android Weekly is a weekly newsletter focused on the Android technical ecosystem, updated every Monday. This newsletter delves into high-quality technical content in areas such as Android system architecture, performance optimization, cross-platform development, and AI, providing continuous knowledge updates and technical insights for developers.

Subscription Channels: [WeChat Official Account] | [Zhihu] | [Juejin] | [RSS]

Technical Articles

  1. Android Fence Synchronization Framework: This article introduces Android’s Fence sync framework, which ensures image buffer alignment in the graphics pipeline. It covers the Fence class, FenceMonitor for tracing, and provides a high-level overview of the synchronization flow, primarily focusing on user-space implementations.

  2. Do You Really Know Why Heavy Operations in onCreate and onResume Don’t Always Cause ANRs?: Based on course principles, this article analyzes specific scenarios during Activity lifecycle methods where heavy operations might not trigger an ANR immediately.

  3. How Google Gemini Accelerates Android Development: Exploring Gemini integration in Android Studio, covering smart diagnostics and code improvement cases. It also notes that while helpful, AI still struggles with high-level programming tasks and requires human verification.

  4. Flutter Progress: New HCPP PlatformView Implementation and the Android Technical Secrets: Exploring the evolution of Flutter’s PlatformView modes on Android, specifically the new HCPP (High-level Composition) mode. It uses SurfaceControl to create high-layer Surfaces to solve overlapping issues, currently in beta.

  5. Deep Blue Insight: The Stealthiest Hidden Hand of 2024: Disclosing an OEM’s practice of using system privileges to inject ads into third-party apps without user consent, generating millions in revenue while ruining the user experience.

  6. Deep Blue Insight: The Most “Unpardonable” Vulnerability of 2022: Analyzing how a major internet firm exploited OEM-specific vulnerabilities in its public app to attack mainstream mobile systems.

  7. Case Study: Pending Exceptions Preventing Java Function Execution in Threads: Analyzing a rare Android issue where a pending exception in a thread prevented the JNI layer from executing calling Java functions.

  8. Exploring JNI (Part 4): Reference Types: Reading notes on JNI reference types: Local, Global, and Weak Global. It details their lifecycles, threading rules, and compares them with Java’s internal reference types (Strong, Soft, Weak, Phantom).

  9. Huawei - Performance Experience Design: Improving perceived fluency through interaction and visual design, covering gesture recognition, animation optimization, and latency metrics.

  10. Huawei - Performance Best Practices Guide: A full lifecycle approach to performance tuning in HarmonyOS, from design guides to profiling tools.

  11. System Development Tip: How to Check if a Process is Frozen: Understanding task freezing mechanisms and how to verify if a process is under a “controlled” pause state.

  12. Exploring ARM Unwind Tech on Android Part 5: Asynchronous Unwind: Analyzing how simpleperf and traced_perf use asynchronous offline unwinding via external threads to minimize impact on the target process.

  13. Android V (15) SkSurface_Ganesh Summary: Comparing GL and Vulkan backends for Skia’s GPU surfaces. Vulkan backends can consume significantly more GPU memory (10-20MB) because instances are held rather than released per frame.

  14. The Science of Response Latency: Perceived Minimum Tangible Delay (PAMTD) for direct dragging is around 11ms, while clicking is 69ms. Users are much more sensitive to drag latency improvements.

  15. Energy-Aware Scheduling (EAS) Archaeology Series (7, 8, 9): Deep dive into the patches that introduced Energy Models to sysfs, Performance Domains (PD) to the scheduler, and asymmetric CPU capacity flags.

  16. Google I/O 2025 Registration Starts Soon: Join on May 20-21 for the latest on AI and Android.

  17. UprobeStats: Dynamic Instrumentation in Android 15: Google introduces UprobeStats using eBPF uprobes to dynamically gather analytics without hardcoding.

  18. SystemServer Process Startup Flow Analysis: Chronicling how Zygote forks the SystemServer to initiate core Android services.

  19. Beyond Code & Engineering (2): CRUD to Business Leverage: Moving past high-tech worship to understand technical essence and business value seeking.

  20. React Native: From View Creation to Layout Rendering: Analyzing the mapping between tags and ShadowNodes, and how the Yoga engine manages layouts.

  21. Unlocking CameraX in Jetpack Compose: Introducing viewfinder-compose and camera-compose alpha artifacts for more idiomatic camera integration.

  22. Systematic Mastering of Image in Flutter: Coverage on caching, compression, and high-availability image processing.

  23. Compose Performance: Methods to reduce unnecessary recomposition using Strong Skipping and stability markers.

Miscellaneous

  1. Wrong About GPU [Translation]: Market prefers reliable LLM APIs over managing custom GPU infrastructure.
  2. Finding Flow: Escaping Digital Distraction through Deep Work.
  3. Lazy Enthusiast Weekly #121.
  4. Modern CPU Performance Analysis (2nd Ed) Review Invitation.
  5. Dopamine Palette UI Design Appreciation.
  6. Year-End Summary of an Independent Dev ($27 income in 2024).
  7. Google Cancels Kotlin GDE; JetBrains Drops KMP IDE.
  8. Trend Weekly #210.
  9. Ten Years of Cycling: Ringing Qinghai Lake.
  10. Technology Weekly #338: Rethinking 6G.
  11. Performance Weekly Issue #7: GPU Architecture.
  12. Reading “Leadership: How to Achieve Excellence in Organizations”: Credibility as the cornerstone of leadership.

AI

  1. Reflections on DeepSeek R1: How Carbon-Based LLMs Become “Powerful”.
  2. Forging DeepSeek R1: A 10,000-Word Analysis.
  3. Thoughts After One Month of Moving AI Tools Overseas: Mindset shifts from developer to independent developer.
  4. Illustrated Guide to DeepSeek-R1’s Training and Inference Principles.
  5. AI is Evolving Programmers, Not Killing Them (New York Times).

About the Author

  1. Juejin - Gracker
  2. Zhihu - Gracker
  3. Personal Blog - Android Performance
  4. About Me - Join our WeChat groups
  5. Curated Performance Articles
  6. Newsletter Subscription
  7. WeChat Official Account Android Performance:
  8. Android Performance Knowledge Planet
CATALOG
  1. 1. Technical Articles
  2. 2. Miscellaneous
  3. 3. AI
  4. 4. About the Author