docker-aosp | Minimal Android AOSP build environment | Automation library
kandi X-RAY | docker-aosp Summary
kandi X-RAY | docker-aosp Summary
[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
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-aosp
docker-aosp Key Features
docker-aosp Examples and Code Snippets
Community Discussions
Trending Discussions on docker-aosp
QUESTION
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:01If 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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-aosp
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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page