[KERNEL] Coconut-Kernel (Lineage 17.1 - Nethunter Support)(Oneplus 3/3T)

Search This thread

MatLOT

Member
Mar 30, 2021
13
3
i take it when new kernels come out its just a case of sideloading or upload to the internal storage and installing from recovery?
 

fredrickz

Senior Member
May 27, 2012
69
72
i take it when new kernels come out its just a case of sideloading or upload to the internal storage and installing from recovery?
If the kernel you are going to flash is supported for the rom you currently have installed, then it's just a matter of flashing from recovery or from an app. Kernels built by Anykernel preserve root and if you are flashing boot.img, then you need to root again. I rare cases, you need to flash stock boot.img before flashing the new kernel if you run into issues.
I'm happy that you got it working finally after many failed attempts..
BTW, did you flash nethunter rom overlay zip or directly installed nethunter app and installed chroot from sdcard?
 

Epick818

New member
Jun 17, 2016
1
1
HTC Desire 530
OnePlus 3
I have followed this tutorial and I chose option 2 to
"Just download nethunter and NH terminal app from nethunter store and install them. Then download nethunter generic zip from nethunter download page and extract it. You’ll get a zip file with the chroot. Copy that file to the root of sdcard. Then open nethunter app and goto install page and select install from sdcard. If it says file not found, then rename the file to the exact name it searches for and it will install. It will take some minutes to install. After installing, you can start the chroot. That's it."

I downloaded both the nethuntergeneric.zip and the nethunteroneplus3any10kernel.zip
in either i cant find chroot.zip only installchroot.sh is that what I need?

Edit:
I figured it out. The file mentioned above is a file called kalifs-arm64-full.tar.xz

I had to rename it to kalifs-backup.tar.xz and save it to root of emulated/0/ then I installed by pressing kali chroot manager and install from storage. My location was was emulated/0/ as this Oneplus3 doesn't have an sd slot but for other phones the location ends in /SDCard/
 
Last edited:
  • Like
Reactions: fredrickz

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Coconut Kernel for LineageOS 17.1 - With Nethunter Support :D
    Code:
    ***I wont be responsible for any problems that might occur flashing this kernel or what you do with the kernel support***

    I know that the device is pretty old and there may be other kernels available too. But I'm just posting this as i recently compiled it for myself.

    Installation

    Just flash the kernel from recovery.

    You can use this kernel for nethunter functions and other chroot applications like Linux Deploy.
    HID patch and DriveDroid patch is also included.

    Note:- The USB Wifi adapters firmware is also included with the zip and will be automatically installed. No need to use magisk module for installing firmwares.
    I may later post a kernel with nethunter support for Havoc OS too if anyone's interested.

    Source

    https://github.com/xpz3/android_kernel_oneplus_msm8996-2
    2
    Thanks working perfect.Waiting kernel for 18.1...
    1
    Do a wipe. Then install lineage17.1. Flash magisk. Then flash the kernel. Keep in mind that this is only a kernel to support the nethunter functions. So flashing this won't give you nethunter app or chroot. You need to separately flash nethunter rom overlay for your device or manually install nethunter app from nethunter app store and install chroot from inside the app.

    Edit.. I think I misunderstood your question. So you were asking for the nethunter rom flashing bootloop. In that case do a wipe and follow the 2nd method i suggested above. You can also try flashing the generic image available in the nethunter download page if your device specific rom overlay fails.
    1
    From twrp do a complete wipe
    Then copy lineage17.1, gapps, magisk and the desired kernel to sdcard.

    Now, Without restarting in between,

    Flash lineage17.1
    Flash gapps
    Flash magisk
    Flash kernel

    Then restart

    I did these steps on my oneplus 3 and oneplus 3t. First boot will take a bit to complete.

    First try these basic stuff and see if your phone boots ok or not. If it boots, then go ahead and install nethunter.
    1
    Hi, does this kernel work with crdroid 7.15 as well?
    Do a backup of your present kernel, and try this one. But I don't know if it will work, this one is for a10.