How to build android img for zero3w

How to do it can be updated?

$ repo init -u https://github.com/radxa/manifests.git -b Android11_Radxa_rk12 -m rockchip-r-release.xml
$ repo sync -j4

The latest branch is Android11_Radxa_rk12.

I followed the above instructions and compiled AOSP after the update Error

error: declaration uses identifier '_FORTIFY_SOURCE', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]

error: declaration uses identifier '_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]

note: this fix will not be applied because it overlaps with another fix

error: declaration uses identifier '__ANDROID_VNDK__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors]

note: this fix will not be applied because it overlaps with another fix

error: declaration uses identifier '__clang_analyzer__', which is a reserved identifier [cert-dcl37-c,-warnings-as-errors

@yanw What should I do?

I suggest you build a complete image.

make clean
./build.sh -AUCKu

I’ve re-downloaded the code and it’s still giving me this error. Have you tried running it?

It seems to be an environment problem. It is best to use docker.

Can you tell me how to install the environment using docker, your android documentation is all wrong!

I’m getting the same error. I’m building from a docker image based on ubuntu:20.04.

I also tried to use the dockerfile provided in the instructions linked on the first post. With that dockerfile I couldn’t create the docker image because the script is trying to copy some tool chain files which were not provided.

The issue is related to the 3G dongle support.

If you don’t need 3G dongle support you can edit device/rockchip/common/BoardConfig.mk and change BOARD_HAVE_DONGLE to false.

Once I made that change I was able to build properly.

Hi. Hey,
Can you share the Android image you created for Radxa Zero 3W with me. thank you.

you can find the image here

1 Like

links not working?

https://github.com/radxa/manifests/releases/download/Android11_Radxa_rk12_20231109/Radxa_ZERO_3W_3E_

Fixed

https://github.com/radxa/manifests/releases/download/Android11_Radxa_rk12_20231109/Radxa_ZERO_3W_3E_Android11_rkr12_20231109-gpt.zip

https://github.com/radxa/manifests/releases/download/Android11_Radxa_rk12_20231109/Radxa_ZERO_3W_3E_.Android11_rkr12_20231109-update.zip

First of all, thank you very much.
I downloaded the gpt extension from the link you gave, but I think it is corrupted. because when I try to get it in RVDevTol, it gives this error. can you look at it.

the version below works fine but does not have GPT. how can I install GPT afterwards?
https://mega.nz/file/Qj5zCYCQ#We27FOyQDs2p1MMmzuRL1m-TGjtPL037w_L4jTHaDE4

which os do you use, Flashing the update.img you should use “Upgrade Firmware”, and use “Download Image” to flash GPT format image.

the version below works fine but does not have GPT. how can I install GPT afterwards?
https://mega.nz/file/Qj5zCYCQ#We27FOyQDs2p1MMmzuRL1m-TGjtPL037w_L4jTHaDE4

Do you mean chatgpt app? you can download apk and use adb to install on it.

Do I need to select the loader part when using the download image part? If so, what should I install there?

Hello there,
I will proceed with the installation within the information you will provide. waiting for you.

I meant GPT, that is, how can I install the Android Store. but your drive is that way, but what should I choose loader when installing the firmware on the device.

sorry for late reply’

this one, you can refer to https://docs.radxa.com/en/zero/zero3/low-level-dev/rkdevtool

rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin

1 Like

thnks.
thnks…