yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] illconn:
In the last update for CM via Nightly looks like the Kernel is not loading properly as its stuck int he 1+ logo.

I have recompiled kernels for CM13, Lineage, and 3.5.6oos all of which are working.... to some extent. I am no expert and so im just learning as i go.

I am currently running Lineage os 2/14 nightly build with Nethunter. Mostly stable with 2 random reboots so far in the past week. I have not looked into Logs so i cant say what is causing it yet, but if i have to guess it will be something with one of the nethunter apps(Terminal).

I have also compiled a kernel to work with 3.5.6, which works great, but..... I have the Camera focus issue with this build. However I can switch between Boefflas, for day to day use while maintaining Metasploit/SSH capabilities with camera working properly. I am rebuilding the OOS3X kernel now to see if I can get camera to work but I honestly again dont know much aside from what i have read so far lol. I am going through all the menus trying to find relevant bits and pieces so if anyone is still interested i would be happy to post them up. I dont want to post them here unless the OP is ok with it, or i can start a new thread.
[OnePlus 2 Android Development] raosahab:
screenshot please

In this rom is everything is run through commands?
[OnePlus 2 Android Development] illconn:
Well this is not a ROM, its an overlay that sits on top of a rom... in this case CM13/OOS. Command line is the way to go indeed, but it also has a GUI interface.... though useless if you dont know what you are doing. I'd read up on Nethunter before attempting to us it.
[OnePlus 2 Android Development] mahmoud sabry 6:
I flash CM-13 with custom kernal for nethunter then I flash firmware and flash nethunter how can I make sure that nethunter will work well with WiFi adapter???
[OnePlus 2 Android Development] illconn:
Nothing to it, but to do it...... plug in the wifi adapter, start up terminal and type in: Airmon-ng and press enter.

It should show all avail interfaces. If you see a new one(typically wlan1) then you are good to go.

You can also check to make sure your kernel is still installed. Based on the steps you described above i would assume that you overwrote the Kernel when you installed Nethunter(Last). Of course if NO kernel was included in the nethunter install then you should be fine. But check to make sure you have the kernel you want by opening Nethunter App and looking in the "Home" it should show you Kernel version.... Verify its the one you want.

GL!
[OnePlus 2 Android Development] kaz_xda:
I tried some months ago, nethunter with OOS 3.5.6 and images from camera were blurs.

Is it stil the same with last nethunter and OOS 3.5.8?
[OnePlus 2 Android Development] gocke55014:
Does this support TTL patch?
[OnePlus 2 Android Development] Sean Price:
is there such a guide for those of us who just bought a OnePlus One?

please advise!

oNe
[OnePlus 2 Android Development] pingopower:
https://xdaforums.com/oneplus-2/development/nethunter-3-15-3-oneplus-2-cm-14-nougat-t3507548

or

https://xdaforums.com/oneplus-2/development/kernels-kali-nethunter-t3378364

or

https://xdaforums.com/oneplus-2/development/nethunter-oneplus2-t3301694/

???

And why

(for my case i will use it with MultiROM so with special MultiROM TWRP unchangeable)
[OnePlus 2 Android Development] QuentinJames:
Half Successful Nethunter Installation

Thank you for the helpful post. I followed all the steps carefully and managed to install Nethunter with no problems. I downloaded and installed the chroot from within the Nethunter app. Following that, everything seems to work, except that upon launching the Nethunter Terminal app, it doesn't let me open a Kali terminal. Android and Androidsu work fine but pressing Kali terminal returns the error: "Could not find: /data/local/nhsystem/kali/armhf: Missing chroot. You need to install from Chroot Manager". The app then crashes. In Kali Chroot Manager, the status section says: Checking for chroot at /data/local/nhsystem/kali/armhf and then "An existing Kali chroot was found!". Also, when I install a Kali Metapackage and it finishes. it leaves me in the Kali terminal, fully functional. However I still cannot open a Kali shell from the terminal app. Could it be the app that's at fault since a Chroot seems to exist and I can get into Kali shell through an indirect way?
[OnePlus 2 Android Development] snabgenech:
Hi. How to fix a blurred camera problem with kalinethunter installed
[OnePlus 2 Android Development] Brandon Indar:
Hi...

I will need to build one with latest kernel then test but can't rn cuz I'm building a new PC ATM so can't do anything now. Will be at a later date, as I don't have access to Ubuntu. :/
[OnePlus 2 Android Development] anupritaisno1:
I can give you temporary access to a build service

Pm if interested, I won't charge you anything
[OnePlus 2 Android Development] snabgenech:
я подожду пока у вас появиться возможность.

