Anyway to turn GSM verbose logging off? - T-Mobile LG G2x

I'm a developer, and I'm constantly looking at logcat to catch debug statements from my G2X.
Unfortunately, my helpful messages are constantly bumped off by all the GsmDataConnection garbage that comes standard on the phone. Is there any way to turn these off? With or without a mod/hack, I don't care.

Related

Auto GPS comms switcher?

Has anyone heard or know of software that'll switch my WiFi on or off depeding upon where i am currently located using GPS? e.g. home or work? or wherever i've previously manually turned WiFi on and got a connection?
CMP
You should go for CMP - Commmanagerpro by Daniel Herrero
Its the most important program for a device running WM !!!
And I mean it.
Depending on cell towers and/or scheduled tasks it will change profiles, task and whatever you can think your device should do for you...
Exampel: My phones runs a close apps at 0100. At 0600 it reboots, turn on sound and let the alarm go. At 0730 the phone turns on and the screen becomes brighter. At 0800 a schedule starts, so IF CMP recons certain cell towers it turns on my Car profile. That one changes when I arrive at work to a work profile. Different sounds and lots more. IF my calender say I am in a meeting the screen will turn off and and sms will be sent to any that call me...
I have schedules for everyting. Nights - evening, weekend and wifi, tugging kids to bed and more....
So in short. CMP let you control whatever your device should do according to your position, the time of the day or your calender.
http://forum.xda-developers.com/showthread.php?t=299070
It has MANY details so it might take you some time to get deep with it, but from then it WILL become THE app of your device..trust me.
Thanks Martin, That looks like it does what i want, using cell phone masts is a much better idea than using GPS i guess.
However i'm put off slightly by the ugly skins and many details that will take me some time to get configured, i just want a simple background service that remembers what cell phone masts were responding when i get a successful authenticated wifi connection, and to use that information to turn wifi on the next time i'm in that area. The rest of my phone's profile such as back-light and ringtones etc i'm totally happy with managing myself as i'm not yet ready for my phone to be in control of my life! - i guess what i'm saying is the service shouldn't have any need for a configuration screen, and if it does, then it should be formatted and laid out in a standard way that doesn't look so scary or require me to identify my screen size before i download it!..
perhaps someone out there with more time on there hands than me could write this service and sell it on marketplace?!
CMP runs as a service
I couldn't resist the challenge.. i have written this as a tiny background service...
Wherever you turn your wifi on and get a connection, your phone will remember this and turn it on next time your there, also if you wander outside that 'connected' location and loose your wifi connection your wifi will be turned off until either you wander into a previously 'connected' location or turn it on manually... - turning it on manually and connecting to a wifi network will add that location etc etc... so no profiles, no config, no skins, no setup, no frills.. just plain handy.
if like me anyone is sick of wifi draining the battery when accidentally left on, or up sizing your phone bill when its accidentally left off, then get in touch and i'll slip you a copy to beta-test for me!
Cheers

[REQUEST FOR ROM DEVS] Enable Wifi on Airplane Mode

