Losing Service after long periods of time - Touch Pro2, Tilt 2 Android Development

So I have xdandroid running pretty good now without any major problems except for this. When I leave my phone idle for a long period of time, usually when I go to sleep, and come back to it I loose service as soon as I go to make a call. I tried playing with the airplane mode but it wouldn't allow me to disable the radio. Is anyone else having this problem and is there a solution? Thanks.

What phone? RHODxxx?
Build info would be helpful as well. Kernel, rootfs and system image version/date.

I quite often lose service, but there is no pattern to it! Sometimes it come back, sometimes it doesn't. If it has gone, then it won't go into airplane mode either - it seems to need to say goodbye to the network!
This is different to the scenario where I lose data connection, dispite having signal. In this situation the airplane mode trick does the job. When in this state, ifconfig doesn't display a ppp network.
Rhod100_uk, latest everything!

Well that makes me feel better, that GSM guys are experiencing the issue as well

Im also using RHOD100_uk and having this same problem aswell.
Only thing i have done that fixes it is to restart Android.
Sent from my MSM using the XDA mobile application powered by Tapatalk

I have ATT tilt2 and i seem to have this issue from time to time. Sometimes i can toggle "airplane" mode and it will reconnect. If not its a full reboot.

Yup, I see this issue from time to time on my Rhod400 as well. It will show as connected to 3G but then unable to actually transmit data. I always have to reboot to resolve this.

My bad for taking so long to reply to my own thread, things got a little busy.
Anyway, I have the Rhod210, tmobile US version. Rebooting the phone wouldn't be much of a problem, accept for the fact that this usually happens when I'm asleep, and I don't realize I need to restart it, but rather think I'm not getting any calls lol. Is there a way I could rig it to reboot every so often maybe?

manekineko said:
Yup, I see this issue from time to time on my Rhod400 as well. It will show as connected to 3G but then unable to actually transmit data. I always have to reboot to resolve this.
Click to expand...
Click to collapse
maybe once a day here with a rhod 400 on the latest frx03 build updated with sov's tool. i notice that the available memory in the advanced task killer will go from 102 when everything is running fine to 80 or 85 when is starts goin to crap. the only 2 apps i leave "alive" are task killer and juice defender.

jab73180 said:
maybe once a day here with a rhod 400 on the latest frx03 build updated with sov's tool. i notice that the available memory in the advanced task killer will go from 102 when everything is running fine to 80 or 85 when is starts goin to crap. the only 2 apps i leave "alive" are task killer and juice defender.
Click to expand...
Click to collapse
Well, for one... you're *not* supposed to use "task killer" apps in 2.2+. Feel free to keep using them, just be prepared for data loss.
Two, the mystery process you're looking for is system_server. Every time I've had complete and utter unexplainable slowness, it was this process stealing 90+% of the processor cycles.
We still have some bugs to work out

so what should i be using for such an app?
Sent from my MSM using the XDA mobile application powered by Tapatalk

jab73180 said:
so what should i be using for such an app?
Click to expand...
Click to collapse
The way Linux and Android handle applications, you shouldn't need to... At all. The only time you really *need* to kill an app is if it's misbehaving and it's frozen.

Related

[Q] Battery starts draining at exactly 5am.

