OnePlusOSS / android_kernel_oneplus_msm8998

Other
141 stars 107 forks source link

Trying to recompile kernel in order to enable rfcomm support #27

Closed covar2077 closed 2 years ago

covar2077 commented 2 years ago

Hello I'm trying to recompile the android_kernel_oneplus_msm8998 in order to enable RFCOMM support. I have followed the following instrustions: https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel

But when i try to make oneplus5-stock_defconfig i get the following error:

`root@ubuntu-VirtualBox:/home/ubuntu/Downloads/new-kernel/android_kernel_oneplus_msm8998# make oneplus5-stock_defconfig ./scripts/gcc-version.sh: line 25: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory ./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c

configuration written to .config

`

The directory /home/arter97/arm64-gcc/bin/aarch64-elf-gcc doesn't exist on my pc. Have you any idea what am i doing wrong??? Or maybe you could give some instructions how to recompile kernel.