sunzehao / bcmon

Automatically exported from code.google.com/p/bcmon
0 stars 0 forks source link

monitor mode fails in galaxy-y GT-S5360 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checked out  code from bcmon project. 

2. made some changes to source tree to compile correctly. The changes I made is 
attached in the patch file.Also changed kernel configuration. It is also 
attached

3. moved new compiled module to /system/lib and "bcm4330_sta.bcmon.bin" to 
"/system/etc/wifi/bcm4330_sta.bin" 

4. insmod' ed cfg80211.ko 

5. turned on wifi by pressing icon in desktop

6. checked status by using 'iwconfig'

What is the expected output? What do you see instead?
    I expect a normal iwconfig output. but instead iwconfig waits lot of time and not printing info about the wireless interface. in that waiting time kmsg produces some error s . Its attached as iwconfig.log

What version of the product are you using? On what operating system?
     'svn info' says
        Path: .
        URL: http://bcmon.googlecode.com/svn/trunk/bcm4330
        Repository Root: http://bcmon.googlecode.com/svn
        Repository UUID: f22563d7-eeaa-7245-33f1-0b5dc2617f4f
        Revision: 7
        Node Kind: directory
        Schedule: normal
        Last Changed Author: rel8t2k@gmail.com
        Last Changed Rev: 4
        Last Changed Date: 2012-09-18 16:36:50 +0530 (Tue, 18 Sep 2012)

My phones os
    cat /proc/version 
    Linux version 2.6.35.7 (harish@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-68) ) #35 PREEMPT Sun Mar 18 23:49:27 IST 2012

    cat /proc/cmdline 
    console=ttyS0,115200n8 mem=362M kmemleak=off root=/dev/ram0 rw androidboot.console=ttyS0 mtdparts=bcm_umi-nand:256K@0K(bcm_boot)ro,2048K@256K(loke)ro,2048K@2304K(loke_bk)ro,256K@4352K(systemdata)ro,12800K@4608K(modem)ro,5120K@17408K(param_lfs)rw,5120K@22528K(boot)ro,5120K@27648K(boot_backup)ro,235520K@32768K(system)rw,40960K@268288K(cache)rw,201984K@309248K(userdata)rw,256K@511232K(efs)rw,256K@511488K(sysparm_dep)ro,256K@511744K(umts_cal)ro,1024K@512000K(cal)r BOOT_MODE=0 loglevel=0 BOOT_FOTA=0 DEBUG_LEVEL=LOW

Please provide any additional information below.

    So I tried the above procedure with stock firmware.
    at this time, iwconfig shows that wireless at monitor mode.But its clear that its not true. because we cant get monitor mode with stock firmware.
    not only that, at this situation, I couldn't change the mode of wifi interface to 'managed' by using iwconfig.

    the complete source tree is available at http://sourceforge.net/p/galaxyykernel/code/ci/958afa38ecf2ef20ea5586ce24796af36f5feac8/tree/drivers/net/wireless/4330/

    So with my little knowledge, i think firmware changes is necessary for this device specially.
    So I here attached my stock firmware .

    One more request.
    People like me are very much enthusiastic to know that how you people hacked the firmware. so please consider us.

Original issue reported on code.google.com by harish2704@gmail.com on 19 Mar 2013 at 4:28

Attachments:

GoogleCodeExporter commented 9 years ago
У меня тоже телефон s5360 хотелось бы иметь 
monitor mode. Администраторы помогите 
пожалуйста!! :)

Original comment by anrg...@gmail.com on 8 Apr 2013 at 2:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello every one
i have Samsung galaxy y and i want to test if this phone's wifi is capable of 
monitor mode.
so i installed bcmon and opened it.
it asked me for superuser permissions and the permission was given.
after that it crashed.
on second time it asked me to install firmware and tools, when i tapped on yes 
it crashed again
i tried many times but i got the same result.
one interesting thing , when i checked my super su application it showed me 
that bcmon has been given superuser permission only one time even i tried many 
times.
i think bcmon is unable to ask for the permissions properly.

Original comment by SAIFALI1...@gmail.com on 17 Jul 2014 at 6:44

GoogleCodeExporter commented 9 years ago
How you do step 1 and 2

Original comment by mouha...@gmail.com on 29 Nov 2014 at 4:44