monitor mode on NON-BCM chipsets? - Android Q&A, Help & Troubleshooting

Is monitor mode, software implementation or does it require special hardware?
I want a complete understanding of monitor mode.:cyclops:
Can we reverse engineer WiFi drivers of mtk/Qualcomm chipsets to implement atleast partial monitor mode [just to monitor traffic].

I have a device with mt6628 combo chip.
I have uploaded source code of wlan driver.
Can any one modify it to monitor WiFi traffic.
Is this possible?

[email protected] said:
I have a device with mt6628 combo chip.
I have uploaded source code of wlan driver.
Can any one modify it to monitor WiFi traffic.
Is this possible?
Click to expand...
Click to collapse
No, it's not possible.:crying:
Because the source code you uploaded is driver source. What we want is firmware source, WiFi chips specifications (such as base address of RAM & ROM of WiFi chip).
Driver just communicates with firmware.
But firmware process all received packets & drops packets which doesn't belong to us.
All this thing happens in WiFi chips processor not on main processor.
So hunt firmware.
: Inspired by nexmon patch.
I answered my question partially, can any one answer further?
Any answer (help!) is accepted.:cyclops:

Related

[DEV] Wireless Monitor Mode

BCM4329 driver source code suggests that monitor mode is possible (for kismet_drone, WIDSs, etc).
http://forum.aircrack-ng.org/index.php?topic=6735.msg34733#msg34733
The idea is to modify wl_iw_set_mode(), and allow IW_MODE_MONITOR by setting these flags:
WLC_SET_MONITOR and maybe WLC_SET_PROMISC too.
Then test with tcpdump if anything changed.
Have you come across anything regarding injection with this driver/chip? Monitoring mode would be nice, but add packet injection to the mix and the Nexus one becomes a lean mean WEP cracking machine.
airo*-ng with gpsd sounds fun.
overridex said:
Have you come across anything regarding injection with this driver/chip? Monitoring mode would be nice, but add packet injection to the mix and the Nexus one becomes a lean mean WEP cracking machine.
Click to expand...
Click to collapse
Confirmed. Damn would that be a seriously good feature for a phone. Wouldn't have to use the laptop then
mer6 said:
Confirmed. Damn would that be a seriously good feature for a phone. Wouldn't have to use the laptop then
Click to expand...
Click to collapse
I would LOVE this. Hate having to drag the laptop around....
I had a go at putting it into monitor mode within a debian Chroot but wasnt having any of it. No idea if its debian/driver/hardware thats stopping it.
Code:
[email protected]:~$ sudo iwconfig eth0
eth0 IEEE 802.11-DS ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[email protected]:~$ sudo iwconfig eth0 mode Monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device eth0 ; Invalid argument.
It wont give error when trying to swap into Ad-Hoc but then doesnt swap.
It is about driver, you need to modify it.
If anyone is able to compile & run a compiled wifi driver I can try write a patch for enabling monitor mode.
bump
bump... just wondering
any word on aircrack suite working?
usually broadcom chips don't support it.
fleebailey33 said:
usually broadcom chips don't support it.
Click to expand...
Click to collapse
Can't agree with that assert.
http://aircrack-ng.org/doku.php?id=compatibility_drivers
I'm waiting N1 to be released in my country so I can get one and start investigating.
Any news on this? Would truly be great.
deprecated
fleebailey33 said:
usually broadcom chips don't support it.
Click to expand...
Click to collapse
That's not true, look at the b43 module .. it proves that the broadcom chips are capable of being set into monitor mode, the only thing you'll need is a firmware that is able to supports the monitor mode
sorry for the noob question but what does this accomplish..i see ppl posting not having to carry the laptop and got interested
bonkasnucca said:
sorry for the noob question but what does this accomplish..i see ppl posting not having to carry the laptop and got interested
Click to expand...
Click to collapse
It would basically make our Nexus capable of injecting packets which would allow us to crack a WEP encryption on a secured network to obtain the key and then connect to that network and use the internet
gravufo said:
It would basically make our Nexus capable of injecting packets which would allow us to crack a WEP encryption on a secured network to obtain the key and then connect to that network and use the internet
Click to expand...
Click to collapse
So any work on this been made since OP or is this still being thought about even? Status update would be great.
hi guys,
bcm4329 is also in Desire Z, and Galaxy S I9000.
I posted here in galaxy dev thread,
but there is no further interest..
br
condi
deprecated
gravufo said:
It would basically make our Nexus capable of injecting packets which would allow us to crack a WEP encryption on a secured network to obtain the key and then connect to that network and use the internet
Click to expand...
Click to collapse
There is an app for that try looking for "penetrate" apps on market.
BTW someone need to compil new kernel and drivers files with this flags to test it

GPS chip info

Has anyone any idea what the GPS module is in the active? I'd like to find out some specific things, based on the civilian limits.

