Related
I was wondering how to monitor network traffic (like wireshark) and output the data into a csv file on the SD card. Has anyone seen anything like this? I don't want to start developing something thats already around.
I found this video showing it being done on a beagle board: http://www.youtube.com/watch?v=ZFH55WbhCXs
I also came across this guy who posed a similar question of google groups: http://groups.google.com/group/android-internals/browse_thread/thread/160159e24510fb4f
This might interrest you:
http://pdk.android.com/online-pdk/guide/tcpdump.html
packetlss said:
This might interrest you:
http://pdk.android.com/online-pdk/guide/tcpdump.html
Click to expand...
Click to collapse
cyanogenmod already has tcpdump. I've used it well. you can use 'ip address' to see your interfaces to use with the -i option.
Just ran into this while searching, Did you end up developing something?
have a look for shark in the market, its a packet sniffer and it has an optional extra application to read the dumps
anzoshi said:
have a look for shark in the market, its a packet sniffer and it has an optional extra application to read the dumps
Click to expand...
Click to collapse
Just got Shark for root and Shark reader, it does the work for me, thank you
Did anyone find sniffer like ettercap?
tcpdump log files can be opened in wireshark.
Sorry to bump an old thread, is there any packet capture app which grabs data network packets? Not wi-fi or bluetooth packets, but 2g/3g packets.
Thanks!!
askpcguy said:
Sorry to bump an old thread, is there any packet capture app which grabs data network packets? Not wi-fi or bluetooth packets, but 2g/3g packets.
Thanks!!
Click to expand...
Click to collapse
and to bump it again (sorry mods), shark provides 3g packet capture
ryant22 said:
and to bump it again (sorry mods), shark provides 3g packet capture
Click to expand...
Click to collapse
I'm not able to find any information regarding shark and 3g capture.
I only found this http://forum.xda-developers.com/archive/index.php/t-675206.html
It says on the page you have linked to "android packet sniffing app. It dumps all (wifi and/or 3g) traffic into...."
Sent from my U20i using XDA App
Honestly I forgot why I was asking in the first place! Oh what a day job can do to free time.
Sent from the miui matrix SGH-i897
How to use tcpdump to hack wifi?
dhkr123 said:
tcpdump log files can be opened in wireshark.
Click to expand...
Click to collapse
How to use these tcpdump to hack a wifi. Plz give me a link?
Thanks in advance.
Is there way to know for each line in the log (each packet in Shark's log) which android application is responsibe for it? which application sent/recived this packet...?
Pls delete this post
SniffDroid
I know, i'm answering very late, but i developped a widget called SniffDroid available on GooglePlay (SniffDroid)
Please test it and let me know if you like !!
SeriousDroid
Ive searched Google and couldn't find a answer to this. Im running Energy.IMAGIO.23563.Sense2.5.Cookie.HomeTab.Apr.20 and every time i try to update the weather it just sits n then says no weather data available? Even on Google maps it says location temp unavailable? Anyone have any ideas? I first thought gps is bad but im a noob and not sure how to tell if the gps test is good or bad?
Sounds like you don't have My Location turned on.
I double checked it and its on so not sure whats up. Even tried hard n soft reset plus diff roms. Was working 1min then just stopped at 11pm one night
starvenmarven said:
...every time i try to update the weather it just sits n then says no weather data available? Even on Google maps it says location temp unavailable? Anyone have any ideas? I first thought gps is bad but im a noob and not sure how to tell if the gps test is good or bad?
Click to expand...
Click to collapse
Well . . . weather data does not use GPS, so that is not the issue.
When you click on the weather tab, does it have your location correct?
Can you add your city and see if that improves the situation?
As for the GPS, have you run "QuickGPS" to download the initial satellite information?
BRosenow said:
Well . . . weather data does not use GPS, so that is not the issue.
When you click on the weather tab, does it have your location correct?
Can you add your city and see if that improves the situation?
As for the GPS, have you run "QuickGPS" to download the initial satellite information?
Click to expand...
Click to collapse
Well i did download the data with QuickGPS and all my location says is No data available. Also my city is not in the list?
starvenmarven said:
Well i did download the data with QuickGPS and all my location says is No data available. Also my city is not in the list?
Click to expand...
Click to collapse
Are you able to surf the web and/or get email with it?
How about selecting a city near you. We just need to see if it can download weather data for ANY city.
BRosenow said:
Are you able to surf the web and/or get email with it?
How about selecting a city near you. We just need to see if it can download weather data for ANY city.
Click to expand...
Click to collapse
Ya i can get email, surf the web and got a city a 50miles west of me so that all works? Starting to think that it doesnt like my area anymore
Im having the same exact problem with my Touch Pro 2, you click update the circle spins and then it says no weather data available. I called vzw tech and they are sending me a new one
I am having the same problem with my Tilt 2 on AT&T. It works fine on edge, but won't work at all on 3G.
I've received a new device and its not working near my house, drove 275 miles yesterday and only wouldnt work within a 30 mile radius of my home.
Actually bought a ****ty imagio too and thats not updating either, per someone at ppcgeeks, apparently it is a mapping issue and HTC is aware.
i searched everywhere and cannot find a solution to the problem. my weather isn't updating and my gmaps isn't locating me either. a couple observations..
1)weather does update when im connected to wifi
2) i tried different methods people used in the forum like - disabling my location, soft reset, plug into activesync, and re enable (doesn't work). i also tried going into settings>connections>connections>manage existing connections> and checking the access point name. (doesn't work). also, using advanced config>gps>turning off gps logging and setting size to 0. (doesn't work)
3) i tried flashing different radios and eventually running a task29 to see if that would fix it. nothing.
im starting to lose hope if ever fixing it. anyone please helpp
ttxcsabby said:
i searched everywhere and cannot find a solution to the problem. my weather isn't updating and my gmaps isn't locating me either. a couple observations..
1)weather does update when im connected to wifi
2) i tried different methods people used in the forum like - disabling my location, soft reset, plug into activesync, and re enable (doesn't work). i also tried going into settings>connections>connections>manage existing connections> and checking the access point name. (doesn't work). also, using advanced config>gps>turning off gps logging and setting size to 0. (doesn't work)
3) i tried flashing different radios and eventually running a task29 to see if that would fix it. nothing.
im starting to lose hope if ever fixing it. anyone please helpp
Click to expand...
Click to collapse
OK, i just fixed mine today, it had been showing the weather in the 20 F's and it's up to 80s here in fl. so .... i kept messing with it and I ended up accidentally pressing that little timestamp to the upper righthand corner with the circled arrows. See if that helps?
nope, didnt seem to work. the arrows just spin and spin and nothing ever updates. any other ideas?
how about run your gps and let it detect your gps hardware and also allow it to detect your location?
(if not can you exchange it with a new one and test it out from the store?)
Guys please help this guy out!!
DrewVL said:
how about run your gps and let it detect your gps hardware and also allow it to detect your location?
(if not can you exchange it with a new one and test it out from the store?)
Guys please help this guy out!!
Click to expand...
Click to collapse
when you say "run your gps", you mean like enable gps in google maps and let it detect? ya i did that and it works fine, with it off, its still supposed to get me a location by the towers or somethin'. with gps on or off, my weather still doesn't update
im running the cell rom and hspl and feel extremely lazy undoing everything just to do an exchange. plus no t-mobile has inventory.... i work there.. so i know lol
ttxcsabby said:
when you say "run your gps", you mean like enable gps in google maps and let it detect? ya i did that and it works fine, with it off, its still supposed to get me a location by the towers or somethin'. with gps on or off, my weather still doesn't update
im running the cell rom and hspl and feel extremely lazy undoing everything just to do an exchange. plus no t-mobile has inventory.... i work there.. so i know lol
Click to expand...
Click to collapse
Yes, your location and weather won't update until it can find your location via at least aGPS. You're saying that you can open google maps and get a satellite locked position? The next thing to check is that in both your WM GPS settings and your google GPS settings, you have them set to "managed by windows"
sirphunkee said:
Yes, your location and weather won't update until it can find your location via at least aGPS. You're saying that you can open google maps and get a satellite locked position? The next thing to check is that in both your WM GPS settings and your google GPS settings, you have them set to "managed by windows"
Click to expand...
Click to collapse
yes i can open google maps > settings and use gps. it will fix my location perfectly. but weather still doesn't update. i checked the gps settings in google and its set for "managed by windows". still nothing.
i even tried in a new sim card at work, still nada
ttxcsabby said:
yes i can open google maps > settings and use gps. it will fix my location perfectly. but weather still doesn't update. i checked the gps settings in google and its set for "managed by windows". still nothing.
i even tried in a new sim card at work, still nada
Click to expand...
Click to collapse
Hmmm. What does it show in your device GPS settings (all settings-system-external GPS-"programs" and "access" tabs)? And, also in your location settings (settings tab-location)?
My location [weather] is not updated by GPS. Its updated by cell towers. The only way I know of fixing this problem is to try different radio roms.
yes the com settings match. and Google does locate my position. weather still no update. i would have to agree that it has to do with the radios. anyone know of a radio that works?
I'm on 2.08.50.xxx radio
dkb218 said:
My location [weather] is not updated by GPS. Its updated by cell towers. The only way I know of fixing this problem is to try different radio roms.
Click to expand...
Click to collapse
Yeah I know, but whenever I hard-reset, I don't get my location to update until I go into gmaps and get it to achieve a lock, then my location updates immediately after that.
sirphunkee said:
Yeah I know, but whenever I hard-reset, I don't get my location to update until I go into gmaps and get it to achieve a lock, then my location updates immediately after that.
Click to expand...
Click to collapse
ya i just tried that. and still nothing
i hard reset the phone and opened gmaps, let it get my location by gps, then hit home (kept gmaps running) and went to weather tab, and still nothing. i even flashed 2.10 radio and same stufff.
keep em comin' haha
Is your aGPS setting enable?
bachviet said:
Is your aGPS setting enable?
Click to expand...
Click to collapse
where is the aGps setting?
ttxcsabby said:
where is the aGps setting?
Click to expand...
Click to collapse
settings tab > location
make sure that both the aGPS and the Location Service Setting switches are set to "on"
oh ya, thats the first thing i did.
any other ideas? maybe flashing radios?
From "Home" , go to "setting" tap on "location" , MAKE SURE to check the "HTC location service" ON , that how I get my to work.
AT
littlebigkid said:
From "Home" , go to "setting" tap on "location" , MAKE SURE to check the "HTC location service" ON , that how I get my to work.
AT
Click to expand...
Click to collapse
ya thats how it usually worked in the past. i tried every combination with turning it off and soft resetting with different settings and stuff. and still... nothing
First off thanks to the developers who made this happen awesome stuff.
I have a couple questions,
1.
i did the flash and all and with set up i get English(spain), English(uk) but no english(usa) is there something i did wron on the setup?
2.
Im stuck on H on top of my info bar is there a way to get 3g?
3.
last question are these the setting to have MMS work? i can send a pic, but not recieve one
uSED A LITTLE ELBOW GREASE (search bar on this website) AND GOT IT WORKING .
anyways thanks ahead of time
n0re781 said:
1.
i did the flash and all and with set up i get English(spain), English(uk) but no english(usa) is there something i did wron on the setup?
Click to expand...
Click to collapse
Is this a problem...really?
n0re781 said:
2.
Im stuck on H on top of my info bar is there a way to get 3g?
Click to expand...
Click to collapse
H is better than 3g. Read: http://en.wikipedia.org/wiki/High-Speed_Downlink_Packet_Access
n0re781 said:
3.
last question are these the setting to have MMS work? i can send a pic, but not recieve one
Click to expand...
Click to collapse
Speak with T-Mobile. MMS issues regularly relate to the service provider. You should ask them to remove then re-add your MMS capabilities on their servers and to be safer you should create your APN settings based on the info on their website.
What build? Cyanogenmod builds or modified sense builds (like cmys) include the files needed for mms to work correctly on tmous.. they've been working great for me don't even have to enter the apn.
Swyped from my Cyanogenmodded HD2
dkl_uk said:
Is this a problem...really?
H is better than 3g. Read: [[/url]
Speak with T-Mobile. MMS issues regularly relate to the service provider. You should ask them to remove then re-add your MMS capabilities on their servers and to be safer you should create your APN settings based on the info on their website.
Click to expand...
Click to collapse
well i only ask cuz i noticed when i whent on my google maps it would directly take me to spain, italy,..etc no big issue just wondering if some one else had an issue. =)
Good to know, im just use to seeing 3G.
i will check the website for specific APN thanks
squish099 said:
What build? Cyanogenmod builds or modified sense builds (like cmys) include the files needed for mms to work correctly on tmous.. they've been working great for me don't even have to enter the apn.
Swyped from my Cyanogenmodded HD2
Click to expand...
Click to collapse
its used with cotulla, htc desire a8.. (sorry dont know whats the cyan or the sense build)
n0re781 said:
well i only ask cuz i noticed when i whent on my google maps it would directly take me to spain, italy,..etc no big issue just wondering if some one else had an issue. =)
Click to expand...
Click to collapse
So your location was taking you to the wrong country? I had that issue on an iPhone 3, hence I only ever had an iPhone for a week before returning to HTC products.
The English settings won't affect your location. Google maps will first ascertain where your location is based on WiFi and then GPS. WiFi will inherently be quicker because it doesn't need a lock. I would suggest turning WiFi off for now, are you using a proxy or Tor network direct through your router? That would suggest why it thinks you're in another country. If it's your GPS then that is an entirely different issue and you will want to read this thread:
http://forum.xda-developers.com/showthread.php?t=953630
dkl_uk said:
So your location was taking you to the wrong country? I had that issue on an iPhone 3, hence I only ever had an iPhone for a week before returning to HTC products.
The English settings won't affect your location. Google maps will first ascertain where your location is based on WiFi and then GPS. WiFi will inherently be quicker because it doesn't need a lock. I would suggest turning WiFi off for now, are you using a proxy or Tor network direct through your router? That would suggest why it thinks you're in another country. If it's your GPS then that is an entirely different issue and you will want to read this thread:
http://forum.xda-developers.com/showthread.php?t=953630
Click to expand...
Click to collapse
GPS is working.
i recallr y i mentiond the issue with the english(uk), english(spain) when i get on youtube it goes to youtube(spain).
english(Uk) is almost same as english(usa) ... : )
p0fker said:
english(Uk) is almost same as english(usa) ... : )
Click to expand...
Click to collapse
LOL it is is why is there an option to pick english(uk), english(spain), enlgish(italian).
not a big deal i figuerd it out already. o well either way im happy with my htc hd2/desire. =)
Guys plz help i installed cyanogenmod 7 .....in hd2....the problem is with the screen resolution...its smalll i mean the keypad....etc...wats the remedy thanks in advance
anyone found the gps secret codes to turn on and off such as standalone vs assisted gps etc.. none of the sgs normal codes appear to work.
*8329#
Never live in the past but always learn from it.
are you sure doest do squat on my phone.????
try these
*#*#1472365#*#* - GPS test
*#*#1575#*#* - Another GPS test
already tried them..
the first does not work.
the second goes into a sort of menu but not the one i/we need to set the normal gps options.
Bump... still looking for solution... anyone ?
Sent from my GT-I9100 using Tapatalk
lgkahn said:
Bump... still looking for solution... anyone ?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I don't have the S2 yet, so can't test this, but on my SGS I use Any Cut to create a link directly to LbsTest. You might give that a try.
The option for assisted and standalone GPS is in the settings menu.
Settings > Location and Security > Sensor aiding
Sent from my GT-I9100 using Tapatalk
steve228uk said:
The option for assisted and standalone GPS is in the settings menu.
Settings > Location and Security > Sensor aiding
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
That's a different setting than OP is looking for.
samnada said:
I don't have the S2 yet, so can't test this, but on my SGS I use Any Cut to create a link directly to LbsTest. You might give that a try.
Click to expand...
Click to collapse
thaniks can you tell me what the link is.. ie where on the phone maybe i can do it from terminal program.
lgkahn said:
thaniks can you tell me what the link is.. ie where on the phone maybe i can do it from terminal program.
Click to expand...
Click to collapse
Sorry, not sure how to determine that. In Any Cut I select "New shortcut", then "Activity", and select "LbsTestMode". It creates the shortcut. I've tried the "Edit existing shortcut" function but it just sits there with a blank screen, so no help there.
samnada said:
Sorry, not sure how to determine that. In Any Cut I select "New shortcut", then "Activity", and select "LbsTestMode". It creates the shortcut. I've tried the "Edit existing shortcut" function but it just sits there with a blank screen, so no help there.
Click to expand...
Click to collapse
that may work fine except there is no "lbstestmode" in the list on the sgs ii
here is the fix.. well mostly the antenna and cns tests dont seem to work or cns is broken on our phone.. anyway
take this app.. copy it to /system/app with root explorer or adb push.
(need to be rooted)
then use anycut (free in the market) to add an activity shortcut to this app (secret codes still fail to work)
i have set mine to coldstart a i like etc. and now am getting much faster initial fixes after running get position test.
accuracy is still **** and much higher than my sgs.. but not sure the sgs was not lying about accuracy.
strange they didn't include the lbstest app in the roms
I think GB comes with AngryGPS.apk (lbstestmode was for froyo/eclair), and the code to invoke it is *#3214789650# if I'm not mistaken..
Don't have the GSII though, so can't confirm..
Edit: Attached a AngryGPS.apk found in the I9000 Android dev forum
reb73 said:
I think GB comes with AngryGPS.apk (lbstestmode was for froyo/eclair), and the code to invoke it is *#3214789650# if I'm not mistaken..
Don't have the GSII though, so can't confirm..
Click to expand...
Click to collapse
maybe i will try to download angrygps but it is not in our rom.. and that code does not work already tried it.
also i cannot find an non odexed version of it to download.. for that matter cannot find any version to download on the net
lgkahn said:
here is the fix.. well mostly the antenna and cns tests dont seem to work or cns is broken on our phone.. anyway
take this app.. copy it to /system/app with root explorer or adb push.
(need to be rooted)
then use anycut (free in the market) to add an activity shortcut to this app (secret codes still fail to work)
i have set mine to coldstart a i like etc. and now am getting much faster initial fixes after running get position test.
accuracy is still **** and much higher than my sgs.. but not sure the sgs was not lying about accuracy.
strange they didn't include the lbstest app in the roms
Click to expand...
Click to collapse
Since you have this working can you tell us what the default setup is for the SUPL/CP settings? On the SGS many people got better results by modifying the Server to either "supl.google.com" or "supl.nokia.com". I know this could turn into another mishmash of user tweaks and deadends, but it seems Samsung has not fully resolved all their GPS issues.
(I don't have a S2 to test with, so relying on those here to help me make a buying decision. Thanks.)
new solution here is angrygps.apk
i asked someone in the sgs forum to post it and they did
again copy to system/app with root explorer or adb
and use anycut to create shortcut
works fine on our phone..
as for the other answer the default is hot start (which i change to cold start)
and also for suppl settings
it is
supl.google.com
7276
but supl secure socket is on.. which was not on on the sgs i
so i turned it off on mine.. (who the fff cares if your gps data going over the net is secure)
lgkahn said:
for suppl settings
it is
supl.google.com
7276
but supl secure socket is on.. which was not on on the sgs i
so i turned it off on mine.. (who the fff cares if your gps data going over the net is secure)
Click to expand...
Click to collapse
Thanks.
Just as a suggestion if you are having GPS issues you might try using supl.nokia.com, 7275. I've tried every tweak on my SGS and using this supl server definitely works best for me, as well as a number of posters on the SGS forum. But as always YMMV.
(edit: corrected port #)