yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] ajimohan:
Thanks for the reply renjen, now I am getting an error when try to install firmware aethros

Also lsusb shows the device

When iwconfig wlan1 up get an error no sch device

Please help me......

Thanks in advance
[OnePlus 2 Android Development] :
thats simply because you got a typo in your command "atheros"

goodluck
[OnePlus 2 Android Development] ajimohan:
Thank you, atheros installed and re booted the device still no wlan1

Thanks
[OnePlus 2 Android Development] mipirakas:
Type "iwconfig" and check if your wifi adapter gets detected.
[OnePlus 2 Android Development] nicesoni_ash:
Kernels available in these zips are only default cm kernels, right? Any chance or way we can make this work on Boeffla or other kernels without compiling them ourselves?

Edit:

Btw my Tplink device is working perfectly now. Thanks.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] huoxing:
hi, kernel-nethunter-oneplus2-lollipop-3.1.0-20160802-0230 works fine for OP2 H2OS, cause it use lollipop kernel. thanks
[OnePlus 2 Android Development] :
actually the nethunter kernel is only for some stuff that normal users dont use and its for the HID attack to work.. without this kernel nethunter overlay will work 100% but with no HID attacks also theres a custom modified busybox version included so its not recommended to install any custom kernel other than the nethunter's one on the overlay it self.

and youre welcome! always :good:

but at the end yeah i guess you can flash any kernel over nethunter but as i said youll lose some important and main features.
[OnePlus 2 Android Development] :
thanks !
[OnePlus 2 Android Development] :
after you installed the firmware check airmon-ng and see if wlan1 shows please
[OnePlus 2 Android Development] nicesoni_ash:
Although I am not worried about HID attacks as that's not to be used by me but other stuff may be needed as well as that custom modified busybox yet I want Boeffla as it has other important features I need so I am ready to build it myself if you can give me some pointers please. Thanks.

Edit:

Oh, and what's the best procedure to uninstall nethunter in case I want to in future? Thanks.

Edit:

Just tested and without this kernel, my TPlink isn't recognized.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ravenhunter007:
Is it possible to build a full chroot in nethunter without the nethunter app? I reverted back to oxygen is 2.2.0 and it gives a bad checksum error when installing chroot . there isnt a full nethunter with chroot on the website
[OnePlus 2 Android Development] nicesoni_ash:
Download zip file full chroot, extract fullchroot file to your sdcard root and then install it through nethunter app.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ravenhunter007:
On the XDA forum there is only the 2.2.0 version with out full chroot. The full chroot is on the cm13 download
[OnePlus 2 Android Development] nicesoni_ash:
U need only the chrootfull file from the zip, I am sure that's same for both oos or cm13.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
No wlan1...... :(
[OnePlus 2 Android Development] nicesoni_ash:
Are ypu sure it's compatible, did u check their compatible devices list?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
Yea, forum shows one plus 2 with official cm13 nightly is supported now with nethunter 3.1

---------- Post added at 06:28 PM ---------- Previous post was at 06:27 PM ----------

Everything is working fine but no wlan1 when I connect it with to link WiFi adapter
[OnePlus 2 Android Development] nicesoni_ash:
No man, u didnt get me neither u properly replied the op post. He asked u about your device model info etc but u didnt provide any. Where in ur lsusb it shows that it's an atheros device?

Edit:

Atheros devices in ur screenshot isn't your external usb device.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
See this post http://xdaforums.com/showthread.php?p=68049596
[OnePlus 2 Android Development] nicesoni_ash:
I saw ur posts first and then posted and I still say you didn't reply properly. U still haven't. What's ur device model, company etc?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
Device is oneplus2 also using nehunter kernels
[OnePlus 2 Android Development] nicesoni_ash:
U do know that to use wlan1 (to injection or for other uses), you'll need an external usb wifi adapter. U are in op2 thread so of course I wouldn't ask you what's ur device model but what's u are using through otg and if by chance u are hoping that ur op2 is enough and doing all this without any external device then oh boy, you did really wasted our time coz till now we don't know ur external usb adapter model.

If u ARE using one then ur lsusb should be showing something like this,

And ur wifite should show this..

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
I know, see this post

http://xdaforums.com/showthread.php?p=68058910

I am using tp link TL-WN725N
[OnePlus 2 Android Development] nicesoni_ash:
Ur chipset is realtek not atheros so either it's not compatible or u need different drivers. Let the op answer about this now.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
Ohh OK, thanks for spending your time with me

---------- Post added at 07:07 PM ---------- Previous post was at 06:59 PM ----------
[OnePlus 2 Android Development] nicesoni_ash:
Anytime. Btw ur adapter isn't in working list nor it's in not working. I am using tplink 722N which is preferred and suggested by almost everyone on kali forum.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ajimohan:
Ohh OK thanks for your opinion, I will try 722N after I will post here
[OnePlus 2 Android Development] Archtects:
Would this work on paranoid android? IM aware its an overlay rom. Or should i just clean install CM13? And flash Kali?
[OnePlus 2 Android Development] nicesoni_ash:
I doubt it will, better to clean flash cm13 and then this.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] Archtects:
ahh okay then! I like kali, lol run it on my pc all time.

