Coder Social home page Coder Social logo

headless-android's Introduction

Headless Android Device

https://github.com/gibsson/headless-android

This project intends to be a starting point for Headless device creation. It leverages the different properties offered by Google to reduce the system to its minimum. However the goal is to keep the full Java stack running without any UI.

First, you need to clone the repository inside your AOSP tree:

$ cd <AOSP_TREE>/device/<YOUR_NAME>
$ git clone https://github.com/gibsson/headless-android.git
$ cd <AOSP_TREE>

Then, in order to build this device, type the following commands:

$ source build/envsetup.sh
$ lunch mini_headless-eng
$ make

Finally, you can enjoy the use of a Headless emulator:

$ emulator

Some unexpected crash might happen during the SystemServer initialization, a patch is provided within the headless folder:

$ cd <AOSP_TREE>/frameworks/base
$ git am 0001-Headless-fix-SystemServer-crash-due-to-exception.patch

To prevent the Android logo to appear at startup, you can apply another patch provided as well:

$ cd <AOSP_TREE>/frameworks/native
$ git am 0001-Headless-prevent-boot-animation-to-start.patch

Note: those patches have been made for Android 4.4_r1

headless-android's People

Contributors

gibsson avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.