Hi,
Thanks for the replay , After following below steps getting some more build errors? what might be the problem?
cd {android root}
wget https://github.com/96boards/aosp-known-good-manifests/raw/master/latest/hikey960.xml -O .repo/manifests/default.xml
repo sync
source build/envsetup.sh
lunch
Which would you like? [aosp_arm-eng] 34
============================================
PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=hikey960
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-ubuntu-14.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OC-MR1
OUT_DIR=out
root@iicbuildsrv37:/samba/iicbuildsrv37/HiKEY960# make -j24
PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=hikey960
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-ubuntu-14.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OC-MR1
OUT_DIR=out
[1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
[58/59] glob prebuilts/ndk/cpufeatures.bp
[83/83] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-hikey960-cleanspec.ninja is missing, regenerating…
out/build-hikey960.ninja is missing, regenerating…
[545/844] including system/sepolicy/Android.mk …
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[844/844] including tools/tradefederation/core/Android.mk …
build/make/core/base_rules.mk:295: warning: overriding commands for target out/target/product/hikey960/obj/lib/android.hardware.renderscript@1.0-impl.so' build/make/core/base_rules.mk:295: warning: ignoring old commands for target
out/target/product/hikey960/obj/lib/android.hardware.renderscript@1.0-impl.so’
build/make/core/base_rules.mk:334: warning: overriding commands for target out/target/product/hikey960/obj/lib/android.hardware.renderscript@1.0-impl.so.toc' build/make/core/base_rules.mk:334: warning: ignoring old commands for target
out/target/product/hikey960/obj/lib/android.hardware.renderscript@1.0-impl.so.toc’
build/make/core/base_rules.mk:295: warning: overriding commands for target out/target/product/hikey960/obj_arm/lib/android.hardware.renderscript@1.0-impl.so' build/make/core/base_rules.mk:295: warning: ignoring old commands for target
out/target/product/hikey960/obj_arm/lib/android.hardware.renderscript@1.0-impl.so’
build/make/core/base_rules.mk:334: warning: overriding commands for target out/target/product/hikey960/obj_arm/lib/android.hardware.renderscript@1.0-impl.so.toc' build/make/core/base_rules.mk:334: warning: ignoring old commands for target
out/target/product/hikey960/obj_arm/lib/android.hardware.renderscript@1.0-impl.so.toc’
[ 99% 801/802] glob tools/tradefederation/core/remote/src/**/*.java
[ 1% 1155/78474] Fix manifest: out/target/common/obj/APPS/BasicDreams_intermediates/manifest/AndroidManifest.xml
FAILED: out/target/common/obj/APPS/BasicDreams_intermediates/manifest/AndroidManifest.xml
/bin/bash -c “packages/screensavers/Basic/AndroidManifest.xml out/target/common/obj/APPS/BasicDreams_intermediates/manifest/AndroidManifest.xml --minSdkVersion Q”
/bin/bash: packages/screensavers/Basic/AndroidManifest.xml: Permission denied
[ 1% 1178/78474] target C++: libminui <= bootable/recovery/minui/resources.cpp
ninja: build stopped: subcommand failed.
10:16:19 ninja failed with: exit status 1
failed to build some targets (01:29 (mm:ss))
root@iicbuildsrv37:/samba/iicbuildsrv37/HiKEY960#