заранее спасибо.с уважением
[OnePlus 2 Android Development] snabgenech:
Correct the error with the installed nethunter with the blurring of the camera on lineage os 14.1. and on oxygen os 3.6.0
[OnePlus 2 Android Development] StevenAwesome:
just so you know nethunter for oos 3.5.8 is already available here ,

androidfilehost.com/?fid=673368273298952822

you need to add https at the begining to make a complete url
[OnePlus 2 Android Development] thehackersz:
i'm on RR 8.1 right now. Waiting for the feed back weather the current stock kernel or BlueBolt Kernel support NetHunter .
[OnePlus 2 Android Development] insaneparnoid:
However nethunter is nor available for op2 8.x , but i guess BB and Kawori Kernel should support it as in 7.x they did support

are you using nethunter right now in RR 8.1?
[OnePlus 2 Android Development] jakey1995abc:
Does anyone know if this is working with lineageos 15.1 (Oreo) with magisk root? Using oneplus 2 also.
[OnePlus 2 Android Development] Wmbruckner:
Just read the previous post, not for Oreo (8.x), which LOS 15.1 is.
[OnePlus 2 Android Development] UsPdSr:
Just wanted to give you guys a heads up, since I'm currently researching a new Nethunter device, since my old Nexus 7 and Xiaomi Redmi Note 4 x aren't doing it anymore.

Re4son, a very, very gifted and well-known dev in the pentesting scene has undertaken the quite difficult task of getting the Nethunter project getting back on track.

Of course there are other developers like kimocoder.

I just wanted to praise the guy a bit for his achievements.

For example bringing Kali Linux to the Raspberry Pi <3

Fortunately for you guys, his phone is a OnePlus 2 and he recently pushed the first official Pie kernel.

Happy pentesting!

https://build.nethunter.com/nightly/2019.03-13-0514/
[OnePlus 2 Android Development] insaneparnoid:
Didn't find any kernel for pie in link, i see kernels only for marshmallow, nougat and oreo, tho i have downloaded oreo kernel, will try flashing it on my oreo rom, just let me know if there is pie kernel :fingers-crossed:
[OnePlus 2 Android Development] black0snow:
It’s there, just not build and uploaded, but you can build it using the Nethunter installer yourself, it’s easy if you use Linux. Google for Nethunter installer on github, it’s all right ther.

Running it on my op2 right now, wouldn’t recommend using the one uploaded for Oreo although they seem identical. Had problems first that way.

Build kernel only + installer only, flash installer, flash kernel, Boot and install apps manually from installer zip, then flash full kali arm64 and boot up, open nh app for final setup.

There you are :)
[OnePlus 2 Android Development] insaneparnoid:
I'm using lineage os oreo, is it ok if i build for oreo, cant use pie coz of volte issue
[OnePlus 2 Android Development] UsPdSr:
The post above would be my advice as well.

