yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] Rock420:
How to flash OOS 3.5.8 zip?

I firstly flashed OOS 3.5.8 from oneplus website. And rebooted setting up device. Then go to twrp and flashed nethunter OOS 3.5.8 zip from 'Nethunter For OnePlus 2 (Nougat 7.1) by Brandon Indar' . I reboot device without wiping data. But it stuck in boot animation. OOS not starting. I stayed for 30 min but not happen anything. Again I did same process by wiping data but same thing happened. I don't know what to do. Please help how to flash nethunter OOS 3.5.8...
[OnePlus 2 Android Development] Diamand_Dragon:
You need to flash a current kernel. The one in this package is outdated.
[OnePlus 2 Android Development] Rock420:
Please tell me which wifi adapter support oneplus 2?

(I have mt7601u it detect in terminal by lsusb but showing in airmon-ng.)
[OnePlus 2 Android Development] faizul_emizal:
Hi brandon

May i know which version of RR and Lineage rom that you use?

are your kernel support TP-LINK TL-WN722N v2 (realtek chipset)?
[OnePlus 2 Android Development] Brandon Indar:
Hi...

This one I used : https://goo.gl/4jSvkG

Yes my kernel is compatable with the tp link wireless adapter.
[OnePlus 2 Android Development] insaneparnoid:
Hey Brandon

Is your auto cam focus working? coz after flashing nethunter kernel Auto Focus dosent work :(

and just wanted to ask will we get nethunter for Oreo?? :)
[OnePlus 2 Android Development] Brandon Indar:
The auto focus is one of the main problem after flash the nethunter zip haven't got time to fix this as I was upgrading my pc.

I will make build for Oreo once lineage os becomes official and stable.
[OnePlus 2 Android Development] insaneparnoid:
cool good to here for oreo :)
[OnePlus 2 Android Development] insaneparnoid:
Hello Sir,

Can you please upload the file again? and it was totally working fine but somehow i accidentally wiped my internal storage and i didnt had any backup of that file or anyone who have this patched kernel with them please upload it

Thanks_In_Advance [emoji4] [emoji4] [emoji4]
[OnePlus 2 Android Development] Mystery22:
Can i flash this kernel for marshmallow.i cant seem to find a kernel with hid support for marshmallow.
[OnePlus 2 Android Development] kingudit:
Can we get the pie version of it??
[OnePlus 2 Android Development] Alex007890:
J5

Preciso de um kernel para o j5 alguém me ajuda?
[OnePlus 2 Android Development] UsPdSr:
I noticed that the support unfortunate here as non-existent is as in most of the other threads..even after the revival.

Anyhow, here the link to the meanwhile kali nethunter 2019.3(!) release for the OnePlus2 with the awesome kernel by re4son[tm] :)

-> https://images.offensive-security.com/nethunter/nethunter-oneplus2cm-pie-kalifs-full-2019.3.zip

As rom has been recommended this one - >

https://build.nethunter.com/contrib...age-16.0-20190816-nightly-oneplus2-signed.zip

One of the few official Pie releases by Offensive.

Have fun :svetius:
[OnePlus 2 Android Development] Brandon Indar:
No...

U first need to install cm 14.1 then the Gapps, after u reboot and everything is working normal then u proceed in flashing the nethunter zip.

Depending on the nethunter zip u download, it only installs the nethunter apps and chroot not Gapps.

So to answer ur question, u need to flash Gapps separately.

Hope this helped[emoji2]
[OnePlus 2 Android Development] dencu:
I'm using rr rom based on cm 14.1.

So I just install nethunter zip over rr rom, just like dirty flash in twrp, Without formating data, system?
[OnePlus 2 Android Development] Brandon Indar:
Yes...just flash without wiping system an stuff and should work.
[OnePlus 2 Android Development] dencu:
Yess..it worked...

Thanks a lot brandon!?
[OnePlus 2 Android Development] Brandon Indar:
Kool...