I started using JuicePlotter yesterday, and noticed that at night my battery barely drains, if at all (hooray for setcpu!). Until exactly 5am when it starts draining heavily at a steady rate. I've done all of the obvious stuff (I think), like making sure I have nothing set to begin syncing at that time, but I can't seem to pin it down.
Does anyone know of a way to find out what's turning on at 5am and draining the battery?
Do you have an Exchange sync setup?
If you do you may want to check and see if your Peak times start at 5AM. If so you may want to set it to update less frequently.
Does JuiceDefender run on a schedule and keep 3G off until 5am?
Thanks for the suggestions guys
I have exchange set up, but its set to "as items arrive" for both peak and non-peak hours (which is set to 8am anyway - yeah, being on call 24/7 sucks).
I'm also not using any kind of timing app like juice defender to schedule anything.
One wierd thing I noticed that may be tied to this, is that certain apps like twitdroyd and fb update immediately when I open the apps, even though they're set to refresh manually, and not to update when I open the apps. Still trying to figure that one out.
Night mode is enabled from 2 am to 5 am. Depending on your settings, Data/3G/Wifi are disabled between those times.
nslouie said:
Night mode is enabled from 2 am to 5 am. Depending on your settings, Data/3G/Wifi are disabled between those times.
Click to expand...
Click to collapse
This sounds promising - can you tell me how to check any night mode settings? (searching turns up nada)
fachadick said:
This sounds promising - can you tell me how to check any night mode settings? (searching turns up nada)
Click to expand...
Click to collapse
He is referring to JuiceDefender, I bet. I would guess a lot of people who use JuicePlotter also use JuiceDefender. It does exactly as he described: turns data off from 2am to 5am. I use it, and it does help. It also keeps data off when the screen is off during the rest of the day, except for a quick check every so often.
hankbear said:
He is referring to JuiceDefender, I bet. I would guess a lot of people who use JuicePlotter also use JuiceDefender. It does exactly as he described: turns data off from 2am to 5am. I use it, and it does help. It also keeps data off when the screen is off during the rest of the day, except for a quick check every so often.
Click to expand...
Click to collapse
rats - I was hoping he was referring to something in regular settings. I'm not using JuiceDefender, or anything similar.
well if you do have it setup for everything to be off between 2 - 5 then wouldn't that make sense that as soon as 5 hit your apps will start syncing even Google apps as they have been trying to sync that whole time and just started queuing up and finally your radios turned back on. I have not used juice yet so i do not know much about it just throwing in some pennies.
One other thing the refresh manually is only for when the app is closed as soon as that app opens its going to sync with its servers. When you set it to manual then that means when you open the app you manually refreshed it and the phone did not do that while idle or you were busy on some other app. Its like twitter for desktops if you set your refresh manually then while the app is open it will not refresh until you hit refresh
fachadick said:
rats - I was hoping he was referring to something in regular settings. I'm not using JuiceDefender, or anything similar.
Click to expand...
Click to collapse
One thought: Do you have a good signal in the spot where your phone sits at 5am? A bad signal is the best way to drain a battery fast. A friend's house has an awful Sprint signal, and my battery will drain in four or five hours there, even with no use, whereas I get well over 24 hours with average use in good signal strength areas.
Back when I first got my phone, I used System Panel to figure out what was causing the battery drain. I liked using it so much, I even ended up purchasing it. The history part is what you want, and it will work without paying for a bit, so you can find the problem.
xlrdxrevengex said:
well if you do have it setup for everything to be off between 2 - 5 then wouldn't that make sense that as soon as 5 hit your apps will start syncing even Google apps as they have been trying to sync that whole time and just started queuing up and finally your radios turned back on. I have not used juice yet so i do not know much about it just throwing in some pennies.
Click to expand...
Click to collapse
that would make sense if I was running something like that, but I'm not - as a part of my job, I need to be able to reply immediately to specific emails. At any hour. Total PITA, but hell, it's better than not having a job, right? JuicePlotter's pretty neat though - it just sits in the background monitoring your battery levels and graphs them. For example, it was showing an almost horizontal line from when I stopped using the phone the night before until exactly 5am when it started a gradual decline.
xlrdxrevengex said:
One other thing the refresh manually is only for when the app is closed as soon as that app opens its going to sync with its servers. When you set it to manual then that means when you open the app you manually refreshed it and the phone did not do that while idle or you were busy on some other app. Its like twitter for desktops if you set your refresh manually then while the app is open it will not refresh until you hit refresh
Click to expand...
Click to collapse
Are you sure about this? I mean it makes sense, but I would be willing to swear that back when I was running stock I would open FB or Twitdroyd and it would wait for me to hit refresh before syncing with their servers. Twitdroyd, for example, I would set to keep 80 tweets, and I would check it only occasionally, so I could read those 80 tweets whenever I wanted. Now when I check it, because it syncs immediately, I lose anything older than the most recent 80 tweets. As a workaround, I've increased the number of tweets to keep, but it's still annoying.
ok so hmm what rom are you using. not wanting to bash the dev but could it be that rom?
hankbear said:
One thought: Do you have a good signal in the spot where your phone sits at 5am? A bad signal is the best way to drain a battery fast. A friend's house has an awful Sprint signal, and my battery will drain in four or five hours there, even with no use, whereas I get well over 24 hours with average use in good signal strength areas.
Click to expand...
Click to collapse
My signal's not great, but the phone didn't move between 4am and 5am, and the battery only started draining at 5am.
hankbear said:
Back when I first got my phone, I used System Panel to figure out what was causing the battery drain. I liked using it so much, I even ended up purchasing it. The history part is what you want, and it will work without paying for a bit, so you can find the problem.
Click to expand...
Click to collapse
I actually purchased SystemPanel this morning with the hope that it would help me get to the bottom of this (I had been using the free version for a while, and now I had an excuse to buy it). It shows me history of battery, device usage, and cpu activity, but even if I see that the cpu or the device is being used, I'm still not sure how that's going to help me pinpoint what's going on. First I need to build up some history anyway though.

