Hello again.
I am building KingK from source, and adding neccesary module support for NetHunter usage.
Mostly just adding HID Gadget patches to USB drivers from here:
https://github.com/pelya/android-keyboard-gadget/blob/master/patches/existing_tested/by-generic-kernel-version/generic_kernel_3.18.patch
I was unable to flash the kernel using Nethunter_Installer:
https://github.com/offensive-security/kali-nethunter/tree/master/nethunter-installer
It built fine, but the kernel installation process was unable to patch the boot block or something along those lines.
So I had the cheating idea to just replace the Image-dtb thats included in your 4.5.1 release with my Image-dtb.
Seemed to go well enough, but then error'd, the, output:
New Image larger than boot partition...aborting.
The compiled image is 28.4MB
The LZ4 compressed image is 14.4MB
Image.lz4-dtb is 22MB
All I have done is added support for Atheros drivers wifi drivers, Realtek, and a few other USB devices.
Ref: https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
I had a much worse fallout when I did the same, replacing ElemX kernel with my Image. Had too fastboot back to recovery wipe system and re-install rom.
I know this has nothing to do with a specific issue with your build. I was just hoping possibly you already knew the answer and could point me in the right direction.
Possibly I am using the wrong toolchains?
As I get warnings to use CLANG that what I am using it obsolete.
Best regards and thank you for your contribution to the internet. Awesome kernel.
edit: also, what commands do you enter after you run make? Do you move the Image.lz4-dtb to AnyKernel and run a command?
Hello again.
I am building KingK from source, and adding neccesary module support for NetHunter usage.
Mostly just adding HID Gadget patches to USB drivers from here:
https://github.com/pelya/android-keyboard-gadget/blob/master/patches/existing_tested/by-generic-kernel-version/generic_kernel_3.18.patch
I was unable to flash the kernel using Nethunter_Installer:
https://github.com/offensive-security/kali-nethunter/tree/master/nethunter-installer
It built fine, but the kernel installation process was unable to patch the boot block or something along those lines.
So I had the cheating idea to just replace the Image-dtb thats included in your 4.5.1 release with my Image-dtb.
Seemed to go well enough, but then error'd, the, output:
New Image larger than boot partition...aborting.The compiled image is 28.4MB
The LZ4 compressed image is 14.4MB
Image.lz4-dtb is 22MB
All I have done is added support for Atheros drivers wifi drivers, Realtek, and a few other USB devices.
Ref: https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
I had a much worse fallout when I did the same, replacing ElemX kernel with my Image. Had too fastboot back to recovery wipe system and re-install rom.
I know this has nothing to do with a specific issue with your build. I was just hoping possibly you already knew the answer and could point me in the right direction.
Possibly I am using the wrong toolchains?
As I get warnings to use CLANG that what I am using it obsolete.
Best regards and thank you for your contribution to the internet. Awesome kernel.
edit: also, what commands do you enter after you run make? Do you move the Image.lz4-dtb to AnyKernel and run a command?