[Q] HELP! No Deep Sleep, always awake (msm_ipc_read) - Nexus 4 Q&A, Help & Troubleshooting

I had my phone on today and after about 13 hours of being on with less than 15 mins of screen time, I noticed it was awake for all 13 hours. Also, I don't know why, but even being rooted I am unable to view Alarms in BetterBatteryStats.
If anyone could look at my log and offer any insight on the problem, it would be highly appreciated.

jsilvermist said:
I had my phone on today and after about 13 hours of being on with less than 15 mins of screen time, I noticed it was awake for all 13 hours. Also, I don't know why, but even being rooted I am unable to view Alarms in BetterBatteryStats.
If anyone could look at my log and offer any insight on the problem, it would be highly appreciated.
Click to expand...
Click to collapse
Some service is holding a wakelock while accessing the modem. Either that service crashed/hung without releasing the wakelock, the modem didn't respond, or there's simply a bug in the code. I would reboot and see if it happens again. If so, think about which apps you installed directly before this started happening. If you're running a custom ROM/kernel, this could be the root of the problem. With the BetterBatteryStats log alone, there if no way of telling this

XDA_Bam said:
Some service is holding a wakelock while accessing the modem. Either that service crashed/hung without releasing the wakelock, the modem didn't respond, or there's simply a bug in the code. I would reboot and see if it happens again. If so, think about which apps you installed directly before this started happening. If you're running a custom ROM/kernel, this could be the root of the problem. With the BetterBatteryStats log alone, there if no way of telling this
Click to expand...
Click to collapse
Thank you for the response, as far as I can tell it was caused by an edit to the hosts file, since reverting the hosts file back to default (only localhost) seems to have fixed the problem.

Related

Help!! My Tab 4 T230U turns off.