[Q] Best light-weight ROM that includes 4G usage?

Hi, I'm new here and new to the Android platform in general - just bought my Evo 4G last week.
I rooted the phone and have been using the Fresh ROM, but have noticed that it has some pretty severe battery-draining issues, unless I'm just using the wrong apps and settings.
Either way, I wanted to try out some other ROMs but I cannot find anything that works well so far. I tried out Cyanogen but of course it has no 4G access. Kind of a waste of that extra $10/month huh?
MIUI had some acclaim on the forums, but once again: no 4G according to the update log.
I had read on MakeUseOf or a similar site that the Baked Snack ROM is a good option for staying purely lightweight.
Before trying any other ROMs, I wanted to get some community feedback. I generally use these apps for my phone:
Browser
Google Voice
Gmail
DropBox
Endomondo
Pulse (RSS Feeds)
Which ROM would be most recommended to maximize performance and battery life with these apps, while still taking advantage of 4G capability?
Thank you for the help.
Every phone is different so someone's experience with a particular kernal/ROM will not necessarily be the same for you.
You mentioned bad battery life you also mentioned that you bought the phone last week. Since its a new toy, all you are thinking about is spending time on it. If you have 10 hours worth of battery on a full charge but 6 of those hours are awake then you are getting good battery life.
I recomend just breaking in your toy (not breaking it) and you'll notice much better battery life and time goes on since you'll be using it less.
In the meantime:
1. limit your 3g when you're not using data
2. limit your screen brightness
3. live wallpapers are nice, but they can use some battery
4. I sign out of gtalk and make sure to turn off automatic logging in
5. Sync as often as you need to but not more than that.
Good points, thank you. And yes I've been using it constantly.
Nevertheless, I downloaded Advanced Task Killer to monitor what's going on at different times. I notice certain native apps always kick themselves on, and I was hoping to disable those.
For instance, Voicemail is constantly turning itself on and I don't need it - I use Google Voice. Is there a way to disable or uninstall this altogether?
On reboot, I notice a whole list of about 10-15 apps that start themselves up too, which I usually proceed to shut down since I obviously don't need all those running in the background. Is this a good idea?
NoCatharsis said:
Good points, thank you. And yes I've been using it constantly.
Nevertheless, I downloaded Advanced Task Killer to monitor what's going on at different times. I notice certain native apps always kick themselves on, and I was hoping to disable those.
For instance, Voicemail is constantly turning itself on and I don't need it - I use Google Voice. Is there a way to disable or uninstall this altogether?
On reboot, I notice a whole list of about 10-15 apps that start themselves up too, which I usually proceed to shut down since I obviously don't need all those running in the background. Is this a good idea?
Click to expand...
Click to collapse
Get rid of your task killer immediately - it does more harm than good. Quit worrying about apps popping up when you don't use them.
If you want to uninstall apps you don't use that are "system" apps get Root Explorer.
Yeah - if you want a good app killer, get System Monitor from the Android Market...its only a few bucks and it gives you a lot more insight as to what is being used and what is not. I had Task Killer, but it stopped working when the OTA Froyo update was launched - which sent me searching a Froyo compatable Task Killer...
JayStation3 said:
Yeah - if you want a good app killer, get System Monitor from the Android Market...its only a few bucks and it gives you a lot more insight as to what is being used and what is not. I had Task Killer, but it stopped working when the OTA Froyo update was launched - which sent me searching a Froyo compatable Task Killer...
Click to expand...
Click to collapse
Task Killers are not needed on a andriod device it only restart the app thus causing problems and battery drainage in the long run...Most experienced users can tell you that they will do more harm to your system then good...system panel is a good app for figuring out if you have a rogue app taking up all your cpu and not letting your phone sleep...good luck happy flashing
Again, I appreciate all the advice here, but I don't believe anyone has addressed the issue at hand:
What are some good options for a light-weight ROM that allows usage of my 4G capability?

[Q] Samsung Epic - Battery drain is horrible! How can I fix this.