If possible, can you guys please edit the default system.settings on your rom so Settings.System.AIRPLANE_MODE_RADIOS = 'cell, bluetooth' instead of 'cell,bluetooth,wifi'.
That way wifi works on airplane mode.
Bluetooth still doesn't work even if you did AIRPLANE_MODE_RADIOS = 'cell' or even 'cell,wifi'. For some unknown reason.
here is the source code for a program I wrote for this (its on the market), but its pretty easy to change and maybe we won't need my app for it.
Also posted on the issue tracker for android so it gets enabled & fixed for a next release. Here
crackertc said:
If possible, can you guys please edit the default system.settings on your rom so Settings.System.AIRPLANE_MODE_RADIOS = 'cell, bluetooth' instead of 'cell,bluetooth,wifi'.
That way wifi works on airplane mode.
Bluetooth still doesn't work even if you did AIRPLANE_MODE_RADIOS = 'cell' or even 'cell,wifi'. For some unknown reason.
here is the source code for a program I wrote for this (its on the market), but its pretty easy to change and maybe we won't need my app for it.
Also posted on the issue tracker for android so it gets enabled & fixed for a next release. Here
Click to expand...
Click to collapse
Are you serious??? Wifi on with Airplane Mode?.... you know what airplane mode is right?... it means no communications from or to the device so it's safe to radio frequencies used in airplanes....
For me the airplane mode is a good way not to get your device turned off while your flying, so you still can play, write docs or anything you want inside your device (listening to music too)...
I don't think that is wise to turn on wifi on airplane mode!
josevtome said:
Are you serious??? Wifi on with Airplane Mode?.... you know what airplane mode is right?... it means no communications from or to the device so it's safe to radio frequencies used in airplanes....
For me the airplane mode is a good way not to get your device turned off while your flying, so you still can play, write docs or anything you want inside your device (listening to music too)...
I don't think that is wise to turn on wifi on airplane mode!
Click to expand...
Click to collapse
if wi-fi on airplanes is a big deal then why do most commercial airlines have wi-fi on board now?
Well for me i would love to have wifi or bluetooth enabled when im in air plane mode. Just useing the device to listen to music or do little things would save alot of power
josevtome said:
Are you serious??? Wifi on with Airplane Mode?.... you know what airplane mode is right?... it means no communications from or to the device so it's safe to radio frequencies used in airplanes....
For me the airplane mode is a good way not to get your device turned off while your flying, so you still can play, write docs or anything you want inside your device (listening to music too)...
I don't think that is wise to turn on wifi on airplane mode!
Click to expand...
Click to collapse
Usually, when you talk about something is because you know, or because you at least researched:
- Some airlines are starting to implement Wi-Fi on some of their planes
- Some phones let you turn on wifi while on airplane mode.
- Since iPhone OS version 2.0, you can enable wifi while on airplane mode, and now, since iPhone OS version 3.0, you can enable bluetooth while on airplane mode.
- Some Nokia phones ask you what do you want to disable when you go in airplane mode, they let the user choose.
linkmaster_6 said:
Well for me i would love to have wifi or bluetooth enabled when im in air plane mode. Just useing the device to listen to music or do little things would save alot of power
Click to expand...
Click to collapse
Well, if you'd like this, I wrote an app and it's on the market (Cyrket)
cyanogen's response through his twitter: @velazcod maybe it would be better to change the background sync option on the power widget to disable the radio instead?
even better.
Hope we will see it in 4.0.2
josevtome said:
Are you serious??? Wifi on with Airplane Mode?.... you know what airplane mode is right?... it means no communications from or to the device so it's safe to radio frequencies used in airplanes....
For me the airplane mode is a good way not to get your device turned off while your flying, so you still can play, write docs or anything you want inside your device (listening to music too)...
I don't think that is wise to turn on wifi on airplane mode!
Click to expand...
Click to collapse
American Airlines, Virgin Atlantic, Virgin America, Southwest, Delta, Continental and some of the smaller airlines started offering In-Flight WiFi last year. The planes that are WiFi capable are usually newer and/or have updated electrical and communications systems, not the 40 year old hub jumpers flying from Dallas to St Louis.
Normal WiFi operates on the 2500 to 5000 Mhz radio spectrum. Inflight WiFi operates on the 849 Mhz radio band, which is dedicated solely to inflight WiFi. While this is in the sub100 to 2000 Mhz radio spectrum that the airplanes communication and navigation systems operate on, the systems ignore the 849 Mhz frequency. You have to disable the cellular phone signal because it operates on the 850 and 1900 Mhz radio bands, which are also used by and could possibly interfere with the planes communication equipment. FM radios also need to be off because they operate from 76 to 108 Mhz, also in the range of the comm equipment. Even though the plane flies through radio signals in this range all the time with no ill effects, they ask that those devices be turned off as a precautionary measure, as in better safe than sorry.
BTW, me=aerospace engineer, also good at research.
thank you for a better explanation to everybody, especially mr jose. (better research next time to avoid being put in flames by your fellow friends here)
crackertc said:
thank you for a better explanation to everybody, especially mr jose. (better research next time to avoid being put in flames by your fellow friends here)
Click to expand...
Click to collapse
haha owned!
crackertc said:
thank you for a better explanation to everybody, especially mr jose. (better research next time to avoid being put in flames by your fellow friends here)
Click to expand...
Click to collapse
oooo sick burn! lol jk =)
crackertc said:
thank you for a better explanation to everybody, especially mr jose. (better research next time to avoid being put in flames by your fellow friends here)
Click to expand...
Click to collapse
No problem. This is a feature I'd like to see implemented as well, because it saves having to haul out the laptop to check emails and text/chat mid-flight, only to find I'm in a row with no power outlet (this happened once on my way to Japan, worst 16 hours of my life). I just wish there was a way around the NO VoIP restriction.
this is totally a good Idea..
for the moment there is an app for that
i just love to use that line.
BTW what about disable radio, sync, and terminate all related system app/tasks/resources that relate to it. Then just leave all else functional for wifi browsing and gmail viewing.
Think someone had to already think of this I am usually slow.
I think that is what cyanogen might of meant by his tweet.
rbgmode said:
this is totally a good Idea..
for the moment there is an app for that
i just love to use that line.
BTW what about disable radio, sync, and terminate all related system app/tasks/resources that relate to it. Then just leave all else functional for wifi browsing and gmail viewing.
Think someone had to already think of this I am usually slow.
I think that is what cyanogen might of meant by his tweet.
Click to expand...
Click to collapse
Well, when you go into airplane mode radio gets turned off. However, if you shutdown sync, from my understanding, you won't be able to use gmail (please correct me if I'm wrong). There might be a few processes that can be killed but I don't think it'll do that much of a difference in terms of battery life or performance since it'll only be 1 maybe 2 services.
What cyanogen meant by his tweet was that he will change the sync toggle on the donut power widget, and replace it with a radio toggle, so you can just shutdown the cellphone radio and then you won't have to worry about wifi,bluetooth, etc not working in airplane mode. So, you'll actually won't be using the "airplane mode" option, just the "radio off" option...
I think that's a great idea for his rom, however, I don't think that would be something that will be done on android donut's branch or other long term branches, we need to try to put the ability to select what you want to turn off when you go officially into airplane mode, that way it doesn't confuse people and/or people think that android phones can't go into wifi because they don't really understand what "radio off" really does.
mmMMm.... whatever I just wrote sounded complicated... sorry if nobody understands, I'm a really bad "teacher", sometimes I don't know how to explain things clearly and correct.
crackertc said:
Well, when you go into airplane mode radio gets turned off. However, if you shutdown sync, from my understanding, you won't be able to use gmail (please correct me if I'm wrong). There might be a few processes that can be killed but I don't think it'll do that much of a difference in terms of battery life or performance since it'll only be 1 maybe 2 services.
What cyanogen meant by his tweet was that he will change the sync toggle on the donut power widget, and replace it with a radio toggle, so you can just shutdown the cellphone radio and then you won't have to worry about wifi,bluetooth, etc not working in airplane mode. So, you'll actually won't be using the "airplane mode" option, just the "radio off" option...
I think that's a great idea for his rom, however, I don't think that would be something that will be done on android donut's branch or other long term branches, we need to try to put the ability to select what you want to turn off when you go officially into airplane mode, that way it doesn't confuse people and/or people think that android phones can't go into wifi because they don't really understand what "radio off" really does.
Click to expand...
Click to collapse
if you disable sync it only disables push email so you wont know you have any new mail till you check manually.
RaiderX303 said:
if you disable sync it only disables push email so you wont know you have any new mail till you check manually.
Click to expand...
Click to collapse
Correct. However, I never said that we will disable sync. I said that what cyanogen meant was that he will REPLACE the sync toggle on the power widget on his rom, with a toggle that turns off radio only.
crackertc said:
thank you for a better explanation to everybody, especially mr jose. (better research next time to avoid being put in flames by your fellow friends here)
Click to expand...
Click to collapse
Yup... feelling kinda burned! hehehe... anyways, learning new things every day
Isn't there a way to just turn off phone functions? Some time ago I had an HP iPaq hw6945 (great phone by the way), and you have the possibility to turn off the "Phone" (kinda locks the sim card) so you could use the phone as a regular PDA. This way you could turn on the wifi and use it the way you like. In the G1 if the sim card gets locked then the lockscreen pops up and you can't use your device at all. Can be posible to lock the sim card without locking the phone? This could help this inflight-wifi request, I think.
Edit: This is just an idea, please don't burn me again!
josevtome said:
Yup... feelling kinda burned! hehehe... anyways, learning new things every day
Isn't there a way to just turn off phone functions? Some time ago I had an HP iPaq hw6945 (great phone by the way), and you have the possibility to turn off the "Phone" (kinda locks the sim card) so you could use the phone as a regular PDA. This way you could turn on the wifi and use it the way you like. In the G1 if the sim card gets locked then the lockscreen pops up and you can't use your device at all. Can be posible to lock the sim card without locking the phone? This could help this inflight-wifi request, I think.
Click to expand...
Click to collapse
Yes there is. You need to install AnyCut, free, or BetterCut, not free. And add a new application shortcut for "Phone Info".
Then open the "phone info" icon on your home screen, and go all the way down and there will be a button that says "Turn off radio"
As you can see, its a tedious process and it's why we would like options for the Airplane Mode, something like what my app does. For now, cyanogen is trying to switch the sync toggle on the power widget, and replace it with a radio toggle so you can do exactly what you want, but easy and fast.

