This widget could not be displayed.
This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 
FAQBot
Community Manager
Community Manager

[AIOT] Source Code Download Link Android and Image Build Steps for Tinker Board 3N

1. Establish a build environment
Please refer to Install Docker Engine to install Docker engine.

2. Download the Android source
Please refer to Installing Repo to install the Repo Launcher and Downloading the Source to understand how to download the Android source.

3. Initiale a Repo client

Run repo init to get the latest version of Repo with its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source are placed within your working directory. For different projects, you must also specify the manifest branch or revision with option "-b REVISION".

repo init -u https://github.com/TinkerBoard-Android/rockchip-android-manifest.git -b REVISION
 

Optionally, you can also specify the initial manifest file with the option "-m NAME.xml" for the specific release for that project.

repo init -u https://github.com/TinkerBoard-Android/rockchip-android-manifest.git -b REVISION -m NAME.xml
 
  • Android 12
repo init -u https://github.com/TinkerBoard-Android/rockchip-android-manifest.git -b android12-rockchip
 

4. Download the Android source tree

To download the Android source tree to your working directory from the repositories as specified in the default manifest, run:

repo sync
 

5. Build Android

Go to to the directory where you have downloaded the Android source and execute the script as the following. This will take a while to install the necessary packages on the host, build the Docker image, and start the container:

./docker_builder/docker-builder-run.sh
 

Once it is done. You are in the shell of this newly started Docker container and you are ready to build Android.

  • Android 12
source build/envsetup.sh
lunch Tinker_Board_3N-userdebug
./build.sh -UCKAu
 

The image which is able to be flashed to the board via UMS mode will be stored as the following in the directory where you have downloaded the source.

./rockdev/ Image-Tinker_Board_3N/ Tinker_Board_3N-raw.img
Version history
Last update:
‎10-07-2025 03:46 AM
Updated by: