yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] gadido30:
Sharing useful links

Hi All,

I am trying to compile broadcom driver and tun driver for openvpn, I have found some useful links:

Guide for compiling kernel (it was posted before):

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

Guide for tun module:

http://www.ostalks.com/2011/03/21/how-to-compile-tun-ko-for-android-commtiva-z71/

Guide for Android Kernel Build Errors:

http://code.google.com/p/android-kernel-analysis/wiki/KernelBuildErrors

Tip:

To get the right .config file:

adb pull /proc/config.gz

gunzip config.gz

rename to .config

Best Regards,

Gadi
[Android Software/Hacking General [Developers Only]] MA700C:
Any updates on this? I would be very interested to learn more about this.

TIA
[Android Software/Hacking General [Developers Only]] Belaix:
Works!!! But only a little :P

I think these drivers not working correctly with I9100. Or at least to me.

I have the interface in monitor mode perfectly, but ...

With airodump, after a while, the interface wlan0 stops working, and I need to reload the module in the kernel in order to scan again.

I've been struggling with this for several days, without results.

- dmesg does not tell me anything useful.

- Changing TX or RX power, no results (dangerous)

- Changing rate to 1M . The chip doesn't support this.

- I tested with airodump with thousand differents parameters.

- Tested in BackTrack, with all stuff of aircrack. Same result.

- Tested with absolutely virgin rom and all wipes (data format evidently too), CyanogenMod 9.1 and official kernel, Nothing. :(

I think the problem is related to the ratio of packets. If airodump-ng scan my network with a lot of traffic, airodump-ng stop giving me information to 10 seconds...

... but ...

If the traffic that comes to wlan0 is residual, everything works fine, but at 10 minutes, also fails again.

Has anyone tried scanning with airodump with this driver for over 10 minutes?

It is incredible the work of these guys. Thank you!
[Android Software/Hacking General [Developers Only]] pilililo2:
I have scanned with airodump for over 10 mins and nothing went wrong for me :/
[Android Software/Hacking General [Developers Only]] Belaix:
nshbood Mobárik

Hola galleguiño :)

thanks for your reply.

Yesterday, I tried various tests in different locations, and the driver works well only if there is little traffic.

With little traffic, the scan can be more than 30 minutes running smoothly.

Please, can do a test?

Download a huge file from Internet with your computer, for example an ISO of Debian

http****://****cdimage.debian****.****org/debian-cd/6.0.6/i386/iso-dvd/debian-6.0.6-i386-DVD-1.iso

Please clear asterisks, I can't post external links of XDA until that I have 10 posts.

and then:

airodump-ng --channel X --bsssid 'Your bssid' wlan0

My scanning always collapses in less than 1 minute

In fact my scanning always collapse if my network have more than 5 #/s continuously.
[Android Software/Hacking General [Developers Only]] 7h3d:
Galaxy Nexus

Wooow awesome work guys ;)

But will this work on Galaxy Nexus ? :confused: Cuz It has the same chipset ...
[Android Software/Hacking General [Developers Only]] pilililo2:
Will do when I have time :)

---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------

It has a bundle for the galaxy nexus, check the blogspot :)
[Android Software/Hacking General [Developers Only]] Pretorian187:
monitor mode for novathor

I only hear about broadcom chipsets. I got the Novathor U8500 ( rooted galaxy beam i8530). Does anybody know if this kind of chipset supports monitor mode? Is there any command with whom I could check that in linux/backtrack 5?
[Android Software/Hacking General [Developers Only]] sicfukc:
Please guys, only comment in here if you have chipsets that apply to the main topic. Not very hard. Now onto my ontopic question. Anybody have any luck with evo shift? there is CM10 for evo shift, and it uses the same chipset as the evo, which supposedly has injection and monitoring. Any help would be greatly appreciated.
[Android Software/Hacking General [Developers Only]] Pretorian187:
Im really sorry. For sure I will ask for your experienced users permission next time I post a question here. If I would know another thread were I could have asked that question I sure would have done that before posting it here. But thank you for pointing this out. Now enjoy your own personal thread.
[Android Software/Hacking General [Developers Only]] d33dvb:
Is there a Samsung GS2 Hercules T989 CM10 kernel anywhere? I would love to check it out, but we need a Jellybean kernel.
[Android Software/Hacking General [Developers Only]] ethack:
help!

