Cider: Native Execution of iOS Apps on Android Jeremy Andrus, Alexander Van’t Hof, Naser AlDuaij, Christoffer Dall, Nicolas Viennot, and Jason Nieh Department of Computer Science Columbia University fjeremya, alexvh, alduaij, cdall, nviennot,
[email protected] Abstract Keywords Android, iOS, Mobile Computing, Binary Com- We present Cider, an operating system compatibility archi- patibility, Operating System Compatibility tecture that can run applications built for different mobile ecosystems, iOS or Android, together on the same smart- 1. Introduction phone or tablet. Cider enhances the domestic operating sys- Mobile devices such as tablets and smartphones are chang- tem, Android, of a device with kernel-managed, per-thread ing the way that computing platforms are designed, from the personas to mimic the application binary interface of a for- separation of hardware and software concerns in the tradi- eign operating system, iOS, enabling it to run unmodified tional PC world, to vertically integrated platforms. Hardware foreign binaries. This is accomplished using a novel com- components are integrated together in compact devices using bination of binary compatibility techniques including two non-standard interfaces. Software is customized for the hard- new mechanisms: compile-time code adaptation, and diplo- ware, often using proprietary libraries to interface with spe- matic functions. Compile-time code adaptation enables ex- cialized hardware. Applications (apps) are tightly integrated isting unmodified foreign source code to be reused in the with libraries and frameworks, and often only available on domestic kernel, reducing implementation effort required to particular hardware devices. support multiple binary interfaces for executing domestic These design decisions and the maturity of the mobile and foreign applications.