[ROM] [Official] Kali NetHunter for the OnePlus 7 & OnePlus 7 Pro

Search This thread

tsu_rugi

Member
Jul 5, 2022
7
4
Sorry , not kernel.zip -> dm.zip
Thank you so much.
I have managed to install dm.zip with your method without errors.
And then i have installed kernel, but i have another issue now.
When i'm trying to install nethunter image, i'm receiving "not enogh space on /system"
I already looked how can i fix this, with resizing system partition.
But resizing is only aviable for twrp 3.4 and below, but i have twrp installed 3.6.2, and any of other versions of twrp (including unofficial ones) does not booting on my phone. It just stuck at "Fastboot mode" logo.

How can i extend system partition?
 
  • Like
Reactions: negalol

negalol

Member
Jan 8, 2021
21
4
Thank you so much.
I have managed to install dm.zip with your method without errors.
And then i have installed kernel, but i have another issue now.
When i'm trying to install nethunter image, i'm receiving "not enogh space on /system"
I already looked how can i fix this, with resizing system partition.
But resizing is only aviable for twrp 3.4 and below, but i have twrp installed 3.6.2, and any of other versions of twrp (including unofficial ones) does not booting on my phone. It just stuck at "Fastboot mode" logo.

How can i extend system partition?
try to install DM + Kernel , and F-Droid Application .
There u can download Nethunter App , and than install manualy the full chroot from app.
 

C666PO

Member
Jan 9, 2020
13
2
Hello,

I'm having issues installing Nethunter.

I have the last Android version 11.0.8.1
Oneplus 7 Pro GM1913

- Msm tool to go back to stock.
- I unlocked the bootloader (fastboot oem unlock, phone wiped)
- Enabled USB debugging mode again.
- fastboot boot twrp-3.6.2_11-0-guacamole.img
- adb sideload twrp-3.6.2_11-0-guacamole.zip
- rebooted to system and then to recovery to check everything was ok.
- Tutorial said to format data ( Wipe -> format data -> yes ) doing this i got this message in the middle of the logs:

"TWRP will not recreate /data/media on an FBE device. Please reboot into your rom to recreate /data/media"

- Rebooted to system as the message request and it recreated the folders and i could copy files to the internal storage once again.
- Rebooted to Recovery TWRP and installed Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip and Magisk-v19.3.zip.

- At this point the guide said to reboot to system to finish the setup but never got into the system, instead i get this message:

"Qualcomm CrashDump Mode

Attempted to kill init! exitcode=0x0000000b

do_exit"

Is anyone able to help me ?

With thanks and regards,
 
  • Like
Reactions: ghost9640
I'm on draco's a10 kernel and everything seems to work except when i run 'sudo hcxdumptool -i wlan1mon --enable_status=3' it produces an error about failed init socket: any ideas?
Screenshot_20220707-160627.jpg
 

negalol

Member
Jan 8, 2021
21
4
Hello,

I'm having issues installing Nethunter.

I have the last Android version 11.0.8.1
Oneplus 7 Pro GM1913

- Msm tool to go back to stock.
- I unlocked the bootloader (fastboot oem unlock, phone wiped)
- Enabled USB debugging mode again.
- fastboot boot twrp-3.6.2_11-0-guacamole.img
- adb sideload twrp-3.6.2_11-0-guacamole.zip
- rebooted to system and then to recovery to check everything was ok.
- Tutorial said to format data ( Wipe -> format data -> yes ) doing this i got this message in the middle of the logs:

"TWRP will not recreate /data/media on an FBE device. Please reboot into your rom to recreate /data/media"

- Rebooted to system as the message request and it recreated the folders and i could copy files to the internal storage once again.
- Rebooted to Recovery TWRP and installed Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip and Magisk-v19.3.zip.

- At this point the guide said to reboot to system to finish the setup but never got into the system, instead i get this message:

"Qualcomm CrashDump Mode

Attempted to kill init! exitcode=0x0000000b

do_exit"

Is anyone able to help me ?

With thanks and regards,
something wrong with kernel , try to install magisk after 22.1 and use right kernel.
Could u send a screen about which kernel do u install ?
 

C666PO

Member
Jan 9, 2020
13
2
something wrong with kernel , try to install magisk after 22.1 and use right kernel.
Could u send a screen about which kernel do u install ?
Hi Negalol,

Thank you so much for your answer.
I'm downloading Magisk 25.1 and i'll try to process again.

I have the OnePlus 7 Pro EU OxygenOS 11.0.8.1 and i want to install nethunter-2022.2b-oneplus7-oos-eleven-kalifs-full.zip. Kernel version 4.14.190-perf+(stock rom)