But will this work on HTC HD2? It has a bcm4329!!

:confused::confused::confused::confused::confused:
[Android Software/Hacking General [Developers Only]] deviato:
Working on HTC Wildfire S!

Working on HTC Wildfire S!

The module is built for Cyanogenmod 7.2 unofficial (hXXp://androidstockhost.co.uk/cm7/cm-7-20121031-UNOFFICIAL-marvel.zip) with default kernel.

I've used the kernel source (the latest available at the moment) from eoghan/alquez: search google for htc-wildfire-s-cm7-kernel

However, like many others, aircrack suite provided by the 3 guys doesn't work, it gives segmentation fault.

I've built my own debian image with aircrack suite and other stuff, and now everything is working!
[Android Software/Hacking General [Developers Only]] [Alien]:
she emsnten

Can you please build also for this ROM?

http://xdaforums.com/showthread.php?t=1633198
[Android Software/Hacking General [Developers Only]] fwayfarer:
So still no one is able to get this to compile for a us version galaxy s3 (NOT the i9300). I am beginning to believe those who said this was possible are misled, at best. Even with kernel source, original tool chain, and driver source, it simply doesn't work. I'd love to be proven wrong but the fact there have been zero updates to the devs blog in two months tells me this is dead in the water.
[Android Software/Hacking General [Developers Only]] tichs:
Hey Guys here is the bcm4329.ko for GALAXY S, I have tried it to get it to work but it breaks the wifi, anyway here is the original .ko from the phone.
[Android Software/Hacking General [Developers Only]] deviato:
I'm sorry but I tried cm9, and it's unusable for me, too much bugs.. moreover (afaik) we don't have the sources for that kernel
[Android Software/Hacking General [Developers Only]] plugsmustard:
Will someone please tell me where to put these files. I got a compiled driver for the galaxy tab 2 from Vladimir. But I actually own a galaxy note 2. However I cant seem to figure out where to place the files. Do I place them in system files? This is driving me insane.

And do I NEED to have cyanogen for this. I have a note 2 from rogers...rooted with stock
[Android Software/Hacking General [Developers Only]] [Alien]:
what about this one?
[Android Software/Hacking General [Developers Only]] deviato:
? I've attached the module on that post, what else do you need?

However eoghan2t7 just released his custom kernel source for cm9/10, you may try to compile that..

http://xdaforums.com/showthread.php?t=2010083
[Android Software/Hacking General [Developers Only]] Jeffreycat:
So is this project dead overall? There hasn't been an update on either this topic or the website bcmon.blogspot.com in almost three months. I could never get this working on the Sprint Samsung Galaxy S2 with CM10 (BCM4329). Then again I have almost no coding knowledge.
[Android Software/Hacking General [Developers Only]] CL3P20:
Was wondering the same.. just picked up a S2 and NoteII .. would like to get full aircrack working on at least the S2 for now..
[Android Software/Hacking General [Developers Only]] plugsmustard:
I have been emailing a guy that seems to be part of the project. I havent heard from him in a while.

But I have some files that are configured to the note 2. I can email them to you if you know what you are doing.

I am alright at doing these things but i had to do a reflash and reroot and reuse triangle away because my wifi got messed.

But I wish there would be an update. I asked the guy for a status update but have note heard back.
[Android Software/Hacking General [Developers Only]] nagponugoti:
Reading 802.11 packet including header to application using onboard wifi chipset

Hi,

I am writing an app where in we want to read total 802.11 packet (i.e. including 802.11 header) to application space and forward these packets to different gateways through LTE based on some criteria. Can you please suggest me if we can we do this without root privileges using onboard WIFI chipset on galaxy nexus(Verizon) phone?

Only method I know is writing a kernel module to hijack the packets from BCM driver and handover to application. Any suggestions or ideas on these?
[Android Software/Hacking General [Developers Only]] plugsmustard:
http://www.thepowerbase.com/2012/12/wifi-monitor-mode-with-android-pcap-capture/
[Android Software/Hacking General [Developers Only]] ccsang:
Hi , My phone is galaxy s2 , running cm10.1 4.2.1 rom , may I know how to add monitor mode , or someone can teach me. ...

Pls help .... Thanks a lot ...
[Android Software/Hacking General [Developers Only]] trut:
http://xdaforums.com/showthread.php?t=1940416

100% WiFi Monitor Mode using Samsung Galaxy S2 (GT-I9100) Step by Step

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] ccsang:
Hi ,thanks for reply ... I'm see that post before ,that's post tutorial for cm9.1.0, I'm use cm10.1 , can use same file ?
[Android Software/Hacking General [Developers Only]] trut:
U must try on my gt-I9000 not work

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] jalle007:
Mr

