ads

Affichage des articles dont le libellé est Hercules. Afficher tous les articles
Affichage des articles dont le libellé est Hercules. Afficher tous les articles

samedi 26 septembre 2015

Help compiling SGH Hercules kernel for porting kali nethunter



Hi everyone!
I own the Samsung Galaxy S2 T989 A.K.A. Hercules
running cm 12.1 unofficial Sultan Hercules based on android 5.1.1 (Lollipop)
which has sultan-kernel-celox.

I am actually trying to port kali nethunter, a set of tools for pentesting (Awesome)
Running Kali linux 2.0 32 bits in my notebook. I have installed all the dependencies described in:
https://github.com/offensive-securit...ting-Nethunter

I am using the next rom:
http://forum.xda-developers.com/gala...eview-t2931716

I also read the Develop Now guide to understand a bit better.

So the problem is when I run the " make" command in the sultan-kernel-celox kernel source directory and using " make Sultan_hercules_defconfig" which is inside /arch/arm/configs .

the error I am getting is:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
/root/arm-stuff/kali-nethunter/sultan-herc/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:989: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

So with my very limited knowledge about development and scripting check the Kbuild file at line 35 but I can't understand, I have also "googled" about the error I am getting but without luck, I also have tried with other sources kernel I have found but it seems to be the same message.

So please help me to figure what am I doing wrong or which kernel source should I use. I hope someone with so much more experience than me would help me with this issue to finally getting the nethunter tools.

Thanks in advance