yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 & 7 Pro Cross Device Development] jack600:
If I have twrp and magisk already should I flash the image for nethunter from twrp or follow all the steps to update the recovery to latest twrp version then flash the image i have Android 10 oos and stock kernal
[OnePlus 7 & 7 Pro Cross Device Development] maliki80:
Is this ROM support hackrf tool ? Ss7 ? gr-gsm ?
[OnePlus 7 & 7 Pro Cross Device Development] NOSudo-Vitali:
The first device I have not been able to build this on....one plus 7 pro 5g. I'm assuming no one else has been able to either?
[OnePlus 7 & 7 Pro Cross Device Development] alien0101:
I am on 10.3.0 and installed kali hunter also. Since 10.3.2 is available, can I upgrade my version to 10.3.2 version without losing my existing setup.

Or what is the easy way to upgrade to 10.3.2?
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
So just to get everything clear there is not a working version of this for the OnePlus 7T Pro 5g??? I am on 10.0.31 currently...
[OnePlus 7 & 7 Pro Cross Device Development] BeginTheNinja:
Just advising Nethunter definitely 100% breaks biometrics plus Hotspot when injecting on top of CrDroid OS

But... works irreversibly flawless on stock OnePlus7ProOxygen_21.P.25_OTA_025_all_2002022314_2bc8244f53
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
Can you still call and text people? Does the NetHunter Rom allow the usage of cellular data bands? Like LTE or 5G??

---------- Post added at 04:08 AM ---------- Previous post was at 04:07 AM ----------

You can't use the fingerprint scanner anymore??
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Bootloop

Flashing "Disable_Dm-Verity_ForceEncrypt" one onePlus7 OTA14.0.25 USING TWRP "twrp-3.3.1-79-guacamole-unified-Q-mauronofrio" causing bootloop.

procedure:

1. Fresh installed stock ROM

2. Installed TWRP and formating data

3. installing "twrp-3.3.1-79-guacamole-unified-Q-mauronofrio" always leading me to bootloop.

what am i doing wrong ? please help
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
[MENTION=4207992]Re4son[/MENTION]

Does this kernel include Monitor support for Qualcomm wifi chips in various snapdragon SOCs? Like the one in the OnePlus 7pro??

https://build.nethunter.com/contribu...020.2-rc31.zip

Would you mind telling me the easiest way to install this kernel? Would you suggest LazyFlasher??
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
It certainly does. Best to flash the entire new image from here:

https://www.offensive-security.com/kali-linux-nethunter-download/

If you have heavily customized your rootfs already then you can back it up and restore it in the chroot manager but flashing the whole image is best.
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
Does the full image still allow you to use your phone as normal? And If i am being honest. I actually have the Oneplus 7TPro 5g McLaren.

I have a full working chroot & nethunter is even letting me use external wireless adapters to scan. Via a Magisk module.

I was hoping there is a way to just upgrade the kernel so I would have working monitor support for my Qualcom chip! (wlan0)

That way I don't chance losing fingerprint scanning or my 5G! Please let me know your thoughts, thank you!

Little update, I tried flashing this kernel via EX Kernel Manager & It errored out saying that I was using an unsupported device.
[MENTION=4207992]Re4son[/MENTION] Do you think if i gave you some files from my phone you could recompile the kernel to be used with my phone?

OR at least point me in the right direction so I can build my own!
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
How did you fix your unsupported device error? Did the Universal ForceEncrypt Disable end up working and let you install the kernel?
[OnePlus 7 & 7 Pro Cross Device Development] DeadlyFoez:
A few pages back I uploaded the correct version of the Disable DM. The most current one seems to be broken.
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
To be honest, flashing this one - Disable_Dm-Verity_ForceEncrypt_01.19.2020.zip cause a bootloop for me. OR it would just hangup when it got to the boot animation.
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Thanks for your help bro.

[/COLOR]

Actually i found that i was not formatting data before installing Disable_dm_veriety.zip which was causing bootloop. But now i managed to install nethunter successfully. But now i noticed that after installing nethunter, my device(oneplus 7) is experiencing SEVERE HEATING AND BATTERY DRAIN .