Hi Guys, recently I got this tab "new", but when you first start and to few minutes I completely turn off for no reason and to turn newly I have to press the power button for 8 seconds and touch the screen and since then it turns off randomly.
which may be the problem?
please help me!
fredtrejo said:
Hi Guys, recently I got this tab "new", but when you first start and to few minutes I completely turn off for no reason and to turn newly I have to press the power button for 8 seconds and touch the screen and since then it turns off randomly.
which may be the problem?
please help me!
Click to expand...
Click to collapse
If you can get to settings fast enough try checking for and disabling power-saving,
also since this tab is "new" try to get to software menu and check for and disable any custom governor apps installed
and check for root install, bad/broken root etc.
as a precaution don't immediately ask how to do that, incorporate that process into your next search
as it will like result in more knowledgeable in depth answers.
good luck!
if there is a custom recovery and root available you may want to consider a factory reset, NOT a full wipe.
also inspect the tab for signs of tampering/opening at it's seams. as evidence of a battery swap/replacement gone wrong.
you may also be experiencing a loose battery cable issue similar to other samsung devices notably the galaxy tab 3 10.1
m
moonbutt74 said:
If you can get to settings fast enough try checking for and disabling power-saving,
also since this tab is "new" try to get to software menu and check for and disable any custom governor apps installed
and check for root install, bad/broken root etc.
as a precaution don't immediately ask how to do that, incorporate that process into your next search
as it will like result in more knowledgeable in depth answers.
good luck!
if there is a custom recovery and root available you may want to consider a factory reset, NOT a full wipe.
also inspect the tab for signs of tampering/opening at it's seams. as evidence of a battery swap/replacement gone wrong.
you may also be experiencing a loose battery cable issue similar to other samsung devices notably the galaxy tab 3 10.1
m
Click to expand...
Click to collapse
thanks for the reply... I found the problem and the problem is the Wi-Fi, when this off working perfect and does not turn off, but the Wi-Fi is turn on the tab begins to fail and turn off.
fredtrejo said:
thanks for the reply... I found the problem and the problem is the Wi-Fi, when this off working perfect and does not turn off, but the Wi-Fi is turn on the tab begins to fail and turn off.
Click to expand...
Click to collapse
run a test for me ?
disable syncing functions and data usage, it's in wifi/connection settings
keep wifi off .
Plugin tab to charger, not usb port, now turn on wifi and operate the tab
as normal, browsing music camera etc. till it crashes. if it does.
m
moonbutt74 said:
run a test for me ?
disable syncing functions and data usage, it's in wifi/connection settings
keep wifi off .
Plugin tab to charger, not usb port, now turn on wifi and operate the tab
as normal, browsing music camera etc. till it crashes. if it does.
m
Click to expand...
Click to collapse
ready, let it charge overnight, wifi turn on and downloandig a game and not turn off worked perfectly!!
then what will be the problem?
fredtrejo said:
ready, let it charge overnight, wifi turn on and downloandig a game and not turn off worked perfectly!!
then what will be the problem?
Click to expand...
Click to collapse
hmmm, okay run it all day while connected to charger, not usb port.
we're ruling out a hardware issue and focusing on a battery problem , maybe.
from what i was able to find on the subject, that seems to be the test.
additionally take account of all existing apps and process that run automatically at boot.
you may be exhausting your available ram which does cause hangs and unexpected reboots.
you can access and disable many preinstalled bloat apps without being rooted.
disabled all the samsung/3rd party ware or at least what you know you don't need.
now if at the end of your day long test the tab doesn't hang and reboot then it has to be your battery.
as a side test place your tab on a table and pound the table with your fist.
if the tab shuts off or reboots it's your battery cable. do that test with the tab unplugged.
m
moonbutt74 said:
hmmm, okay run it all day while connected to charger, not usb port.
we're ruling out a hardware issue and focusing on a battery problem , maybe.
from what i was able to find on the subject, that seems to be the test.
additionally take account of all existing apps and process that run automatically at boot.
you may be exhausting your available ram which does cause hangs and unexpected reboots.
you can access and disable many preinstalled bloat apps without being rooted.
disabled all the samsung/3rd party ware or at least what you know you don't need.
now if at the end of your day long test the tab doesn't hang and reboot then it has to be your battery.
as a side test place your tab on a table and pound the table with your fist.
if the tab shuts off or reboots it's your battery cable. do that test with the tab unplugged.
m
Click to expand...
Click to collapse
Ok, 'll do test and then I commented as I was, Thanks!!
fredtrejo said:
Ok, 'll do test and then I commented as I was, Thanks!!
Click to expand...
Click to collapse
these days that I have been testing, random paid only happens when the battery is in the percentage of 70-100.
moonbutt74 said:
hmmm, okay run it all day while connected to charger, not usb port.
we're ruling out a hardware issue and focusing on a battery problem , maybe.
from what i was able to find on the subject, that seems to be the test.
additionally take account of all existing apps and process that run automatically at boot.
you may be exhausting your available ram which does cause hangs and unexpected reboots.
you can access and disable many preinstalled bloat apps without being rooted.
disabled all the samsung/3rd party ware or at least what you know you don't need.
now if at the end of your day long test the tab doesn't hang and reboot then it has to be your battery.
as a side test place your tab on a table and pound the table with your fist.
if the tab shuts off or reboots it's your battery cable. do that test with the tab unplugged.
m
Click to expand...
Click to collapse
these days that I have been testing, random paid only happens when the battery is in the percentage of 70-100.
fredtrejo said:
these days that I have been testing, random paid only happens when the battery is in the percentage of 70-100.
Click to expand...
Click to collapse
fred,
sorry to take so long to get back to you. I am out of idea's. all i can think of if using an app to reset your
battery stats. try sdmaid, also research battery reset/calibration.
m

WLAN_WAKE wakelock + Wi-Fi not showing

