Errors compiling Liquid Z530 kernel

Nonta72
Nonta72 Member Posts: 4 New User

I downloaded Acer Liquid Z530 kernel source code from the support section.

I followed the steps in the README file and have compiled a kernel with DT2W drivers (DoubleTap2Wake) so that I can just double tap screen to unlock it instead of drawing "I".

The problem is that it failed to boot, bootloop...I flash my stock backup with SPFT to unbrick it.

I then started from scratch and have compiled the kernel without the DT2W drivers. Weirdly device failed to boot again.

I flashed back to stock and used a different toolchain this time: I used UBERTC toolchain (tried both ARCH=arm and ARCH=arm64). This time compiling failed even if I followed steps in the README file.

Here's the most recent attempt compiling log:

 

Spoiler
nonta72@HaswellGT2:~$ cd android
nonta72@HaswellGT2:~/android$ cd kernel
nonta72@HaswellGT2:~/android/kernel$ ARCH=arm64 CROSS_COMPILE=~/aarch64-linux-android-5.3-kernel/bin/aarch64-linux-android- make cci6735_65u_l1_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
nonta72@HaswellGT2:~/android/kernel$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

nonta72@HaswellGT2:~/android/kernel$ make -j2
scripts/kconfig/conf --silentoldconfig Kconfig
make: aarch64-linux-android-gcc: Command not found
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
WRAP arch/x86/include/generated/asm/clkdev.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC scripts/mod/empty.o
/bin/sh: 1: aarch64-linux-android-gcc: not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_64.h
nonta72@HaswellGT2:~/android/kernel$

 

Note that the above error occurs with Google's arm ant arm64 (GCC 4.8) toolchain too! as well as NDK toolchains.

Thank you in advance for any help Smiley Happy