R4son, kimocoder, binkybear (mostly afaik, but he observes everything and jcudano, of course are still developing.

Just recently it gave a huge update for different tools etc

The Installer is in my opinion the best choice.Apart from the custom development regarding the needed kernel.

If you need help just give me notice.For Linux beginner use Kali or Parrot Os Live.

It's easier then Ubuntu with the continuously root request, if you are not wrecking your neighbors Hotspot.*sarcasm(sic!) *

Just in case

https://build.nethunter.com/nightly...nethunter-oneplus2cm-oreo-2019.03-13-0514.zip

Please take the respective precautions, mkay.

I would be glad if somebody could help me a bit out.

Just purchased the OnePlus 3 and am quite swamped to be honest.

20yrs> Linux, 10 yrs> maybe Android and this device is not that easy to handle in regard of the internal storage and so on.

Anyhow, I try to keep an eye on the thread.

I am too busy to give it another 100 pages read.Srsly.

Wasn't this the 'chosen' model(s) for our kind..?

:/
[OnePlus 2 Android Development] sakalsk:
Hello, i buy from ebay used oneplus 2, when it come all work fine so i do all steps (unlock bootloader, root etc) so i can install nethunter. BEFORE i backup original OS from device... THEN: From first topic i try install zip file : nethunter-cm13-6.0.1-20160925-full.zip , after successful install from TWRP i click on reboot but device not boot at all and start directly to fastboot mode. So i try download some image again and flash it again. SOME RESULT. than i download newer nethunter from this thread with name: Nethunter-OnePlus_2-OOS_3.5.8-kalifs-full-20170505_143504.zip , also install from TWRP but result is some. I AM IN FASTBOOT MODE. than i recover from my BACKUP and phone work fine with original ROM right now. BUT why when i install nethunter it is stuck in FASTBOOT MODE?
[OnePlus 2 Android Development] Oswald Boelcke:
THREAD CLOSED!

@renjen-n00b Please advise the moderators' team to re-open the thread when ready to provide a link to kernel source.

EDIT (2019-12-17) Received following information from the OP:
[OnePlus 2 Android Development] :
[MENTION=7250701]jayakrishna8686[/MENTION] please refer to the main page of this thread.. I have repeated word " latest OOS " hundreds of times.. anyway sorry if you lost your data but still you can make it work by upgrading to oos 2.2.0
[OnePlus 2 Android Development] Magnum828:
The camera is lagging, idk what causes this.
[OnePlus 2 Android Development] :
[MENTION=4691414]Magnum828[/MENTION] its because you didn't install Nethunter on a FRESH OOS.. if you did that.. then you havent fully wiped your phone at first :)
[OnePlus 2 Android Development] Magnum828:
Well, camera works. Now the chroot does not want to unpack...
[OnePlus 2 Android Development] yanowman:
{Exactly what I needed to know]
[OnePlus 2 Android Development] yanowman:
helpz

Youve used Kon Boot?

I havent yet used nethunter (its rather new territory for me). Ive used SOME kali linux tools before, but i am in no way very fluent in them....

could someone give some insight as to effective modules/ways to employ nethunter
[OnePlus 2 Android Development] yanowman:
Peace out girl scout
[OnePlus 2 Android Development] zoroarctic:
Haven't tried kon on my phone

I use it from a pen drive

But you can use it with drive droid if you have the kon boot image

Apart from this I just know how to use Wifite :p

I don't *need* HID attacks or USB attacks but there are several videos on YouTube showing you how to go around with them!
[OnePlus 2 Android Development] jayakrishna8686:
Hi,With your Suggestion i had flashed nethunter in Latest OOS And my camera is working and it is fine..But When i am trying to update metapackages the following error occurs

apt-get: not found i already chrooted it below are the screenshots of my error and thanks in advance...
[OnePlus 2 Android Development] :
Hi and thanks for reporting this. O.S Team will be working on it but you have to check the following at first:

1-remove chroot and reinstall it using the minimum package.

2-after installing chroot goto nethunter terminal and choose Kali

3-terminal might ask for SU request so grant it.

4-if you see kali@root or root@kali then continue to step 5 else report the problem to me.

5- inside the terminal type the following "apt-get update" without quotations and wait then close the terminal.

P.S: please check that you have correctly installed this MOD over your ROM with everything fully wiped and cleaned. also should have SU installed before flashing nethunter. please double check all the steps including this statement.
[OnePlus 2 Android Development] nsecgo:
hi! Did you solve this problem? I have the same problem with you.

---------- Post added at 08:23 AM ---------- Previous post was at 08:05 AM ----------

hi,I do as you say,but did not solve the problem:(
[OnePlus 2 Android Development] jayakrishna8686:
Hi I solved The problem on the same day just reinstall the busy box or install if youre not...:)
[OnePlus 2 Android Development] nsecgo:
that's busybox need to upgrade，it working OK now. Thank you:)
[OnePlus 2 Android Development] :
new update is released.. contains bug, module/kernel, wallpaper fixes
[OnePlus 2 Android Development] kitdog:
Hi guys,

Thanks to this post, I am planning to buy a new OnePlus 2 exactly for the purpose to install Nethunter.

At the moment I am using Kali on my laptop, but I need to be more portable.

I know I may appear supern00b... but me and Android are not uber friends. (forgive me for this noobness).

Until now I am using an old Nokia N900 :)

Some of you can point me to some video or tutorial on how to install from scratch nethunter for an Android Begginer? :)

So far are not very clear two steps of the installation guide:

- Reboot/Boot into TWRP.

Where do I get it and how to install properly without bricking anyhthing?

I guess I will first need to root the OP? If yes, where I can find a reliable tutorial?

- when asked which type of package you'd like to download/install, choose yourself depends on your needs

Is something like apt repositories of Debian-based distro?

P.S. So far I understood that OP2 is not supported officially. Therefore, do you rather suggest to go for OPO, in order to mess around with some possible issues I will encounter with the OP2? :)

Thanks for your time and patience! :angel:
[OnePlus 2 Android Development] :
will be explaining all of the things up in the main thread in approx 1 hour
[OnePlus 2 Android Development] kitdog:
Really appreciated! :)