Guys , will this be possible to run on Galaxy S1, ever ?
[Android Software/Hacking General [Developers Only]] trut:
+1

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] dazdaz:
I am using a Nexus 7 with Android 4.2.1 with CM 10.1-20130113-NIGHTLY-grouper / Kernel version 3.1.10-g72e6ca1 and was curious what I need to do, to get monitor mode working. I understand that the N7 has a Broadcom 4330 chip.

If I need to recompile dhd.ko, do I need to specify compile time options to enable code for monitor mode.

How easy/difficult is it to do this ? I presume that you need to cross compile from x86_64 to ARM 7 rev9.

This would be a great app that I would buy, compiled kernel modules for monitor mode, that you just run, and it inserts the new kernel. Ah.. wishful thinking.
[Android Software/Hacking General [Developers Only]] den191097:
[root@denisrus KERNEL]# make modules SUBDIRS=drivers/net/wireless/bcmdhd

CC [M] drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh.o

In file included from drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh.c:41:

drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sec_feature.h:53: error: operator '>

=' has no left operand

drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sec_feature.h:60: error: operator '>

=' has no left operand

drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sec_feature.h:104: error: operator '

>=' has no left operand

make[1]: *** [drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh.o] Error 1

make: *** [_module_drivers/net/wireless/bcmdhd] Error 2

[root@denisrus KERNEL]#

I tried to compile it for Sansung Galaxy Beam, on sources which are provided by samsung.

Can someone help me in compiling thus module?
[Android Software/Hacking General [Developers Only]] Niflheim123:
Can you build one for wildfire S but with stock rom?

cyanogen can be unstable.

I managed to compile the stock kernel but I donno what to do next. I moved the sources of bcm4329 overwriting the ones from the kernel but it does not generate the .ko file while using make modules.
[Android Software/Hacking General [Developers Only]] MrMattt:
Monitor/Prosic Alcatel 983

Hi,

I have been following this for a long time. I am new to the forums so apologise if this is posted in the wrong place. BCM chipset is also in the Alcatel One Touch 983 (cheap phone) not the same chipset.

However after rooting mine and having a dig around I found that if you can put the device into monitor and promiscuous mode with no patches.

I am still working on this and would appreciate any input here is what I have managed. Put the phone into airplane mode but enable wifi ( not associated with any AP )

Use ADB as superuser to run the following commands

wl monitor 1
wl promisc 1

I used Shark for root to capture and then took the dump from the phone and ran it through Wireshark. And there were indeed packets of data from access points around. Taking off monitor mode and promiscuous mode and nothing was captured of any use. As soon as monitor mode is enabled the packet count shoots up.

Anyway,

Like the area of development for the SGS2 will be following this..

Mat
[Android Software/Hacking General [Developers Only]] plugsmustard:
Theres some new stuff for bcm4330 on bcmon blog. Its from the 26th.

Can someone hurry up and get this working for bcm4334
[Android Software/Hacking General [Developers Only]] Terror Factor:
Also very interested in this, for the Galaxy Nexus. I suggest the latest stock google rom(yakju-jop40d-factory-279cdc5d.tgz), or the latest CM rom ( cm-10.0.0-maguro.zip ).

