Lune

OSDI2022Top-tier venue

Trinity: High-Performance Mobile Emulation through Graphics Projection

Di Gao, Hao Lin, Zhenhua Li, Chengen Huang, Yunhao Liu, Feng Qian, Liangyi Gong, Tianyin Xu

Abstract

Mobile emulation, which creates full-fledged software mobile devices on a physical PC/server, is pivotal to the mobile ecosystem. Unfortunately, existing mobile emulators perform poorly on graphics-intensive apps in terms of efficiency and compatibility. To address this, we introduce graphics projection, a novel graphics virtualization mechanism that adds a small-size projection space inside the guest memory, which processes graphics operations involving control contexts and resource handles without host interactions. While enhancing performance, the decoupled and asynchronous guest/host control flows introduced by graphics projection can significantly complicate emulators’ reliability issue diagnosis when faced with a variety of uncommon or non-standard app behaviors in the wild, hindering practical deployment in production. To overcome this drawback, we develop an automatic reliability issue analysis pipeline that distills the critical code paths across the guest and host control flows by runtime quarantine and state introspection. The resulting new Android emulator, dubbed Trinity, exhibits an average of 97% native hardware performance and 99.3% reliable app support, in some cases outperforming other emulators by more than an order of magnitude.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and Accessibility cites Experiences of landing machine learning onto market-scale mobile malware detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Virtual Device Farms for Mobile App Testing at Scale: A Pursuit for Fidelity, Efficiency, and AccessibilityHao Lin, Jiaxing Qiu, Hongyi Wang, Zhenhua Li et al.MobiCom 2023 · 18 citations
  2. Dissecting and Streamlining the Interactive Loop of Mobile Cloud GamingYang Li, Jiaxing Qiu, Hongyi Wang, Zhenhua Li et al.NSDI 2025 · 11 citations
  3. High-density Mobile Cloud Gaming on Edge SoC ClustersLi Zhang, Shangguang Wang, Mengwei XuUSENIX ATC 2024 · 6 citations
  4. gVulkan: Scalable GPU Pooling for Pixel-Grained Rendering in Ray TracingYicheng Gu, Yun Wang, Yunfan Sun, Yuxin Xiang et al.USENIX ATC 2024 · 4 citations
  5. D-VSync: Decoupled Rendering and Displaying for Smartphone GraphicsYuanpei Wu, Dong Du, Chao Xu, Yubin Xia et al.ASPLOS 2025 · 3 citations

Builds on1

  1. Experiences of landing machine learning onto market-scale mobile malware detectionLiangyi Gong, Zhenhua Li, Feng Qian, Zifan Zhang et al.EuroSys 2020 · 44 citations

Related papers

  1. Towards Transparent and Stealthy Android OS Sandboxing via Customizable Container-Based VirtualizationWenna Song, Jiang Ming, Lin Jiang, Yi Xiang et al.CCS 2021 · 11 citations
  2. Android on PC: On the Security of End-user Android EmulatorsFenghao Xu, Siyu Shen, Wenrui Diao, Zhou Li et al.CCS 2021 · 5 citations
  3. Ex-vivo dynamic analysis framework for Android device driversIvan Pustogarov, Qian Wu, David LieS&P 2020 · 32 citations
  4. PhantomMap: GPU-Assisted Kernel ExploitationJiayi Hu, Qi Tang, Xingkai Wang, Jinmeng Zhou et al.NDSS 2026
  5. The Doom of Device Drivers: Your Android Device (Most Likely) has N-Day Kernel VulnerabilitiesLukas Maar, Florian Draschbacher, Lorenz Schumm, Ernesto Martínez García et al.USENIX Security 2025
Dusk over the sea between two cliffs drawn in fine vertical lines