yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] michaelmotes:
Yea, it's fun telling someone their password :victory:.

Anyway, I looked into some more and the problem is with the firmware image on the galaxy nexus. The firmware for the bcm4330 driver (the one gnex uses) is based on the galaxy sII, so it doesn't work on the galaxy nexus. See issue 4 over at bcmon sourceforge. To fix this we need to modify the firmware like they did, but I don't know how. It seems they changed the firmware so that it sends full 802.11 headers, instead of raw ethernet packets. But, I still don't know. I also found this gouy asking for similiar advice from the bcmon people:

daniel eriksonMarch 26, 2013 at 9:23 PM

Hi guys,

I'm working on porting this to a Samsung Note-1 which has the bcm4330 chip, but with a different firmware load.

I have extracted the Read-only firmware in region 2. Following your fw modifications, I have pointed the watchdog function pointer to a null stub (bx lr). I noticed that you then use the former watchdog space for your custom modifications and modify the recv function to point there. In my version the watchdog is in read-only space, so I am overwriting a text region and pointing the recv function there (like you did in your first version). Finally, I found the dma and other functions that you are pointing to in your S2 version and am doing likewise. When I insmod the driver I am getting 1 to 4 packets captured (via tcpdump). I can see that they are valid packets (radiotap header, ethernet header, data). I am at a loss as to how to get this to consistently and persistently output captured packets. I did the same thing with your previous fw version. With that version I would get a few thousand packets (a few seconds worth of capture) before it would freeze. I was hoping this new version would solve that problem, but so far I'm just as stuck. Any advice would be much appreciated. I can email kernel logs etc.

Omri IldisMarch 26, 2013 at 9:55 PM

Hi daniel,

please contact us at contact.bcmon@gmail.com, it reaches all 3 of us and we'll be able to discuss over there :)​
[Samsung Galaxy Nexus] JPBeard21:
I appreciate your effort with this project! This is clearly way above me at this low of a level, wish I could say beneath me here :P

Haven't heard much over at their blogspot but you may have luck contacting them, asking about the issue and what solutions may be available if you choose to pursue this further. I think if they lent you a hand, you could certainly pull this off. I would like to help, have yet to acquire those type of programming skills :( I wish you the best of luck if you continue, you would be a god amongst GNex users everywhere :P

---------- Post added at 05:27 PM ---------- Previous post was at 05:13 PM ----------

After reading your post again, it sounds like since the null pointer was in read-only space and redirected to text space, its possible he's facing an out of memory issue. I know it allocates a certain amount of memory for different functions so increasing it may be a fix for him but I don't remember that being related to the issue in the bug tracker post 4 but this is all above me from far back and I am likely way off.

---------- Post added at 05:36 PM ---------- Previous post was at 05:27 PM ----------

He mentions read-only firmware then says watchdog function points to read-only space so he redirects to text region. I do not know the way all this works but watchdog sounds like it would be expecting input and maybe should point there and not text region? Read-only firmware sounds more like a set of instructions for other drivers and modules to do their jobs. Any thoughts? I'm sure your understanding is much better than mine.
[Samsung Galaxy Nexus] michaelmotes:
What he is saying with watchdog and text space and all that is that there is a firmware file, the .bin file, that gets loaded into memory located actually on the wifi device, where space is limited, this firmware is used by the driver to communicate with the device and firmware is usually closed source, and some sections of the firmware are read-only, they will never be changed on that device, but some aren't like text space or where the strings are stored.

It seems that even though many phones use the bcm4330 or 4329 chipset, the firmware can have subtle differences from device to device. This doesn't matter to the driver, as exactly how the firmware is laid out in the onboard memory of the wifi device doesn't matter as long as none of the outward facing functions change, that is functions that the driver uses.

