yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 & 7 Pro Cross Device Development] cmdnctrl:
How can I compile kimocoder's kernel? Will this work on OOS android 11?

Edit: I tried the nethunter installer but it errors out with a 502 trying to fetch the NetHunterPrivilegedExtension.apk

nethunter-installer · master · Kali Linux / NetHunter / Build-Scripts / kali-nethunter-project · GitLab

Starting point

gitlab.com

This is the build command I tried

~/kali-nethunter-project/nethunter-installer$ ./build.py -d oneplus7-oos --eleven

Edit 2:

OK so I found a copy of the nethunter APKs online and put it in the installer folder shown in the error message I got before. Build OK after that but flashing the full install stated that flashing kali on this device was unsupported and I should use magisk.

Retried the build with -k to build only the kernel and that seemed to have flashed fine but the phone now only boots to the qualcomm crashdump mode.
[OnePlus 7 & 7 Pro Cross Device Development] negalol:
Find in github Kimocoder's kernel , and there in the folder u could open fully complied kernel as zil archive.
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
So now I'm having trouble with the duckhunter attacks. It's posting SCRIPT fine, but no special keys like GUI or ENTER. Any ideas?

Update: I'ved reflashed NH, and niw ducky works, but I've lost rtl88xx external wifi, though my other two alfa adapters work. PS: I also flashed neternals kernel, any recommendations for a decent kernel
[OnePlus 7 & 7 Pro Cross Device Development] andrewidd:
Anyone have a kernel for Oneplus 7t pro (oos10) with a working packet injection?

Monitor mode works with wifite.

Maybe because the small hardware difference compared to Oneplus7 ?
[OnePlus 7 & 7 Pro Cross Device Development] skilfulwriter:
一加七中你是如何使用docker的？我在XDA上安装了上面的内核！仍然无法启动docker
[OnePlus 7 & 7 Pro Cross Device Development] skilfulwriter:
installed cyberknight777'
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
It is compatible with Android 11, what I did is git cloned the source then built it the way that you did but I added in --fs full. Also install nethunter with magisk then go into TWRP to flash the built kernel. I can also confirm that this works on lineage 18.1 with microG
[OnePlus 7 & 7 Pro Cross Device Development] wildkarde:
I admit it's been a while since I modded a device with a custom ROM or used Linux based code. That being said...

I'm running a similar setup:

OnePlus 7 Pro (GM1917)

OxygenOS 11.0.9.1

nethunter 2022.3

Kernel 4.14.190-ElementalX-OP7-3.03

#1 Mon Apr 4 19:14:57 EDT 2022

So I updated to ElementalX 3.03 but I can't seem to map my headers so I can install drivers and other modules.

Back when I was pentesting with bactrac I became familiar with the tools and I guess I missed a few linux lessons.
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
So I'm on Android 11 on a GM 1917 using Kimecoder kernel that comes from the nethunter site and after flashing at my fingerprint no longer works, any ideas?
[OnePlus 7 & 7 Pro Cross Device Development] wildkarde:
I had this issue with my initial attempt to root. Check if you flashed the wrong rom image for the gm 1917. I believe the 7 and 7pro is a different image as well as global/India vs EU versions.
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
So what I've done here is that I flashed the newest lineage for microG over the newest GM 1917 Android 11 update from OS and now I'm attempting to install nethunter on top of that
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
So what I have done here is install the newest a11 from oos and then flash the newest lineage 18.1 for microG and now attempting to install netHunter on top of that
[OnePlus 7 & 7 Pro Cross Device Development] wildkarde:
Just verify the new images match the format for your device and reflash.
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
Would it matter that I'm installing nethunter for oss 11 instead of for los 18.1?
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
Would it matter thatI'm installing nethunter for oos 11 instead of los 18.1?
[OnePlus 7 & 7 Pro Cross Device Development] wildkarde:
The OS rom, NH image and kernel all need to match.
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Let's get st8 the point does postgreqsl work
[OnePlus 7 & 7 Pro Cross Device Development] hf206:
Hello, I get an oneplus 7 model GM9100 with android 11 / oxygenos 11.0.11.GM57AA.

As it is already with android 11, I think it is not recommended to try to downgrade (I want to get the easiest and secure path to get a full nethunter working).

But as it seems to be a China model , could you please confirm that Nethunter will work as it is the case on EU model.

I ask the question because I see written somewhere that twrp is designed for EU MODEL ONLY.

