[Q] externally powered wifi adapter via otg for Backtrack - Kindle Fire General

Greetings! I've been lurking on XDA for quite some time, and first I would like to give a big thank you to all the developers. I would never have purchased a Kindle Fire if I didn't have faith in your ability to unlock the hardware's true potential. You guys/gals rock.
Here's my question: I develop and troubleshoot municipal and commercial wired/wireless networks and I would really like to be able to use the KF with backtrack. I understand that OTG support under ICS is very close to being a reality, would it be possible to support an external wifi adapter via OTG?
Drawing power is the first problem that comes to mind, so my thought is to mod a USB OTG adapter to draw from an external DC source instead of the KF.
This could have some awesome potential if it could work. I'm willing to do whatever I can to make this happen, so if one of you veteran developers could set me on the right track to backtrack it would be greatly appreciated.

I'm no wifi/kernel expert but as far as i have understood it:
It should be possible if you get the right wifi modules to work. Android uses a modified wpa_supplicant, so even if you have linux wifi drivers for usb you would need to patch them to get it running. The current kernel does not have mac80211/cfg80211 modules compiled it, but i think that you probably would need them (i think they are in the kernel source, they are just not set yet). The current module for the tiwlan is proprietary and is also uses some strange ibCustomWifi as wrapper around WEXT, not sure if they also did some changes there.
If the 3.0 kernel boots we should anyhow change to a mac80211 wifi driver and also use wpa_supplicant 0.8 instead of 0.6 so your chances should be a lot better with the 3.0 kernel.
So it strongly depends if your external wifi adapter is very well supported for linux (or better for Android ....) und if we get otg running. (There might be some hidden problems to discover).

Sengwall,
There are several threads in the xda forums for similar projects on different devices that might be useful as the steps are basically the same (assuming that somebody gets OTG working). Here's one of them:
http://forum.xda-developers.com/showthread.php?t=1484339

Thanks for the input...ill look and see if there has been success on other devices with the same board.... great suggestion.

Related

[Q] Can an Android phone support an external USB LTE radio?

Hi all,
I did a few searches before this and it seems like no one else has asked about this yet. My goal is to get some type of external radio working on an Android phone in hopes to learn more about the system and possibly get a USB LTE radio talking to Android. I know most of the phones use usb Micro which supports a host protocol but I don't know if the Android system supports it.
My first goal would be to get a usb wifi dongle or 3g dongle working. My reasoning is because those have linux drivers so maybe I could try to get the driver on the android phone? Just my thoughts.
Does anyone think this is possible? Thanks for any help.
PS: I am aware that I would need an adapter to make the dongle fit to the micro usb port.
SO far I have been able to get host mode working on a nexus one. Now I need to get into adding different kernel modules compiled. Does anyone know a good guide to follow to ge me started? I did a quick google search but it didnt really turn up anything other than compile the actual Android Kernel.

USB host