So, originally these guys replaced a function known as watchdog timer on the firmware with a custom function that would add the 802.11 headers, or do whatever, to enable monitor mode to be enabled in the driver. They have since changed the 'hook' function to something else, and that guy was saying that the watchdog timer (which by the way is just a function that will reset the device if it determines that the it has become unresponsive) was in read only space on his firmware. The firmware must be modified as it seems the original firmware of this chipset does not have the features necessary to support monitor mode, hence it being so difficult to implement, not being a driver issue, but really a firmware issue, and as I said firmware is almost always closed source. So, therein lies my problem, I don't how these guys decompiled the firmware. I suppose they decompiled the .bin file to native ARM assembly and examined it from there. If that's true, progress will be hard won.
[Samsung Galaxy Nexus] JPBeard21:
Great explanation, thanks for the time you took just to write that up! Sounds like getting in touch with these guys is best shot at progressing any further. I need to start learning some code in all my downtime.

---------- Post added at 07:04 PM ---------- Previous post was at 06:49 PM ----------

May it be related to the firmware being a loadable module in addition to the original firmware? Could a kernel be compiled, compile the bcmon firmware, and replace the original with the bcmon and create a flashable zip specifically for this function? I might break out my laptop, I'm very interested in this now :P
[Samsung Galaxy Nexus] michaelmotes:
No, you can actually specify the original firmware when you insmod the bcmon compiled dhd.ko and it will load, but when the driver goes into monitor mode it never receives packets. So, we definitely just need to know how to change to firmware so that it doesn't strip the header and footer from the ethernet packet. As is, the bc4330 does the processing of the the received frame itself, so there is no chance to set the driver to monitor mode as the firmware doesn't support it, so it must be hacked. RFC 1042 describes the frame (header and footer) of the ethernet packets. Much good understanding it would do for me though, I have no idea how to decompile the firmware to a readable form.
[Samsung Galaxy Nexus] JPBeard21:
I thought that's specifically what the bcmon firmware accomplishes? The source can be checked out on github, or through the link to the bug report #4 link would bring you to the project. If I'm up much later, I might see just what happens if I can find all the relevant posts on compiling kernels/modules/cross-compiling etc. again.

---------- Post added at 07:40 PM ---------- Previous post was at 07:31 PM ----------

I was off in how I was interpreting the way this worked. I was thinking the .bin files could be swapped but that would screw everything. When compiling the bcmon firmware, does it create another dhd.ko? Sounds like that's where the issue lies.

---------- Post added at 07:49 PM ---------- Previous post was at 07:40 PM ----------

Sorry for my confusion, I'm just trying to learn/understand best I can although I've been in over my head since we started this discussion. Does the bcmon source build firmware or drivers or both? I'm now lost on which parts are coming from where, I should just stop lol.
[Samsung Galaxy Nexus] michaelmotes:
Bcmon google code page contains a modified binary firmware. Binary means already compiled. The bcmon guys modified the binary firmware so that it would send entire ethernet frames instead of just packets. The rest of the bcmon source is code that is compiled into a .ko . But, that .ko file won't work without their special firmware and the firmware needs to be modified for any device that doesn't have the exact same original firmware. The firmware is not compiled by us, it is already compiled into a .bin file that the driver loads. Somehow, these bcmon guys figured out how to modify the firmware without the source for the firmware, this is where their dark magic comes into play.
[Samsung Galaxy Nexus] PATITOPATITO:
Not working in a ramos tablet Android version 4.0.4.

Hi all,

I have the same problem.

I have a ramos tablet (with android 4.0.4). BT5 is working well via vnc. I have flashed via CW the file Release 200 - ICS couse its a 4.0.4 version.(tells me if Its a wrong version for this device)

if i make a lsusb:

root@android:/ $ lsusb

Bus 001 Device 001: ID 1d6b:0002

Bus 001 Device 002: ID 0bda:8187

Does it means that the drivers are installed?. Do i have to mount it or its already mounted couse i used CW for flashing the zipfile.