Don't forget to hit thanks[emoji6]
[OnePlus 2 Android Development] dencu:
Now I'm heading to Google, searching tutorial how to hack wifi password with kali nethunter:D
[OnePlus 2 Android Development] themenucha:
Double tap to wake makes screen vibrating during the call.No issues when it's disabled.
[OnePlus 2 Android Development] niklus101:
Great work dev!
[OnePlus 2 Android Development] cyrus104:
Thanks a ton for this how does this differ from if I built from the nethunter-installer (if supported)?

Will install in the next hour or so.

Thanks again
[OnePlus 2 Android Development] Brandon Indar:
Well rn the kernel from here and if compiled from the source, it's the same.[emoji6]

All need is jus to add to the nethunter device nougat.

U can check it out if all is well.[emoji108]
[OnePlus 2 Android Development] cyrus104:
Running into an issue with Nethunter Terminal keeps crashing when I try and install chroot. Nethunter Terminal has stopped and then allows me to reopen it manually. Also if I try to run NetHunter and then try and click Kali it crashes again.
[OnePlus 2 Android Development] Brandon Indar:
Yep had that problem had to reinstall the terminal app.

Don't know why it crashes, probably the app needs replacing in zip.
[OnePlus 2 Android Development] cyrus104:
Just got it to work after re-installing the term app, would like to have some of those apps in the store so we can just update them there.
[OnePlus 2 Android Development] Brandon Indar:
Well some are there like shodan and USB keyboard.

Btw how the HID working
[OnePlus 2 Android Development] cyrus104:
HID doesn't seem to be working.
[OnePlus 2 Android Development] Brandon Indar:
Well I have patched the kernel and USB keyboard seems to b working.

When connected to pc it normally shows the hid interface in nethunter app.
[OnePlus 2 Android Development] cyrus104:
When I open USB keyboard it seems to freeze up. I check under the nethunter app and I see 2 HID devices.
[OnePlus 2 Android Development] Brandon Indar:
Yea have to reinstall USB keyboard too.
[OnePlus 2 Android Development] cyrus104:
Seems like all of my problems are from not following your full directions. The USB keyboard is now working as expected.
[OnePlus 2 Android Development] Brandon Indar:
Lol

Everything seems to be working...

Going and flash latest cm 14 and see how it works cuz I'm on the second build and have some bugs
[OnePlus 2 Android Development] cyrus104:
I started this build with cm-14.1-20161225-NIGHTLY-oneplus2, based on recent info not sure if there will be a newer build anytime in the near future.
[OnePlus 2 Android Development] cyrus104:
Having an issue with none of the HID Attacks working, would this be caused by the HID issue?
[OnePlus 2 Android Development] Brandon Indar:
I'm not sure. I haven't fully tested it but I got the USB keyboard app to work and the hid interface to show in nethunter app...
[OnePlus 2 Android Development] TheHeroBilly:
I managed to install this onto a dual boot (although spacing around was hugely an issue) currently running AOSCP with Aroma Gapps, and Resurrection Remix with Nano Gapps and Kali

This was an immense pain to do, and I recommend you only do it if you have patience, time and know what you are doing. PM me if you'd like help on how to do it.
[OnePlus 2 Android Development] cyrus104:
running into another issue with the USB Tethering not working. When I plug in my Pineapple Nano to the OP2 the option for USB tethering ungreys and I can choose it but but when I try and enable it, it turns on for a second and then turns off. I don't get any error messages at all.

Thoughts or places for me to get the error log.

Thanks
[OnePlus 2 Android Development] Brandon Indar:
U can do a logcat via adb to get an idea of the problem...

Idk if it's a cm problem cuz I don't use USB tethering.

Hope it helped[emoji106]
[OnePlus 2 Android Development] rajatdixit:
Please use pastebin or simply a text file attachment next time. The thread gets unnecessarily long for no reason.
[OnePlus 2 Android Development] vxkillswitchxv37:
So if I flash this over my current ROM does it replace the ROM and features I have now with its own? Or will you still have the features that came with the ROM you had? Thanks.
[OnePlus 2 Android Development] cyrus104:
[MENTION=7014498]rajatdixit[/MENTION], I will make sure to do that next?
[OnePlus 2 Android Development] Brandon Indar:
No...it doesn't replace any apps or features of the current ROM. But it will flash a new kernel and simply installs the required apps and data in order for nethunter to work.

