PDA

View Full Version : Building Nethunter kernel for Mi a2 kernel 4.4



balramrexwal
2020-07-03, 16:56
Hi
I have Mi a2 code name jasmine_sprout rooted.
I want to flash it with compatible kernel that can support HID Attacks
In stock rooted rom , i am unable to see HID interface in Nethunter app.
So i flash it with android 10 rom named as DerpFest but it also wasted.


So, i try to compile the kernel for Nethunter using guide from the link https://www.kali.org/docs/nethunter/building-nethunter/


I try to compile it for both stock pie and android 10.
I am using Kali 2020.2 with all dependency installed for compiling.


Compiling for Android 10.


I use kernel source code from https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/jasmine-q-oss and following steps from https://www.kali.org/docs/nethunter/building-nethunter/
choose the config file "jasmine_perf_defconfig" for building nethunter_defconfig
Got some errors , unable to find it solutions








Compling of android 9 stock rom


I use kernel source code from https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/jasmine-p-oss and following steps from https://www.kali.org/docs/nethunter/building-nethunter/
choose the config file "jasmine_stock_defconfig" for building nethunter_defconfig
unable to patch the kernel from the script build.sh.
On executing kali-nethunter-kernel build script i Got some errors , unable to find it solutions







Please help in compiling kernel for mi a2.
Or if anyone has compile kernel for mi a2 support HID interface, please provide download links.

Arun Biju
2020-07-16, 19:14
Have you tried the new kali kernel builder?

morty luthier
2020-07-30, 03:34
do you have the steps on how to use the kernel builder to build kernel for unsupported devices not listed in Kali Nethunter website ... i'm trying to build a kernel for Samsung device.. this link https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel#building-a-nethunter-kernel-package is not complete

Arun Biju
2020-07-31, 00:25
I built the kernel with this tool maybe i can help

drac13
2020-08-23, 15:53
can any one share a link for nethunter kernel build for unsupported devices