Still no usb devices reading in ubuntu or backtrack.

Br and thanks in advanced for your help :)

BR

Patito
[Samsung Galaxy Nexus] syeedi:
pls reply

Can I hack the wifi with samsung galaxy s3 gt - 19300 if I can thn pls tell me the processes how to hack
[Samsung Galaxy Nexus] michaelmotes:
Patito,

Looks like drivers are not installed the 0bda:8187 should say something like "Realtek 8187" next to it, at least did on mine. You must build kernel with driver.

Syeedi,

You can get source for kernel and source for externel wifi usb dongle and compile them together and flash device with new kernel. It's a lot to learn, so you need to be very interested. Start by just learning to build a kernel and flash it to your device: https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/tree/ics, http://oldwiki.cyanogenmod.org/wiki/Building_Kernel_from_source
[Samsung Galaxy Nexus] Stryker336:
Has anyone gotten monitor mode working well with the built in wlan on the galaxy nexus? I can get monitor mode enabled with your modified .img kernel but it seems the android wifi manager is getting in the way as it only pulls networks for a few seconds. I would love to see a stable native monitor mode working with linux deploy and kali on the nexus.
[Samsung Galaxy Nexus] sanglxagdm:
Can i use for SGS2 jb 4.1.2 ?
[Samsung Galaxy Nexus] 7175:
[MENTION=4479720]michaelmotes[/MENTION] : Great thread! Really glad I stumbled upon this looking for how to get aurcrack tools working on my gnex. I'm currently trying to get airmon working on Vanir 4.3.1. I took the franco kernel R3xx you posted and combined it with 4.3.1 ramdisk so I could use it. I then went through your instructions in the OP and am currently stuck when you finally enter "airmon-ng". I get "Wireless tools not found". I had my AWUS036NH plugged in, and lsusb gave me 3 entries. Any info on this much appreciated.
[Samsung Galaxy Nexus] michaelmotes:
Output from a Ubuntu server box

Looks like you need the wireless-tools package, hope this helps.
[Xperia Play Q&A, Help & Troubleshooting] Sunjay140:
I own an Xperia Play and the L and R buttons don't feel as sturdy as my Playstation Vita or my PSP but t hat is understandable because it has a different design but I get very worried that I destroy the buttons when I press them a lot when playing 1st Person Shooters and it's driving me crazy when I play shooters. The buttons don't feel like they were L and R buttons don't feel like they were made for repetitive pressing which is what you do in 1st Person Shoots such as Modern Combat and N.O.V.A.
[Xperia Play Q&A, Help & Troubleshooting] psxpetey:
They get the job done there not solid clicks like the rest of the buttons kinda mushy but they definilty hold up u can really mash those suckers I wish god of war wpuld be put on the x play
[Xperia Play Q&A, Help & Troubleshooting] Sunjay140:
thanks, God Of War would be great on the Xperia Play, Sony isn't giving us what they promised, we only have Android games that were optimized to use the Play's buttons and PS1 classics which is sad
[HTC Sensation] qdochemistry:
Hi, I'm still using ARHD 6.5.4 and its running pretty smooth. Though I wanted to try sense 4.0 but all the one I looked at still have wifi hotspots bugs .. since I need that feature for connecting my device to internet on the go I was wondering if there is a 4.0 Tom with working wifi hotspot yet that I might have overlooked
[Galaxy S II Q&A, Help & Troubleshooting] l0gandroid:
Hi,

Please I need this stock rom

Firmware info: PDA:UHKH1| PHONE:UHKG4| CSC:COBKH1

This link: UHKH1:http://www.multiupload.com/XRTZGCNRC2

it doesn't works.

This Stock rom is from:

Country: Colombia

Operator: Movistar

it was Posted by Intratech

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

Please... I need it quickly to solve a problem with my operator.

thanks for your help.
[Galaxy S II Q&A, Help & Troubleshooting] rogeriok:
http://www.samfirmware.com/