So if u had a custom kernel installed, it will be replaced.

It will just change the boot animation and wallpaper[emoji2]

So just need to flash without wiping system/data etc...
[OnePlus 2 Android Development] pggopani44:
Thank u it work good. I have installed no chroot but wifite not work and later i have installed full chroot it work perfectly.... Thank you
[OnePlus 2 Android Development] jukyO:
How did you reinstalled it?
[OnePlus 2 Android Development] Brandon Indar:
Just uninstall the terminal app that came install when flashed zip and download the one from the post and install
[OnePlus 2 Android Development] jukyO:
You mean nethunter terminal to uninstall?
[OnePlus 2 Android Development] Brandon Indar:
Yes
[OnePlus 2 Android Development] jukyO:
Guys, 'airmon-ng' gains no results. Our opt wifi adapter does not support it?
[OnePlus 2 Android Development] Brandon Indar:
U need to use external usb wifi adapter like this one https://www.amazon.com/gp/aw/d/B002...ink+dongle&dpPl=1&dpID=31VPoK++uUL&ref=plSrch

Built in wifi chip in phone not support monitor mode.[emoji25]
[OnePlus 2 Android Development] NeoVsk:
I don't think that any smartphone WiFi chips supports monitor mode. You need USB WiFi card via OTG to use airmon-ng and airodump-ng.
[OnePlus 2 Android Development] jukyO:
Thanks. Luckily, I have one spare that supports it. Ralink 5370 based chipset .

[MENTION=6108289]Brandon Indar[/MENTION]

Do I need to add it manually, or it is supported out of the box?
[OnePlus 2 Android Development] Brandon Indar:
Not sure but if it is not detected u will need to install the drivers for it.
[OnePlus 2 Android Development] jukyO:
Like for regular Kali distribution? E. G. from terminal?
[OnePlus 2 Android Development] Brandon Indar:
Yea
[OnePlus 2 Android Development] IAmOmicron:
After installing this it appears the sensors on my phone have stopped working. The accelerometer and many more are not detected by sensor detecting apps, leaving only GPS, battery and WiFi.

I'm using the 7.1 RR rom by soniash. I've tried the latest cm build and the lineage build. Any ideas?

Edit: Found the post in page 2, my bad.
[OnePlus 2 Android Development] alien0101:
CM14 doesnot support volte network. Can I use nethunter with any other supported ROM?
[OnePlus 2 Android Development] Brandon Indar:
U can try it but I don't recommend.

I will build and test for different custom rom based on Android 7.1 and post it up by next week.

Btw which rom u want to use it on?
[OnePlus 2 Android Development] alien0101:
Any ROM which suppors VOLTE, Oxygen OS supports volte.
[OnePlus 2 Android Development] herr oneplus:
Uninstalling / Removing Nethunter for OP2 (OOS 3.5.6)

Thank you for your continuous efforts!

Couple of queries:

1. I've successfully installed nethunter-oneplus2-OOS_3.5.6-kalifs-full-20170112_173230.zip following the instructions given. Only thing is that my wifi is no more working. Have I missed something? Does it only work with an external wireless adapter such as TP-Link TL-WN722N 150Mbps Wireless USB Adapter ?

2. Also what are the steps for removing / uninstalling nethunter completely from my device?

Is it something like this:

Reboot OP2 in TWRP Recovery mode >> Wipe >> Adavanced Wipe >> Select all partitions except for Internal Storage >> Swipe to Wipe >> Back >> Back >> Restore >> Select backup package (which was backed up before installing Nethunter) >>Reboot

Please help!!!

Thanks a lot!!!
[OnePlus 2 Android Development] Danz17:
A for efforts