i Tried both 2020.1 and nethunter pre3-2020.2. Both are draining battery severely.

Now i chose to remain without nethunter until next major release comes with bug fixes.

thanks again for your time
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
I actually really appreciate that! It could easy be my issue because I wasn't wiping anything!

Question tho. If I wipe data will it wipe my rom? I don't mind if I have to restore my other things(picts, texts, etc.) from a back up. Because right now I am just trying to decrypt my stock rom!? Thanks in advance ?

It's been a min since I've done all this flashing business!
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
No, wiping data or wiping dalvik-cache WON'T WIPE ROM.

I have observed formatting data == factory reset + format internal SD card + wipe cache
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
Dude, you are the BEST thanks so much!!

I am assuming after installing this zip, I will need to boot my patched_magisk.img and install magisk again? To avoid any bootloops.

Since wiping my data I assume removes my root? [MENTION=10658031]Firoz Sid[/MENTION]
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
I am assuming this zip means kali_nethunter.zip

After installing this zip, you won't get bootloop but you may lose root and if you already had twrp patched to your stock kernel, you won't lose twrp for sure. So better you flash magisk again tafter installing nethunter.zip. to maintain root acesss.
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
Damn, I just read your post a few sections up.. I didn't know about the heating and battery drain :/

I wonder if I could just install the kernel and install nethunter the magisk way..
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Clever idea ! But I suspect if you could get the latest kali nethunter using magisk module . Again it's not going to be a problem because kali chroot can be upgraded later also.

The main culprit is here is the KERNEL or the boot image built for the specific device will again remain same so I doubt if it won't cause issues with the battery, heat and ultimately performance.

---------- Post added at 05:34 PM ---------- Previous post was at 05:20 PM ----------

The hardest problem was building device specific kernel and arm based chroot for androids and I must say developers has done great job at it. :svetius:

Hence I guess fixing nethunter kernel draining the battery is not a big issue compared to that and I hope It will be fixed soon.
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
Let's get [MENTION=4207992]Re4son[/MENTION] is on this! He is great with building kernels!
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Ya. I follow him on Twitter. I think he is one of the lead developers of nethunter kernel.

He might not be active on this thread but he is actively working on this.
[OnePlus 7 & 7 Pro Cross Device Development] samng3000:
I have successfully installed Pre3 version on OnePlus7

I have install the pre3 version on OnePlus 7.

The first time, Magisk root was lost, so i reflashed and this time the root was detected.

But i can,t start kali terminal. So i download Nethunter app from Nethunter store and start the kali chroot manager, then finally i can start kali terminal. But only thing is that i face the KeX connection problem. Even after i install lxde-core and lxde doesnt solved. Any suggestion?
[OnePlus 7 & 7 Pro Cross Device Development] tmushtare:
After wiping data to be able to install the Disable_dm_veriety.zip. Everything finished successfully. But when i went to reboot, it was like there was no OS. It kept wanting to go into recovery mode. Any help would be appreciated!
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
I think you just swiped to factory reset in wipe menu and flashed dm_veriety.zip, you forgot to format data partition.

If you are automatically booting into twrp, then

1. goto WIPE>FORMAT DATA> type YES

2. Reboot to twrp again and transfer dm_veriety.zip and flash it.

This worked for me all the times.

---------- Post added at 06:03 PM ---------- Previous post was at 06:00 PM ----------

First you need to set and start the kex server and assign a login password, then only kex client will be able to connect to that gui desktop server.
[OnePlus 7 & 7 Pro Cross Device Development] samng3000:
Nethunter KeX error fixed

This video has solved my KeX connection refused problem. Go google "Nethunter Kex install and fix error launching".
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
Thank you NetHunter dev team, you guys have done an incredible job on this.

hid capabilities were my main source of excitement, but along those lines the USB arsenal tab on NH is frickin sweet.

also having the ability to put the stock chip into monitor mode is another big win, don't need to buy my self a dual band Alfa card now ;)