try to find here
[Galaxy S II Q&A, Help & Troubleshooting] vyis:
Use checkFus to download from Samsung. Extract to your PC, run the exe file and fill in the information into right column, then press "Check firmware" you will see the stock rom you want. Then just download it.

Downloaded Rom will be convert to Odin flashable package automatically.
[Galaxy S II Q&A, Help & Troubleshooting] l0gandroid:
Thanks, both solutions works fine!!!
[HTC Sensation] DragunKorr:
theal420
​

Whitehawkx

Roman

Jonathan Grigg

Zaphod-Beeble

ProTekk

Sethyx

vorbeth

blahbl4hblah

CyanogenMod

Razer (x) black Infinitum theme elements

aokp NEWS

blahbl4hblah Guide to compile aokp or cm9 Thread Link

Our Guide to compile aokp Thread Link

​

Check out the ROM source on github http://github.com/AOKP. Open source, in the spirit of community kangage.

Also - special thanks to @Vorbeth and intervigilium https://github.com/intervigilium for the work they put in on the pyramid device tree!
​

Our site http://www.android-engineering.com/index.php

​
[HTC Sensation] DragunKorr:
Welcome to RMS Android-Engineering!

These builds are completely built from source code by our team!

​
[HTC Sensation] DragunKorr:
RMS Rom v0.1 aokp

STOCK Build aokp
[HTC Sensation] DragunKorr:
Added Black Infinitum theme by Razer (x) thanks

​
[HTC Sensation] Tha Maxx:
Looking good so far bro.
[HTC Sensation] eterno13:
Looks good will try
[HTC Sensation] DragunKorr:
CM9 build coming to OP next!
[HTC Sensation] DragunKorr:
Fixing an issue will upload soon thanks!:D
[HTC Sensation] DragunKorr:
Rom posted!
[HTC Sensation] omar m5:
there is a new build for sensation 5.12 in rootzwiki

I have tried your old releases and it was awesome

keep up the good work
[HTC Sensation] Deleted member 2371530:
Does video playback work?
[HTC Sensation] DragunKorr:
Sure does!
[HTC Sensation] DanOMac:
AOKP roms everywhere lol another 1 2try later
[HTC Sensation] DragunKorr:
Yea update maybe tomorrow more bugs should be fixed and working:D:D:D
[HTC Sensation] DanOMac:
Hum do I flash 2day or wait 4the update 2moro.
[HTC Sensation] dmeinder:
Everything working RMS?

As in everything?

(btw i did read the op's, just don't understand how everything aside from 480p and formatting could be working compared to CM9)

Full BT audio?

Audio routing?

avi video?

Also, I don't understand different builds....stock AOKP?....milestone?...

sorry for the confusion

Cheers!
[HTC Sensation] DragunKorr:
Nice!!!
[HTC Sensation] DanOMac:
Iv still not flashed this rom is there still an update 2day or shall I flash now
[HTC Sensation] djgboy:
Oops sorry
[HTC Sensation] Suuugen:
Nice work!, Everyting runnings smoooth ;)
[HTC Sensation] s.supervisor:
Can i flash The Update on top

Or full wipe?

Thx
[HTC Sensation] shahkam:
No md5 hash ? Just don't wanna end up whit a brick ...

Also using cwm is good ?
[HTC Sensation] shahkam:
Also im sorry if this has been asked before but what are the benefits from aokp over aosp ??
[HTC Sensation] DragunKorr:
Aokp is aosp and md5 will be posted tomorrow!
[HTC Sensation] Jiggs82:
Does mms work for T-Mobile US users??
[HTC Sensation] eessel:
Yes, it does work
[HTC Sensation] Incredible_Culp:
how smooth is this bad boy compared to V.I..?