I don't really understand your question about the kernel i'm trying to use.

I hope this is what you requested. If it's not, let me know and i'll do my best to get you the information you need.

--------------------------------------------------------------------------

I did the whole process again, with magisk 25.1 i can boot to system, more or less. There's no Qualcomm crash error, but it stays in an infinite loop. It's been 20 minutes, i see the loading screen turning but it stays like that forever.

---------------------------------------------------------------------------

I did another test. I tried to install Kali with twrp even if the system was on the loop.

Installation failed Error 1, insufficient space on the system partition.

With thanks and regards,
 
Last edited:

negalol

Member
Jan 8, 2021
21
4
Hi Negalol,

Thank you so much for your answer.
I'm downloading Magisk 25.1 and i'll try to process again.

I have the OnePlus 7 Pro EU OxygenOS 11.0.8.1 and i want to install nethunter-2022.2b-oneplus7-oos-eleven-kalifs-full.zip. Kernel version 4.14.190-perf+(stock rom)

I don't really understand your question about the kernel i'm trying to use.

I hope this is what you requested. If it's not, let me know and i'll do my best to get you the information you need.

--------------------------------------------------------------------------

I did the whole process again, with magisk 25.1 i can boot to system, more or less. There's no Qualcomm crash error, but it stays in an infinite loop. It's been 20 minutes, i see the loading screen turning but it stays like that forever.

---------------------------------------------------------------------------

I did another test. I tried to install Kali with twrp even if the system was on the loop.

Installation failed Error 1, insufficient space on the system partition.

With thanks and regards,
Heya, try to install Kimocoder 's kernel , and than flash Nethunter, or try to use Android 10 OOS or ROS

u could resize system part by twrp
 

cmdnctrl

New member
Jul 21, 2022
1
1
Heya, try to install Kimocoder 's kernel , and than flash Nethunter, or try to use Android 10 OOS or ROS

u could resize system part by twrp
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


This is the build command I tried
Code:
~/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.
 
Last edited:
  • Like
Reactions: negalol

negalol

Member
Jan 8, 2021
21
4
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


This is the build command I tried
Code:
~/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.
Find in github Kimocoder's kernel , and there in the folder u could open fully complied kernel as zil archive.
 
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
 
Last edited:

andrewidd

New member
Nov 5, 2010
1
0
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 ?
 

skilfulwriter

Member
Jun 28, 2019
23
1
奇怪的。对我来说,在刷新该内核后它不再启动。
即使我单击开始,除了快速启动外,其他任何地方都没有。也不是只恢复fastboot
设备:一加 7 pro 全球机型。
内核闪存之前 1. 恢复设置,格式化数据,重新启动恢复。2 闪存 dm verity 然后闪存 magisk/重新启动,通过设置然后返回恢复。3. 闪卡利网猎人。重启。运行 nethunter 应用程序,在应用程序中更新。4.闪存内核。
任何步骤我搞砸了?我想在 dmverity 和其他拉链嵌入 magisk 时安装 magisk 是一个想法
错误声明“在 docker 中使用 ubuntu 映像时手机启动崩溃转储”是否意味着它需要一个新的 bootanimation.zip 才能正常启动?
一加七中你是如何使用docker的?我在XDA上安装了上面的内核!仍然无法启动docker
 
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


This is the build command I tried
Code:
~/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.
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
 

wildkarde

Member
Aug 30, 2022
5
1
OnePlus 7 Pro
Hi Negalol,

Thank you so much for your answer.
I'm downloading Magisk 25.1 and i'll try to process again.

I have the OnePlus 7 Pro EU OxygenOS 11.0.8.1 and i want to install nethunter-2022.2b-oneplus7-oos-eleven-kalifs-full.zip. Kernel version 4.14.190-perf+(stock rom)

I don't really understand your question about the kernel i'm trying to use.

I hope this is what you requested. If it's not, let me know and i'll do my best to get you the information you need.

--------------------------------------------------------------------------

I did the whole process again, with magisk 25.1 i can boot to system, more or less. There's no Qualcomm crash error, but it stays in an infinite loop. It's been 20 minutes, i see the loading screen turning but it stays like that forever.

---------------------------------------------------------------------------

I did another test. I tried to install Kali with twrp even if the system was on the loop.

Installation failed Error 1, insufficient space on the system partition.

With thanks and regards,
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.
 

Attachments

  • Screenshot_20220831-102541.jpg
    Screenshot_20220831-102541.jpg
    144.4 KB · Views: 51
  • Screenshot_20220831-103242.jpg
    Screenshot_20220831-103242.jpg
    141.6 KB · Views: 48
Last edited:

Top Liked Posts