Since you seem know a lot about Nethunter... Do you maybe know if Snoopsnithc is supporte dby Nethunter's kernel?

Thanks :)
[OnePlus 2 Android Development] :
Hi and thanks for posting this, Snoopsnitch might be supported in later versions/releases of kali (nethunter) and here's an official reply for your question from Offensive Security:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+​

after looking at kernel configuration it doesn't appear to be set.

From the Wiki it appears that CM doesn't enable DIAG by default: Unsupported.*Devices with custom ROM such as CyanogenMod which lacks the Qualcomm DIAG kernel driver (DIAG_CHAR)

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+​

BinkyBear "might" start enabling it but he said it's probably not supported (yet).
[OnePlus 2 Android Development] zub1n:
Thanks for putting in the efforts! I was thinking to port Nethunter for OP2, didn't get the time to do the research work (fairly new to porting ROM's). Will try this soon. :good:
[OnePlus 2 Android Development] kitdog:
Is possible to remove the intoduction video at every startup of the mobilephone? :)

P.S. Really amazing tutorial! :)

Thanks again
[OnePlus 2 Android Development] :
Thanks [MENTION=7281220]kitdog[/MENTION] for your positive feedback.

Do you mean the bootanimation ?

if yes, well I can't .. I mean physically I can, but logically I can't remove the bootanimation because its an official release ==> how we're gonna differentiate this ROM from other Roms ? my point is that every ROM has its own Boot animation .. so ..

BUT! you can remove it on your phone ! simply by:

1-rooting your phone ( I know its already rooted because nethunter comes with root.. I'm just showing steps in general )

2-getting a flexible file manager here I'm talking about " ES-File Explorer " >> from google play store <<

3-open and grant root access to the above mentioned app by enabling "root explorer" option in the menu

4-goto /

5-then to "system"

6-then to "media"

7-rename this file "bootanimation.zip" into "bootanimation-1.zip" or any name you'd come up with.

8-you will now have the very default Android Boot animation or a white horizontal rectangle. don't worry its okay

9-done reboot

P.S this will definitely speedup the booting process (in case you remove the bootanimation but we're talking about just a second or two so .. its not worth the hurry unless you didn't like it :p )

if it wasn't the bootanimatiin please reply with a more clear sentence of what you're issuing and I'm happy to help :)
[OnePlus 2 Android Development] kitdog:
yeah the boot animation! actually I wanted to remove because is not played so fluid... seems like is stucking or buffering... does it happens to u as well? :)

p.s. since I guess you are using nethunter also with an external wifi usb.. do you reccomend some good HUB USN with external power? :)

thanks as always :)
[OnePlus 2 Android Development] :
you could try these:

http://www.amazon.com/Plugable-10-Port-Speed-Adapter-Flip-Up/dp/B00483WRZ6

http://m.ebay.co.uk/itm/4-Port-High...3D321856939330&_trksid=p2056116.c100408.m2460
[OnePlus 2 Android Development] kitdog:
hi :)

I know you are going to hate me :D

Do you know how to enable ecryption in OP2 with nethunter 3.0 once is already installed? :)

https://github.com/offensive-security/kali-nethunter/issues/7#issuecomment-57045080 Here there is a work around, but is for nexus and imply that I need to start again from scratch :(

Thanks!
[OnePlus 2 Android Development] cryzies:
What is the included kernel for? I've grown attached to Boeffel kernel. Does Kali kernel have kcal and other basic configs?
[OnePlus 2 Android Development] zoroarctic:
The included kernel helps with drivedroid for kon boot. Possibly even HID attacks. I flashed boeffla over nethunter and I'm quite happy. 8 hours SOT with wifite working fine (I really haven't tried anything else). Drivedroid doesn't work now though.
[OnePlus 2 Android Development] redh4t:
Anyone tried this on H2O MM ROM? :)
[OnePlus 2 Android Development] regalstreak:
Any source provided? Or is it just a zip? Kali is love
[OnePlus 2 Android Development] cryptoaed:
source please? want to help you fix bugs, csploit crashes sometimes and is a lot more stable on cm13
[OnePlus 2 Android Development] krishna442:
https://github.com/offensive-security/kali-nethunter
[OnePlus 2 Android Development] angrydev:
edit: ignore everything under this, I was downloading via terminal and didn't see the cm13.0-rebase repo, someone should update the kernel.txt file on nethunter's main github

"git clone /binkybear/android_kernel_oneplus_msm8994.git -b cm-13.0"

above edited because I can't post a link, but I copy and pasted it after cloning the official nethunter repo^^