I am surprised that I didn't find a compiled kernel yet :o
[Android Software/Hacking General [Developers Only]] Jeffreycat:
Will this work on the Sprint SGSII (Epic 4G Touch)? It has the BCM4330 Chipset.
[Android Software/Hacking General [Developers Only]] plugsmustard:
http://bcmon.blogspot.ca/?m=1
[Android Software/Hacking General [Developers Only]] Jeffreycat:
Thanks for trying to help but I've already checked the website. The Sprint SGS2 is slightly different then the others... not sure how exactly.
[Android Software/Hacking General [Developers Only]] plugsmustard:
Think how I feel I got bcm4334. Lame. No one seems to be working on it.
[Android Software/Hacking General [Developers Only]] Jeffreycat:
Yeah I'm sure they will probably get around to it sometime. It could work on my phone but I don't know how to compile the source for my device :(
[Android Software/Hacking General [Developers Only]] plugsmustard:
Wjen you fogure that out shoot me a DM
[Android Software/Hacking General [Developers Only]] prpetrov:
Tried the new drivers on sgs2 and injection is working but there are some bugs like incorrect channel when running airodump.

Also found the multiattack script adapted for android in a spanish forum but haven't tried it yet.

Trying to write a bash script for airodump but there isn't new window command for terminal emulator?
[Android Software/Hacking General [Developers Only]] Viper_blood:
Can some one help me Evo 3D bcmon 4329 Rom: Viper3D kernel : Ziggy
[Android Software/Hacking General [Developers Only]] dkgr_ser:
Is it possible someone to compile it for the latest siyah 6.0b4 for the galaxy s2?
[Android Software/Hacking General [Developers Only]] dikidera:
Do you absolutely need a custom kernel/rom for this to work?

I have a stock official but rooted ICS 4.0.3 rom, it really won't work? It can't be compiled to work for stock kernels?

I tried installing this via setup.sh on my SGSII but I got the error 'No such device'.
[Android Software/Hacking General [Developers Only]] Computoncio:
I will update dhd.ko for dorimanx kernel every time he release a new version.

DHD.KO for Kernel_Siyah-Dorimanx-V7.47-[02-10]-[07-02]-ICS-JB-SGII-PWR-CORE

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v7.47

1st ROM : RR JB v3.1.3 (Online)

2nd ROM : Empty

MODEM: Modem+RIL - XXLPS

ROOT APP: SuperSu v1.04

MODS: My mods, ASUL v5.0 :good:
[Android Software/Hacking General [Developers Only]] dikidera:
Until I setup my own build environment, I do hope someone tries to compile it for the latest Siyah beta5 kernel.

EDIT:Well, after a while, I compiled DHD.KO for the latest SiyahKernel S2-v6.0beta5 kernel.

Here it is boys https://mega.co.nz/#!z4IHFI7B!MMGpJVdSE2-zRobrIqi08S913lwaKS-Fh4p1cUwUwkA
[Android Software/Hacking General [Developers Only]] ccsang:
Hello , anyone can answer my question?

Im using cm9.1 on my s2 , after install monitor mode for s2 ,display some error , can't continue crack ...

First I'm key airodump-ng wlan0

It's ok , I'm saw capture screen , after that I'm key aireplay-ng -1 .... Fakeauth ... But it's say

Couldn't determine current channel for wlan0, you should either force the operation with --ignore-negative-one or apply kernel patch

Does this allow fakeauth ? Or need to wait client only can start crack ?

Anyone can help and teach me

Thanks
[Android Software/Hacking General [Developers Only]] dkgr_ser:
Assuming from your signature you're using sammy JB rom. Does it work on it? Personally, I've tried to use setup.sh script provided in gs2_bundle and replacing dhd.ko file. But it seems that it doesn't work properly. The output is:

LOADING MODULE
Assuming firmware path: /storage/sdcard/gs2_bundle/bcm4330_sta.bcmon.bin

and it quits then...

It seems like an installation problem than anything else. My ROM is Omega V19.2 based on LS8.
[Android Software/Hacking General [Developers Only]] ccsang:
Can your add reaver-wps for phone ? Aircrack for phone allow fakeauth ?

Ty
[Android Software/Hacking General [Developers Only]] dikidera:
That's it, if no error appears, it's running fine.
[Android Software/Hacking General [Developers Only]] plugsmustard:
Does any of the devs in this thread own a note 2? Sgh-I317M? If so. Will it ever work. Its got bcm4334
[Android Software/Hacking General [Developers Only]] JackYack13:
I have a Galaxy S2 running CyanogenMod 10.1 and I'm using the ROM's kernel. But it seems it's not compatible with the gs2 bundle. When I run "setup.sh" I get the following output:

LOADING MODULE
Assuming firmware path: /storage/sdcard1/bcmon/bcm4330_sta.bcmon.bin
insmod: init_module 'dhd.ko' failed (Exec format error)
error: SIOCGIFFLAGS (No such device)

Is there any way I can get this to work? I saw some people saying that it can be compiled to work for another kernel but I have no idea how to do this.
[Android Software/Hacking General [Developers Only]] Cjen1987:
Is there any work on the Galaxy S3 L710?

I already have a copy of ubuntu that I edited.

Comes with aircrack and reaver wps pre installed.

Just waiting on monitor mode drivers.

The copy of black ubuntu in my sig will work for any phone you just have to enter your resolution.

No need to try to get all the software to install on blacktrack or ubuntu.
[Android Software/Hacking General [Developers Only]] sbcdave:
Same here. I have an ubuntu img all set up with pyrit, kismet and the aircrack suite, just need monitor mode to start playing :(
[Android Software/Hacking General [Developers Only]] kikian94:
Hi, I have slimrom 4.2.2 build 2, its posible to install this, and How It work???, only appeared me insmod: can't insert 'dhd.ko': invalid module format

error: SIOCGIFFLAGS (No such device)

255|root@android:/sdcard/gs2_bundle #

how its work aircrack?? I need help I am very noob in this area. regards
[Android Software/Hacking General [Developers Only]] Cjen1987:
One of the easier ways:

Buy:

http://www.amazon.com/Micro-Female-Cable-Galaxy-I9100/dp/B0073EPXO4

and

http://www.amazon.com/Alfa-Wireless...23&sr=1-1-catcorr&keywords=alfa+wireless+card

Than put it into monitor mode.

This is until there's drivers for your wireless card.
[Android Software/Hacking General [Developers Only]] Phk:
I'm trying ubuntu 13.04 and nexus7... with a wifi dongle :)

this dongle has injection in backtrack, but here its not even recognizable.

Can i just get kernel headers and try to compile the driver? Am I thinking right?

Cheers!
[Android Software/Hacking General [Developers Only]] Cjen1987:
I'm not sure yet. I think you have to find the command and have lsusb installed. Then mount the usb to Ubuntu.

I'm waiting on my micro to usb to come in the mail. Once it comes I'll let you know. Gotta wait until the 28th.

If you're interested I have black Ubuntu with aircrack, reaver wps, and lsusb pre installed. Just go to the link in my sig.
[Android Software/Hacking General [Developers Only]] Phk:
Yeah, but whats reaver and aircrack for? If you don't have injection?

...
[Android Software/Hacking General [Developers Only]] sbcdave:
Reaver can crack wpa without injection.
[Android Software/Hacking General [Developers Only]] :
But you still need monitoring mode.
[Android Software/Hacking General [Developers Only]] SecUpwN:
AW: Working wifi monitor mode!!!

Is support for HTC EVO 3D already implemented?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] lgkahn:
Note this was removed in lh1 and newer firmwares. Even worse is that I had mine set to 2.4ghz only and that Is what was still set after flashing to lh1 which means without thus app I could never have gotten 5ghz to work.

http://xdaforums.com/showthread.php?t=1891970
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] thatsupnow:
Thanks for this gonna make a backup and try it out