Oh anyone having heating/battery drain issues, did you happen to be playing around with mana toolkit? I notice dnsmasq stays up after shutting down mana and it quickly becomes number one on my battery drain list. Rebooting kills it and then life is good again.
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Yup. Too much of heating and battery drain issue is there with both nethunter 2020.1 and 2020.2 in my case too. So currently I am not using it and waiting for the next major build to fix this issue.
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
What phone and oos version are you running?

I'm on a Op7 oos 10.0.3GM57AA with 2020.2 and besides for the dnsmasq issue which I just need to clear with a reboot, I haven't had any battery/heating issues.

Actually It seems like I could get 8hours+ sot with this mix of software.
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
I was on Op7 OOS 10.3.1 GM57AA. I tried Both. 2020.1 and pre3 2020.2 April build . Cpu temperature was crossing 52 degree while charging and SOT was max 5 hrs without any gaming.

One more thing I noticed is that nethunter 2020.1 detects my external adapter which requires realtek driver by default and works well BUT latest pre3 2020.2 not detecting my external adapter even after installing wireless firmware module of magisk.

Can you please tell me the process how you installed it without having any heating and battery issue?
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
I used the msm tool to flash this back to the stock hydrogen Rom for a clean slate, unlocked the bootloader, installed the unofficial twrp then flashed the 10.0.3 OOS Rom from twrp.

Before booting I installed the 2019 force encrypt disabler (I had issues with booting on the 2020 script) and magisk, set up android, then rebooted to twrp to install NetHunter.
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
I think I also did the same from fresh install upto nethunter. May be due to different versions of oos .I don't know. I had also tried those two nethunters on the last Android 9 but was still getting the heating issue.

Anyway thanks for your reply
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
That's too bad, like I said with the android 10 set up the only time I have any issues is with dnsmasq when I play with mana. Then I just reboot the phone and it clears what ever dnsmasq is hanging up on and it's fine again.

Does your phone show any stats on apps chewing up your battery? Maybe throw gsam on there for a couple days and see if you can pinpoint anything.
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Thanks for your suggestion.

The battery issue is only coming after flashing nethunter.zip before that it fine even with twrp and magisk.

Actually I didn't track any stats which was consuming that much battery. Still I am using latest arter97 kernel as my daily driver and don't want to disturb my phone.

I will again be testing nethunter when it will get next major build and next time I will be tracking battery consumption stats as well.
[OnePlus 7 & 7 Pro Cross Device Development] toohey503:
I'm having trouble getting the internal wifi into monitor mode after flashing the pre3 image. Could somebody break it down real quick? Sry to bother... Kinda driving me crazy...
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
Go into the NH app-custom commands-start wlan0 in monitor mode

Open a terminal then check it out with airodump-NG wlan0

Oh and fun fact, aircrack seems to default to sniffing 2.4ghz spectrum traffic, but now that we have a 5ghz capable WiFi chip in monitor mode I found if you set your channel range to the higher 5ghz channels (-c 149 for example) then it will start looking at the higher ghz stuff.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Me too, but the battery drain problem seems only related to the kernel. I flashed arter97 and problem disappeared also maintaining the nethunter chroot. When I have to use NH I will change the kernel.

Thanks to these guys for this fantastic work!
[OnePlus 7 & 7 Pro Cross Device Development] Firoz Sid:
Yes absolutely correct! Replacing the nethunter kernel does fix the battery problem but then nethunter chroot will become useless with no features like built-in android monitor mode, external adapter support , HID and many more.