github says there's no repo to clone, I'll spend tonight and part of this weekend trying to port it to cm13, but suggestions would be nice. Should I start with cm13's kernel and modify that? maybe looking at the OOS one and it side by side and seeing what works and what doesn't?

all suggestions welcome, would like to build this for cm13 because CM13 > OOS
[OnePlus 2 Android Development] :
im so sorry guys.. my phone was bricked and finally its fixed.. ill be replying to your posts
[OnePlus 2 Android Development] :
Encryption is yet not available.
[OnePlus 2 Android Development] :
[MENTION=5721178]krishna442[/MENTION] Thanks for being in here lol and answering questions ... [MENTION=5325978]regalstreak[/MENTION] thats the official repo
[OnePlus 2 Android Development] :
[MENTION=7320091]angrydev[/MENTION] [MENTION=5325978]regalstreak[/MENTION] [MENTION=5721178]krishna442[/MENTION] [MENTION=6120214]cryzies[/MENTION]

Nethunter is no longer working on seraph's CM13 build ---> you CANT open or read your internal storage neither on PC nor on your phone ( apps ) but only in recovery
[OnePlus 2 Android Development] :
[MENTION=7303142]cryptoaed[/MENTION] Csploit works fine in here .. no crashes .. try it on OOS instead of CM13 and try to have the latest build ( metasploit , ruby, and the core files )
[OnePlus 2 Android Development] krishna442:
Is it? I'm having hard time at work and can't use this. Really miss it. Will check out on weekend. Thanks again bud.
[OnePlus 2 Android Development] kitdog:
Hi,

I have just received the notification of a OTA update of Oneplus 2.

Is it safe to upgrade it?

Or should I first uninstall Nethunter?

Thanks!
[OnePlus 2 Android Development] :
i dont think the new update have anything to do with the kernel but anyway just update and then reflash kali without uninstalling it.

p.s: first try to update and see if kali works.. if not reinstall it :p
[OnePlus 2 Android Development] elsayed.elghitany:
Thank you, brother, for this wonderful Thread

But I was wondering after the download Do you work alfa or wifi adapter

I have to install it before but it did not work
[OnePlus 2 Android Development] angrydev:
issues

Personally my alpha adapter doesn't work, I tried it with the oneplus two OEM chord -> female to female adapter -> y-cable usb -> alpha awus036nha (with the other part of the y-cable going to a battery pack).

the battery pack does charge the oneplus two through the ycable even while connected to the adapter, but it won't power the adapter.

lsusb: lsusb unable to initialize libusb -99

iwconfig doesn't list it as an available device (no wlan1 only wlan0 plus all the other non wlan's that come up)

swamped with work and school, I'm planning to work on it if no one else does, first android phone and I bought it for this reason, csploit on OOS works fine, and so does nethunter (minus my alpha adapter)

csploit on CM13 works fine too, but not nethunter, it crashes and burns and fails to make google apps work

good luck all, if I get time to work on it i'll post a fix, I haven't even googled the libusb issue
[OnePlus 2 Android Development] benc88:
Has anyone tried to dual boot this?
[OnePlus 2 Android Development] :
[MENTION=7331059]elsayed.elghitany[/MENTION]
[MENTION=7320091]angrydev[/MENTION]

weird thing that the external wifi isnt working for you because its working for me through usbc to micro usb adapter and also i have an official confirm about that.. maybe theres something wrong with your adapters? +plus, regarding csploit ( we all know its not stable .. all are nightly builds ) and By The Way ( nethunter is no longer working on CM13 tho youll definitely face crashes, OST ( BinkyBear Member and others ) are still in beta but working for fixes and improvements for NETHUNTER in GENERAL..

Thanks for your comment will be considered.
[OnePlus 2 Android Development] angrydev:
my alpha adapter works for my laptop perfectly, so I'm sure it's not the adapter. In fact I'm using it right now.

could it be because i'm going usbc (standard oneplus two cord) to female-female adapter -> microusb (standard alpha cord)? Like it's going over too many hops?

also playing videos and my camera aren't working, I'll factory reset, then reflash everything and see what happens, you're using the build posted on the first page of this thread correct?
[OnePlus 2 Android Development] :
I **Was** using the build posted on the first page, but now im on CM13 ( 11.03.2016 latest build "testing it" )

will be on OOS as soon as i finish testing that Rom.

and yeah concerning your adapter maybe there're too many hops i guess.. but one thing to tell is that if youre on CM13 and using nethunter, OTG wont work at all.. just please try everything related to nethunter ONLY on OOS ( 2.2.0 )