GAH idk if im gonna do it tho XD, i might do once i can be bothered to wipe again and redo my ohone lol xD
[OnePlus 2 Android Development] nicesoni_ash:
Yup, clean flash is a lot of work. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] anastasiszn:
If i have realtek chipset,for use tp link adapter must run apt-get install firmware-realtek?

Στάλθηκε από το GT-I9105P μου χρησιμοποιώντας Kali NetHunter
[OnePlus 2 Android Development] zoroarctic:
Actually, I think it will. I tested it on Halogen OS which is CAF based and since Paranoid runs on AOSP-CAF, it should work too. Take a nandroid backup anyways, just in case.
[OnePlus 2 Android Development] nicesoni_ash:
I realized Realtek drivers installation is a mess after googling the info about it. Not all realtek drivers will work with all different realtek chipset or the quality won't be great. Most sites suggest to build them on ur machine urself so it doesn't look too good that's why I guess it's better to buy a preferred adapter.

But still you can give it a try, nothing is going to mess with this command.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
alright since i didnt look into the screenshots you provided and i was depending on "text" replies.. i thought you're running an atheros based wifi adapter.. you first quoted me referring to the solution i've posted for the wn721n..

yes [MENTION=4659955]nicesoni_ash[/MENTION] is right, your chip isnt atheros, its realtek based so you gotta try installing this first "apt-get install firmware-realtek" n if it fails and your adapter didnt show up try this "apt-get install firmware-misc-nonfree" if it fails as well quote me and i'll guid you to manually install the driver on your phone.

