• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Volunteers needed to debug NetHunter kernel

Search This thread

Re4son

Senior Member
Aug 8, 2011
57
48
nethunter-git-logo.png

Call for all kernel devs with a Sony Z5 Compact who would like to help out building an official NetHunter kernel for that device.
I've started on a NetHunter kernel with support for HID keyboard and mouse, injection, nexmon, & rtl8812au but the HID patch seems to cause a bootloop (might be something else though). I don't have that device and the person requesting it doesn't have a computer.


I've used the NetHunter kernel-builder:
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel

with this local.config:
https://gitlab.com/kalilinux/nethun....config.examples/local.config.example.suzuran

and with these kernel sources:
https://github.com/Re4son/android_kernel_sony_msm8994/tree/nethunter-14.1

following this guide:
https://www.kali.org/docs/nethunter/nethunter-kernel-1-patching/


We need someone that can rollback our commits and find the one that caused the bootloop (maybe the switch from perf to interactive?) and help fixing the offending commit.

Any help will be greatly appreciated.

Thanks heaps,
Re4son
 

Re4son

Senior Member
Aug 8, 2011
57
48
Just received feedback from the person claiming that it was the HID patch which caused the bootloop; he didn't actually test it and just assumed that the issues were caused by that patch.

I'm pretty sure that it wasn't that patch. This bit of info might open the door to kernel hackers that don't want to play with USB drivers ;)
 

&(*)

Senior Member
May 8, 2020
169
7
If I remember correctly I applied the nexmon patch with nethunter and that's when I experienced problems; more likely that, if the problem isn't fixed yet. BTW, is this Nethunter running a 4.14 kernel in a chroot shell or is this an actual patch to the existing boot.img for 14.1? I can modify the commit, but am unsure how to build an install.(Android SDK)?
 
Last edited:

TRKARTAL

Senior Member
Jun 21, 2017
162
28
İstanbul
If I remember correctly I applied the nexmon patch with nethunter and that's when I experienced problems; more likely that, if the problem isn't fixed yet. BTW, is this Nethunter running a 4.14 kernel in a chroot shell or is this an actual patch to the existing boot.img for 14.1? I can modify the commit, but am unsure how to build an install.(Android SDK)?

kernel version generally doesnt matter. you need to git clone your kernel source and patch then recompile, and you will get Image.gz-dtb or zImage .
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel
 

&(*)

Senior Member
May 8, 2020
169
7
Re4son,
Looking at the kernel builder source ( https://github.com/Re4son/android_kernel_sony_msm8994 ) indicates this is dedicated to certain build versions, am I mistaken ? I tried installing this through the .zip installer for 7.1.2 and notice in prompt that patching the boot fails, but the rest installs. I managed to patch the boot image (https://gitlab.com/kalilinux/nethun...ethunter-devices/-/tree/master/nougat/suzuran) , but am unsure if ramdisk needs other libraries as well or if the kernel does (nexmon-fw & system)? Mainly trying to accomplish manually patching of the kernel and installing the rest with the installer if possible. Please advise as to the proper method to get everything in it's right path for Nethunter to be running correctly.
 

hakimarx

Member
Aug 27, 2009
30
2
nethunter-git-logo.png

Call for all kernel devs with a Sony Z5 Compact who would like to help out building an official NetHunter kernel for that device.
I've started on a NetHunter kernel with support for HID keyboard and mouse, injection, nexmon, & rtl8812au but the HID patch seems to cause a bootloop (might be something else though). I don't have that device and the person requesting it doesn't have a computer.


I've used the NetHunter kernel-builder:
https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel

with this local.config:
https://gitlab.com/kalilinux/nethun....config.examples/local.config.example.suzuran

and with these kernel sources:
https://github.com/Re4son/android_kernel_sony_msm8994/tree/nethunter-14.1

following this guide:
https://www.kali.org/docs/nethunter/nethunter-kernel-1-patching/


We need someone that can rollback our commits and find the one that caused the bootloop (maybe the switch from perf to interactive?) and help fixing the offending commit.

Any help will be greatly appreciated.

Thanks heaps,
Re4son
is this type support nethunter ? i see in wikipedia, suzuran is 3 type = E5803, E5823, SO-02H.
i see in the market, sony xpesia z5 compact is many type like this picture :
121810891-344160253321712-1979314446735458142-n.jpg
 

Top Liked Posts