docker-aosp | Minimal Android AOSP build environment | Automation library

 by   kylemanna Shell Version: Current License: MIT

kandi X-RAY | docker-aosp Summary

kandi X-RAY | docker-aosp Summary

docker-aosp is a Shell library typically used in Automation, Docker applications. docker-aosp has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

[ImageLayers] Minimal build environment for AOSP with handy automation wrapper scripts. Developers can use the Docker image to build directly while running the distribution of choice, without having to worry about breaking the delicate AOSP build due to package updates as is sometimes common on bleeding edge rolling distributions like Arch Linux. Production build servers and integration test servers should also use the same Docker image and environment. This eliminates most surprise breakages by by empowering developers and production builds to use the exact same environment. The devs will catch the issues with build environment first.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              docker-aosp has a low active ecosystem.
              It has 449 star(s) with 240 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 16 open issues and 12 have been closed. On average issues are closed in 33 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of docker-aosp is current.

            kandi-Quality Quality

              docker-aosp has no bugs reported.

            kandi-Security Security

              docker-aosp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              docker-aosp is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              docker-aosp releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-aosp
            Get all kandi verified functions for this library.

            docker-aosp Key Features

            No Key Features are available at this moment for docker-aosp.

            docker-aosp Examples and Code Snippets

            No Code Snippets are available at this moment for docker-aosp.

            Community Discussions

            QUESTION

            How can I automate the installation of a custom Android-x86 ISO for testing purposes?
            Asked 2017-Sep-21 at 10:01

            Using the docker setup at https://github.com/kylemanna/docker-aosp I have managed to build a custom Android-x86 version that I can run and install on a VirtualBox/QEMU setup.

            I am now concerned with speeding up the edit-compile-build-test cycle.

            The custom system I am working on is graphical in nature, and so I do need some visual confirmation.

            The problem I have is that I cannot figure out how to create a QEMU or VirtualBox image that will take me to the home screen immediately without running through the installation and Google account setup.

            I have no problem scripting this, I just don't even know where to start.

            Thanks in advance.

            ...

            ANSWER

            Answered 2017-Sep-21 at 10:01

            If I understand your question correctly, you are basically attempting to get rid of the Google start-up setup wizard. This can be achieved by removing the SetupWizared's Andoird.mk file from the AOSP source repo, and building a version of your device that will not contain the wizard. In a GMS (Google Mobile Services) device's repo , go to: repo_root/vendor/google/apps/SetupWizard and delete the Android.mk file. This will effectively disable the wizard app and it will not show up the upon booting from a fresh system flash.

            Alternatively, If you have root access to the device, you might want to mark the Setup Wizard as completed by invoking the following adb commands:

            Source https://stackoverflow.com/questions/45894556

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install docker-aosp

            For the terribly impatient.
            Make a directory to work and go there.
            Export the current directory as the persistent file store for the aosp wrapper.
            Run a self contained build script, which does:
            Attempts to fetch the aosp wrapper if not found locally.
            Runs the aosp wrapper with an extra argument for the docker binary and hints to the same script that when run later it’s running in the docker container.
            The aosp wrapper then does it’s magic which consists of fetching the docker image if not found and forms all the necessary docker run arguments seamlessly.
            The docker container runs the other half the build script which initializes the repo, fetches all source code, and builds.
            In parallel you are expected to be drinking because I save you some time. mkdir nougat ; cd nougat export AOSP_VOL=$PWD curl -O https://raw.githubusercontent.com/kylemanna/docker-aosp/master/tests/build-nougat.sh bash ./build-nougat.sh This takes about 2 hours to download and build on i5-2500k with 100Mb/s network connection.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kylemanna/docker-aosp.git

          • CLI

            gh repo clone kylemanna/docker-aosp

          • sshUrl

            git@github.com:kylemanna/docker-aosp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link