Wanna try this out, love the theme.. but if it isnt as stable, smooth (no lag what so ever) as VI, im going to have to pass :(

I cant nandroid, sd card isnt big enough LOL.. so no matter what i do, i have to start from scratch again :o
[HTC Sensation] 19fonzy:
No FB Sync, :(

That was the only reason why i picked AOKP over CM9
[HTC Sensation] shahkam:
Still waiting for md5 hash...
[HTC Sensation] shahkam:
Nevermind found it..
[HTC Sensation] shahkam:
I can't find stock Google music player ?

Sent From My Sexy Sensation.
[HTC Sensation] DragunKorr:
???????????:eek:
[HTC Sensation] shahkam:
Anyways had to restore backup because phone app was crashing on boot and it kept on rebooting forever...

Also my anker battery would not charge when it died ? As soon as i put the stock battery back in everything was good ?

Anyways i loved the rom and all those options , loved the wallpapers and could you post the microbes livewallpaper please ?

Also the on screen buttons were kinda glitchy...

But performance wise looked good ! Didnt got time to launch camera so cant say nothing about it ...

I was gonna make it my daily driver but too lazy to restart...

Oh and it was reading my battery wrong ... Showed wrong % ...

Sent From My Sexy Sensation.
[HTC Sensation] DragunKorr:
Odd your the only one with issues!:eek:
[HTC Sensation] shahkam:
Might be a bad flash perhaps ? Gonna flash again tomorrow and cant wait to go back !! Awesome rom ! Btw when i meant glitchy onscreen button i meant like when i press any of them the glow will stay around the button and its annoying :/

Sent From My Sexy Sensation.
[HTC Sensation] blahbl4hblah:
No FB Sync because it was removed by facebook. Download an app from the market to sync

Since he's the only one having issues, why aren't you asking for logcats?
[HTC Sensation] dmeinder:
I won't ask again....I'll figure out for myself, thanks for the help!
[Motorola Droid Bionic] Sc4ryB3ar:
Is there a software that was supposed to come with the phone to make it easy to connect to the computer?
[Motorola Droid Bionic] SonicJoe:
Its on the phone, if you want to go that route. The first time you connect your phone it mounts itself as a cd iso and you run the install from there, unless you checked off "Disable Software Install" under settings -> Storage.
[Samsung Epic 4G Touch] AVAH0LIC:
I guess I'm just having a misunderstanding and any help is greatly appreciated.

So the stock DPI setting is 240, I dropped mine down to 190 or so give or take, and obviously that causes certain apps to not even appear on the market. Been using other places just to get apk files so they obviously work fine. I was under the impression that just changing back to 240dpi along with clearing market cache and resetting phone would re-allow me to see certain apps that aren't showing. I must be doing it wrong because this definitely isn't working for me lol

I've seen on other phones Market compatibility fixes to trick the market into thinking we have the stock DPI set. Do we have anything for our E4GT's that will achieve this trick.

I thought I wouldn't have a problem with just going back on fourth but showing off the phone and having to spend 2 minutes to go back and change settings just to download an app is kind of a hassle :P

Thanks again!
[Samsung Epic 4G Touch] pbassjunk:
Get LCD Density Modder Pro and use it to patch the Store.

I've gone through a bunch of densities to find what I like, eventually settled on 206 as our screen is 206ppi. Quite happy with it.
[Samsung Epic 4G Touch] killaphatboy:
I had to clear paly store cache/data, google framework cache/data and reboot. Worked for me.

Sent on HyDrA using Tapatalk 2
[G Tablet General] jamcar:
ok so my CPU temp in over 800 degrees F...is that ok//normal??? what about you people?
[G Tablet General] rajeevvp:
Looks like it is off by an order of magnitude.
[Galaxy S II Themes and Apps] peewster:
Hi all,

Anyone knows a link to a circle battery only for cm9 ?
[Galaxy S II Themes and Apps] peewster:
I'm wondering if the uot kitchen will work on cm9 roms
[Galaxy S II Themes and Apps] peewster:
Uot.dakra.lt Works for custom battery icons on ics
[Galaxy S II Themes and Apps] m1keyb:
Does this not do what you want? http://xdaforums.com/showthread.php?t=1434061
[Galaxy S II Themes and Apps] FredC94:
unfortunately, most of the links are dead.

Im' looking for Circle Battery by mrvirginia
[Galaxy S II Themes and Apps] norpan111:
Why dont ask in that thread then?
[Galaxy S II Themes and Apps] norpan111:
Double account?:s
[Galaxy S II Themes and Apps] 3NDL3R:
hey guys,

here´s the solutions! Got that link from Deadboy @Android-hilfe.de: BatteryMODs
[HTC One S] Sherad:
My Phone imported, European but the phone not show my language (Hungarian)

Well, the morlocale2 can use so the language inside in rom, just i think closed or blocked or something :)

My question is, any method open more system language what inside the rom?

thx (and sorry my english not the best :) )
[HTC One S] Reviewers:
If you flash my ROM you will have all languages
[HTC One S] Sherad:
Thanks, I did :)
[Samsung Galaxy Nexus] BlindWolf8:
So um...I'm kind of shocked.

