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

[KERNEL] Coconut-Kernel (OOS-Oreo(5.x.x) (Pie test Kernel 9.0.3)

Search This thread

fredrickz

Senior Member
May 27, 2012
68
71
I'm just reminding that OOS 9 Kernel Source is now released

I compiled a pie kernel from stock source. Unfortunately i couldn't test the kernel on my device now. If anyone is willing to test the kernel i can send it to you. If the test results come out good, I'll post it in public. If no one is interested, I'll test the kernel later and post it.

Features added in this version
1 Wifi adapter drivers with monitor mode and packet injection
2 HID support
3 DriveDroid support
4 Westwood tcp congestion algorithm set as default
5 Latest WiFi drivers
All others are stock.
 
Last edited:
  • Like
Reactions: Limitscrw

fredrickz

Senior Member
May 27, 2012
68
71
I'm just reminding that OOS 9 Kernel Source is now released

@fredrickz
Will u release one for pie?

Didn't have one problem, aside from the horrendous Mtp-procedure install on this device(just got a Op3 recently).
Runs smooth, don't drain the battery like many Nethunter kernel from official side.

I hope this will expand in more then just a one-days development, because we need more of user wgo are beginning to programm etc.

I appreciate your effort and wanted to state that this kernel works without 1 flaw whatsoever.. :silly:

Excellent kernel. Super performance and good battery life. I hope you make one for oxygen OS stock pie when it releases.

Got my hands on an Alfa AWUS 036 NEH last week, and I am happy to report that monitor and injection are working just fine.

Bro check your inbox...

Read about the pie kernel update on the above post
 
  • Like
Reactions: Limitscrw

fredrickz

Senior Member
May 27, 2012
68
71
I was able to test the kernel on my friend's phone. It is working fine until now. So I'll post it after testing a cpl of days more.
 
  • Like
Reactions: Limitscrw

Limitscrw

Member
Jan 30, 2012
27
13
Vancouver
HTC One X
Google Nexus 5
Tested the AWUS051NH v2 (Ralink RT3572 chipset) today: monitor mode worked fine, but no packet injection yet.
 

Attachments

  • IMG_1389.jpg
    IMG_1389.jpg
    261.6 KB · Views: 360

fredrickz

Senior Member
May 27, 2012
68
71
Tested the AWUS051NH v2 (Ralink RT3572 chipset) today: monitor mode worked fine, but no packet injection yet.
Edit : rt3572 requires usb 3.0 to work which is missing in oneplus 3 I guess.

Rt 3572 didn't work when I tested. My friend was able to just power it up.
Regarding the pie kernel, monitor mode and packet injection are working fine but there's some problem related to the firewall.
Any Linux guys can help. After creating a n AP using external usb adapter, I cannot ping or access it even though the iptables and nft are disabled. It must be something related to the kernel. I'm investigating it.
I am unable to test it much as i have limited time. Ill post the kernel in the first post today evening and you guys can try it and maybe resolve the issue if you can.
I'll try from my side too.
 
Last edited:
  • Like
Reactions: Limitscrw

Kajzer4321

Member
Apr 21, 2016
9
4
Could you send me kernel in newer state?

I compiled a pie kernel from stock source. Unfortunately i couldn't test the kernel on my device now. If anyone is willing to test the kernel i can send it to you. If the test results come out good, I'll post it in public. If no one is interested, I'll test the kernel later and post it.

Features added in this version
1 Wifi adapter drivers with monitor mode and packet injection
2 HID support
3 DriveDroid support
4 Westwood tcp congestion algorithm set as default
5 Latest WiFi drivers
All others are stock.
Could you send me kernel in newer state?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Coconut Kernel :D
    Just a fancy name. Don't bother...
    Please read the last post for pie kernel update.

    Code:
    ***I'm not responsible for any problems that might occur flashing this kernel or what you do with the kernel support***

    This kernel is only for stock Oxygen OS Oreo 5.x.x or any rom that supports stock kernel

    This kernel was made for my own use as i could not find any working kernel with USB Wifi Adapter drivers supporting packet injection and monitor mode or simply Nethunter support.
    I've been using ZaneZam's kernel for my nougat OOS. Since the Oreo version wasn't working for whatever reason, i tried to compile one my own.
    My sole intention was to create a kernel with USB Wifi drivers and monitor mode/packet injection working. So this kernel doesn't have all those tweaks/options like other great kernels.
    People who want upstreamed kernel with nethunter, drivedroid, android auto and stock features working can use this kernel on OOS Oreo.

    Kernel has been upstreamed to 3.18.134(current)

    Whats working?
    - Stock features
    - DriveDroid(CDROM Patch)
    - USB Wifi adapters with monitor mode/packet injection
    - AndroidAuto

    Tested Working Wifi Adapters
    1. TP Link WN-722N v1 (ath9271 chipset) - all ath9271 chipset should work
    2. Alfa card AWUS036NHA (Atheros ath9271 Chipset)
    3. Alfa card AWUS036NH (Ralink RT3070 Chipset)

    Untested adapters
    All adapters on nethunter support page have been added but not tested.

    Installation
    Download from attachment and flash the kernel zip file from recovery.
    It is recommended to flash stock boot.img before flashing the zip.

    Using USB Wifi Adapters
    1. Reboot the device after flashing the zip
    2. Goto Settings-->Advanced and turn on OTG Storage
    3. Plugin your USB Wifi card and type ifconfig wlan1 up to test.
    Keep in mind that OTG Storage turns off automatically after 10 mins on idle.
    You don't need to insmod any modules as all drivers are built inline with the kernel.

    Credits
    Google
    @ZaneZam for his support
    Anykernel author
    My friend @OscarAkaElvis (author of the great airgeddon tool to audit wireless networks), who tested the beta versions for me.
    @nathanchance for his kernel compile and upstream guide
    @flar2 for his source that i used to learn compiling at first
    All others whose commits i've used

    Source
    https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996
    https://github.com/android-linux-stable/op3

    Additional Note - I would like to mention that you can use tools like LinuxDeploy or other chroot supporting apps and the wifi adapters will work fine just like nethunter.
    If you guys prefer ZaneZam's version, you can flash my kernel and then flash his kernel for oreo. Then everything will work on his kernel too. There is a small fix needed which will be applied on flashing my kernel.
    4
    Hi, I worked as beta tester for this kernel compilation and I must say is the best kernel ever for Oneplus3 I tried (in my opinion). All the standard functions are working flawlessly (wifi, camera, flashlight, etc...). No errors, no glitches. Gestures are working in order to enable camera or flashlight.

    I tested the kernel also using Kali Nethunter, it works like a charm. I also installed a Linux using Linux Deploy app on which everything also was working fine.

    Android Auto is fully working. Tested plugging it into real car (not emulators). Drive Droid is also working allowing to mount the drives without any problem. This is a feature that many custom kernels are not bearing in mind but for some people is an important stuff to be working. I use it every day.

    And regarding the external usb cards. Yes, I tested it using a OTG (On-The-Go) cable. I can confirm that these two chipsets are working. In my case it was not a TP-Link card for Atheros chipset. I tested it using AWUS036NHA (Atheros ath9271 Chipset) Alfa wireless card and it worked very well supporting monitor mode, etc. I also tested it with another Alfa card AWUS036NH (Ralink RT3070 Chipset) and it worked fine too.

    So congratz to de creator. This last month was a hard work. Good job. All the Oneplus3 users (like me) will be very grateful to you because of this.
    4
    Can you suggest me a guide to install kalinethunter? i'm using magisk as root thx

    u maybe can try to use one of my provided nethunter packs from here: https://www.androidfilehost.com/?w=files&flid=151160
    which where done with this: https://github.com/zanezam/kali-nethunter and which has a little troubleshoot section in Readme at the end
    for starting ;)
    3
    I'm just reminding that OOS 9 Kernel Source is now released
    3
    very nice job! My TP-LINK WN722N is working just fine with nethunter!

    Do you think it would be possible to add HID support to this kernel? To be able to execute HID/Bad USB attacks, that would be super cool!

    I'll add that in the next version