Does any know if is possibile to connect a pen USB to HD2?
Sent from my HTC HD2 using XDA App
leo usb host (sponsored by google) gives THIS xda thread from feb last year,
(not very easily, is the actual answer)
i wanna bring this up again. would it be possible to port the usb host kernel patch from the nexus one or desire hd to the hd2 kernel?
+1 bump, i would be interested in this as well. The wiki states current kernel is the problem
http://htc-linux.org/wiki/index.php?title=Leo/Status
Code:
USB
Android Debug (ADB) works
Normal USB Ethernet works with patch from mobile-linux-discuss Mailing List - see Contact
USB Host is broken in current kernel (due to battery driver detection not working). see mailing list Contact
but i'm not sure which branch it refers to, .32 should have no problem with this. Should be portable from the N1, since it's the same SoC. We would also need an app for switching between Host and Slave mode
+1 for this feature, would love to copy the camera HQ snaps and upload to flickr while on the move. ALso keeping a backup pendrive with songs/videos will be wonderful too. The possibilities are actually endless
USB OTG / Host thread bump
I would like to bump the thread.
I recall USB host funcionality was successfully implemented to ubuntu distros kernel...
It was ported to android distros with loosing the USB gadjet funcionality (desire and nexus)
... but now there is a new light...
It is fully working on SGS2! this means no more: "android is not built for this"
are there any kernel devs interested in USB OTG for leo?
Is there anyone familiar how it's done in SGS2 kernel and android build so that it just works?
I thought it was the case that Leo does not supply any power to the USB port = tough to power devices :-(
Sent from my HTC HD2 using XDA App
smeddy said:
I thought it was the case that Leo does not supply any power to the USB port = tough to power devices :-(
Click to expand...
Click to collapse
Available information says it does not.
Possibly there are some microp commands to trigger some power when OTG is supposed to be active...
After all, power could be injected from an external source (this is how it works under linux distros: Ubuntu on Leo, Debian) so i think this would be the smallest problem
Today I saw that DFT has made the USB host working on WM6.5, so it is only a software limitation , and it is in the current kernel.
I've used an USBHost mode onmy DHD (with a patched kernel for USB host). Actually it can''t provide enough power to other devices, but with some power injection cable the Mass Storage works fine.
Also i saw in the EVO forum a guy who ported a DirectLink Display Drivers, so this will give us a TV-Out option.
So is there anyone working for solution?
Leo usb host development
Although I have not much experience in kernel development I will put all my efforts on figuring out a solution on this issue.
I have a question to ported Host mode to your DHD.
I have heard that when host mode is implemented to the kernel, one must sacrifice USB gadget (on this kernel only). Did you try ADB or multimount to connect to pc?
Host mode was successfully implemented into linux distro kernel and I may be wrong but I recall Dan1j3l mentioned somewhere that he was able to port the Sven Killig's host mode to Leo android kernel as well.
Besides, in the 2.6.37 kernel (CM) for Leo developent tree there are all of the files included, but the problem is that the kernel does not boot yet :/
ogonzuhnina said:
Although I have not much experience in kernel development I will put all my efforts on figuring out a solution on this issue.
I have a question to ported Host mode to your DHD.
I have heard that when host mode is implemented to the kernel, one must sacrifice USB gadget (on this kernel only). Did you try ADB or multimount to connect to pc?
Host mode was successfully implemented into linux distro kernel and I may be wrong but I recall Dan1j3l mentioned somewhere that he was able to port the Sven Killig's host mode to Leo android kernel as well.
Besides, in the 2.6.37 kernel (CM) for Leo developent tree there are all of the files included, but the problem is that the kernel does not boot yet :/
Click to expand...
Click to collapse
Since there are many (including myself) who are interested in this, maybe we should open a thread for DEVs (tag it with [DEV]) to see who can help with this. Hope that you will be successful with this.
separate [DEV] thread
sure, why not.
One thing I would suggest though
As i hate endless talks in threads (making them hard to get condenced info on the subject) maybe it would make sense to have a pair of threads: one with babbling, second with pure technical info and conclusions.
in case of my progress I am at the stage of reading, pulling trees, setting up environments, reading, reading, reading...
since there is a number of trees with host included I am planning to setup some sort of code visualisation tools to look for similarities and system solutions - will try to implement it further into our Leo kernel
... dont know where it will lead me, but with a little luck...
Just a little update (for those interested)
I managed to succesfully compile and boot a kernel with host patch roughly integrated.
I did not test if the host features worked or not, but at least the process is somehow working, and the source code is not totally messed up.
The symptoms observed within android are USB connection not recognized and no charging (effect of usb gadget functions being cut off; battery/charging driver dependent on usb connection state).
It is obvious that the way is still long, but at least there is some minor progress
I am not going to give up...yet
Whish me luck ;-)
(It's time to setup some gear and read lots more...)
Sent from my HD2 using XDA App
Thanks for your efforts I am definitely following this closely. Having USB Host would up the usability of this device hundred folds!!!!!
All the best!!!!!!!
ogonzuhnina said:
Just a little update (for those interested)
I managed to succesfully compile and boot a kernel with host patch roughly integrated.
I did not test if the host features worked or not, but at least the process is somehow working, and the source code is not totally messed up.
The symptoms observed within android are USB connection not recognized and no charging (effect of usb gadget functions being cut off; battery/charging driver dependent on usb connection state).
It is obvious that the way is still long, but at least there is some minor progress
I am not going to give up...yet
Whish me luck ;-)
(It's time to setup some gear and read lots more...)
Sent from my HD2 using XDA App
Click to expand...
Click to collapse
no major updates yet :/
for anyone following...
Sorry for not giving any major update.
I did setup all required hardware, tested, but (as suspected) it didn't work yet.
I had to suspend host related activities due to uni stuff.
I expect to close my remaining issues within a week and get back to getting this bastard to work
cheers
ogonzuhnina said:
for anyone following...
Sorry for not giving any major update.
I did setup all required hardware, tested, but (as suspected) it didn't work yet.
I had to suspend host related activities due to uni stuff.
I expect to close my remaining issues within a week and get back to getting this bastard to work
cheers
Click to expand...
Click to collapse
Well, you have one person here faithfully following the progress All the best!
ogonzuhnina said:
for anyone following...
Sorry for not giving any major update.
I did setup all required hardware, tested, but (as suspected) it didn't work yet.
I had to suspend host related activities due to uni stuff.
I expect to close my remaining issues within a week and get back to getting this bastard to work
cheers
Click to expand...
Click to collapse
Hey, how are things coming along? I, for one, am very interested to see the results of your experimentation
why wont devs help u?
erlern said:
Hey, how are things coming along? I, for one, am very interested to see the results of your experimentation
Click to expand...
Click to collapse
+1 here too but i cant understand y devs are helping him with getting usb working especially with so many brilliant devs on here!!
---------- Post added at 07:36 PM ---------- Previous post was at 07:31 PM ----------
maddoc1007 said:
+1 here too but i cant understand y devs are not helping him with getting usb working especially with so many brilliant devs on here!![/really meant y devs are not elping him me bad
Click to expand...
Click to collapse
Hi guys,
Thanks for the support.
Unfortunately I had no time to move anywhere forwards due to tough times at work :/
Comming week is (hopefuly) the last one, as next weekend I am planning to be a master in engineering
To explain the other devs:
the host capabilities of our android device seams a minor benefit, esspecially in comparison to 2.6.35 or .37 ongoing developments.
Let them do these serious stuff and left these /fairly/ simple ports to greenhorns
cheers
ogonzuhnina said:
Hi guys,
Thanks for the support.
Unfortunately I had no time to move anywhere forwards due to tough times at work :/
Comming week is (hopefuly) the last one, as next weekend I am planning to be a master in engineering
To explain the other devs:
the host capabilities of our android device seams a minor benefit, esspecially in comparison to 2.6.35 or .37 ongoing developments.
Let them do these serious stuff and left these /fairly/ simple ports to greenhorns
cheers
Click to expand...
Click to collapse
Thanks for updating us Take your time then... you are starting your Masters or you are graduating?
Btw, I believe that the devs are not 'helping' because they do not know about this thread in the Q&A... would be nice if you can start a thread with a [DEV] tag. That would really get their attention. Just my 2 cents. I could gladly come up with one if you don't have the time.
Thanks.

[Q] What exactly works from the USB port on the Iconia Tab?

I'm looking to get a tablet to introduce BackTrack 5 to. I don't believe this tablet has a wifi chip capable of injection, so I wanted to connect a USB wifi adapter to it (this one right here). I read in the update it's able to register the usb port for usb devices, but which exactly work without me having to create a driver? And, I'm sure there are linux drivers for said USB adapter, I assume I could take that and (easily) create one?
From what I've read so far, the USB port handles things like hard drives, keyboards and flash card readers (and not necessarily all of them).
A Wi-Fi adapter may function under Linux but you would probably have to be rooted on the device to install drivers since they are not natively included in the system build that I know of.
Backtrack 5 works fine on the A500. I'm running it right now. I've had no issues with it.
i posted a thread in the accessories section on compatible usb devices
runeblade said:
Backtrack 5 works fine on the A500. I'm running it right now. I've had no issues with it.
Click to expand...
Click to collapse
Do you have any success with it or just running it
Sent from my SPH-D700 using XDA App
I am thinking about putting Backtrack on my Iconia A500. Following up on a previous question by NickkxNekro, would one be able to plug the Alfa wifi device into A500 and make use of it?
im assuming yes since you can use 3g usb dongles

[INFO] OTG / USB Host

Oppo says that the hardware doesn't support OTG/USB host at all
the platform (APQ8064 SoC) does. don't remember/know what USB chipset this device uses
device hardware documentation
Last time I traced the kernel, it looks like the USB device tree isn't loaded at all in the kernel, so no OTG support... wonder if other people have had time to look at it
paperWastage said:
Oppo says that the hardware doesn't support OTG/USB host at all
the platform (APQ8064 SoC) does. don't remember/know what USB chipset this device uses
device hardware documentation
Last time I traced the kernel, it looks like the USB device tree isn't loaded at all in the kernel, so no OTG support... wonder if other people have had time to look at it
Click to expand...
Click to collapse
Tried it on my CyanogenMod build, no reaction. It is possible that it acts like Nexus 4, aka. the phone doesn't power the USB upstream (even if I saw some references to that in the kernel...), so if you enable USB OTG support, you'd need to power your USB device externally.
XpLoDWilD said:
Tried it on my CyanogenMod build, no reaction. It is possible that it acts like Nexus 4, aka. the phone doesn't power the USB upstream (even if I saw some references to that in the kernel...), so if you enable USB OTG support, you'd need to power your USB device externally.
Click to expand...
Click to collapse
That seems to be a common issue for a lot of devices - The host SoC supports it, but they didn't bother to wire up the PMIC's boost converter.
There's a lot of code related to OTG in the kernel source, but I think it's all upstream CAF stuff. All of Oppo's changes to the USB drivers seem related to charging. (It's a little confusing, as there are a lot of functions with "otg" in the name that are doing lots of non-OTG-related stuff.)
I'm thinking of looking into adding/enabling ACA support for Nexus 4 (and maybe other devices too). There is an official standard for externally powered OTG adapters - they can even charge the phone! However 90% of the adapters on the market aren't compliant with this standard.
Entropy512 said:
That seems to be a common issue for a lot of devices - The host SoC supports it, but they didn't bother to wire up the PMIC's boost converter.
There's a lot of code related to OTG in the kernel source, but I think it's all upstream CAF stuff. All of Oppo's changes to the USB drivers seem related to charging. (It's a little confusing, as there are a lot of functions with "otg" in the name that are doing lots of non-OTG-related stuff.)
I'm thinking of looking into adding/enabling ACA support for Nexus 4 (and maybe other devices too). There is an official standard for externally powered OTG adapters - they can even charge the phone! However 90% of the adapters on the market aren't compliant with this standard.
Click to expand...
Click to collapse
Do basically we have no otg no matter what
Sent from my Oppo Find 5
osmosizzz said:
Do basically we have no otg no matter what
Sent from my Oppo Find 5
Click to expand...
Click to collapse
We don't know yet, but it looks like it'll only be possible for externally powered devices.
Ahh man...
So what you're saying is that dock thing with a usb port on it from Sony Ericsson might work but that's it?
Oppo product manager said they do not want to take the risk by adding OTG Find 5, I saw that post on Sina Weibo in China
has anyone tried stick mount from play store .....is it working? it requires root but
The device has basicly the same issue (missing 5V output) like the Nexus 4. With some modifications its at least possible to get a properly function with external powered usb devices.
Kernel is based on the work from Ziddey and Cyanogenmod Team:
http://www.oppoforums.com/threads/usb-otg-externally-powered-usb-otg.2083/
Does that mean that in order to get USB host to work you must power the device externally AND use a modified kernel?

Kali Nethunter Pros and Cons

Hey all! Not sure if this is the right place, but I didn't see anything specific for Nexus 6 and Nethunter. All my research so far shows that everybody who's tried hunter is very pro, but uh.. nobody seems to be talking any smack about it. No security flaws, no warnings about root, and even to some degree no real description of it's compatibility forward.
Does anyone have a list of pros and cons about Nethunter?
Maybe explain a bit about what this is? I haven't heard of it so I'm not sure if what I looked up on the intent is what you are talking about.
It's a pentesting ROM made for a few android devices (Nexus 6 now supported). Wifi hacking tools and the like preloaded and support built into the system rom and kernel for these kinds of tools. It looks pretty cool I'll have to check it out myself (on multi rom maybe). One problem I do see with it is you do need to use an external USB wifi adapter (via usb otg adapter), as the internal wifi apparently doesn't support monitor mode or packet injection which are required for many of the tools. It may be possible to add that later but given that those binaries are usually closed source (Qualcom) I'm doubting it. Still looks very cool.
Sent from my Nexus 6 using XDA Free mobile app
compuw22c said:
It's a pentesting ROM made for a few android devices (Nexus 6 now supported). Wifi hacking tools and the like preloaded and support built into the system rom and kernel for these kinds of tools. It looks pretty cool I'll have to check it out myself (on multi rom maybe). One problem I do see with it is you do need to use an external USB wifi adapter (via usb otg adapter), as the internal wifi apparently doesn't support monitor mode or packet injection which are required for many of the tools. It may be possible to add that later but given that those binaries are usually closed source (Qualcom) I'm doubting it. Still looks very cool.
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
This isn't entirely true. It is NOT a ROM at all. It's more of a "package" type of thing. Think of it this way, you go flash CM and then have to flash Gapps after. It's the same thing for NetHunter. You flash whatever AOSP ROM you want then flash the NetHunter zip file. It will install busybox, terminal emulator, a keyboard, and a few other things along with an app named NetHunter home. It's pretty much an app to launch NetHunter tools/features/services. I'm currently running Google's factory image of Android 5.1 and have NetHunter installed.
PryorDaniel said:
This isn't entirely true. It is NOT a ROM at all. It's more of a "package" type of thing. Think of it this way, you go flash CM and then have to flash Gapps after. It's the same thing for NetHunter. You flash whatever AOSP ROM you want then flash the NetHunter zip file. It will install busybox, terminal emulator, a keyboard, and a few other things along with an app named NetHunter home. It's pretty much an app to launch NetHunter tools/features/services. I'm currently running Google's factory image of Android 5.1 and have NetHunter installed.
Click to expand...
Click to collapse
I stand corrected. As I said, I do need to try it. Sounds nice though if it's that universal and unobtrusive
Sent from my Nexus 6 using XDA Free mobile app
It may not be a full rom, but it does include a kernel. Just an fyi.
Nexus 6 Nethunter
Hey, so ive been playing arround with nethunter for acouple months now and ive been loving every moment. I think ive had it since this post came out. I have always wanted a little power house of a device that can do more than just search the internet, call and text people , and take pictures. From an easy start flashing the ROM to learning alot about Kali I must say its about time something like this came along.
For con's it doesnt come with RFCOMM support, ive been having trouble with bluetooth dongles even after days of researching the only conclusion is you will have to recompile the kernel to enable Rfcomm. Secondly also with NFC there is no mifare support, wasnt going too deep into this one, i figured it would be the same answer as Rfcomm. Thirdly some tools listed on the Kali website cannot be loaded and installed onto the Nexus like Burp Suit. There is no GTK support for GUI tools, meaning the tools you use can only be used in a terminal interface, unless you use a HTML interface and set the GUI's up somehow using a localhost. Lastly, the internal devices like WIFI bluetooth and NFC card can not be used for monitoring or injection. You must have a separate dongle. However you can change your wlan0 mac with macchanger and i believe you can clone non mifare chipsets with the built in nfc card. (Old nfc devices)
For the pro's, it is mobile with 2.6 gHz quadcore snapdragon 805 and 3Gb of ram, usual usage is 20-30% Ram keeping it clean with AllinOne Toolbox otherwise with alot running you'll use more ram. Battery watching youtube with brightness about 33% lasts 8 hrs or so but when it comes to using dictionaries for password cracking it uses 100% of your CPU so battery consumption is much greater. . . just keep it plugged in or save the files for your pc to crack. Other than that theres alot of preloaded tools and an app menu which includes HID attacks and also its own menu with SET. It also comes with acouple other apps like droid drive which you can load up any O/S from your Nexus via usb to any computer. And i also believe that it does not touch the hard drive on the pc.
So far using wifite it can crack any wep key in under 10 min WPA key in about 2 hrs. Max was about 2000 keys/sec and on average 1100 keys/sec. Using a randomly selected word from the Rockyou.txt file it took over 2.5 million keys to find it... but it was successful. You can download tools like cupp.py or crunch to customize lists to your liking. Also i havent tried it yet but reaver for wps takes roughly 4-10 hours. Any tools that use a GUI cannot be displayed properly without configuring the files your self. For say the tool driftnet it will not display the images gathered... rather you will have to save them into a file and view them separately from that file.
As far as security nmap cannot discover any open ports from a fresh install of nethunter on my home network. But Nethunter can discover many open ports on my old DV6. If uou want to stay anonymous you can use tor app.
In all if you really want a fun, powerful, mobile pentesting device this is it.
Does it support all of SET? The web server, cloning existing sites and infecting them, the email sending and so on?
I'm very interested in this rom but there's still one question for me left: if I flash it with TWRP is forced encryption on aigan?
arc.vortex said:
Hey, so ive been playing arround with nethunter for acouple months now and ive been loving every moment. I think ive had it since this post came out. I have always wanted a little power house of a device that can do more than just search the internet, call and text people , and take pictures. From an easy start flashing the ROM to learning alot about Kali I must say its about time something like this came along.
For con's it doesnt come with RFCOMM support, ive been having trouble with bluetooth dongles even after days of researching the only conclusion is you will have to recompile the kernel to enable Rfcomm. Secondly also with NFC there is no mifare support, wasnt going too deep into this one, i figured it would be the same answer as Rfcomm. Thirdly some tools listed on the Kali website cannot be loaded and installed onto the Nexus like Burp Suit. There is no GTK support for GUI tools, meaning the tools you use can only be used in a terminal interface, unless you use a HTML interface and set the GUI's up somehow using a localhost. Lastly, the internal devices like WIFI bluetooth and NFC card can not be used for monitoring or injection. You must have a separate dongle. However you can change your wlan0 mac with macchanger and i believe you can clone non mifare chipsets with the built in nfc card. (Old nfc devices)
For the pro's, it is mobile with 2.6 gHz quadcore snapdragon 805 and 3Gb of ram, usual usage is 20-30% Ram keeping it clean with AllinOne Toolbox otherwise with alot running you'll use more ram. Battery watching youtube with brightness about 33% lasts 8 hrs or so but when it comes to using dictionaries for password cracking it uses 100% of your CPU so battery consumption is much greater. . . just keep it plugged in or save the files for your pc to crack. Other than that theres alot of preloaded tools and an app menu which includes HID attacks and also its own menu with SET. It also comes with acouple other apps like droid drive which you can load up any O/S from your Nexus via usb to any computer. And i also believe that it does not touch the hard drive on the pc.
So far using wifite it can crack any wep key in under 10 min WPA key in about 2 hrs. Max was about 2000 keys/sec and on average 1100 keys/sec. Using a randomly selected word from the Rockyou.txt file it took over 2.5 million keys to find it... but it was successful. You can download tools like cupp.py or crunch to customize lists to your liking. Also i havent tried it yet but reaver for wps takes roughly 4-10 hours. Any tools that use a GUI cannot be displayed properly without configuring the files your self. For say the tool driftnet it will not display the images gathered... rather you will have to save them into a file and view them separately from that file.
As far as security nmap cannot discover any open ports from a fresh install of nethunter on my home network. But Nethunter can discover many open ports on my old DV6. If uou want to stay anonymous you can use tor app.
In all if you really want a fun, powerful, mobile pentesting device this is it.
Click to expand...
Click to collapse
What WiFi dongle are you using... I've been lurking around the Kali website for a couple years. Tried nethunter when it first dropped for the nexus 6. Looking to learn it a little better and give it a try. Maybe we can pm?
stebomurkn420 said:
What WiFi dongle are you using... I've been lurking around the Kali website for a couple years. Tried nethunter when it first dropped for the nexus 6. Looking to learn it a little better and give it a try. Maybe we can pm?
Click to expand...
Click to collapse
hey you can pm me at [email protected] its easier. Sorry i havent been on here in a while just got my self a raspberry pi 2 and was playing arround with that for a bit. Its all the same stuff as kali but with a few less hardware capabilities like i have listed. It is pretty powerful tho considering the physical size of the device. Many generic wifi dongles do work just check the chipset on google and make sure it is one that is listed on the kali website.. usualy atheros brodcomm ralink and some others generaly work well. or you can juat plug it right in at the store and do a quick airmon-ng start wlan1 to see if it works. The linksys im using is older and only supports g speeds. so its good for just acouple things.. nothing speedy. Its a good close range mission dongle. I herd athros ones have good rep tho for range and preformance. here is my dongle info if your wondering.
[email protected]:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05c6:90a4 Qualcomm, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 13b1:0020 Linksys WUSB54GC v1 802.11g Adapter [Ralink RT73]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~# airmon-ng
PHY Interface Driver Chipset
phy0 wlan0 ?????? non-mac80211 device? (report this!)
phy3 wlan1 rt73usb Linksys WUSB54GC v1 802.11g Adapter [Ralink RT73]
[email protected]:~#
Internal Wifi Card Support on Nexus 6p?
So I'm very new to pentesting and am trying to learn so please bear with me. I was actually doing some research on putting kali on my nexus 6p (to avoid carrying around a netbook) hopefully on a partition (which I'm not entirely sure how to do, but will perservere until I'm told it cant be done) to try to maintain the normal function of my phone on stock android, and boot into kali when needed.
I came across this thread and discovered what NetHunter was. Through my earlier research, I determined that the Nexus 6p's onboard card is a broadcom bcm4358 which supports monitoring and (according to aircrack-ng's compatibility chart) packet injection after a driver patch.
My question then is this: would it be possible to use this device with either kali linux or nethunter without an external (and not so stealthy) wifi card?
If I have some missing piece of info or some of what I have is incorrect, please help me find the correct information to continue my reasearch.
i have a fair amount of independent troubleshooting? and through a year and a half of nexus 5 to the 2 nexus 6 i have. i written anything worth of measurable difference between one set of "build" compatibility and also meta building on top of ROMs. one rule of thumb i need to stress is the systemless root that is now commonly standardized in most ROMS will need to be pulled out. also, consistent busybox throughout the system. (new/old shouldnt really coexist). i have found Velcro to a case and the adapter you plan on using helps keep it all organized (needless to say i buy a new case when a buy a new wifi dongle and change the case)
---------- Post added at 10:17 PM ---------- Previous post was at 10:13 PM ----------
devin761 said:
So I'm very new to pentesting and am trying to learn so please bear with me. I was actually doing some research on putting kali on my nexus 6p (to avoid carrying around a netbook) hopefully on a partition (which I'm not entirely sure how to do, but will perservere until I'm told it cant be done) to try to maintain the normal function of my phone on stock android, and boot into kali when needed.
I came across this thread and discovered what NetHunter was. Through my earlier research, I determined that the Nexus 6p's onboard card is a broadcom bcm4358 which supports monitoring and (according to aircrack-ng's compatibility chart) packet injection after a driver patch.
My question then is this: would it be possible to use this device with either kali linux or nethunter without an external (and not so stealthy) wifi card?
If I have some missing piece of info or some of what I have is incorrect, please help me find the correct information to continue my reasearch.
Click to expand...
Click to collapse
if aircrack has it on a supported list, there will still be an amount of time where the build could exploit it without your own development?
at the moment....yes.an adapter would be required. nexus 5 is internally supported(as far as i have dug up)...a good example of why we need an external adapter(overall) is https://store.pwnieexpress.com/product/pwn-phone2014b/
i have been using the nexus 6 with the tp link 822n with considerable compatibility. it was $20 at Frys. very easy to pick up OTC without hunting something down online
---------- Post added at 10:29 PM ---------- Previous post was at 10:17 PM ----------
i also have a built image of kali across a laptop. it has a detrimental amount of exploitation abilities. i would prefer not to explore this too far because each build will require a different customized image and "help" is going to cause confusion unless i had the SAME laptop. my laptop is mainly for defensive environments. and my devices are for setting up or info gathering to prepare for my laptops secure (no detection) measures.
---------- Post added at 10:30 PM ---------- Previous post was at 10:29 PM ----------
*hopes this helps*
Hi I also am having trouble getting both the RF to work and an external wifi dongle to run. Where do i how do I compile a new Kernal?
I don't use it frequently but I love having Nethunter on my device. I use an Alfa AWUS036NEH adapter with an otg adapter and it works flawlessly. My phone actually cracks wireless networks faster than my laptop. If you take the time to learn about penetration testing, the possibilities are endless! I used to own a WiFi Pineapple Nano but sold it because I found that I could do everything with Nethunter. The Pineapple has a great GUI and it's great if you want to to do things without actually learning anything. I actually just ordered a book on Metasploit, as I'm really eager to master the framework. I think it's an extremely powerful tool but I don't know too much about it yet.
eightie_og said:
Hi I also am having trouble getting both the RF to work and an external wifi dongle to run. Where do i how do I compile a new Kernal?
Click to expand...
Click to collapse
goggling the adaptors model and version will turn up with its chip-set. it would be best to form the adapter to the device and not the device to the adaptor......there are plenty of chip-sets supported. going out of ones way to rebuild a kernel: warrants specific needs.
---------- Post added at 12:42 AM ---------- Previous post was at 12:05 AM ----------
Fuse8499 said:
I don't use it frequently but I love having Nethunter on my device. I use an Alfa AWUS036NEH adapter with an otg adapter and it works flawlessly. My phone actually cracks wireless networks faster than my laptop. If you take the time to learn about penetration testing, the possibilities are endless! I used to own a WiFi Pineapple Nano but sold it because I found that I could do everything with Nethunter. The Pineapple has a great GUI and it's great if you want to to do things without actually learning anything. I actually just ordered a book on Metasploit, as I'm really eager to master the framework. I think it's an extremely powerful tool but I don't know too much about it yet.
Click to expand...
Click to collapse
I learned after one time of asking a fry's employee, that there are specific questions that might not throw up red flags in your mind as to a specific hardware or firmware requirements...but it will be too specific for a "floor guy" to remedy. they will do the right thing by getting a higher-up to assist you with your questions. long story short.....i found the host controller i was looking for and it ran about $250.i believe that so many red flags went up somewhere along the line. that several of the low end host controllers replaced the high end ones(on the shelf)with the specific adaptor i was looking for. i returned a few weeks later with a friend so he could get one (to make sure it was the SAME one i had)...it was gone and no one really wanted to answer the questions for us. i thought to myself, "dont go the hardware store and ask for a duplicate of a bump-key"
I use an Alfa AWUS036NEH adapter with a $6 otg adapter and it works flawlessly. Imo, that's the best adapter to use with Kali!
i have used nethunter allot and i can say it runs ok, if your a pen tester it has allot of tools for you. However battery life is not great and speed is slow. i would say its comparable to stock rom maybe a tad slower.
can do everything i even captured a wpa2 wifi handshake with wifite.
7.1.1 and nethunter
Has anyone had any experience with nethunter on the Nexus 6 running 7.1.1? I like the features of Nougat and don't want to have to give up the security patches or features by going back to 6.0.1 to get full nethunter support. I have heard some people mention having to manually copy/paste ducky payloads because that functionality wasn't working with nethunter on nougat; but wondered if anyone here has had any experience. Thanks to all who reply!
techemically said:
Has anyone had any experience with nethunter on the Nexus 6 running 7.1.1? I like the features of Nougat and don't want to have to give up the security patches or features by going back to 6.0.1 to get full nethunter support. I have heard some people mention having to manually copy/paste ducky payloads because that functionality wasn't working with nethunter on nougat; but wondered if anyone here has had any experience. Thanks to all who reply!
Click to expand...
Click to collapse
Yes, indeedy.
It took me more than a few frustrated attempts, but it's working well now.
Although it has a couple idiosyncrasies, the workarounds are quite straightforward. No need to manually install the payloads, or anything like that.
If you're still interested in giving it a go, I would be happy to list out the steps. :good:

Categories

Resources