adhoc in 4.0 API or still need hacks ?

Hello.
I am a CS student. I have a project to write a communication library for android using wifi card. Library should allow transfer of objects between the phones. (in short words I need TCP or at least UDP).
What I would do on a laptop:
switch to adhoc mode, put each laptop on different static IP. use TCP/UDP for communication.
I have a problem doing the same on Android as it does not natively support adhoc.
My question:
I need my library to work on EVO 4G phone (currently on Android 2.3). I will of course need to root it. But what would you recommend after the rooting ?
Exploring teather libraries (http://code.google.com/p/android-wifi-tether/) or flashing it to 4.0 ? Will I get an API that allows me to use the card in adhoc mode or I will still need to dig that teather libs ?
The communication I need should be using wifi card when there is no AP present and android phones may get in range and out of range of each other.
I am pretty new to Android development. The language I use for the library is JAVA.
Any links/suggestions/thoughts are very welcome.
Thanks in advance.
A bit of clarification.
I don't need any routing protocol for adhoc. What I mean is if I have 3 nodes that are in range of each other I need them to be able to send packets only to each other.
I don't need the dynamic route discovery algorithms.
In case the current topology is <node a> ---- <node b> ---- <node c> (node A is not in wifi range of node C). In this case node A and C can't communicate.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A

[Q] Can an android phone run without screen?

Hello,
This would be my first post here ! so please bear with me
I want to know or confirm from the advance users for the following facts:
1. Can an android mobile be used even after removing the led socket from the mother board.
2. Can android mobile start directly when the power source is connected.
My project:
I want to build a GPS device from the mobile hardware . Specially the phone with AGPS support !
Can you please tell what older models are cheap and available or there hardware is available. I have made an app that runs in background on start of the mobile and sends coordinates to the server.
Hardware
- Motherboard
- Gps antenna
- SIM CARD
What hardware platform do you plan to use?
What is your end goal/intended use?
Will it interface with something else via USB or Bluetooth?
Presbuteros said:
What hardware platform do you plan to use?
What is your end goal/intended use?
Will it interface with something else via USB or Bluetooth?
Click to expand...
Click to collapse
Thanks for the reply!
I will be using android 2.3 on huawei models.
will be used as a gps device for college project
will be using wifi

Adding WiFi to the LG G Watch

Is there any way to equip the LG G Watch with WiFi, like the Samsung Gear Live. I have read that the G Watch lacks WiFi because it does not have a WiFi antenna. Can a WiFi antenna be added to the watch? Or, what about connecting the G Watch to a WiFi chip via Bluetooth? Would any of these work? Thanks!
i dont think so, wifi has to be built in on the rom, a simple bluetooth wifi wont work, but modifying hardware may work but its more difficult.
Jaocagomez said:
i dont think so, wifi has to be built in on the rom, a simple bluetooth wifi wont work, but modifying hardware may work but its more difficult.
Click to expand...
Click to collapse
@Jaocagomez Thanks for your help. How would I add WiFi into the rom programmatically? Also, what would the hardware modifications be like? Also, couldn't I create an app/client that uses a WiFi chip attached by bluetooth to update notifications? Thanks!
You would need to add the drivers built specifically for the Android kernel. The ROM would need to be built with WiFi support enabled in Android (which currently I believe is impossible as you cannot procure the source code to Android Wear atm). A Bluetooth WiFi adapter would not work because Android wouldn't know how to deal with it at all, The reason that the GWR was able to enable WiFi was because support was already built into Android as it was part of their hardware base. It was simply missing the drivers for the kernel.
ShadowEO said:
You would need to add the drivers built specifically for the Android kernel. The ROM would need to be built with WiFi support enabled in Android (which currently I believe is impossible as you cannot procure the source code to Android Wear atm). A Bluetooth WiFi adapter would not work because Android wouldn't know how to deal with it at all, The reason that the GWR was able to enable WiFi was because support was already built into Android as it was part of their hardware base. It was simply missing the drivers for the kernel.
Click to expand...
Click to collapse
Also the Wear app on the phone wouldn't allow the watch to use WiFi, as the model doesn't have it as a standard.
kokesh said:
Also the Wear app on the phone wouldn't allow the watch to use WiFi, as the model doesn't have it as a standard.
Click to expand...
Click to collapse
It probably would actually, I've been given the option to use Cloud Sync my gWatch connected.
ShadowEO said:
It probably would actually, I've been given the option to use Cloud Sync my gWatch connected.
Click to expand...
Click to collapse
I saw it there also, but someone said it just broke the connection with the watch and required to do a Factory reset. Read it sometime last year, when WiFi for Wear rolled out.
The watch contains no WiFi radio so obviously it cannot use wifi. The only wireless technology it uses is Bluetooth 4.1 LE.

Categories

Resources