I just unlocked the bootloader on my shiny new USA GSM Galaxy Nexus from Google Play and...my data was still there when I rebooted. No Android Wizard or anything.

It's as if I did nothing, but I checked MULTIPLE times and I'm unlocked. Got the unlock icon during boot and everything.

:eek:
[Samsung Galaxy Nexus] mskip:
MERGED THREADS.

Mark.
[Samsung Galaxy Nexus] DOHCtor:
The USA version, as any other hspa+ version, DOES wipe userdata when unlocking the bootloader.
[Samsung Galaxy Nexus] DeezNotes:
I have the USA version from the play store. My data wasn't wiped after unlocking the bootloader. Either way, its not a big deal. Warranty matters are much more important.
[Samsung Galaxy Nexus] NCguy:
Nobody who has purchased a play store GN has reported wipe after unlock.
[Samsung Galaxy Nexus] painter_:
Mine from the play store did NOT wipe user data after unlocking. I am running CM9 and have locked and unlocked many times without wiping data.
[Samsung Galaxy Nexus] ragnarokx:
Does NOT wipe actually. Maybe leave it to people with first hand experience to answer a question like this?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] bozzykid:
Although it may be a bug that will be fixed in a later update so I don't know if the failure to wipe is a permanent feature. However, I can verify my GN didn't wipe either after unlocking.
[Samsung Galaxy Nexus] AcuraKidd:
is this with the oem fastboot unlock method?
[Samsung Galaxy Nexus] DOHCtor:
I have 3 Play store Galaxy Nexus. They all wiped data when I unlocked bootloader. I think that's first hand experience. If it doesn't wipe the data, then that's a security risk.

Example: Just yesterday, I got tired of using CM9 and fastbooted the stock images without -w. I didn't want to go into recovery to wipe data and factory reset (because that just wipes data partition, not usb storage), so while in fastboot, I did fastboot oem lock then fastboot oem unlock. If it didn't wipe data, then my usb storage should've had a clockwordmod folder, music that I precache, and other various folders that were created from apps that were installed, and I wouldn't be introduced to the welcome screen upon bootup. Like I said, if it doesn't wipe data for you guys, then that's a security risk and you should be contacting Google. Because if you lose your phone, someone can oem unlock your phone and go through your data.
[Samsung Galaxy Nexus] ragnarokx:
Yup.

Well then your statement about "The USA version, as any other hspa+ version" is at least inaccurate. As you can see, many people's data did not wipe when they unlocked their bootloaders, so all phones/situations are not the same.

And I'm not really worried about someone unlocking my bootloader if I lose my phone - it's already unlocked ;) If I had data that precious on my phone, I wouldn't root in the first place.