I'm at a loss here and i hope somebody can help me out here.
I've had my Note 4 for a while now, working great, but after a week or two after flashing Simpl-rom (latest)(Android 5.0.1) it started to drain battery while the screen was off.
I tried to debug this issue and found that WLAN_WAKE is preventing the device from sleeping.
Of course i did search for solutions but none of that worked, disabled all the background scanning and stuff in advanced wifi settings.
I tried to freeze all my regularly used apps planning to unfreeze them one by one to see when the issue started to show up, odd thing is, the issue persists even if i freeze all my daily-use apps.
I also noticed no networks in range show up in my Wi-Fi list, only the ones that i saved in the past (of course most showing out of range).
Using a 3rd party Wi-Fi manager works fine, it detects all the networks in range.
Disabling Wi-Fi allows the phone to go back to sleep again. However, when enabled again after that no more sleeping occurs.
The only "solution" to this is a full reboot. This solves the wakelock/batterydrain issue temporarily but not the Wi-Fi networks not showing up.
It can take 30 minutes before the issue shows up again or it can take half a day.
I also tried to detect if any apps were using background data, none that i could detect.
Even stranger, i have the exact same issue with my Galaxy S5 running Omega-rom (latest). (Android 5.0.1)
The drain on the battery isn't huge (10-15% per night), but it's there and unnecessary (i know it can do with 2-3% per night if the bug doesn't occur), obviously something is going wrong and i wish to find out what and resolve it.
Anyone experienced similar problems or knows how i can proceed to debug this issue?
I say issue because i feel these problems are related, they could be separate problems though..

Need to restart every few days or phone wont enter deep sleep?

Like the title says, my phone stops going into deep sleep about 3 days after a reboot. I need to reboot the phone for it to go to deep sleep again. Would anyone know what might be causing this?
Japultra said:
Like the title says, my phone stops going into deep sleep about 3 days after a reboot. I need to reboot the phone for it to go to deep sleep again. Would anyone know what might be causing this?
Click to expand...
Click to collapse
In my opinion, that's not a bad thing. It's better to restart any device with an OS on it at least once a day or two maximum.
A computer device that stays on for days is similar to a human not getting sleep. Things slow down and become fragmented. VRAM, Page File, etc start getting cluttered.
I'm not surprised your phone won't enter deep sleep after three days of being on. After that much use, you'd have used various apps and services causing wakelocks.
That's what I experience, at least.
FiddleGoose said:
In my opinion, that's not a bad thing. It's better to restart any device with an OS on it at least once a day or two maximum.
A computer device that stays on for days is similar to a human not getting sleep. Things slow down and become fragmented. VRAM, Page File, etc start getting cluttered.
I'm not surprised your phone won't enter deep sleep after three days of being on. After that much use, you'd have used various apps and services causing wakelocks.
That's what I experience, at least.
Click to expand...
Click to collapse
My S6 didn't do this though. I could go for a couple weeks without restarting it and it would still enter deep sleep.
I had a similar problem. For me it wasn't every three days, but usually 24-36 hours. But same issue, suddenly wouldn't go into deep sleep and a restart would fix it.
I found my issue to be gas buddy app and it trying to poll locations via bluetooth. Google it, there are lots of threads on it, but basically due to bad programming it would just jam on.
I figured this out as i could get my phone to go into deep sleep by turning off bluetooth, so that might be a quick easy test for you.
Also remember my in case (and unfortunately for a lot of other people) it was the gas buddy app. but others have reported the same issue with other apps.
i don't know if android's implementation on bluetooth location is busted, or the way the apps are using it.

WIFI turns on and off constantly

when turning my wifi off it seems it goes into some weird loop of turning on and off constantly by itself, it doesn't seem to be trying to connect just flipping the wifi switch on and off none stop.
noticed it because i had a huge battery daring overnight and while trying to fix it i saw the switch going off and on all the time.
when turning it back on it seems to connect normally .
did a network setting rest but it did nothing ...
I'm guessing a factory rest will fix the problem but I'm hoping to avoid such a overkill solution :crying:
does anyone else had this problem and can help me fix it?
thanx!
avivzamir said:
when turning my wifi off it seems it goes into some weird loop of turning on and off constantly by itself, it doesn't seem to be trying to connect just flipping the wifi switch on and off none stop.
noticed it because i had a huge battery daring overnight and while trying to fix it i saw the switch going off and on all the time.
when turning it back on it seems to connect normally .
did a network setting rest but it did nothing ...
I'm guessing a factory rest will fix the problem but I'm hoping to avoid such a overkill solution :crying:
does anyone else had this problem and can help me fix it?
thanx!
Click to expand...
Click to collapse
This was on a new custom rom ?
Or did it just happend on a rom that have worked perfect for days?
And have you seen which app or system app been casuing the drain?
LyLu said:
This was on a new custom rom ?
Or did it just happend on a rom that have worked perfect for days?
And have you seen which app or system app been casuing the drain?
Click to expand...
Click to collapse
original samsung rom.
just happened (i have the device for a a while everything was fine) its the android system that drains the battery in the battery status.
when i leave the wifi on it stops and works fine ...
Have you turned off ''Keep Wifi During Sleep''? I know this can drain battery.
It's not so easy to troubleshoot on an orginal none rooted phone.
You can try clearing dalvik and cache.
Turn it off and then on holding power and vol down button, then clear cach/dalvik and restart.
Try uninstall update beaming service for samsung then restart
If still persistent try uninstall update microsoft onedrive and skype then restart, just in case
I found it after factory reset (forgot internal data backup :crying and update all apps, this problem occuring after the last 3 updates (beaming, onedrive, & skype) which more suspect beaming service update make that problem
Your not alone
You're not the only one who suffer from this exact problem, on Friday or Saturday the same problem started occurring with my phone too, WiFi turns on and off in a loop and huge battery drain!
I saw an increase of 6% of battery drain per hour, so I ended up on 9% total drain every hour. :crying:
I have original Samsung Rom and phone worked prefect until now, no settings or apps installed before this happened either.
What rom version are you guys on?
I'm having the same issue. However, I'm on PhoenixX Rom. Major battery killer and has only just started happening within the past few days.
Since my phone has been unplugged, 3 hours ago, looking at BetterBatteryStats, It is showing com.google.android.gms as having quite a LOT of wakeups. 40 per hour (everything else is about 2). Don't know if this is normal as I don't remember it before the Wifi issue.
Looking into what the wake ups are caused from, Location and heartbeat were the major culprits. So i have turned of WIFI scanning when not on and also the body sensors for Google Play. We shall see.
LyLu said:
What rom version are you guys on?
Click to expand...
Click to collapse
See attachment.
Easy fix. Just disable Wi-Fi scanning.
the_scotsman said:
Easy fix. Just disable Wi-Fi scanning.
Click to expand...
Click to collapse
its not a fix at all . it dosnt scan for wifi , just turning it on and off non stop.
like pressing the light switch agin and agin
I had this after installing "GoodLock" software from Samsung! Uninstalled and everything is ok
same here, just noticed I wasnt on Wifi and the switch is just flicking on and off by itself. Standard S7 with all the updates installed
Been struggling with the same for some days (4 - 5) I haven't been able to get exactly whats triggering this. I'm on stock rom with root. I've reinstalled firmware clean again and re downloaded my apps but it is still happening randomly. Some times after a few attempts to switch wifi on (even when it is toggling by itself) it manages to keep on. Sometimes restarting makes it work again. One thing I'm almost certain its that this usually happens after I turn wifi OFF and then try to turn it back on.
It's been crazy and the phone starts to overheat after a while off this on-off loop.
Any ideas?
its very wierd it started to all of us in the past few days-weeks . seems like samsung has a bug they need to hurry up and fix.
AT&T just pushed out the October Security update for the S7 family, I'm guessing something that came along with it is creating the problem.
mine did a software update last week and I've been away in airplane mode so it could have started then. I've just disabled scanning and that seems to have got round the issue and I'm now connected to WifI
I'm not sure whether it is a Samsung Issue or a Third party one... It is true that something recently affected all of us, but as far as I know, it could be a third party app that wasn't well developed for our phone.
I've noticed the same problem on my phone and it's also only started up in the last few days. On stock Sammy rom, unrooted. Will be monitoring this thread to see if the experts here can narrow down the culprit.
I had the same issue and I was able to stop the toggle by turning off the wifi scanning in Location - Improve Accuracy - WiFi scanning. It's a fix for now. I think it may be an app that may have been updates that is persistently looking for location updates.

high awake time

On every rom based on lineage I have had pretty much constant awake time even thru the overnight hours and with greenify aggressive doze. I've tried just about all I can think of, I'll lose about 7 or 8 percent overnight where on stock it's around 3 percent
Is anyone else experiencing this? Is it common? Also the only thing to come up on wake lock detector is a Google service on wake up triggers
Any insight would be appreciated.
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
username8611 said:
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
Click to expand...
Click to collapse
I'm trying to locate it, found the around nfc app but it doesn't come up in titanium
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
isTos said:
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
Click to expand...
Click to collapse
Worked like a charm. Thanks!
This def fixed my deep sleep issues. Thanks!
Here's a flashable zip you can use to remove NFC. I made it for use with ROMs that have a built in updater with a flash after update feature. This way ROM updates won't re-enable NFC. Tested it on AospExtended but should work on other ROMs as its designed to just remove the NFC apk from system.
Flash from recovery:
https://drive.google.com/file/d/0B3WSJXjA-ygYUjNoZ3F3c0VIWDg/view?usp=sharing
I did not create this zip but edited one that I found from here:
https://forums.oneplus.net/threads/flashable-zip-to-remove-apps.419810/

Categories

Resources