Compilation and Firmware Packaging
Extract the Source Code and Image
bash
# Extract the source code
tar -zxvf A6490MA1.tar.gz
# Extract the Ubuntu image
xz -d ubuntu.img.xz
# Copy the image to the build directory
cp ubuntu.img A6490MA1/ubuntu/Enter the Docker Build Environment
Enter the code root directory and then enter Docker:
bash
cd A6490MA1
docker run --privileged -it --rm --hostname $(hostname) -v $(pwd):/home/build $(whoami)/androidbuilder:u22 androidEnter the ubuntu directory and run the build:
bash
cd ubuntu
Aidlux_build.sh user|debug versionFor example, to build the user version (version number 01):
bash
./Aidlux_build.sh user 01Generate the Image
After a successful build:
bash
sh do_ubuntu.shOn success, img will be generated in img_out.