How to run xtest run on Hikey960?

I following hikey960 AOSP build(https://source.android.com/setup/build/devices) and OP-TEE Build the solution(https://optee.readthedocs.io/building/gits/build.html)

I finished op-tee Flash the device, but don’t know how to use the xtest
I want to know in what state it can be run and where to run xtest.

Please help. Thanks in advance.

The ‘official’ AOSP build (https://source.android.com/setup/build/devices) does not include OP-TEE. The OP-TEE build at https://optee.readthedocs.io/building/gits/build.html is for Linux, not Android. Please follow the instructions at https://optee.readthedocs.io/building/aosp/aosp.html instead.

1 Like