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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers9
- 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
- Dissecting and Streamlining the Interactive Loop of Mobile Cloud GamingYang Li, Jiaxing Qiu, Hongyi Wang, Zhenhua Li et al.NSDI 2025 · 11 citations
- High-density Mobile Cloud Gaming on Edge SoC ClustersLi Zhang, Shangguang Wang, Mengwei XuUSENIX ATC 2024 · 6 citations
- 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
- D-VSync: Decoupled Rendering and Displaying for Smartphone GraphicsYuanpei Wu, Dong Du, Chao Xu, Yubin Xia et al.ASPLOS 2025 · 3 citations
Builds on1
Related papers
- Android on PC: On the Security of End-user Android EmulatorsFenghao Xu, Siyu Shen, Wenrui Diao, Zhou Li et al.CCS 2021 · 5 citations
- 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
- Ex-vivo dynamic analysis framework for Android device driversIvan Pustogarov, Qian Wu, David LieS&P 2020 · 32 citations
- PhantomMap: GPU-Assisted Kernel ExploitationJiayi Hu, Qi Tang, Xingkai Wang, Jinmeng Zhou et al.NDSS 2026
- 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
