Android System Programming: Porting, customizing, and debugging Android HAL

0
(0)

Android System Programming: Porting, customizing, and debugging Android HAL
 

  • Author:Roger Ye
  • Length: 470 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2017-05-31
  • ISBN-10: 178712536X
  • ISBN-13: 9781787125360
  • Sales Rank: #504490 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Build, customize, and debug your own Android system

    Key Features

    • Master Android system-level programming by integrating, customizing, and extending popular open source projects
    • Use Android emulators to explore the true potential of your hardware
    • Master key debugging techniques to create a hassle-free development environment

    Book Description

    Android system programming involves both hardware and software knowledge to work on system level programming. The developers need to use various techniques to debug the different components in the target devices. With all the challenges, you usually have a deep learning curve to master relevant knowledge in this area. This book will not only give you the key knowledge you need to understand Android system programming, but will also prepare you as you get hands-on with projects and gain debugging skills that you can use in your future projects.

    You will start by exploring the basic setup of AOSP, and building and testing an emulator image. In the first project, you will learn how to customize and extend the Android emulator. Then you’ll move on to the real challenge―building your own Android system on VirtualBox. You’ll see how to debug the init process, resolve the bootloader issue, and enable various hardware interfaces. When you have a complete system, you will learn how to patch and upgrade it through recovery. Throughout the book, you will get to know useful tips on how to integrate and reuse existing open source projects such as LineageOS (CyanogenMod), Android-x86, Xposed, and GApps in your own system.

    What you will learn

    • Set up the Android development environment and organize source code repositories
    • Get acquainted with the Android system architecture
    • Build the Android emulator from the AOSP source tree
    • Find out how to enable WiFi in the Android emulator
    • Debug the boot up process using a customized Ramdisk
    • Port your Android system to a new platform using VirtualBox
    • Find out what recovery is and see how to enable it in the AOSP build
    • Prepare and test OTA packages

    Table of Contents

    1. Introduction to Android System Programming
    2. Setting up the Development Environment
    3. Discovering Kernel, HAL and Virtual Hardware
    4. Customizing the Android Emulator
    5. Enabling ARM Translator and Introducing Native Bridge
    6. Debugging the Boot up Process Using a Customized Ramdisk
    7. Enabling Wi-Fi in the Android Emulator
    8. Creating Your Own Device on VirtualBox
    9. Booting Up x86vbox Using PXE/NFS
    10. Enabling Graphics
    11. Enabling VirtualBox-Specific Hardware Interfaces
    12. Introducing Recovery
    13. Creating OTA Packages
    14. Customizing and Debugging Recovery

    中文:

    书名:Android系统编程:移植、定制和调试Android HAL

    构建、定制和调试您自己的Android系统

    主要特点

    • 通过集成、定制和扩展流行的开源项目掌握Android系统级编程
    • 使用Android模拟器探索硬件的真正潜力
    • 掌握关键调试技术,打造无障碍开发环境

    Book Description

    Android系统编程涉及硬件和软件两方面的知识,以便在系统级编程方面工作。开发人员需要使用各种技术来调试目标设备中的不同组件。面对所有的挑战,你通常有一个深刻的学习曲线来掌握这一领域的相关知识。本书不仅将为您提供理解Android系统编程所需的关键知识,还将为您亲手操作项目并获得调试技能做好准备,以便在未来的项目中使用。

    您将从探索AOSP的基本设置开始,并构建和测试仿真器映像。在第一个项目中,您将学习如何定制和扩展Android仿真器。然后,您将继续面对真正的挑战–在VirtualBox上构建您自己的Android系统。您将了解如何调试init进程、解决引导加载程序问题以及启用各种硬件接口。当您拥有一个完整的系统时,您将学习如何通过恢复来修补和升级它。在整本书中,您将了解如何在您自己的系统中集成和重用现有的开源项目,如LineageOS(CyangenMod)、Android-x86、Xposed和GAPPS。

    What you will learn

    • 设置Android开发环境并组织源代码存储库
    • 熟悉Android系统架构
    • 从AOSP源码树构建Android模拟器
    • 了解如何在Android模拟器中启用WiFi
    • 使用定制的Ramdisk调试引导过程
    • 使用VirtualBox将您的Android系统移植到新平台
    • 了解什么是恢复,并了解如何在AOSP版本中启用它
    • Prepare and test OTA packages

    Table of Contents

    1. Android系统编程简介
    2. 设置开发环境
    3. 发现内核、HAL和虚拟硬件
    4. 自定义Android仿真器
    5. 启用ARM转换器并引入Native Bridge
    6. 使用定制的RamDisk调试引导过程
    7. 在Android模拟器中启用Wi-Fi
    8. 在VirtualBox上创建自己的设备
    9. 使用PXE/NFS启动x86vbox
    10. Enabling Graphics
    11. 启用特定于VirtualBox的硬件接口
    12. Introducing Recovery
    13. Creating OTA Packages
    14. 自定义和调试恢复
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册