Great to see improvement, can't wait to have nethunter on my 7.1 ROM on oneplus 3 :( ... Thanks for sharing
[OnePlus 2 Android Development] herr oneplus:
Any help regarding the uninstall???:confused:
[OnePlus 2 Android Development] NeoVsk:
Wipe everything except internal storage and flash new ROM.
[OnePlus 2 Android Development] Brandon Indar:
I would like to build it for op3 but I will not be able to test it out.[emoji25]
[OnePlus 2 Android Development] alien0101:
How can I install new oos3.5.6? First I need to install OOS 3.5.6 then on top of it I can install nethunter -oos-3.5.6.

But when I do that I am stuck at Kali boot logo?
[OnePlus 2 Android Development] Brandon Indar:
That means the kernel didn't boot.

How long it stays on boot logo?

Where did did u download the ROM from?
[OnePlus 2 Android Development] alien0101:
It stays in boot logo for 30 mins. Can someone please tell me how can I flash nethunter for OOS3.5.6 . Which ROM i need to flash before flashing nethunter?
[OnePlus 2 Android Development] Brandon Indar:
If it didn't work for OOS use any 7.1 ROM like RR or cm 14 and flash the full chroot one from above not OOS.

If you however, want to use it on OOS u will need to download the OOS ROM from here: http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.5.6/

Hope it helped.
[OnePlus 2 Android Development] alien0101:
RR and CM14 doesnot support volte,so only option left is OOS
[OnePlus 2 Android Development] alien0101:
I installed OOS from http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.5.6 and flashed nethunter on top it, but still its stuck in boot logo..
[OnePlus 2 Android Development] AndresF1406:
This nethunter is for nougat, so it will not work on OOS as far as I know. But there's a nethunter for MM and OOS 3.1.0, official, but for OOS 3.5.6, idk.
[OnePlus 2 Android Development] NeoVsk:
I don't think there are many differences between 3.1.0 and 3.5.6 so I'd definetly gave it a try.
[OnePlus 2 Android Development] alien0101:
can u please post me link for nethunter for oos 3.1.0
[OnePlus 2 Android Development] NeoVsk:
Sure,

http://xdaforums.com/oneplus-2/development/nethunter-oneplus2-t3301694/
[OnePlus 2 Android Development] Brandon Indar:
No there is a difference.

Its the kernel.

You will end up in same problem.
[OnePlus 2 Android Development] Wiciaki:
Please don't spread misinformation... differences between 3.10 and 3.5.6 are massive

---------- Post added at 08:28 PM ---------- Previous post was at 08:21 PM ----------

For me OOS 3.5.6 with NetHunter boots but it gets massive lags - the whole system is so slowed down its not comfortable to use the phone anymore. Additionally, WiFi couldn't be turned on. I think it's just kernel problem. Any chances you work on 3.5.6 some more?
[OnePlus 2 Android Development] alien0101:
any link to which usb-c to micro usb adapter works with OP2. I tried three but none of them works.Any adapter available in India?
[OnePlus 2 Android Development] Danz17:
It is more than a build , am pretty geeky , I broke the camera when building it , as well as generic android OTG . (Got wifi to work on monitor mode though Achievement!)

Need few developer to work on it to get it stable .. But I welcome any help I can get :)
[OnePlus 2 Android Development] Brandon Indar:
Which rom u are using...

In some ROMs camera bricks so I will have to make a camera fix zip to flash.

I haven't troubleshoot the problem yet so not sure if its the kernel.
[OnePlus 2 Android Development] Igor S 16:
Everytime i've installed nethunter I broke sensors like laser focus, gyroscope and something else, it's a kernel problem? which one should I use? I'm on LineageOS but this succeded on resurrection, too.
[OnePlus 2 Android Development] Brandon Indar:
Flash supersu

(does not break sensors)

From here: http://xdaforums.com/oneplus-2/development/6-0-x-cyanogenmod-13-oneplus-2-t3292436
[OnePlus 2 Android Development] NeoVsk:
I guess you want microUSB to use OTG. That's quite tricky since Oneplus 2 does use slightly modified Type-C port, so you need to get original adapter. You can find it on aliexpress, but you have to be quite cautions not to buy fake which won't work. I can PM you link for the adapter I bought and it worked (it even came in OnePlus box).
[OnePlus 2 Android Development] jukyO:
Mee too please.
[OnePlus 2 Android Development] alien0101:
Please PM me the link of adapter.I am waiting for it.
[OnePlus 2 Android Development] anupritaisno1:
And where is the kernel source?
[OnePlus 2 Android Development] IAmOmicron:
Hey, I'm having a camera issue (I assume it's the kernel from this package causing the issue) as before installing this it worked.