Thanks for the confirmation ?
[OnePlus 7 & 7 Pro Cross Device Development] toohey503:
I'm trying to get these ducky scripts working and get something like "hid interfaces not enabled or wrong permissions in Dev/hidg", which is a file that it seems does not exist. I'm just trying to learn how to set up this hid attack function but really can not find any detailed instructions/tutorial as to how to set this up to work. Any help would be greatly appreciated. Thanks in advance
[OnePlus 7 & 7 Pro Cross Device Development] toohey503:
I figure with the current lack of instructions out there that I can't be the only one running into all these hurdles setting up Nethunter running Android 10 on a OP7P. All Nethunter online documentation I can find, mostly outdated, seems more like a documentation of what the function will do once setup and working properly. Getting past this ducky script execution returning - "HID interfaces are not enabled or something is wrong with the permission on dev/hidg*, make sure they are enabled and permissions are granted as 666", in the DuckHunter HID, is one of the last operations included with current Nethunter install I am unable to resolve. Opening the "Rucky" app right away tells me that my kernal is not supported. Perhaps I should flash with the kernal previously posted a few pages back? I just recently flashed the pre3 image to get internal wifi and USB arsenal options working. So it doesn't seem like that would be the fix. As always, any and all help greatly appreciated. Thanks again for everything so far!
[OnePlus 7 & 7 Pro Cross Device Development] greatnorthgnome:
As far as I can tell hid services are not enabled at boot, and if you look back 10 or so pages reason posted how to start them. You can create a custom command in the NH app to run this command setprop sys.usb.config win,hid,adb

Or better yet, I just go into usbaresonal and select hid plus what ever additional USB service, win, rdnis, mass_storage etc and set usb function which enables hid.
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
Kali desktop not opening help me
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
Only this not opening linux desktop

You successfully started the KeX server.

Next you have to press "Open KeX client" in the NetHunter app to open the client, type in the password you've setup and click "connect"

Check this image kex password inputin but not working
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
You successfully started the KeX server.

Next you have to press "Open KeX client" in the NetHunter app to open the client, type in the password you've setup and click "connect"

All ok but not opening I am already send image please help
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
The image you sent is not of the client but of the server starting.

Would you mind posting a screenshot of the button you pressed to open the client?

Many thanks

---------- Post added at 06:21 PM ---------- Previous post was at 05:42 PM ----------

For those who still have battery problems after flashing the 2020.2 nethunter image:

I have tweaked the debug messages of the brain services patch a bit. Would you mind flashing this kernel image, please:

https://build.nethunter.com/contributors/re4son/guacamole/kernel-nethunter-2020.3-rc5-oneplus7-oos-ten.zip

And report back the output you are getting?

Many thanks
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi Re4son,

At first, many thanks for your awesome work! Really appreciated!

I installed the kernel via twrp (servicebrain patch successfully applied) on my OnePlus 7 but I got a bootloop.

Restored the vendor partition and changed the kernel fixed the bootloop.

Attached my bootloop logs. Tell me if you need further test!

I'm very happy to help you.

Thanks again!
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Awesome, thanks [MENTION=10348517]invernomut0[/MENTION]

I think I found the problem.

Did you install the Universal ForceEncrypt Disabler and formatted your data partition before you flashed NetHunter and flashed Magisk again after installing NetHunter?

The kernel installer patches /vendor and that won't work if dm-verity is enabled plus Magisk chokes on user context changes on encrypted data partitions so you'll get problems down the track with NetHunter if you don't decrypt it.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Hi [MENTION=4207992]Re4son[/MENTION]

I formatted data, flashed dm-verity, finished oos setup and after that, flashed nethunter. I'm still unencrypted.

I don't remember when I flashed magisk, so I reflashed magisk now and after I flashed your kernel.

Sadly, bootloop again.

Attached new logs. Tell me if I can do other tests :)

Thanks.

PS: probably a stupid question... why I see the Arter kernel in dmesg.log and not your kernel? I flash your kernel, reset the phone due a bootlop, enter in TWRP and copy logs to SD... Am I doing something wrong?

[ 0.000000] Linux version 4.14.173-arter97-r54-gced0c98a81dc5 (arter97@arter97-dgist) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Thu Mar 19 00:29:28 KST 2020
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Wrong slot?

I'd try again flashing stock, magisk, dm-verity-fec disabler, reboot, setup, reboot into recovery, nethunter, magisk, dm-verity-fec disabler, reboot, enjoy
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Mmmh... I'm in slot _b everytime.

Flashed nethunter kernel, magisk. Rom boot but I see arter as kernel. Second boot -> bootloop.. it seems I have lost magisk.

Flashed nethunter, kernel, dm-verity -> Bootloop

Really strange...I continue with tests.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
New test...

Flashed