Edit: I don't know if I switch it over to 5 ghz it doesn't connect to anything at all. The wifi on this phone totally blows that's about my only gripe I just use the mobile network cause I know out won't drop!

Question: is there any possible way to actually just increase the power of the wifi? Or does that need some kind of patch or something? It would be nice to use wifi when not sitting directly in front of the router
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] msd24200:
Yours maybe flawed, my first s3 had trouble connecting to wifi, swapped it for another and no more trouble. I can be outside at my truck in the street and connect to my wifi in the house on the second floor
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] thatsupnow:
Shi**y beans whatever I guess I'm not gonna bother grabbing a new one I'll just wait for the s4 to come out next year
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] JB calhoun:
Get a better router seems like ur router is only 2.4 i have a 5ghz my s3 connects fine and alot faster
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] thatsupnow:
yea I just checked my router settings and it is only 2.4 I think my bro might have one kicking around somewhere

Edit: I actually just flashed a different kernel, switched from faux to sammy its got updated usb and wifi drivers and the connection is a whole lot better!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] JB calhoun:
Ktoonz newest works very well too I'm using it
[Android Q&A, Help & Troubleshooting] Psych0-Smil3s:
My aTrackDogSD tells me 14 apps have newer versions out but when It directs me to the appropriate market page for the app it just shows "open" "uninstall" NOT update. Where as it should prompt to update I have auto update enabled and the version in the market is newer than the version of my app. SO that meens I would have to uninstall each app then reinstall to acquire the newest version correct?
[Android Q&A, Help & Troubleshooting] Psych0-Smil3s:
NONE of my threads have received any answers... no one has had any issues like this one with the market?