build pixel 3 android 10 kernel failed

700 views
Skip to first unread message

malware ttt

unread,
Jul 15, 2020, 11:29:39 AM7/15/20
to Android Building
Hello I build the kernel by the link:   https://source.android.google.cn/setup/build/building-kernels

and execution the command :build/build.sh
and then occur the error:

========================================================
 Copying files
ls: cannot access 'arch/arm64/boot/Image.gz': No such file or directory
ls: cannot access 'arch/arm64/boot/dts/qcom/sdm670.dtb': No such file or directory

===========================
what should  I do?

Jiele Ye

unread,
Jun 29, 2021, 7:31:09 PM6/29/21
to Android Building
I've encountered the same info, and the build/build.sh continued to run. At last, i have Image.lz4 in DIST_DIR, but no Image.lz4-dtb.
Any update about this problem?

Droid SMU

unread,
Jul 1, 2021, 2:53:32 PM7/1/21
to Android Building
Hi,

I also observed that my output folder only has Image.lz4 and not Image.lz4-dtb. You can try to point PREBUILT_TARGET_KERNEL to Image.lz4 and recompile the AOSP. It should work.
I was able to flash and boot on a Pixel 3 at my side.
Hope this helps.

Jiele Ye

unread,
Jul 8, 2021, 5:45:48 PM7/8/21
to Android Building

Thans for your reply.
I found Image.lz4-dtb file at $OUT_DIR/private/msm-google/arch/arm64/boot,
and tested with command "fastboot boot Image.lz4-dtb"
BTW: the building command is "BUILD_CONFIG=private/msm-google/build.config.bluecross build/build.sh"
Reply all
Reply to author
Forward
0 new messages