1 - kernel-nethunter-oneplus7-oos-ten-2020.2-rc31.zip,

2 - kernel-nethunter-2020.3-rc5-oneplus7-oos-ten.zip

3 - magisk 20.4

Rebooted

Phone crashed in crash dump mode... Fear!! :)

Restored by twrp backup.

A consideration:

When I flash the 2020.3 rc5 it seems to much fast compared to 2020.2. it seems the flashing process apply only the patch to the vendor partition and won't flash the boot partition. Is it possible?
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Hmmm, not sure. What phone do you have?

I've done it now a couple of times and it always works like a treat. I could not make it fail even if I tried:

1. Flash stock

2. Boot and install OEM updates

3. Flash twrp

4. reboot into recovery and install twrp zip

5. format data

6. flash Magisk

7. flash dm-verity-fec disabler

8. reboot and setup Android

9. Reboot into recovery

10. flash NetHunter 2020.2

11. flash magisk

12. flash dm-verity-fec disabler

13. reboot

Step 12 shouldn't really be required but better safe than sorry

---------- Post added at 09:27 PM ---------- Previous post was at 09:26 PM ----------

Where did you get this "kernel-nethunter-oneplus7-oos-ten-2020.2-rc31.zip" from [MENTION=10348517]invernomut0[/MENTION] and why did you flash that?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
A doubt.. I have OnePlus 7 (not pro) gm1900. The kernel-nethunter-2020.3-rc5-oneplus7-oos-ten.zip is ok for my device?

I've found the kernel-nethunter-oneplus7-oos-ten-2020.2-rc31.zip few pages back. And it works.
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Yep, that's the one I've got.
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Here the kernel-nethunter-oneplus7-oos-ten-2020.2-rc31.zip. whit this kernel I've the hids interfaces working, but the problem with battery drain.

I flashed the nethunter-oneplus7-oos-ten-kalifs-full-2020.1.zip image because the 2020.2 is only 1.2 mega bytes
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
:confused: Where did you get that screenshot from?
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
The black one from my device :)

The other from https://build.nethunter.com/contributors/re4son/guacamole/

Is it not correct?
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
That explains a lot :D

This is directed at everyone: build.nethunter.com is my personal playground. Do not, ever, ever, download anything from there and trust that it works. We used to use it years ago to build our images but that's not the case anymore. I sometimes use it to make test builds available for particular reasons or people. Please only ever download a file I posted for you personally and forget that it's there the day we release an official one.

This is the proper download page and that image works:

https://www.offensive-security.com/kali-linux-nethunter-download/
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Opss...sorry guy! Thanks to explain that :)

I'm downloading the correct 2020.2 image version.

I keep you posted :)

Sorry and thanks again for your patience :)
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Fingers crossed :)
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Worked like a charm with the 2020.2 image! I see also the patch applied on brainservice when flashed.

Do I have to apply the kernel-nethunter-2020.3-rc5-oneplus7-oos-ten.zip now or not?
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
Kali nethunter desktop not working
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Mine is working without problems
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
Kex manager not working I am already password created but

not opening
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
Kali net hunter

Not working pro
[OnePlus 7 & 7 Pro Cross Device Development] invernomut0:
Connection refused..

do you have some kind of firewall?

---------- Post added at 07:28 PM ---------- Previous post was at 07:23 PM ----------

Battery drain is totally gone! Now everything is perfect! Thanks for your time [MENTION=4207992]Re4son[/MENTION]! Respect! :)

Hid works great with Rucky. Wlan0 goes to monitor mode correctly. I'll do some other test but I'm so happy!
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Nope not required. I just improved the debugging messages in rc5 to help track down that the DM-Verity has not been disabled on those devices where the brain services patch failed.

Root cause identified so no need for anyone to flash rc5 anymore.

Thanks everyone for helping out.
[OnePlus 7 & 7 Pro Cross Device Development] mookkaiah:
No firewall help please what this is problem
[OnePlus 7 & 7 Pro Cross Device Development] Re4son:
Did you update the nethunter app from the store after flashing? That is required to bypass new google scoped storage restrictions.