arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.02716cs.SE
收藏

Android更新问题:一项实证研究

The Android Update Problem: An Empirical Study

Mehran Mahmoudi, Sarah Nadi

摘要:

许多手机供应商使用Android作为其底层操作系统,但经常对其进行扩展以添加新功能并使其与特定手机兼容。当新版本的Android发布时,手机供应商需要合并或重新应用他们的自定义和更改到新版本。这是一个困难和耗时的过程,往往导致新版本的延迟采用。在本文中,我们进行了一项实证研究,以了解手机供应商所做的更改的性质,与Android的原始开发中所做的更改。通过调查不同更改的重叠,我们还确定了自动支持合并它们的可能性。我们开发了一个公开可用的工具链,基于现有的工具的组合,研究这些变化及其重叠。作为代理案例研究,我们分析了流行的基于社区的Android变体LineageOS及其相应的Android版本的变化。我们调查并报告实践中发生的常见变化类型。我们的研究结果表明,LineageOS修改的子系统中有83%也会在下一个Android版本中进行修改。通过考虑重叠更改的性质,我们评估了自动化工具支持的可行性,以帮助手机供应商解决Android更新问题。我们的研究结果表明,LineageOS中56%的更改有可能被安全地自动化。

英文摘要:

Many phone vendors use Android as their underlying OS, but often extend it to add new functionality and to make it compatible with their specific phones. When a new version of Android is released, phone vendors need to merge or re-apply their customizations and changes to the new release. This is a difficult and time-consuming process, which often leads to late adoption of new versions. In this paper, we perform an empirical study to understand the nature of changes that phone vendors make, versus changes made in the original development of Android. By investigating the overlap of different changes, we also determine the possibility of having automated support for merging them. We develop a publicly available tool chain, based on a combination of existing tools, to study such changes and their overlap. As a proxy case study, we analyze the changes in the popular community-based variant of Android, LineageOS, and its corresponding Android versions. We investigate and report the common types of changes that occur in practice. Our findings show that 83% of subsystems modified by LineageOS are also modified in the next release of Android. By taking the nature of overlapping changes into account, we assess the feasibility of having automated tool support to help phone vendors with the Android update problem. Our results show that 56% of the changes in LineageOS have the potential to be safely automated.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