[Android Q&A, Help & Troubleshooting] joelstitch:
5) Run command "make menuconfig"

a) changed hostname to kali

b) Enable loadable module > check Force module loading, module unloading and force module unloading.

c) Network support > Wireless > Check Generic IEEE 802.11 Networking Stack (mac80211)

d) Device Drivers -> Network Device Support -> Wireless LAN > make the changes mentioned on the Modifying the Kernel github. Basically I just checked the ones for mac80211 and a few others.

e) Networking Support > Bluetooth subsystem Support > Bluetooth Device Drivers > Check HCI USB driver, HCI BCM203x USB driver, HCI BPA10x USB driver and HCI BlueFRITZ! USB driver

f) Save the config file as arch/arm64/configs/kali_defconfig

rw@rw:~/Desktop/android/nethunter/kernel$ make menuconfig
HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:52:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:52:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:52:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:52:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:55:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:2:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:2:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:2:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3508/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3508/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3508/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3508/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:3:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:3:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:3:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3320/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3320/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3320/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3320/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:4:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:4:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:4:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3706/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3706/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3706/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S3706/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:5:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:5:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:5:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S4322/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S4322/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S4322/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S4322/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S4322/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:6:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/TD4310/Kconfig:1:warning' ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/TD4310/Kconfig:2:warning' ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/TD4310/Kconfig:3:warning' ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/TD4310/Kconfig:4:warning' ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/TD4310/Kconfig:4:warning' ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:7:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:8:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:8:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/Kconfig:8:warning: ignor'ng unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S1302_virtal_key/Kconfig'4:warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S1302_virtal_key/Kconfig'6:warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Synaptics/S1302_virtal_key/Kconfig'7:warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:59:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Goodix/Kconfig:2:warning: ignoring'unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Goodix/Kconfig:3:warning: ignoring'unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:63:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/Kconfig:2:warning: ignoring 'nsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/Kconfig:2:warning: ignoring 'nsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/Kconfig:2:warning: ignoring 'nsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:4:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:6:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Focal/FT8006/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:67:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:3:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:3:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:3:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36525/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36525/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36525/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36525/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36525/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:4:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:4:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/Kconfig:4:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:4:'arning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:6:'arning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:7:'arning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:7:'arning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:7:'arning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:11'warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:13'warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:14'warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:14'warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Novatek/NT36672_noflash/Kconfig:14'warning: ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/Kconfig:2:warning: ignoring 'nsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/Kconfig:2:warning: ignoring 'nsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/hx83112b/Kconfig:4:warning: 'gnoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/hx83112b/Kconfig:6:warning: 'gnoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/hx83112b/Kconfig:7:warning: 'gnoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/hx83112b/Kconfig:7:warning: 'gnoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Himax/hx83112b/Kconfig:7:warning: 'gnoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:75:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/Kconfig:2:warning: ignorin' unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:4:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:6:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Samsung/S6SY761/Kconfig:7:warning:'ignoring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/Kconfig:79:warning: ignoring unsup'orted character '
drivers/input/touchscreen/oneplus_touchscreen/St/Kconfig:2:warning: ignoring uns'pported character '
drivers/input/touchscreen/oneplus_touchscreen/St/Kconfig:2:warning: ignoring uns'pported character '
drivers/input/touchscreen/oneplus_touchscreen/St/Kconfig:2:warning: ignoring uns'pported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:4:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:6:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:7:warning: ig'oring unsupported character '
drivers/input/touchscreen/oneplus_touchscreen/St/fst1ba90a/Kconfig:7:warning: ig'oring unsupported character '

CONTINUE ON POST 3