edit: please make sure youre using an external adapter (assuming you're doing so) and the OTG adapter is working properly "WITH THE PHONE".
[OnePlus 2 Android Development] nicesoni_ash:
Any help on my post about building with custom kernel like Boeffla?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
yeah!

okay first, there exist an "uninstaller" for nethunter but its outdated and i really dont recommend using it because it might mess up stuff on your phone but i can provide it if you want it.

second, the kernel is set to recognize and deal with external devices not only mouses and keyboards.. so if you want to use a custom kernel why the need for an external wifi? i mean you've already broke the heart of kali's shell... but in some rare cases kali will work with custom kernels as i have been through with an old boeffla kernel version.. and i think [MENTION=6735707]zoroarctic[/MENTION] got through the same as well? idk.. anyway you might wanna try the boeffla's one or the benschholds's one from this section and test if they'll work, as i'm not good when it comes to the kernel part ;p

best luck :cowboy:

P.S: building with custom kernel is kinda not possible so you gotta download a zip which i'll post in the next 12 hours which doesnt include the kernel and after flashing it over your ROM you gotta flash boeffla or benschholds kernel. is that what you want?
[OnePlus 2 Android Development] nicesoni_ash:
No, that's not what I want coz as you said urself it'll break the ♥ of kali. Hehe. On serious note, it did break support for my external adapter so I have to use a kernel that supports nethunter.

I guess u have idlekernel in nethunter zip as flashing them separately works too but I want to have capabilites of Boeffla but with support for nethunter and for that I am ready to build it from Boeffla sources too. I messaged the dev who forked and build idlekernel for op2 today asking the same question.

And no, the kernels u linked didn't work as they didn't recognized my external adapter.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
[MENTION=5555260]ChrisAr[/MENTION] got you covered. hopefully he isnt busy..

he might reply soon
[OnePlus 2 Android Development] nicesoni_ash:
Problem is my external adapter didn't work in his kernels too that he built, I guess when u asked him to close his thread sayin that few things won't work including hid attack, recognizing external devices or injection was also something that didn't work. I did sent him a pm though and waiting for his reply.

I read more on kali forum and learned that in order to use any external adapter I need the nethunter kernel which contains the mac80211 injection patch. Without this patch I cant get any external adapter to work. So what if I cherry pick this commit or patch into Boeffla kernel sources and then try?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
yup thats what i have said 5 mins ago :p .

i honestly dunno, give it a try n lemme know!! :silly:

:highfive:
[OnePlus 2 Android Development] nicesoni_ash:
After further reading I understand that I need three main patches to be included in the kernel of my choice, these are..

Mac80211 injection, HID patches for keyboard support, CDROM and one optional DriveDroid patch (coz I use that app quite often) so I'll try to find those patches but I am not so good in git, almost a noob so any help to find these is appreciated. Thanks.

Edit:

After finding and reading cd rom patch, I now know that it's already included in Boeffla kernel so one less patch to include.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] Ucihaflash:
please correct my confusion about installation

1. flash cm13

2. than flash nethunter-cm13-6.0.1-20160720-full.zip

and please shed some more light on kernal flashing.
[OnePlus 2 Android Development] :
1- cm13 and gapps at once

2- reboot and complete the wizard setup

3- reboot to twrp or any custom recovery

4- flash nethunter

now for the kernel updates you just have to flash the newest zip from idlekernel provided on the main page through recovery thats all ( ofcourse assuming youre already running cm13 with nethunter installed :) )

happy hacking
[OnePlus 2 Android Development] :
ill be looking into that in a bit :good:
[OnePlus 2 Android Development] Ucihaflash:
how to choose between nethunter full chroot or minimal?

really feeling dumb for asking these type of queries,sorry:o
[OnePlus 2 Android Development] nicesoni_ash:
Minimal will have short version of chroot and full has full version of chroot, if u are ok with having around 700mb of space consumed with chroot, it's better if u flash full version coz some tasks may not work with mimimal version.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery

---------- Post added at 11:22 PM ---------- Previous post was at 11:21 PM ----------

I found the patches in binkybear's op2 kernel repository. Jcadduono helped on irc. I'll try my hand on monday on pc. It's too late now and tomorrow is sunday so other stuff. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] Ucihaflash:
which version of h20s you are using?
[OnePlus 2 Android Development] knpk13:
oh didnt realize i had to first boot into cm13 and complete setup. thanks

i just clean flashed the zips together. it'll work without gapps right? i dont think nethunter has any dependencies on play services.

by the way, does the zip modify the /firmware partition? because while flashing, it said something about modifying or patching the firmware. if it does, to go back to complete stock, i'll have to reflash OOS3.0.2 then restore my cm13 nandroid right?
[OnePlus 2 Android Development] :
yep itll work without gapps, nethunter has no play services dependencies.

and for the firmware part, you dont have to flash oos3.0.2 just go with official cm13 but make sure first you have a hybrid recovery as it contains the required images.
[OnePlus 2 Android Development] nicesoni_ash:
I am trying to remove chroot by nethunter chroot manager but it just shows that rebooting and it will be removed after that but after rebooting it is still there and the option to remove does the same repeating task so how to remove it?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
you mean the nethunter app?

if so you can simply use any file manager and goto /data/app/ and delete the app and dont forget to delete the folder related on /data/data/

i can build you ome with no kernel no chroot and no apps if you want to just message me :)

goodluck with what youre doing