Please help....
I have read many threads about this, but I don't understand any of them. My battery life is horrible, I am only using it for the occasional phone call, texting and checking my email. It's very frustrating because when I need to use it, the battery is dead (or almost dead and I can't use the camera).
I don't understand all the lingo on here about what version "this" and "that" everyone is using. Downloading certain apps to fix this.....
I'm not very techy and just use my phone for basic things.
PLEASE HELP!!!!
Suggestions:
Turn off bluetooth until you need it, then turn off when done.
Turn off GPS until you need it, then turn off when done.
Turn screen brightness to automatic or lowest setting (your preference).
Turn off 4G receiver if you are out of range or just don't have 4G coverage in your area.
Turn off synchronization if you don't care for email, Facebook, Twitter, etc updates. (Not really necessary if your update interval isn't set for short intervals.)
Utilize Wifi as much as possible, if that is an option available to you. BUT turn it off when you know you will be out of range for a good bit of time.
Toggle Airplane mode after each phone reboot. (Stupid bug)
Utilize the TouchWiz program manager (long press on home screen and under Samsung widgets).
Kill the OmaDrmConfigService process via Settings > Applications > Running Services. (This appears again with each phone reboot, unless you find a process killer application in the market.)
If you use Wifi a good bit, it's a good idea to set your Wifi sleep policy to "Never". You can access this via Settings > Wireless & Networks > Wifi Settings: Press menu and select Advanced > Wifi Sleep Policy. Setting to never will not revert back to 3G when you turn off your phone's display as long as wifi is still turned on and within that connected wifi signal range.
If you still get **** battery life, then you can download Spare Parts or BatteryHistory from the market. BatteryHistory is a ripped out piece from Spare Parts, which is really all you need to diagnose your issue.
OR if you don't want to install anything you can key in via the dialer: *#4636*1111# to get to the same menu that both programs above display. (The menu is labeled Battery History.)
From another battery thread that pertains to the two aforementioned programs:
musclehead84 said:
What you do is when you notice that it's doubled on the top drop down box that says "other usage" click on that and change it to "partial wake usage" and anything listed under there is keeping your phone awake. See what is continually running.
Click to expand...
Click to collapse
I hope the above helps you out.
Cheers.
Dont ask me to explain this just try it. Use astro and delete the android folder at the root of your sd card and reboot
Sent from my SPH-D700 using Tapatalk
Did deleting the android folder work or anyone else? I'm trying to see how that can help but if it does good find.
I have no ideawhy but after flashing a few times testing themes on dk28 my battery tanks and my gallery gets slow. The album thumb folder inside there is what fixes the gallery so I usually delete it but I got lazy and deleted my whole folder since it regenerates on boot and my battery came back. Ben deleting it since lol but I flash a lot
Sent from my SPH-D700 using Tapatalk
dreamsforgotten said:
I have no ideawhy but after flashing a few times testing themes on dk28 my battery tanks and my gallery gets slow. The album thumb folder inside there is what fixes the gallery so I usually delete it but I got lazy and deleted my whole folder since it regenerates on boot and my battery came back. Ben deleting it since lol but I flash a lot
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Not certain how it helped your battery issue, but good to have that knowledge. I sifted through my folder and only saw cache files for what looked like thumbnails.
nikon120 said:
Not certain how it helped your battery issue, but good to have that knowledge. I sifted through my folder and only saw cache files for what looked like thumbnails.
Click to expand...
Click to collapse
That's all that's in there that's why I said dont ask me why. I would have posted when I found it but I knew I would get flamed so either it works for you or it dont. It doesn't make since but it works for me
Sent from my SPH-D700 using Tapatalk
http://androidforums.com/epic-4g-tips-tricks/245915-epic-4g-battery-life-extension-another-thread.html
Try this:
-Toggle airplane mode every time you reboot. You probably have a "time without signal" of over 50% if you look in settings. Toggling airplane mode resets the radio and so it doesn't keep looking for signal unnecessarily which kills battery
-Gps on doesn't drain battery, only when its being used by an app
-Turn off background data and auto sync. If you don't have facebook/twitter widgets or care about email push notifications then save some power and switch it off.
-Check for apps that aren't letting the phone sleep. Download "spare parts" and it should show you.
-I'm guessing you have the updated Facebook app with chat. I would suggest going offline in chat because it doesn't let the phone sleep and will drain your battery really fast.
Sent from my SPH-D700 using XDA App
wtf is up with the horrible battery life of this phone? i got it and it is EXTREMELY worse than my Hero ever was. I have had this phone less than a week and I already want to return because of the battery life.
i dont use 4g at all, wifi is only enabled when i need to, gps is enabled but i figured i always had it enabled on the hero and was just fine, my screen brightness is always set at automatic brightness, i dont use bluetooth...
i am stumped.
please help before i destroy this thing
Jonesin 4 The Rush said:
wtf is up with the horrible battery life of this phone? i got it and it is EXTREMELY worse than my Hero ever was. I have had this phone less than a week and I already want to return because of the battery life.
i dont use 4g at all, wifi is only enabled when i need to, gps is enabled but i figured i always had it enabled on the hero and was just fine, my screen brightness is always set at automatic brightness, i dont use bluetooth...
i am stumped.
please help before i destroy this thing
Click to expand...
Click to collapse
Lol gps kills it on this phone the roms greatly improve it
Sent from my SPH-D700 using Tapatalk
dreamsforgotten said:
Lol gps kills it on this phone the roms greatly improve it
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
thx for the advice.
i will try it without gps
also any good advice on any particular rom? i have only had this phone for 6 days and am trying to pinpoint a great rom to use.
My Epic looks pregnant but the battery lasts forever with the extended one

