Breaking Partition Barriers: Auto-Generating Stable Binder Interfaces in Android

Authors:

Abstract
Today's Android devices are full of rich OEM customizations. They are developing their own graphical design of applications to overlay the stock Android look. Brand applications are located on product partition where is often a request to access some hardware abstractions on vendor partition such as device health status, camera, microphone and other data from sensor inputs. However, in recent Android OS versions this communication is forbidden by the SELinux policy in order to maintain Android Treble modularity design. This is mandatory to make it easier, faster and less costly for manufacturers to update devices with a latest version of Android. On the other hand, an indirect approach to connect these two domains is possible through the system partition. This paper shows one solution that includes the generation of a helper proxy service in order to enable product-to-vendor access along with security compliance.