:cowboy:
[OnePlus 2 Android Development] nicesoni_ash:
That will only delete the nethunter app and its data, I am trying to delete it's whole existence starting chroot and the option to remove chroot isn't working.

I am talking about this option.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] ChrisAr:
Hey guys,

Sorry for the late reply, I just saw your message. Your research was great. You need at least these three patches to make the kernel work. The process is really simple if you know how to apply a patch to a source tree.

~~~ off topic ~~~

I'm uploading new stock builds, stay tuned :highfive:
[OnePlus 2 Android Development] :
okay there might be something wrong in there.. but the chroot is located at /data/local/nhsystem/

and theres a folder on the internal storage called nh_files that you also wanna delete
[OnePlus 2 Android Development] :
news! nethunter now supports oos3! build is being tested and might take up to 48 hours no more!! stay tuned
[OnePlus 2 Android Development] ajimohan:
Renjen thank you so much for your assist. My wlan1 is up and working perfectly. I bought new to link wn 722n, my previous adapter was tp link nano. So that's just comparability issue

Thank you

---------- Post added at 03:28 PM ---------- Previous post was at 03:25 PM ----------

Thank you so much man, as per your suggestion I bought wn722n and now working perfectly.
[OnePlus 2 Android Development] nicesoni_ash:
Glad to be of help.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] :
sorry, the oos build is gonna take sometime because im having internet issues.. whenever i manage to upload the file whether it hangs on 30% ~ 45% or the connection gets disconnected..
[OnePlus 2 Android Development] knpk13:
Clean flashed CM13 aug 4 build and followed the above instructions. Left it to boot. Stuck on boot animation even after 3 hours. I can see nethunter is working for other people though. So I'll try the Aug 9 CM build as well. Would a logcat during boot help you help me, if it doesn't work even after that?
[OnePlus 2 Android Development] nicesoni_ash:
Did only cm13 flashed and booted properly? What did you flashed in numerical order?

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] rishipreetam:
want a best otg cable for oneplus 2 nethunter

I recently bought tplink 722n so i want a best otg cable support this for nethunter oneplus 2

---------- Post added at 06:47 AM ---------- Previous post was at 06:42 AM ----------

Otg cable for oneplus 2 nethunter

I has tplink 722n so can u tell name of otg cable or give me

The link of amazon.in or any websites
[OnePlus 2 Android Development] mipirakas:
You need the official micro usb to usb-c adapter from oneplus and then connect a micro usb OTG cable to it. The xiaomi adapter also works but i don't have it so could be wrong.
[OnePlus 2 Android Development] knpk13:
Same as what I said and what was written in the OP

Yes, CM alone worked properly.

0. Wiped everything.

1. Clean flashed CM13 (with latest official TWRP)

2. Booted up and completed setup

3. Flashed only Kali nethunter (full chroot zip) and booted again. Waited.

4. Stuck in boot animation for hours so repeated the entire procedure, still no luck.

Let me know if anything like logs or dmesg will help. It seems to be working for everyone else in the thread, so will try to take one as soon I get off my flight. I think I can take logcat since it's in a bootloop(animation) and not stuck at boot logo(I don't think logcat works during kernel panic).

Edit: didn't want use hybrid recovery. I even flashed OOS 3.0.2 and then repeated the process. Even md5 matches, so I'm kinda confused. Not sure if logs will help as that's the cleanest flash I can do.
[OnePlus 2 Android Development] nicesoni_ash:
Try to flash the same date of cm builds these builds are for. Also try the latest kernel flashing after the nethunter zip. I use rr so cant really check for you.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] Ucihaflash:
Xiaomi usb type c adapter works properly u can buy it from ebay.
[OnePlus 2 Android Development] ChrisAr:
Builds (finally) updated to 06/08/2016.

Android File Host is acting crazy. It aborted the uploads 9 times(!) before it could manage to finish. And aborting 990+Mbs of upload data is not good.

If you come across any corrupted file please let me know.

Cheers
[OnePlus 2 Android Development] Archtects:
This is awesome =D. thanks for your hard work.