Any way to turn GSM verbose logging off?

I'm a developer, and I'm constantly looking at logcat to catch debug statements from my G2X.
Unfortunately, my helpful messages are constantly bumped off by all the GsmDataConnection garbage that comes standard on the phone. Is there any way to turn these off? With or without a mod/hack, I don't care.
Use a AOSP rom like cyanogenmod
Sent from my LG-P999 using XDA App
Pipe logcat through grep, then you can see only massages you care about.

Google Talk - Delayed Incoming Notifications

Hey guys,
Tried searching for this, but nada.
Anyone else having issues with your phone being idle but powered on ans upon bringing on the screen you receive a google talk notification that's old? Is been happening to me lately, and I can't tell if it's the phone or the fact that my desktop version is intercepting the message and preventing the phone notification.
I'm tempted to no longer use the desktop built in gmail version, but I wanted to see if others are having similar issues.
Thanks in advance!
Sent from my HTC One X using xda premium
Can't guarantee this, but I have a feeling it may have something to do with the phone letting the Google talk process close when the phone is in it's sleep state. I've noted that I keep having to re sign in to gtalk when I wake up my phone and suspect that it is an issue with the horrible multitasking that HTC has bundled into sense 4.0.
I assume both of you also get delayed notifications with push email using the native Gmail app? I also frequently get logged out of Google Talk when I put the phone in standby mode. When I am logged out of Google Talk, my push emails are delayed in the Gmail app until I log back into Google Talk.
So it seems to be some problem of getting disconnected from google services when the phone is asleep.
I don't think i've been getting delayed notifications, but I do notice that my chat gets out of order a lot. My replies will be above whoever is talking to me no matter what order each was sent in.
Almost every phone that comes out gets a google talk going eventually so there is lots out there, but each phone has it's own issues. Here is a thread that was pretty good from the Galaxy Nexus Forums.
http://forum.xda-developers.com/showthread.php?t=1400367
With the HOX I have had issues with Google Talk not working great when the wifi is dropping, so this might be part of the wifi issue that pretty much everybody is having with this phone. The wifi stays connected but seems to go to sleep so your phone only gets the notification once it is woken up. Try turning off the wifi and seeing if you have the same problem.
As for Google Talk, there are some oddities that go along with using it on multiple devices. Here is some stuff I figured out playing around with it on multiple devices and computers at the same time. (I posted this in the GN forums as well)
"Google Talk is my main means of communication it seems so I have played with it a lot. Here are my observations.
1. To keep it "up" all the time in the Talk App hit the menu button (three dots now) >settings>uncheck automatic away status. Also make sure your phone has automatic syncing turned on for your gmail account: Setting>Accounts and Sync>ON (for your chat gmail address anyway). Additionally make sure your mobile data is turned on if you are ever off wifi: Settings>More>Mobile networks>Data Enabled (checked to turn on)
2. You can have up to 6 devices linked to your talk account at once, after that they just stop working.
3. When you receive a IM it appears on both your phone and your gmail account. If you start typing on the gmail account (or G+) it hijacks the whole session and you phone no longer gets the notifications, but the conversation still shows up on the chat window on the phone. When you are done with the IM session make sure you close the window on gmail (or G+) and send one last message from your phone or tablet to take the session back over, if you don't your phone will not receive future chat notifications. You can also just log out of your gmail/G+ session and it will automatically return everything to your phone/tablet but who ever does that?
4. To figure out how it all worked and tinker with it I use both of my gmail accounts and chat back and forth with them. You can do it from separate browsers or just open an incognito window in Chrome and log into your other gmail account. I would recommend this so you can see all of this stuff in practice.
Good Luck, hope this helps"
Gtalk and gmail delays
Hi all,
I have performed tests and discovered that if i disable WiFI and only use the phone's data connection "4g" or LTE that i receive all my messages with no problem even when the phone locks/goes to sleep. However if i leave wifi turned on, within 5-10 seconds i stop receiving them and will only receive them when i wake up the phone/unlock or wait for the delay which can be anywhere from 5-15 mins.
Trying to figure out a way to by pass this, but can't seem to figure it out. I don't want to keep my wifi off when i'm at work or home so i don't use data as i have 3GB and not unlimited so it kind of sucks that i have to keep wifi off for now. Any thoughts/ideas would be great, thanks.
k0sun7eash3d said:
Can't guarantee this, but I have a feeling it may have something to do with the phone letting the Google talk process close when the phone is in it's sleep state. I've noted that I keep having to re sign in to gtalk when I wake up my phone and suspect that it is an issue with the horrible multitasking that HTC has bundled into sense 4.0.
Click to expand...
Click to collapse
This. I have issues with timely/accurate reception of notifications from GV. I only use my account for voicemail, but typically I only get voicemail notifications if I open the actual application (which I do because my gmail account receives an email notification now, as well). Sometimes I notice GV as a running task, but often times not, so to me it seems that (possibly) multitasking or some other form of process management in ICS or Sense is not prioritizing the GV process and it's associated actions. I dont mind the aggressive multitasking, but it would be nice to have the option of protecting some processes, such as GV.
I removed google + app completely with titanium backup, and the problem is gone., I get the messages immediately
Push Notifications Fixer can fix it
xda http://forum.xda-developers.com/showthread.php?t=2142503
play store https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
I'm running the latest Viper, I've never had an issue receiving or sending msgs. The only time the phone won't alert me is if I am actively typing in the browser window.
I'll note though that I never have wifi on, it's always on the mobile network.
andQlimax said:
Push Notifications Fixer can fix it
xda http://forum.xda-developers.com/showthread.php?t=2142503
play store https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
Click to expand...
Click to collapse
I tried everything not even this works for me
Same problem, screen off - phone disconnects, unlock the phone - messages start to appear
Same problem on 2 different phones and 2 different numbers
I don't use G Talk, but I see the same thing with G Voice. I almost never get voicemail notifications on my HOX (they show up instantly on my old GNex). I blame Sense (for this and other things).
Same problem, but with Nexus 4 when I am on WiFi. With data connection, it works without problems.