Thanks.
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Let's get st8 the point does postgreqsl
[OnePlus 7 & 7 Pro Cross Device Development] hf206:
Another question, staying with android 11, can we use directly the full eleven image with this installation guide without adding any specific kernel (as it should be integrated inside the full image ?
[OnePlus 7 & 7 Pro Cross Device Development] hf206:
I've downgrade to A10 and complete the step 1 of Nethunter installation process.
[OnePlus 7 & 7 Pro Cross Device Development] hf206:
I've new questions : can we use the last twrp and magisk release (and not use the specified ones) ?
[OnePlus 7 & 7 Pro Cross Device Development] hf206:
I've tried to use the lastest release and install Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip. Everything to be ok but after rebooting to system I get a spinning logo :(

Edit : FInally get nethunter working. But not following official procedure
[OnePlus 7 & 7 Pro Cross Device Development] thebitjuggler:
You should be able to get Nethunter with the Cyberknight 777 kernel to run. I changed my HD1907 - T-Mobile firmware to Global Firmware. As far as I'm aware, China, US and India run Global firmware, where Europe runs European Firmware. You can convert it from European to Global firmware as well I believe.
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
A9 Kernel Available?
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
i had to find a msm recovery for my phone whats ur model number
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
oneplus 7 pro droid 10.0.02 GM21AA magisk 25.2 nethunter 2022.3 now updated to 2022.4, does anyone have a safteynet pass up there sleeve, ive gooogle used multiple standard workarounds any help would be greatly appreciated
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Did u get nethunter 11 working or 10, I couldn't find a kernel for 11 so I stuck with 10 and can't pass a safety check
[OnePlus 7 & 7 Pro Cross Device Development] ahmedkasem:
Hello all

I did the same as in the first thread

I installed stock rom android 11

Then I did

~~ How to Install ~~

- Copy twrp, magisk, Disable_Dm-Verity_ForceEncrypt & NetHunter image to USB-C drive

- Flash TWRP, reboot into TWRP, insert USB drive, flash twrp zip

- Reboot into recovery & format data

- Install “Disable_Dm-Verity_ForceEncrypt” & Magisk

Reboot to system & finish Android setup

Reboot into TWRP

Install NetHunter Image

It gave me an error

I re-installed kalinethunter again and it gave me an error

I restarted the phone and opened to the normal Oxygen OS.

What do i do to install kalinethunter
[OnePlus 7 & 7 Pro Cross Device Development] edong23:
mine was having the same error, nethunter zip wont install in twrp. so i downloaded nethunter store, installed nethunter and downloaded all chroot. reboot to twrp and flash kernel. Im using gm 1925 debranded to eu 00S10
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Look I havents installed on 11 yet I've installed on 10 no disrespect here but I couldn't use this install guide on page 1 I had to download everything from page one, google foo a kernel for os 10 then use installer guide on Kali's wedsite I haven't found a kernel for os 11
[OnePlus 7 & 7 Pro Cross Device Development] ahmedkasem:
Thank you I installed Android 10 And it worked
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
No sweat I'd like to try 11 I haven't found a kernel if I do I'll let ya know
[OnePlus 7 & 7 Pro Cross Device Development] edong23:
I think it's working great in A12 (Custom Rom). I'm not an expert and haven't tried all the tools because I honestly don't know how they function yet. but duckhunter hid working great and tried android pin bruteforce and its working.

Files attached in case you want to try.

Credits to @cyberknight777 for the kernel and module

Note:

1. Flash the nethunter op7 v4 in FKM

2. Flash nethunter op7 v4 module in Magisk

3. I put hid keyboard in /data/local/tmp and set permission to 0755. (not sure why but xbin folder is missing -where hid keyboard should be installed after flashing the magisk module). just rename the file and remove .txt

Don't blame me if you brick your phone.
[OnePlus 7 & 7 Pro Cross Device Development] RolandStoner:
Ive never needed to flash anything for nethunter to work without issues on this device.

Nethunter store apk from offensive securiity > chroot install > nethunt

I flashed all the packages above and they seem to work just as well, id like to know more about how the module was made 🤔
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
is the module the kernel???
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
installing via terminal isnt the same as installing via flashing thru bootloader postsql doest work there are other features on OS 10 that do not work
[OnePlus 7 & 7 Pro Cross Device Development] RolandStoner:
Mine work just fine
[OnePlus 7 & 7 Pro Cross Device Development] edong23:
I'm not really an expert about kernels and modules brother. Only Cybernight can answer that.

no brother, they are not the same
[OnePlus 7 & 7 Pro Cross Device Development] RolandStoner:
Im growing to hate the android build process. It could be wayyyyyyy less complicated imo
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
fam its a passion ill never grow tired of the thats all the fun
[OnePlus 7 & 7 Pro Cross Device Development] RolandStoner:
Heard that 🤙
[OnePlus 7 & 7 Pro Cross Device Development] ahmedkasem:
Hello What is the solution usb arsenal field to function
[OnePlus 7 & 7 Pro Cross Device Development] illosh:
Give a link to download please, it does not swing from the header
[OnePlus 7 & 7 Pro Cross Device Development] thorleyp:
Hello all,

Has anyone got a kernel for the OnePlus 7 Pro 5G that will work with nethunter?

All the ones i have tried fail to boot.
[OnePlus 7 & 7 Pro Cross Device Development] thebitjuggler:
Did you use the CyberKnight kernel? It works on both OnePlus 7 and OnePlus 7T. Don't have a OnePlus 7T Pro 5G so can't test it on that. Also have found that on European phones I have to use Franco Kernel Manager to flash it. Keep to Android 11 on OnePlus 7T Pro.
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Yes the one I found I believe is for droid 10 I'm trying to find one for 12
[OnePlus 7 & 7 Pro Cross Device Development] thorleyp:
Yeah I'm on A10 but can't get a kernel that will boot after flash :(
[OnePlus 7 & 7 Pro Cross Device Development] thebitjuggler:
The kernel is not the problem for the guy who wants to use NetHunter on Android 12. I’ve flashed CyberKnight’s kernel successfully on A10, A11 OP7 and OP7T. There is no Android NH for OP7 Android 12.

Which kernel’s did you try? Are you on a European or Global phone?
[OnePlus 7 & 7 Pro Cross Device Development] e1tex:
Hi, I've got OnePlus 7T, OOS 11, kali 4.14.190-perf+ kernel. External adapters aren't working with this kernel. I've found kimocoder kernel(r-11.0 branch) and i can't compile it myself(

rint >> sys.stderr, line,

~~~~~~^^~~~~~~~~~~~

TypeError: unsupported operand type(s)

)

I think it's using python2..

I have not been able to find already compiled kernels for oos11. can anyone help? Does anyone have links to already compiled kernels for my system? Thank you!
[OnePlus 7 & 7 Pro Cross Device Development] thebitjuggler:
Depending on the model I wouldn't use Kimocoder's kernel. I recommend Cyberknight's kernel. It should work from the start after you have flashed it. If you cannot get it to work, I would recommend that you install the WiFi Firmware module for Nethunter using Magisk.
[OnePlus 7 & 7 Pro Cross Device Development] innerfrost:
Hello, I have OnePlus 7 pro, I install kernel and nethunter, but internal packet injections won't work, any suggestion?
[OnePlus 7 & 7 Pro Cross Device Development] MosesByTheSea:
Hello folks,

I have Kali Nethunter installed on top of OxygenOS 11 (Android 11) on a Oneplus 7 Pro , with the Sept. 2022 security updates. Are there any implications for using this phone as a daily driver? or would it be better to simply flash an Android 13 ROM (such as PixelExperience for Oneplus 7 Pro), make a TWRP backup of it, and when I need to use Kali Nethunter, I would flash the backup of the working PixelExperience ROM? If you guys have experience with this specifically (restoring an Android 11-based TWRP backup on a phone running Android 13), please let me know. Thank you for your assistance and guidance. Have a wonderful day!
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Okay so saving twrp and reinstall iOS 10 or 11 on the fly I don't see working, however you can get dualboot and set one part of your storage as one OS and the rest another OS Someone chime in if I'm wrong I tried it didn't have much success with dual boot but I didn't put a dedicated month on it hope this helps
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
I meant if u have 13 OS and 11 OS twrp saved switching back and forth that's where dual boot comes in
[OnePlus 7 & 7 Pro Cross Device Development] akili999:
When I enter msfconsole on the command line, I get the following error and cannot use metasploit. Is anyone experiencing the same problem? How to fix this error?
[OnePlus 7 & 7 Pro Cross Device Development] ghost9640:
Throw commands to start kex. Open a command prompt on KALI start msf there I tried it threw me same error, but until you asked I only used msf in KALI directly I only use terminal in Android for updating
[OnePlus 7 & 7 Pro Cross Device Development] AeonAnonymous:
So I'm on OP7pro on OOS android 11 w/ nethunter installed. I'm using cybernight's kernel and everything works great except my external wifi adapter. i've installed the firmware for the adapter (rtl88xxau for the alfa awus036ach). lsusb sees it but iw dev nor ifconfig no ip a sees it, ive also tried installing the magisk module for nethunter wifi adapters and nothing. any ideas? so when i use kimocoder's kernel it works, but i don't want to use that kernel because that kernel breaks my phone's fingerprint reader. thx in advance
[OnePlus 7 & 7 Pro Cross Device Development] covar:
Hello i'm new to this thread. I just purchased OP7 pro and i have installed nethunter with the latest android 10. Does anyone have install nethunter with the latest stock OS android 11 ??????????

Also wlan0 supports monitor mode. Does anyone managed to enable packet injection for wlan0 ????
[OnePlus 7 & 7 Pro Cross Device Development] ahmedmohamed55:
What is the solution when you choose the script that gives this error?
[OnePlus 7 & 7 Pro Cross Device Development] tiagojpavan:
Hi there! Did you know if this CyberKnight kernel works on OP7 pro with Android 11?

Im asking because my OP have almost everything works but 5G on wifite, and I think its something related to the kernel.

EDIT: Ok, as theres no answer, ive decided to install this kernel to see if it works, but no.
[OnePlus 7 & 7 Pro Cross Device Development] tiagojpavan:
Hi AeonAnonymous , how u doing? I have the exact same hardware as you, and installed Nethunter on it eventually many times until I get the correct way to install it and everything works great for me now, only the internal wifi adapter wont scan 5G APs over wifite, so I decided to try this kernel (CyberNight's one) and after this wifi monitor function on my onboard wifi adapter stops work, so Ive installed everything again but the CyberNight kernel, and all good again but the 5G scanning on wifite. Maybe your problem is something related to kernel?
[OnePlus 7 & 7 Pro Cross Device Development] ahmedmohamed55:
لا يمكنني تثبيت Dealer Android 12 على OnePlus 7Pro Android 10
[OnePlus 7 & 7 Pro Cross Device Development] ahmedmohamed55:
Can I install kernel su? Will it change the kernel?
[OnePlus 7 & 7 Pro Cross Device Development] negalol:
what do u mean ?
[OnePlus 7 & 7 Pro Cross Device Development] ahmedmohamed55:
يعني إذا قمت بتثبيت النواة su فإن النواة الموجودة في الصورة المرفقة ستتغير
[OnePlus 7 & 7 Pro Cross Device Development] Remaker666:
I have this problem on oneplus 7 pro oos10. I tried everything but can't get internal Bluetooth to work on Kali nethunter.Hope everybody help me. Tks .
[OnePlus 7 & 7 Pro Cross Device Development] maroefi:
I have this extremely persistent error when I try to install drivers for external wifi-cards. Always: ''/lib/modules/4.14.190-perf+/build: No such file or directory. stop.

I use OP 7 Pro

I see that you guys are using some different kernels. I'd like to try them out until I can finally install a driver. Do I have to redo the whole process until I have to install the kernel or do I just download them in .zip and manual flash them on FKM over the already existing kernel
[OnePlus 7 & 7 Pro Cross Device Development] Zhuger:
Greetings to all. I have OnePlus7pro GM1915 with OOS 10.3.8. twrp installed-3.4.0-10- guacamole-unified-Q-mauronofrio. Magisk 27.0. The Disable_Dm-Verity_ForceEncrypt_11.02.2020 patch is installed. Nethunter-2022.4-oneplus7-oos-ten-kalifs-full is installed from the official website. Works: Built-in WiFi in monitor mode without injections. An external USB adapter on the RTL8812AU chipset with package injections. Bluetooth arsenal on the built-in adapter. HID . After installing Airgeddon or the everything meta package, Metasploit breaks. Someone has already written about it above. Tell me, someone managed to install nethunter-2024.1-oneplus7-oos-eleven-kalifs via TWRP. During installation, it writes that there is not enough space in the SYSTEM section. You can only change the size of the SYSTEM up to TWRP version 3-4-0. In the latter, SYTEM is not mounted.
[OnePlus 7 & 7 Pro Cross Device Development] UsPdSr:
Obviously has the "official" build some bugs.Right. :)

---------- Post added at 02:54 AM ---------- Previous post was at 02:50 AM ----------

I merely want to provide a alternative to the 'official' ones.

5 user wrote about massive bugs; this can be viewed as summary in the issue section.

PS

[MENTION=4466410]joelstitch[/MENTION]

Androidfilehost is a slow fella.

I'm at ~48 % of ~ 1,3 GB. ;)

After 20 Minutes, did I change the server.

Here you go:

-removed-
[OnePlus 7 & 7 Pro Cross Device Development] joelstitch:
Do I just flash it over what I have or do a fresh install?
[OnePlus 7 & 7 Pro Cross Device Development] UsPdSr:
Oh, I take this already as granted..

You have to wipe and format your device, backup those files that are important for you and then set OOS new up.
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
The TL-WN722N is working fine when connected via a single USB A to USB-C adapter. Multiport adapters are still a sticking point and a bit of a hit and miss at the moment.

https://re4son-kernel.com/downloads/pictures/Screenshot_20191008-173149.jpg
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
You certainly can. Let me know if you have any problems.

---------- Post added at 07:29 PM ---------- Previous post was at 06:49 PM ----------

Thanks for that. Could you please try this image?

https://build.nethunter.com/contrib...nter-oneplus7-oos-pie-kalifs-full-2019.3a.zip

Many thanks.
[OnePlus 7 & 7 Pro Cross Device Development] joelstitch:
I tried 2 different USB A to USB C adapters. What adapter are you using? The ones I have work with no issues when I use USB drives with them.
[OnePlus 7 & 7 Pro Cross Device Development] UsPdSr:
You can recycle those useless adapters, joelstitch.

I have ~ 10 MicroUSB and Usb-C adapter and those asia gadgets are highly unstable and the only applicability is to tinker in the trash.

If you are going for a loose connection and pretty well made USB-C slot damages , then you are on the right path.

--

Stay away from any "MIcro" USB-adapter, guyz & galz, plz..

The following are reliable, of very good quality and over the years have I read here and there, that those two including one from Amazon, which I am now to lazy to also link.And no, I don't get any money from them, unfortunately.

Google's home made

https://store.google.com/product/usb_type_c_to_usb_standard_a_adapter

The legend, Anker

https://www.amazon.de/Anker-Weiblich-Verwendet-Technologie-ChromeBook-Schwarz/dp/B01COOQIKU

I have a couple Ralink Nano Wlan adapter, which I connect via a proper Micro adapter from timd to time.

Don't use those adapter.

I do this a couple of years and can honestly say that it is risky and long-term broken [MENTION=460765]usb[/MENTION]-C slot/0,0001 yen adapter/nic.

[MENTION=4207992]Re4son[/MENTION] It is nice to see that the wireless patch worked and the driver loadable are, but a second view illustrates the lack of information, which this post provided. ;/ (see above)

Annotation

OT² - I compiled after a couple of days a new Nethunterfied kernel for the Nvidia Shield K1 tablet o/
[OnePlus 7 & 7 Pro Cross Device Development] joelstitch:
I just ordered the Anker one you suggested. So I'll have a brand new USB-c to USB 3 adapter and a brand new USB wireless adapter. I'll update once I receive the new USB adapter.

I can get a better wlan adapter later but it's besides the point if it's good or not, the issue is that none of my 2 Alan adapters that are compatible with Kali are not being read.
[OnePlus 7 & 7 Pro Cross Device Development] UsPdSr:
The TP-Link didn't work after all?

>> I would first reassure that the kernel works, before purchasing various items.. :/

I hope for the best..which adapter did you choose?

Edit. Exactly.
[OnePlus 7 & 7 Pro Cross Device Development] joelstitch:
I haven't tried the image you uploaded. I won't be able to until later tonight since I gotta backup and reset up my phone. I need it working for work so didn't want to mess with it before going to work today.
[OnePlus 7 & 7 Pro Cross Device Development] UsPdSr:
Dito.

Maybe wait until you receive the goods and look over all into the gitlab repo, specifically the issue section..

https://gitlab.com/groups/kalilinux/nethunter/build-scripts/-/issues
[OnePlus 7 & 7 Pro Cross Device Development] fowler82:
Hey thanks for the hard work that one flashed with no problem I will let u no if the adapter s or working. I got 4 r 5 different ones
[OnePlus 7 & 7 Pro Cross Device Development] maxynorbi:
Hi , i cant get my external wireless antenna to work.

Alfaawus036nh

ht tps. :/ /pasteboard.co m/IB2Yor8 .jpg

bought today a usb c, micro usb adapter ,may be it causes the error. Got 2 different otg cable . I was able to use my wifi adapter on my nexus 6. Light is on . Lsusb shows the device. Any suggestion please?
[OnePlus 7 & 7 Pro Cross Device Development] akhilarora666:
Hey. This might be a noob doubt, but what are all these custom update imeages im seeing in the comments? Does the one on nethunter website not work properly? Should i install just the update images or first install the original and then the update?
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Not sure; sorry for that.

This threat is supposed to be about the official NetHunter image. It works properly and we can only provide support if you use the one from the Offensive Security website.

There is no reason to not stick with the official one.
[OnePlus 7 & 7 Pro Cross Device Development] joelstitch:
It did not work for me. Kept giving me error 1 and cancels the installation
[OnePlus 7 & 7 Pro Cross Device Development] Armaty:
Screenshots pls. ?