[Q] Juice Defender: does it work?

Hi, Ive been reading a lot about battery saving apps that I started to get curious as to whether these apps really work.
I installed JD out of curiosity and I have to say that all it doea is disable automatically your phone connections to help you save power. Things that you can actually do manually. Like turning off wifi and mobile network. If im not mistaken you can disable mobile network under your phone's settings.
So my question is, if you can do it manually, what is the point of apps like juice defender? It eats up ram and runs as a background process which in my opinion does more bad than good to your battery unless your the i dont know how to disable connections manually in my phone kind of guy.
Somebody please enlighten me. Thanks.
I have used it for a long times. Since I used Xperia PLAY.
I think this program is good. Yes, if you can manually do it. But the feature I like the most is Screen. It can change CPU ghz according to your screen on / off.
It saves my battery a lot.
Press THANKS if you agree with me.
I am a long time user of jd but these days the only feature i use regularly is to disable data overnight.
Sent from my LT26i using xda app-developers app
- Airplane mode over night
- automatic wireless connection with "location" feature (if near a known wireless network it starts the wireless and connects, if not near it directly starts 3G)
- I do not have to mess with on/off wireless/3G
- automatically syncs every hour, so I have to do nothing but still get my mails
- with rooted phone underclock on screen off
- bluetooth off after 5 mins without connected bluetooth device
etc....
It is NOT for you if you want to have online connection all the time. And it is not for you if you don't mind to do all the things manually it does for you.
And in my opinion only the full version really helps, the free version does not much...
I think it's a great app! :good:
If you just need to auto toggle data, check out 3GBattery too.
https://play.google.com/store/apps/...wyLDEsImNvbS5teXN0aXF1ZS50aHJlZWdiYXR0ZXJ5Il0.
basically, there are 2 main things that drain our devices: 1) 3g/2g and 2) display brightness. I've been using JD since ever, and the difference is awesome with and without. Even the free version is enough to save some batt, in the Agressive mode (connects every 30min).
Besides JD, I am using Greenify. Which needs root to work and does a beautiful job with background apps like Facebook, GMaps etc.
works on both my devices :good:
Personally I think this app is useless.
As OP has said, you can just set up those things manually.
This app just eats RAMs and use your battery up more.

[Q] Phone reloads itself with no error messages, almost like hot boot.

I was wondering if anyone else was seeing this issue or knew what was causing it. My phone has for the longest time, been doing almost a hot boot on it's own, where I will notice the phone is at my desk, I see it come on by itself, menu and back buttons lit, and it looks like it reloads all the os. No errors, or crash errors, just on it's own. I have nothing stock uninstalled (everything on the phone is stock, rom included), did have some disabled via TB, but to test I allowed all services/apps to load as when I got the phone, still does the same thing, like every other day. I have the latest OTA, rooted, with the freeza update for LI3, running apex launcher pro and of course some apps/widgets like everyone else. This happens no matter what, but always on it's own. I have a widget that shows memory usage, and I'll have sometimes 300mb free, and once this "hot boot" the phone does, i'll be back at over 1.2 gb free, so I know it's reloading everything on the phone. is there any way of figuring out what is causing this, cause I know this isn't normal behavior. Any help would be great!
so I think I found the answer.. Via WIFI settings I had enabled under Advanced: Keep WIFI on during sleep, NEVER (increases data usage)... Of course when you'd then try to use your phone after some time, you'd notice it switch radios from 3/4G to WIFI, and sometimes it would take a few seconds to do that. When I had that option enabled the OS would reset itself after about a day of use, as I described above, not a full restart, no crash/force close errors, you'd just see the phone come on, and basically everything reloading.. After trouble shooting whether it was an app or something causing this, it was, I believe, the WIFI setting, since I changed it to keeping WIFI on "always" during sleep, in that advanced setting, the phone has not done the issue described. Going on 79 hours with no issues, which is the longest I've seen since noticing this problem.. So hopefully in the future if this happens to others, this method might be what was the problem/cure..
I always keep wifi on.. it seems to save a lot more power than 3g and its clearly faster =p.
Sent from my SPH-L710 using xda app-developers app

Categories

Resources