WiFi using 300KB/s UPSTREAM - Why?

Hi,
I was troubleshooting poor VoIP quality on my LAN when I discovered our upstream usage was a constant 300KB/s (yes, that's Bytes). I tried turning off all of our PC's one at a time but the bandwidth utilization didn't change. However, when I turned off WiFi on my Motorola Photon Q 4G LTE (Unlocked, Rooted, 77.8.14.XT897.Sprint.en.US) upstream bandwidth dropped to zero. I switched the WiFi back on but the bandwidth stayed at or near zero. Can anyone think of why the phone would use that much upstream when idle? Could this be malware?
By no means a dev or super knowledgeable but throwing some ideas out there: could be Google apps syncing, any online games, updates, email blah blah blah. Have you checked to see if data (3/4g) is doing anything while idle?
None of the Above
I don't have any games installed nor do I have Google apps. If it were some type of sync, nothing I do on the phone produces that much data, all I have is emails and some Evernotes.
3G and 4G are disabled when WiFi is enabled, so that's not the issue. Don't forget, this is UPSTREAM I'm talking about, not downstream.
It stopped immediately when I turned off the WiFi and didn't continue on the mobile data connection. I re-enabled the WiFi a minute later and it didn't reappear.
It's just bizarre.
It could be that something got stuck in the process of the phone's normal operation. For example, perhaps the phone was busy sending a (large) email when you transitioned from one connection type to the next, and due to the transition, the email app "forgot" to release the 300KB/s uplink. Or something else along those lines, but the app is closed by the system mid-process, thus the app never gives the radio the command to sever the upload connection (until you manually cycled the wifi).
In all honesty, though, this is just my best guess, so take it with a grain of salt.
Also, if you're running the stock ROM, I read that Motorola set up their phones to check in every 9 seconds or something crazy like that for whatever reason. Don't remember exactly for what, though. One of the main reasons I switched to Carbon.

Categories

Resources