---------- Post added at 06:16 PM ---------- Previous post was at 05:46 PM ----------

I have a question. im tempted to move to CM13 anyway, but is cm okay for the notification slider? IE, can i change the useage for it with xposed, it doesnt work on paranoid android.
[OnePlus 2 Android Development] ChrisAr:
~~~~~~~~~~~~~~~~ UPDATE 12/08 ~~~~~~~~~~~~~~~

Builds updated (this time without drama) to 11th of August.

As [MENTION=5958116]Renjen-n00b[/MENTION] said, builds for OOs 3 are also available.

Since I don't have OOs3, I would like a couple of brave testers to ensure that the builds are ok and after that they will be released to public.

PM me for the links, don't clutter the thread. ;)
[OnePlus 2 Android Development] JollyJamma:
So I've installed the full package and it hasn't bricked my A2005. Trying the various apps but I haven't played with MITM and I don't have an OTG cable for my 722N wifi adapter.

I'm running TWRP 3.0.0.2 and OOS3 3.0.2.

Does anyone have a link for a OTG Y cable that can do charging and connect to Type C? I can't seem to find any. Thanks in advance.
[OnePlus 2 Android Development] nicesoni_ash:
Don't have the link but find on aliexpress and you'll find plenty.

Sent from my "i9300/1+2" powered by Carbon/RR

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] zoroarctic:
I made my own OTG Y cable using an old USB cable and a cheap OTG cable. Used the oneplus USB c adapter to connect it to my phone

If you wish to make it, read this:

http://xdaforums.com/showthread.php?t=1828032

It's very easy, you don't even need to solder :)
[OnePlus 2 Android Development] ChrisAr:
Ok then,

I'm waiting for a response from another tester too and we will add the links.

Big thanks to the community here, working together in harmony :highfive:

We'll keep you posted guys :good:
[OnePlus 2 Android Development] Archtects:
I flashed it on PA. It booted! The Rom and it's features seemed to run okay! But it broke the hardware back button and ran fairly slow. And just wouldn't connect to data/LtE. I have refreshed my Backup anyway. It might have been the full chroot ver? I might try the other two see if it makes a difference. Will have to wait till I get home though.

DAT BOOT SCREEN THO :svetius: :eek:

Might think a about flashing cm13, as latest build will have August patch. But I like PA. Great ROM
[OnePlus 2 Android Development] Archtects:
Ooo. Sounds ominous. I'm still trying to work on a way to run and use USB c in twrp.
[OnePlus 2 Android Development] :
:good: :good: :good: :good: :good: :good:

:good: Thread Updated ;p :good:

:good: :good: :good: :good: :good: :good:
[OnePlus 2 Android Development] proppetto:
I have a problem: When I turn off wifi, the phone reboot.

Stock OOS 3.0.2.
[OnePlus 2 Android Development] Silverquark:
First of all thanks for your work man!

I flashed nethunter on my oos3 op2 but hid attacks aren't working for some reason. I have xposed installed but don't have any modules activated. Could that be the cause?
[OnePlus 2 Android Development] :
hid works perfectly.. try disabling usb debugging and then re-enable it.

please check the 2nd post
[OnePlus 2 Android Development] proppetto:
Can you answer to me, because i didn't solve my problem. I have also tried to flash stock OOS 3.0.2 and then flash Kali full chroot. I Can y solve my problem of wi fi

Thank you
[OnePlus 2 Android Development] :
0. Wipe everything.

1. Clean flashed OOS3.0.2/CM13 (with latest official TWRP or hybrid recovery)

2. Boot up and complete setup

3. reboot and Flashed only Kali nethunter (full chroot zip) and booted again.

please read how to install on the first page.....
[OnePlus 2 Android Development] proppetto:
I did It, 2 times. But every time I turn off the WiFi after I connected to a network, the phone will restart. I don't understand why.
[OnePlus 2 Android Development] zoroarctic:
Then try it without flashing nethunter. If it still occurs then it has no connection to nethunter.

Edit: nevermind, another person reported this problem, should be fixed in the next kernel update by the nethunter team