I'm on the Unofficial RR from nicesoni_ash 28th Jan build. Camera focus is stuck, so the touch to focus does not work and cannot be changed. Any idea for a fix or will it need a package flash?
[OnePlus 2 Android Development] Archtects:
I too had this problem, it was seeeeeriously annoying I found that xneonHD works perfectly fine :D got camera and no slow boot :good:
[OnePlus 2 Android Development] JollyJamma:
Does this version of Nethunter work for LineageOS? Thanks in advance
[OnePlus 2 Android Development] IAmOmicron:
I don't want to change ROM and don't have slow boot. The only problem is the camera. I can live with it, but it's an inconvenience.
[OnePlus 2 Android Development] Brandon Indar:
I'm currently working on it.[emoji106]
[OnePlus 2 Android Development] jcadduono:
Your kernel sources are incomplete, please push the full sources to your repository. You're missing some patches as well as the defconfig used to build it with all the NetHunter features.
[OnePlus 2 Android Development] Archtects:
Ahh Fair enough. I tend to swap roms like I change clothes. So it's not a big deal for me lol. Just trying to assist :D.

But I'm glad to hear you had no slow boot. For some reason mine would stay on the launcher for about 5 minutes before the lockscreen would work loll.
[OnePlus 2 Android Development] DKnightX91:
Will this work with LOS 14.1? Not much info on LOS as it's a bit new but it is CM 14.1 right.
[OnePlus 2 Android Development] IAmOmicron:
Awesome, thanks. Any knowledge as to why it's causing the issue?

---------- Post added at 01:33 AM ---------- Previous post was at 01:33 AM ----------

Yes, it will.
[OnePlus 2 Android Development] DKnightX91:
Cool thanks. Haven't had much luck with it on my CM 13 but I think that was cause of the Xposed Framework, using cm stock root, Universal init.d and a couple of changes on the build.prop
[OnePlus 2 Android Development] JollyJamma:
Getting constant freezes with the ROM and LOS
[OnePlus 2 Android Development] IAmOmicron:
Works on RR Unofficial which is built from LOS sources but can't vouch for other ROMs. Only issue I have is that the camera focus isn't working, but has been acknowledged by the dev.

I have RR unofficial and this installed on top. Fast boot, no freezes or stalls and my safetynet doesn't fail. Not sure why you are having issues with general use.
[OnePlus 2 Android Development] Archtects:
Personally I found issues with RR. I Seem to be okay on my current rom. However Hotspot doesn't work. Nor does Bluetooth? Very odd

I shall do some logging
[OnePlus 2 Android Development] IAmOmicron:
Don't use hotspot, but BT works fine. Using phhSU and Magisk of that helps.
[OnePlus 2 Android Development] Archtects:
Mmm I rely on bt as watch uses it. I might see if I can sort anything out :P
[OnePlus 2 Android Development] Brandon Indar:
Fixed su brick sensor issue.

I did a clean flash of Unofficial RR and camera, Bluetooth, hotspot worked normal.

If u are having those problem I recommend u do clean flash by wiping everything EXCEPT internal storage.

Hope it work.[emoji106]
[OnePlus 2 Android Development] IAmOmicron:
Camera focus is still broken for me. If I flash boeffla kernel will it affect any Nethunter features? It does have USB HID support as far as I know. (USB Keyboard app definitely works) Boeffla kernel doesn't have any camera issue.
[OnePlus 2 Android Development] Archtects:
Have you done this yet? I'd be interested to see if stuff still works been thinking about flashing a different kernel or.... If I get time, merging the Kali kernel with a different one. But ye. Or maybe an app that runs kennels in suspension? Not sure how the hell your do that. Doubt it's possible lol. But ye got 1001 things to get done lol so I'll put that on maybe pile xD

