Android™ Automotive Sig

Total Page:16

File Type:pdf, Size:1020Kb

Android™ Automotive Sig ANDROID™ AUTOMOTIVE SIG All-Hands – 26 May 2020 Android Automotive SIG – Topics for today • Virtual Technical Summit • VHAL / Vehicle Data APIs • Audio HAL • New project opportunities • Reminder • AASIG “All-hands” calls : monthly report delivered on last Tuesday of each month at 5pm CET • Minutes: https://at.projects.genivi.org/wiki/x/SIFoAg • Vehicle HAL project calls: every week on Tuesday at 5pm CET • Minutes: https://at.projects.genivi.org/wiki/x/HYVoAg • Audio HAL project calls: every other week on Thursday at 11:30am CET • Minutes: https://at.projects.genivi.org/wiki/x/ugDYAg 2 GENIVI Virtual Technical Summit Registered Attendees • 434 registered for the virtual technical summit ⁃ Members ‐ 252 ⁃ Non‐members – 182 • Geographical Stats ⁃ Germany ‐ 108 ⁃ India ‐ 66 ⁃ USA ‐ 93 Australia, Austria, Brazil, Bulgaria, Canada, Egypt, Israel, Japan, Malaysia, Poland, Portugal, Romania, Russia, Taiwan, Turkey, Ukraine 26 May 2020 |. Copyright © GENIVI Alliance 2020 3 3 GENIVI Virtual Technical Summit Day 1 (YouTube live streaming) There were 198 unique viewers with 387 total views. Page views refer to the number of times visitors look at our pages. Unique views are the number of the unique users that clicked on a tracking link of our live stream. Session Name - Day 2 Participants Connected Vehicle Software Development 60 Android Automotive SIG #1 - Vehicle Data APIs / Vehicle (HAL) 75 Cybersecurity #1- ISO-21434 in practice 40 Session Name - Day 3 Android Automotive SIG #2 - Audio (HAL) 60 Cybersecurity #1- ISO-21434 in practice 30 Cloud & Connected Services 50 26 May 2020 |. Copyright © GENIVI Alliance 2020 4 4 GENIVI Virtual Technical Summit - Survey Responses How would you rate this event overall? - 83% (excellent and really good) If you attended either of the forward-looking sessions, did you find them relevant to the industry and something GENIVI should act on? Yes, I believe the Common Vehicle Interface Initiative is relevant and GENIVI should act on it - 75% Yes, I believe the Domain Consolidation topic is relevant and GENIVI should act on it - 42% Day 2&3 sessions rated Excellent to Good AASIG Workshops – 67% Cloud & Connected Services – 58% Cybersecurity – 50% Showcase Demo Videos 42% were very interested 42% Somewhat interested 16% did not have time to watch the videos Easy to access ? 83% said it was very easy 26 May 2020 |. Copyright © GENIVI Alliance 2020 5 5 Survey - What input could you give us to make our next Summit better for you? • Even surprisingly positive experience. Active discussion and questions from audience visible. In some sense, this worked even better than f2f sessions! • Thanks, It was the great session • The topics for the event was relevant. 26 May 2020 |. Copyright © GENIVI Alliance 2020 6 6 Summit Debrief: We reached out through the noise and informed people about the on-going GENIVI work • Common Vehicle Interface Initiative • Panel-like discussion thanks to Bosch, McKinsey and Renault • Follow-up needs to be undertaken very soon with Microsoft, OEMs, other cloud providers • Readouts • Cybersecurity • Automated Testing • Workshops • AASIG Vehicle Data/VHAL , AASIG Audio HAL , Cloud & Connection Services • Very good preparation and leadership provided by GENIVI project team participants • Demos delivered by TietoEVRY, High-Mobility, Geotab and Samsung (and shown live) • Discussion topics identified and prepared, next milestone content identified • Very good participation of a few workshop attendees, many good questions, e.g. AASIG: MBtion, Microsoft, Huawei, GHS, KPIT, Alpine, P3 • Minutes (and slides) are available in the wiki (thanks to minutes taker), link: https://at.projects.genivi.org/wiki/x/QgJUAw 7 Vehicle Data APIs / VHAL Report 8 Android Automotive SIG ‐ Vehicle Data APIs - VHAL – External Data Server Concept Design choices made by the group cmp Google VHAL + External Data Server Head Unit (on‐board) Application layer Defined by • VSS adoption (Vehicle Signal Google «App» «App» WebSocket Manifest Specification) – will be introduced App 1 App n Genivi OEM / Tier1 in the CCS project report «trace» OSS Framework layer CarAPI Java API • Coexistence of Google VHAL and Authentication Car API Virtual ECU (same / different ECU) Data Server Service UnixDomainSocket Apollo GraphQL Package Manager Car Service • Application authentication HIDL • Interface with the « rest » of the HAL layer vehicle, e.g. via Some/IP VSS Feeder VSS Database Vehicle HAL 26 May 2020 |. Copyright © GENIVI Alliance 2020 9 9 Android Automotive SIG ‐ Vehicle Data APIs - VHAL – Report External Data Server Proof-of-Concept • Implementation in-progress • Demo was shown in the workshop • Authentication Service implementation • Sources: https://github.com/stefanwysocki/aasig_dev_platform/tree/develop/vendor/genivi/modules/VssAuthenticationService • External Data Server implementation • Data server: Publishing of GraphQL comprehensive example done cmp External Data Server • Sources: https://github.com/GENIVI/vss-graphql Head Unit (on‐board) Application layer Defined by Google «App» WebSocket Manifest App 1 • VSS feeder: Basic functionality is working Genivi «trace» OEM / Tier1 OSS • Sources: https://github.com/GENIVI/vss-feeder Framework layer Virtual ECU (same / different ECU) Apollo GraphQL Authentication Package Manager Service Several low-hanging fruit activities identified UnixDomainSocket call for volunteers !! Please contact the team HAL layer VSS Feeder VSS Database 10 Android Automotive SIG ‐ Vehicle Data APIs - VHAL – Report • Team participants: BMW, Daimler, (Jaguar Land Rover), TietoEVRY, Bosch, EPAM • Topics discussed at the tech summit • Google Vehicle Properties Implementation based on GraphQL Service. • Permission groups specification. • Translation of permission groups. • JWT Token what will be included and how it will be done? And generation process? • Next steps towards the next milestone (mid-July) • Addition of permission model to GraphQL • GraphQL resolver update • Sync with CCS project for using the same vehicle data (database) • Technical readiness level assessment and discussion on how and when to reaching out to Google • VSS as an alternative or complement to Google Vehicle Properties • Access to vehicle data via GraphQL instead of Key Value pairs • Backlog update in-progress 26 May 2020 |. Copyright © GENIVI Alliance 2020 11 11 Audio HAL Report 12 Android Automotive SIG – Audio HAL – Report • Main thread of work - How to Control a Car Audio System with Android Providing sources and sinks Controlling the complete System Audio Audio Source Audio Sink Source Audio Audio Audio Sink Source SourceAudio Audio Source Source sources streams / input stream raw streams raw streams input streams Audio Audio Source Source Audio Sink Audio Audio Source Audio Sink Source Audio Audio Source Source green and blue boxes can be partitions / virtual machines or different HW • Both strategies have advantages and disadvantages • Relying on Android only does not fulfill some safety requirements • Considering Android as sources and sinks only does not take enough advantage of it • Therefore each topic has to be analyzed and assigned : inside or outside Android 13 Android Automotive SIG – Audio HAL Proof Of Concept - Getting Raw Streams System Level Audio Manager OS Level Audio Manager Proxy System Level Audio Manager • Reference design from Google side by side to the GENIVI Proof Of Concept proposal • Android design relies on an External System (Mixer, Amplifier, Safety signals,…) • GENIVI Proof Of Concept tries to provide an concrete instantiation of the Audio Control Split 14 Android Automotive SIG – Audio HAL – Report • Team participants: BMW, Mobis, TietoEVRY, EPAM, Bosch, Analog Devices • Main thread of work - How to Control a Car Audio System with Android • proof-of-concept implementation in-progress - Getting raw streams out of Android • Demo was shown in the workshop • Source code repository https://github.com/GENIVI/android-external-audio-mixing • Topics discussed at the tech summit • Audio Manager integration (Android audio manager & GENIVI Audio Manager co-existence) • Proof-of-concept architecture & “prerequisites” : extracting raw streams, injecting input streams • Feature content definition for next milestone : • Utilization of actual hardware instead of Android emulator • Going through the list of prioritized topics for and refining the priorities with participants • Backlog update in progress 15 New project opportunities • Broadcast radio and Android • Location-based services and Android • How to plug alternate navigation engines 16 Thank you! Visit GENIVI: http://www.genivi.org http://projects.genivi.org Contact us: [email protected].
Recommended publications
  • EB GUIDE: and Engineering Services All-In-One Automotive HMI UI and Application Development Services Development Toolchain, Voice Assistants (E.G
    How can software suppliers create future car user experiences? Elektrobit, the visionary supplier of embedded software products and services is your answer. Deliver stunning, next-generation automotive user interfaces Disruption is affecting every industry. In the automotive At EB, we believe that an optimal interaction between hu- industry, this is most visible in the transformation of the man and machine is characterized by three aspects: classic vehicle into a software-driven Internet of Things (IoT) device. Personalization, connectivity, and mobility-as- a-service are becoming increasingly important for drivers EXCELLENT and passengers. USABILITY HIGH saving you In order to stand out in a marketplace that is growing more EFFICIENCY operator time saving both time competitive by the day, automotive manufacturers are seizing and money the opportunity to showcase their distinct advantages in pro- viding their drivers and passengers user interfaces that are sleek, intuitive, and above all, seamlessly integrated. MAXIMUM Elektrobit has created a big move from simple driver infor- PRODUCTIVITY ultimately giving your mation centers, to in-vehicle infotainment systems, to con- company a competitive nected cockpits that integrate with multiple technologies advantage simultaneously. 2 The secret to our success is simple. We're passionate about Our mission is to deliver HMIs optimized for your target promoting the interactions between humans and machines platform - HMIs that meet your expectations for high qua- through exceptionally designed software tools and solutions lity, that perfectly integrate multimodal input and output and our skilled engineering teams. devices, and that can be easily maintained over multiple variants and even multiple life cycles of your product.
    [Show full text]
  • Vehicle Embedded Data Stream Processing Platform for Android Devices
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 6, No. 2, 2015 Vehicle Embedded Data Stream Processing Platform for Android Devices Shingo Akiyama∗, Yukikazu Nakamoto∗, Akihiro Yamaguchiy, Kenya Satoz, Hiroaki Takadax ∗Graduate School of Applied Informatics, University of Hyogo, Japan yCenter for Embedded Computing System, Nagoya University, Japan zMobility Research Center, Doshisha University, Japan xGraduate School of Information Science, Nagoya University, Japan Abstract—Automotive information services utilizing vehicle and make decisions on the basis of this data to control data are rapidly expanding. However, there is currently no the vehicle on behalf of the driver. Jones used information data centric software architecture that takes into account the obtained from multiple on-board sensors to perform evasive scale and complexity of data involving numerous sensors. To steering and, when collision is unavoidable, to activate brake address this issue, the authors have developed an in-vehicle data- intervention to dampen the impact, thus decreasing damage stream management system for automotive embedded systems [5]. Such intelligent control systems acquire data from many (eDSMS) as data centric software architecture. Providing the data stream functionalities to drivers and passengers are highly sensors, such as cameras and millimeter-wave radar. Google beneficial. This paper describes a vehicle embedded data stream and Urban Challenge, which is a competition funded by the processing platform for Android devices. The platform enables Defense Advanced Research Projects Agency, revealed that flexible query processing with a dataflow query language and self-driving in urban areas is both feasible and safe in terms extensible operator functions in the query language on the of autonomous driving [6], [7].
    [Show full text]
  • Enabling Android Automotive on Your TI Development Board
    Application Report SPRACO0–August 2019 Enabling Android Automotive on Your TI Development Board Joshua Allen Shafran and Praneeth Bajjuri ABSTRACT This application report walks you through the steps necessary to enable Android™ Automotive on your TI development board. The Android Automotive OS and Human-Machine Interface (HMI) provide users with a simplified interface for accessing applications while on the road. The OS is an Android-based infotainment system that allows for a vehicle-optimized, stand-alone Android device to be placed inside the head unit. In place of the phone apps, users install driver-optimized versions of the app directly onto the console. This streamlined experience enables the driver to perform efficient tasks, such as climate control, maps, phone, audio, and so forth, in the convenience of their vehicle. Contents 1 Introduction ................................................................................................................... 2 2 Implementation............................................................................................................... 4 2.1 Prerequisites......................................................................................................... 4 2.2 Software Changes .................................................................................................. 5 3 Deploy Instructions .......................................................................................................... 6 3.1 Build Instructions...................................................................................................
    [Show full text]
  • Vehicle Data Models – Overview & Gap Analysis
    DECEMBER 2019 Category: Cloud & Connected Services Vehicle Data Models – Overview & Gap Analysis Introduction With the proliferation of connected cars making them the predominant form of automotive transportation in a few years, a number of parties are working at breaking down the barriers to adoption for mobility services based on automotive data. At the core of such initiatives lie several vehicle data models. Models describing data produced by vehicles are highly heterogeneous and non-interoperable to the extent that many OEMs use proprietary specifications to define thousands of vehicle signals, different unit systems, modelling patterns and formats. The competition between proprietary solutions and overlapping collaborative efforts results in a fragmented ecosystem of vehicle data models. This fragmented ecosystem is a major motivation for the work of the GENIVI Cloud and Connected Services (CCS) Project. The main goal of this project is to join forces and harmonize activities when designing and implementing the full data-oriented connected vehicle architecture (in-vehicle and back-end). In our charter, we present a list of benefits that could be enabled by this project: Enable easy interoperability of building blocks, flexibility and choice Develop common solutions and software Enable access to all data we want to exchange Control access to data Enable user privacy and data security Clarify responsibilities Agree on terminology for improving the shared work around data: names, roles, responsibilities Facilitate business opportunities and contractual agreements. Aligning the data model(s) is crucial for our industry and required to take the next planned step for this project, which is to propose a reference architecture for the vehicle data oriented environment.
    [Show full text]
  • Nativex: Native Executioner Freezes Android
    NativeX: Native Executioner Freezes Android Qinsheng Hou Yao Cheng Lingyun Ying∗ QI-ANXIN Technology Research Huawei International QI-ANXIN Technology Research Institute Singapore, Singapore Institute Legendsec Information Technology [email protected] University of Chinese Academy of (Beijing) Inc. Sciences Beijing, China Beijing, China [email protected] [email protected] ABSTRACT Taipei, Taiwan. ACM, New York, NY, USA, 13 pages. https://doi.org/10.1145/ Android is a Linux-based multi-thread open-source operating 3320269.3384713 system that dominates 85% of the worldwide smartphone market share. Though Android has its established management for its 1 INTRODUCTION framework layer processes, we discovered for the first time that the Android is a Linux-based multi-thread open-source operating weak management of native processes is posing tangible threats system for mobile devices. It not only has gained tremendous to Android systems from version 4.2 to 9.0. As a consequence, popularity among mobile users in recent years, but also has any third-party application without any permission can freeze been used in IoT devices and various mission-critical tasks, such the system or force the system to go through a reboot by as point-of-sale devices [11], medical devices [30], on-vehicle starving or significantly delaying the critical system services using systems [5][6], and even aircraft and satellite devices [1][10]. One Android commands in its native processes. We design NativeX to of the reasons that Android has been widely adopted is that Android systematically analyze the Android source code to identify the provides compatible development support for programming in both risky Android commands.
    [Show full text]
  • Android™ Release Notes (ARN): a Document That Introduces Key Updates and Known Issues in This Release
    NXP Semiconductors Document identifier: ARN Release Notes Rev. automotive-10.0.0_1.1.0, 24 March 2020 ™ Android Release Notes Contents 1 Release Description...... 1 2 Supported Hardware 1 Release Description SoC/Boards.................. 1 The i.MX Android™ automotive-10.0.0_1.1.0 release is an Android Automotive GA (RFP) release on NXP's i.MX 8QuadXPlus/8QuadMax MEK board and 3 Release Package platform, which is based on Android 10. It supports the device type In-vehicle infotainment defined in https://source.android.com/devices/automotive/. Contents....................... 1 i.MX Android automotive-10.0.0_1.1.0 release includes all necessary code, documents, and tools to assist users in building and running Android 4 Features ....................... 2 Automotive on the i.MX 8QuadXPlus/8QuadMax MEK board from scratch. Pre-built images are also included for a quick trial on the following platforms: 5 Multimedia Codecs........4 • i.MX 8QuadXPlus/8QuadMax MEK Board and Platform This release includes all porting and enhancements based on the Android open source code. 6 Change Log...................4 Most of the deliveries in this release are provided in source code with the exception of some proprietary modules/libraries from third parties. 7 Known Issues and Limitations.....................4 2 Supported Hardware SoC/Boards The supported hardware system-on-chip (SoCs)/boards are listed as follows: 8 Revision History............ 5 • i.MX 8QuadXPlus/8QuadMax (Silicon Revision B0) MEK Board and Platform 3 Release Package Contents The automotive-10.0.0_1.1.0 release package includes the following software and documents. Table 1. Release package contents i.MX Android proprietary source • imx-automotive-10.0.0_1.1.0.tar.gz: i.MX Android Automotive proprietary source code code package package to enable Android Automotive on i.MX boards.
    [Show full text]
  • Android Automotive Audio
    Public Android Automotive Audio Introduction Bartosz Bialek Senior Software Engineer Tieto, PDS BU Automotive & Smart Devices [email protected] Table of contents Public • Android Automotive Architecture • Audio Framework • Android sounds and streams • Multi-Zone Audio • Audio Signal Arbitration • Audio HAL interfaces 2 © Tieto Corporation Public Audio Framework Architecture overview Android Automotive Architecture Public Applications Android Framework API Car API Android System Services Car Services HAL Automotive HAL Linux Kernel 4 © Tieto Corporation Audio Framework Public Application Car Audio Audio Effect Audio Track Audio Manager Manager Car Audio Audio Service Service Audio Track Audio Effect Audio System Audio Policy Effects Factory Audio Flinger Manager Audio Control Audio HAL HAL TinyALSA ASoC / Drivers 5 © Tieto Corporation Android sounds and streams (1/2) Public Music Player Voice Assistant Navigation Calendar Audio sources Audio Flinger Mixer 0 Mixer 1 Mixer 2 Audio contexts Audio devices MUSIC Bus 0 Bus 1 Bus 2 NAVIGATION VOICE_COMMAND Audio HAL CALL_RING Chime Unit CALL External Mixer ALARM Tuner NOTIFICATION Car Amplifier(s) SYSTEM_SOUND 6 © Tieto Corporation Android sounds and streams (2/2) Public Android 10: New player Radio Navigation HwAudioSource Audio Flinger Tuner Mixer 0 Mixer 1 Tuner Bus 0 Bus 1 Audio HAL Tuner External Mixer Car Amplifier(s) 7 © Tieto Corporation Multi-Zone Audio (Android 10) Public Primary zone • Application can be played in zone Media Player Media playback • Zone contains audio devices
    [Show full text]
  • Security Analysis of an In-Vehicle App Platform
    On the Road with Third-party Apps: Security Analysis of an In-vehicle App Platform Benjamin Eriksson, Jonas Groth and Andrei Sabelfeld Department of Computer Science and Engineering, Chalmers University of Technology, Gothenburg, Sweden Keywords: In-vehicle App Security, API Security, Program Analysis for Security, Infotainment, Information Flow Control, Android Automotive. Abstract: Digitalization has revolutionized the automotive industry. Modern cars are equipped with powerful Internet- connected infotainment systems, comparable to tablets and smartphones. Recently, several car manufacturers have announced the upcoming possibility to install third-party apps onto these infotainment systems. The prospect of running third-party code on a device that is integrated into a safety critical in-vehicle system raises serious concerns for safety, security, and user privacy. This paper investigates these concerns of in-vehicle apps. We focus on apps for the Android Automotive operating system which several car manufacturers have opted to use. While the architecture inherits much from regular Android, we scrutinize the adequateness of its security mechanisms with respect to the in-vehicle setting, particularly affecting road safety and user privacy. We investigate the attack surface and vulnerabilities for third-party in-vehicle apps. We analyze and suggest enhancements to such traditional Android mechanisms as app permissions and API control. Further, we investigate operating system support and how static and dynamic analysis can aid automatic vetting of in-vehicle apps. We develop AutoTame, a tool for vehicle-specific code analysis. We report on a case study of the countermeasures with a Spotify app using emulators and physical test beds from Volvo Cars. 1 INTRODUCTION of popular apps already exists on the Android mar- ket, which can be naturally converted into Android The modern infotainment system, often consisting of Automotive apps.
    [Show full text]
  • Infotainment Summary
    NO. 10 • NOVEMBER 2020 Polestar 2 Infotainment Summary If all the stars in our solar system orbit around the Polestar day by day, does the Polestar 2 show us the right direction for the future automotive industry? 2 READ ME! For this report we spent more than 50 hours We have recorded everything and made the testing this car’s infotainment system. video material available in a tool called screens. Thousands of interactions were made and screens is an interactive video-based online literally every possible button was used. platform, which enables you to compare the latest infotainment systems in-depth. We went through hundreds of use cases, both stationary and while driving, and looked at the car Whether it is ADAS, media, apps, navigation, as intensely as possible. We guess the only other speech or radio. Operated in the Instrument people were probably its developers. This report Cluster, the Head Unit, the Head-up Display or in represents only a fraction of our findings. the Rear Seat Entertainment. You can check out every possible interaction on video. We render We captured the entire HMI structure and docu- the videos searchable and interactive so you mented every possible click in a giant tree with can find a particular sequence much faster hundreds of entries. than in the actual car. Therefore: Contact us if you have any questions Click here to create your trial account and about this infotainment system. We know almost dive deeply into the infotainment system Josina Formann everything that can be found out when using it. right from your desk.
    [Show full text]
  • Android Auto User's Guide
    AUG Android™ User's Guide Rev. android-11.0.0_1.1.0-AUTO — 25 January 2021 User's Guide Contents 1 Overview 1 Overview......................................... 1 This document provides the technical information related to the i.MX 8 devices: 2 Preparation......................................1 3 Building the Android platform for • Instructions for building from sources or using pre-built images. i.MX................................................. 2 4 Running the Android Platform with a • Copying the images to boot media. Prebuilt Image............................... 10 • Hardware/software configurations for programming the boot media and 5 Programming Images....................12 running the images. 6 Booting.......................................... 16 7 Over-The-Air (OTA) Update.......... 20 This document describes how to configure a Linux build machine and provides 8 Customized Configuration.............24 the steps to download, patch, and build the software components that create 9 Revision History............................ 53 the Android system image when working with the sources. For more information about building the Android platform, see source.android.com/source/building.html. 2 Preparation The minimum recommended system requirements are as follows: • 16 GB RAM • 300 GB hard disk 2.1 Setting up your computer To build the Android source files, use a computer running the Linux OS. The Ubuntu 16.04 64bit version is the most tested environment for the Android 11.0 build. After installing the computer running Linux OS, check
    [Show full text]
  • Android Auto Release Notes
    ARN Android™ Release Notes Rev. android-11.0.0_1.1.0-AUTO — 25 January 2021 Release Notes Contents 1 Release Description 1 Release Description........................ 1 The i.MX Android™ automotive-11.0.0_1.1.0 release is an Android Automotive 2 Supported Hardware SoC/Boards ........................................................ 1 GA (RFP) release on NXP's i.MX 8QuadXPlus/8QuadMax MEK board and 3 Release Package Contents.............1 platform, which is based on Android 11. It supports the device type In-vehicle 4 Features ......................................... 2 infotainment defined in https://source.android.com/devices/automotive/. 5 Multimedia Codecs..........................4 i.MX Android automotive-11.0.0_1.1.0 release includes all necessary code, 6 Change Log.....................................4 documents, and tools to assist users in building and running Android 7 Known Issues and Limitations.........4 8 Revision History.............................. 5 Automotive on the i.MX 8QuadXPlus/8QuadMax MEK board from scratch. Pre-built images are also included for a quick trial on the following platforms: • i.MX 8QuadXPlus/8QuadMax MEK Board and Platform This release includes all porting and enhancements based on the Android open source code. Most of the deliveries in this release are provided in source code with the exception of some proprietary modules/libraries from third parties. 2 Supported Hardware SoC/Boards The supported hardware system-on-chip (SoCs)/boards are listed as follows: • i.MX 8QuadMax (Silicon Revision B0) MEK Board and Platform • i.MX 8QuadXPlus (Silicon Revision B0, C0) MEK Board and Platform 3 Release Package Contents The automotive-11.0.0_1.1.0 release package includes the following software and documents.
    [Show full text]
  • Apps Can Quickly Destroy Your Mobile's Flash: Why They Don't
    Session 4: Taming Your Apps MobiSys ’19, June 17–21, 2019, Seoul, Korea Apps Can Quickly Destroy Your Mobile’s Flash: Why They Don’t, and How to Keep It That Way Tao Zhang Aviad Zuck The University of North Carolina at Chapel Hill Technion – Israel Institute of Technology [email protected] [email protected] Donald E. Porter Dan Tsafrir The University of North Carolina at Chapel Hill Technion – Israel Institute of Technology & [email protected] VMware Research [email protected] ABSTRACT Korea. ACM, New York, NY, USA, 15 pages. https://doi.org/10.1145/3307334. Although flash cells wear out, a typical SSD has enough cells andsuf- 3326108 ficiently sophisticated firmware that its lifetime generally exceeds the expected lifetime of its host system. Even under heavy use, SSDs 1 INTRODUCTION last for years and can be replaced upon failure. On a smartphone, Smartphones typically include flash-based storage, because flash in contrast, the hardware is more limited and we show that, under offers benefits such as fast random access, shock resistance, high heavy use, one can easily, and more quickly, wear out smartphone density, and decreasing costs. A main drawback, however, is that flash storage. Consequently, a simple, unprivileged, malicious ap- flash cells can tolerate only a limited number of writes (i.e., pro- plication can render a smartphone unbootable (“bricked”) in a few gram/erase cycles) before becoming unusable. Vendors therefore weeks with no warning signs to the user. This bleak result becomes apply various methods to increase the lifetime of flash packages [19, more worrisome when considering the fact that smartphone users 41, 44, 48, 55, 59, 69, 84, 92, 93, 147], primarily by (1) provisioning generally believe it is safe to try out new applications.
    [Show full text]