Other than that I don't see why it won't work. I'd thought a lot of it be done through ROM. So might be okay sort of usb attacks. Then again I know little about the kernel so until I dig I won't be able to do much my self.
[OnePlus 2 Android Development] IAmOmicron:
Yeah flashed boeffla. Nothing appears to have broken just yet.
[OnePlus 2 Android Development] Archtects:
Oh right I might give it a kick. Although I think my current rom is problem. The logs seem. To be screaming about rom. Rather than kernel and other people have issues. I'll try the kernel thou see if that fixes the problem :)
[OnePlus 2 Android Development] illconn:
Does not boot: OOS 3.5.6 + Nethunter for 3.5.6

Steps taken:

-Recovery

-Factory wipe(had CM13 + Nethunter)

-install OOS 3.5.6

-Boot, configure let phone stabilize/update

-Boot back into Recovery

-Flash Nethunter for OOS 3.5.6

-Reboot

-Stuck at Kali logo

Any of you guys successfully boot if so, how long did it take?
[OnePlus 2 Android Development] illconn:
So I think i found my problem.... stupid mistake, post fresh OOS install I was no longer Rooted. Tried again after rooting 3.5.6, and now Nethunter installed, but as noted already, its incredibly slow and laggy as of right now(first boot).

No LTE(will check APN settings)

no WiFi(saw someone else report will go back and look)

The good news is that it boots, and there is functionality :), but few missing bits for me are necessary lol.

Thanks.
[OnePlus 2 Android Development] JollyJamma:
Going to do a format and reinstall and try it again. Gapps isn't updating too.
[OnePlus 2 Android Development] Archtects:
Where'd you get the kernel? Is there a cm compatible one?
[OnePlus 2 Android Development] InfiniteSpaze:
Is there a possibility to flash the Nethunter apps with TWRP over my current ROM instead of flashing a new rom?
[OnePlus 2 Android Development] Brandon Indar:
Yes...

U need to flash the nethunter zip over a current android ROM.
[OnePlus 2 Android Development] InfiniteSpaze:
Thanks! I'll try!

But isn't there a slight possibility that bugs pop-up this way?
[OnePlus 2 Android Development] Brandon Indar:
Yes... Sometimes but it is built to run on an android ROM. I'm compiling a new kernel so any bugs should be fixed.[emoji4]
[OnePlus 2 Android Development] Sh0X31:
Hi,

I download "[LATEST]Nethunter-OnePlus2-CM14-Nougat-Kalifs-Full-Chroot-20170205_204310.zip", copy it to root and press to reboot but TWRP say "no OS installed"
[OnePlus 2 Android Development] Brandon Indar:
Hi...

This is an overlaying ROM that is needed to be flashed over an existing ROM like cm14 or RR, android 7.0/7.1. I mentioned that in the post.

U need to flash a 7.0/7.1 ROM and gapps first, reboot and complete the android setup. Then flash the nethunter zip.
[OnePlus 2 Android Development] InfiniteSpaze:
cSploit is crashing when I try to start the Application. It's very strange because it worked like a charm yesterday.

Does someone knows why this happens?
[OnePlus 2 Android Development] IAmOmicron:
Uninstall and download the APK from cSploit website, worked for me.
[OnePlus 2 Android Development] ani150101:
Bro my wifite isnt working and wlan1 network mode is showing this

wlan1: ERROR while getting interface flags: No such device
[OnePlus 2 Android Development] Sh0X31:
It's always just ask 1 or 2 the whole time

Edit: Do somebody have a good tutorial for Nethunter :P
[OnePlus 2 Android Development] IAmOmicron:
You need an external WiFi adapter. Built in does not work for wifite. Also read the red text. Cowpatty is recommended. 'apt install cowpatty'
[OnePlus 2 Android Development] ani150101:
I have installed it still it doesn't run it asks for 1 or 2 everytime
[OnePlus 2 Android Development] illconn:
External wifi adapter needed..... as already stated, internal adapters do not support injection or mon.