Kernel wakelock - Honor 7 Q&A, Help & Troubleshooting

I've a wakelock issue with my Honor 7: the phone remain ever active with CPU running at 400 MHz (info from CPU spy) and this drains my battery. The problem was already existing before I installed the B380. With wakelock detector I noticed that the problem is due to key_up_wake_lock but i'm not able to solve it. Can someone help me?

Albus91 said:
I've a wakelock issue with my Honor 7: the phone remain ever active with CPU running at 400 MHz (info from CPU spy) and this drains my battery. The problem was already existing before I installed the B380. With wakelock detector I noticed that the problem is due to key_up_wake_lock but i'm not able to solve it. Can someone help me?
Click to expand...
Click to collapse
I can not help you with that problem but can advise not to share your IMEI numbers on the web...

Well, strip down apps to the bone.
Disable smart button functions and mods you might have. Sometimes the app is waking because other is trying to launch it.

Related

[Q] Dialer Partial Wake Usage

So on my non-daily driver Fascinate I'm running MIUIWiz. I get terrible battery life and compared to my CommRom running daily phone, the main difference is that in Spare Parts the Dialer is the main running process by far. CPU Spy shows 1000mhz as the most used state also. I assume this is related, as Airplane Mode solves both of those problems, but creates another one... how do I use it as a phone?
I've tried uninstalling GoContacts for the stock phone apk and both of those items remain the same. Reflash didn't change anything either. Maybe I'll redownload the ROM.
Any other suggestions on how to try solving this?
I'm just bumping this up in the hopes that someone knows(and will let me know) how to get the dialer to go into deep sleep.
Bueller...
Bueller...

[Q] Samsung Galaxy S II Freezes on Standby [SOLVED]

I would like some help from users having same issues. I bought my SGS II About 3 weeks ago... It was all working fine... stock KG7 not rooted. A few days ago it started doing some weird stuff... like random reboots during standby and freezing unable to turn on unless you take out the battery... tried to restore factory setting i installed the new LightningRom 6.1 and the issue is still there... is there a logging app that can save log before a crash? so i can see what is happening? Or is someone having the same issue as i am. Thank you very much for your time and help Cheers
PS. tried to format usb storage and still have same problem... so really don't know what is the problem...
I have finally found a solution... installed XXKH3 FW stock, not rooted yet, and installed an application from the android market called Load Monitor
Code:
https://market.android.com/details?id=com.landak.loadmon
and enabled only Add Notifications, only notify high load, autostart and only screen on... seems to do the job, no battery drainage and most of all NO SOD (Sleep Of Death) or restarts anymore
Hope it helps someone
Cheers
Bump
Bump... Added VillianRom newest version still have the freeze on standby problem.. Apparently when no apps are running it just crashes and i can't turn it on only by going to CWM or odin... and reseting... Any help would be really appreciated
Do you have a software installed called SetCPU?
No... only facebook, google+, Game Dev Story and Dragon Fly...
Faulty Hardware
Mine did the same; replacement phone is perfect.
Sadly it's not an option for me... i bought it used without warranty papers... it was cheaper... i may have stumbled on a solution... cleared Dalwin Cache and it seems to work good now... we will see in a few days how the situation progresses... i will keep you posted
Installed stock XWKF3 AND IT SEEMS to have fixed the prob. Left it overnight unplugged with wifi off and i had a 1% drain of battery for over 8 hours :-D very sattisfied. Installed standard apps now so.i`ll see how it goes. Keep you posted.
Sent from my GT-I9100 using XDA App
Still having the problem... installed lots of apps and some of them are missbehaving... my phone seems to freeze up and after a while get really hot and the battery is sufficiently drained... is there a program that can log what happened durring the freeze up? and save it to view after restart????
I could really use your help guys pls...
I have finally found a solution... installed XXKH3 FW stock, not rooted yet, and installed an application from the android market called Load Monitor
Code:
https://market.android.com/details?id=com.landak.loadmon
and enabled only Add Notifications, only notify high load, autostart and only screen on... seems to do the job, no battery drainage and most of all NO SOD (Sleep Of Death) or restarts anymore
Hope it helps someone
Cheers
Had to turn on Wake Lock. That means my phone doesn't go to deep sleep anytime. Tried a bunch of roms and all the same result. Tried setcpu configs of all kinds and nothing still. Still get freeze up and insane battery drain durring deep sleep. What helps is flashing syah kernel an putting min cpu freq to 100 that way not that much battery drain.
Any1 have an idea what to do?
Sent from my GT-I9100 using XDA App
I have the same problem i tryed everything. now im waiting for the jig from honk kong
dusnoki said:
I would like some help from users having same issues. I bought my SGS II About 3 weeks ago... It was all working fine... stock KG7 not rooted. A few days ago it started doing some weird stuff... like random reboots during standby and freezing unable to turn on unless you take out the battery... tried to restore factory setting i installed the new LightningRom 6.1 and the issue is still there... is there a logging app that can save log before a crash? so i can see what is happening? Or is someone having the same issue as i am. Thank you very much for your time and help Cheers
PS. tried to format usb storage and still have same problem... so really don't know what is the problem...
I have finally found a solution... installed XXKH3 FW stock, not rooted yet, and installed an application from the android market called Load Monitor
Code:
https://market.android.com/details?id=com.landak.loadmon
and enabled only Add Notifications, only notify high load, autostart and only screen on... seems to do the job, no battery drainage and most of all NO SOD (Sleep Of Death) or restarts anymore
Hope it helps someone
Cheers
Click to expand...
Click to collapse
i also have the same problem on my gt-9100T and still it is still happening. first time it happened when i uninstalled social hubs. at that time i was running lite'ning rom v6.1 and only used the phone for 1 month. then the freeze/ sleep of death occur.
i have tried flashing to stock rom/modem/kernel from intratech thread to no avail.
some people can fix the prob by cleaning the battery contact point. some by cleaning the mini usb port. still no luck for me.
right now running on criskelo latest build (KL1 2.3.6)with T-KL1 modem, siyah .9+ and the problem still persist.
so, installed load monitor and u/v and set the min freq to 100Mhz to preserve battery but still can only last 12hours even unused.load monitor seems to use a lot of juice. very frustrating. i need to tick the wakelock option otherwise SOD right after the screen is off.
I am still hoping someone/anyone who might have the solution the share with us all.
is it a good idea to format /system + /emmc + everything? i have done full wipe, still no good.
wafufufu said:
i also have the same problem on my gt-9100T and still it is still happening. first time it happened when i uninstalled social hubs. at that time i was running lite'ning rom v6.1 and only used the phone for 1 month. then the freeze/ sleep of death occur.
i have tried flashing to stock rom/modem/kernel from intratech thread to no avail.
some people can fix the prob by cleaning the battery contact point. some by cleaning the mini usb port. still no luck for me.
right now running on criskelo latest build (KL1 2.3.6)with T-KL1 modem, siyah .9+ and the problem still persist.
so, installed load monitor and u/v and set the min freq to 100Mhz to preserve battery but still can only last 12hours even unused.load monitor seems to use a lot of juice. very frustrating. i need to tick the wakelock option otherwise SOD right after the screen is off.
I am still hoping someone/anyone who might have the solution the share with us all.
is it a good idea to format /system + /emmc + everything? i have done full wipe, still no good.
Click to expand...
Click to collapse
I'm having the exact same issue. Some stock ROMs seem ok for a while but the issue always returns.
I've tried literally everything I can think of. Done so many full wipes etc but the issue will not go away.
I feel your pain people!
I have the same problem as you im using what you are thank you for that app.
what ive done
SIM card = Removed
Mirco SD card = Removed
so far no problem
thank you..
im trying to get the last thing it did before the phone crashs
I just installed Load Monitor... I just wonder, what exactly is Load Monitor doing? or supposed to do?
This SOD is driving me crazy, I hope it gets fixed
dusnoki said:
Sadly it's not an option for me... i bought it used without warranty papers... it was cheaper... i may have stumbled on a solution... cleared Dalwin Cache and it seems to work good now... we will see in a few days how the situation progresses... i will keep you posted
Click to expand...
Click to collapse
Do you mean Delvik Cache?
Thanks, i'll give it a try :good:

Zopo ZP100 Pilot What SHOULD I do??

Hi I got this phone couple of days back. It came flashed with latest Android 4.0.3 (20120608-154131)
I have rooted it using zopoROOTby_Jaynes_android4.0.
It's working fine, but seems the battery life is ridiculous and the battery information is also not reliable, especially after restarting the device
(Sometimes it suddenly decreses a lot and vice-versa).
Also GPS, I tried it out in the open for like 15-20 mins it finds 4-6 sats but DOESN'T lock on.!
And then the market had some incompatible apps, I did the XML trick, didn't work...removed the 5 files again and then gave up, all of a sudden after a restart, market is fully accessible!! (Weird!)
I have backed-up my apps using Titanium free but I want to install CWM recovery. I do not know the exact procedure to follow for the same.
I just want to have the CWM recovery and not want to flash whole ROM again...How to do it???
Also please give me any important suggestions, tips if you have regarding this phone.
Thank you!
Anyone have anything to say?
NHS2008 said:
Hi I got this phone couple of days back. It came flashed with latest Android 4.0.3 (20120608-154131)
I have rooted it using zopoROOTby_Jaynes_android4.0.
It's working fine, but seems the battery life is ridiculous and the battery information is also not reliable, especially after restarting the device
(Sometimes it suddenly decreses a lot and vice-versa).
Also GPS, I tried it out in the open for like 15-20 mins it finds 4-6 sats but DOESN'T lock on.!
And then the market had some incompatible apps, I did the XML trick, didn't work...removed the 5 files again and then gave up, all of a sudden after a restart, market is fully accessible!! (Weird!)
I have backed-up my apps using Titanium free but I want to install CWM recovery. I do not know the exact procedure to follow for the same.
I just want to have the CWM recovery and not want to flash whole ROM again...How to do it???
Also please give me any important suggestions, tips if you have regarding this phone.
Thank you!
Click to expand...
Click to collapse
Is the phone going in deep sleep? (install cpu spy to check). This could be your battery problem. WiFi/3G/Bluetooth and some apps can keep the phone from going into deep sleep. You can try to edit build.prop to help it go into deep sleep.
The gps - theres some things you can edit in gps.conf and secgps.conf to get a faster fix (like changing time servers and how a-gps works).
kevinlekiller said:
Is the phone going in deep sleep? (install cpu spy to check). This could be your battery problem. WiFi/3G/Bluetooth and some apps can keep the phone from going into deep sleep. You can try to edit build.prop to help it go into deep sleep.
The gps - theres some things you can edit in gps.conf and secgps.conf to get a faster fix (like changing time servers and how a-gps works).
Click to expand...
Click to collapse
Thanks for your helpful reply! I installed CPU Spy and here's what I found!
Seems, it's keeping at 1001 Mhz all the time!! Am I right??
Are there any other ways around it than editing system files??
Thanks again!! About GPS I got it to work today, albeit not accurately...
NHS2008 said:
Thanks for your helpful reply! I installed CPU Spy and here's what I found!
Seems, it's keeping at 1001 Mhz all the time!! Am I right??
Are there any other ways around it than editing system files??
Thanks again!! About GPS I got it to work today, albeit not accurately...
Click to expand...
Click to collapse
Yep, looks like it is staying at 1ghz, you can install an app like setcpu to manage the cpu frequency. You will probably be limited by the kernel when it comes to governors (no undervolting either).
If you are not comfortable editing the gps.conf/secgps.conf there are apps for that I think. But it is quite easy with a file manager (root browser for example), the gps.conf tweak is to change the " NTP_SERVER= " to the closest server to where you reside from this site :
http://www.pool.ntp.org/en/
For example if it says NTP_SERVER=0.europe.pool.ntp.org , (edit: noticed you live in India, so you would do it like this):
NTP_SERVER=1.in.pool.ntp.org
NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
If you want to see more on these gps tweaks(I would just do the time server tweak since it works on all phones, I'm not sure if the secgps.conf tweak works with your phone), check out this thread (it's been updated at the bottom of the first post) : http://forum.xda-developers.com/showthread.php?t=1320626
I'm not sure about CWM, I think it has to be tailored to the phone itself because of the location of the recovery partition.
Edit2: I noticed in the picture that your phone has 1ghz , 500 mhz 250mhz and 166mhz. You can add a profile to setcpu to set the CPU to max 250mhz while the screen is off for example. This wouldn't fix your deep sleep issue, but would save battery. (Deep sleep is some parts of the CPU turned off, while some parts stay on)
Thanks again! I have set it to 250-1001 ondemand and apply on boot now. But 'deep sleep' is still unused as per CPU spy, Any clues as to how can it be enabled?
About GPS, I can do that. Just that I could live without it for now, but thanks for elaborating it! I will do it tomm. Morn, its 2:39 am.
NHS2008 said:
Thanks again! I have set it to 250-1001 ondemand and apply on boot now. But 'deep sleep' is still unused as per CPU spy, Any clues as to how can it be enabled?
About GPS, I can do that. Just that I could live without it for now, but thanks for elaborating it! I will do it tomm. Morn, its 2:39 am.
Click to expand...
Click to collapse
I posted second edit after you posted, will repost here in case you missed:
Edit2: I noticed in the picture that your phone has 1ghz , 500 mhz 250mhz and 166mhz. You can add a profile to setcpu to set the CPU to max 250mhz while the screen is off for example. This wouldn't fix your deep sleep issue, but would save battery. (Deep sleep is some parts of the CPU turned off, while some parts stay on)
Click to expand...
Click to collapse
The deep sleep issue is probably related to some apps keeping the phone on (could be kernel problem also, but I'm not an expert on that so can't say). You can check wake-locks with betterbatterystats. Also, rebooting the phone helps(rebooting after charging also helps I noticed). Edit: Some tips on wake-lock : http://forum.xda-developers.com/wiki/Wakelocks
kevinlekiller said:
I posted second edit after you posted, will repost here in case you missed:
The deep sleep issue is probably related to some apps keeping the phone on (could be kernel problem also, but I'm not an expert on that so can't say). You can check wake-locks with betterbatterystats. Also, rebooting the phone helps(rebooting after charging also helps I noticed). Edit: Some tips on wake-lock : http://forum.xda-developers.com/wiki/Wakelocks
Click to expand...
Click to collapse
Thanks for your reply. I think it is more of a Kernel problem only.
ust found out using Batterystats that As soon as I get a message or notification, It triggers LED light and a WAKE LOCK (Called 'Leds Wakelock' ) Which prevents phone from going into deep sleep, and it remains that way hogging battery! Only solution is to REBOOT and hope you don't get any notification!
BEFORE REBOOT
AFTER REBOOT
If your phone has a cyanogenmod rom (I haven't looked into the popularity of it), there is an option to turn off the LED notification in the cyanogenmod settings. Does Zopo release the source code for the kernel / rom?
I read in the other thread about the phone having issues when not in the performance governor, that is a shame, maybe the voltage is adjusted lower at lower frequencies causing the reboots.
kevinlekiller said:
If your phone has a cyanogenmod rom (I haven't looked into the popularity of it), there is an option to turn off the LED notification in the cyanogenmod settings. Does Zopo release the source code for the kernel / rom?
I read in the other thread about the phone having issues when not in the performance governor, that is a shame, maybe the voltage is adjusted lower at lower frequencies causing the reboots.
Click to expand...
Click to collapse
I don't know whether it is cyanogenmod (I don't even know what that is..) But my phone doesnt have ANY option regarding that. But
Here's a good thing, since I restarted to take screen shot I've had several notifications LED flashes, and the 'LEDS Wakelock' hasn't reared it's ugly-head!
ALSO I have again set the Governor to 'On demand' and now it seems doing better no Hang up for a good time played AB space. going good!
I think that LEDS Wake lock was root of all troubles. Will have to keep a lookout for it.
Thanks a lot for your guidance!
Have you come up with a solution that can kill that wakelock other than reboot? From my observation that leds wakelock only happen when the battery's going low (<15%) and it won't go away after that.
Dirty solution is to patch framework-res.apk and modify the level of battery low notification.
I am using a newer custom ROM 100500 v2 and no longer have any issues with wake locks!
Sent from my XT910 using Tapatalk 2

[Q] 50% Battery drain overnight.

Hi, today I woke up and noticed that overnight (7 hours) my battery dropped from 99% to 47%. I looked in better battery stats and I noticed that my phone was running at 900CPU all the time. I really have no idea how can that be happening, until today everything was fine and I haven't installed any new app. I am running Omega 29 with Phenomenal normal kernel. Would full wipe and reinstalling ROM help?
Thanks
mystogans3 said:
Hi, today I woke up and noticed that overnight (7 hours) my battery dropped from 99% to 47%. I looked in better battery stats and I noticed that my phone was running at 900CPU all the time. I really have no idea how can that be happening, until today everything was fine and I haven't installed any new app. I am running Omega 29 with Phenomenal normal kernel. Would full wipe and reinstalling ROM help?
Thanks
Click to expand...
Click to collapse
Check your battery stats and see what it was doing, could be anything from Apps running in background (Sync, GPS...)
If there is an app there that drained it, you don't need to get rid of it, put your phone into Power Saving or download a 3rd Party app called Juice Defender. That will stop it. Also if you don't want to do that, you can just Force Close the App that used your battery at night and leave it at that.
Oddly tested mine overnight wifi and gps off 150 apps .
12 hours 2 % drain and that's the usual .
jje
Delete Facebook.. , Disable media server,
Two things to keep your CPU awake..
I checked all of that, but like I said, only thing I noticed was that phone was running at 900CPU all the time, and I don't know why.
mystogans3 said:
I checked all of that, but like I said, only thing I noticed was that phone was running at 900CPU all the time, and I don't know why.
Click to expand...
Click to collapse
Since it's Omega go into S Tweaks Scroll down the bottom to CPU Scaling and select one of the others on the Drop Down Menu, (pegasusq) try the others. Hopefully that will do the trick. Do not underclock the device under 800 as it will c*ck up the phone.
skrapi said:
Since it's Omega go into S Tweaks Scroll down the bottom to CPU Scaling and select one of the others on the Drop Down Menu, (pegasusq) try the others. Hopefully that will do the trick. Do not underclock the device under 800 as it will c*ck up the phone.
Click to expand...
Click to collapse
Isn't that for Siyah Kernel only?
I'm having similar issues of battery drain on Omega V29 and Siyah Kernel but its mainly when the screen is on, my current cpu scaling profile is set to 'lulzactive'. Could this be the cause of my drain?
skrapi said:
Since it's Omega go into S Tweaks Scroll down the bottom to CPU Scaling and select one of the others on the Drop Down Menu, (pegasusq) try the others. Hopefully that will do the trick. Do not underclock the device under 800 as it will c*ck up the phone.
Click to expand...
Click to collapse
I am not using Siyah kernel. Stweaks does not work with phenomenal.
YoungAceAtlanta: I don't have facebook, but like you said, my media server is going crazy. I am 100% it's the cause of drain, however I have no idea how to disable it.
Edit: Media Server is using 87% of battery...
mystogans3 said:
I am not using Siyah kernel. Stweaks does not work with phenomenal.
YoungAceAtlanta: I don't have facebook, but like you said, my media server is going crazy. I am 100% it's the couse of drain, however I have no idea how to disable it.
Edit: Media Server is using 87% of battery...
Click to expand...
Click to collapse
If in doubt Recovery Mode. Wipe data/cache then Calvin and fix permissions. Then flash Rom again. Check each app you download their permissions and comments
Check one of the multiple threads about battery drain

Oneplus X and fast dormancy battery drain

Hey guys,
I have BBB (Better Battery Stats) installed and saw that one of the alarms is causing a huge battery drain. Its caused by fast dormancy which should actually save energy. In BBB it is called com.qualcomm.fastdormancy. In my case the phone can not enter deep sleep when fast dormancy is active.
I found an article describing the problem with fast dormancy ([FIX][ROOT] Disable Fast dormancy on sony smarthphones) but unfortunately I was not able to disable it. The guide is just for Sony devices and I could not find the folder ./etc/fast-dormancy.
Anybody with the same problem? Does somebody know a different method to disabled it (except for editing the build.prop file because it could cause a bootloop)?
Thanks!
I solved that by rooting and then instaling Service Disable from playstore. Then disabled fastdormancy Service.
zebster said:
I solved that by rooting and then instaling Service Disable from playstore. Then disabled fastdormancy Service.
Click to expand...
Click to collapse
Thanks! It looks like that worked out. Much easier than I thought
Yes this might solve the problem, but what fastdormancy do? And what are the consequences of disabling it?
deyan said:
Yes this might solve the problem, but what fastdormancy do? And what are the consequences of disabling it?
Click to expand...
Click to collapse
Not sure what it does, but when I disabled it the phone felt laggy, now I re-enabled it and it is snappy again.
Sometimes, Play services cause the battery draining issue and sometimes Installing some faulty app and overclocking the device may reduce the battery life of your device.
There are common steps you can follow like using black wallpaper to take advantage of the AMOLED panel to save battery.Uninstalling unnecessary apps can boost your battery life
I just read some tips which are common but useful->>http://fixdroidbattery.net/fix-fast-battery-drain-problem-on-oneplus-x/
Hi,
I ran into the same Problem. Phone most time running @300mHz instead going to DeepSleep.
(Network Providor for me is currently SIM.DE - Sub Providor of O2 Germany)
This morning I found an article and disabled "Fast Dormancy" with the Build Prop Editor.
http://forum.xda-developers.com/xperia-l/general/tut-disable-fast-dormancy-battery-life-t2348597
Seems to work fine for me so far. Phone is going to deep sleep again now.
I changed this 2 hours ago, so I can't say anything about longtime use or potential other problems.
Anyway, I would like to share these links because there are some useful information probably interesting for some people.
http://androidforums.com/threads/fast-dormancy-in-a-nutshell.674208/#post5414568
2SR82 said:
Hi,
I ran into the same Problem. Phone most time running @300mHz instead going to DeepSleep.
(Network Providor for me is currently SIM.DE - Sub Providor of O2 Germany)
This morning I found an article and disabled "Fast Dormancy" with the Build Prop Editor.
http://forum.xda-developers.com/xperia-l/general/tut-disable-fast-dormancy-battery-life-t2348597
Seems to work fine for me so far. Phone is going to deep sleep again now.
I changed this 2 hours ago, so I can't say anything about longtime use or potential other problems.
Anyway, I would like to share these links because there are some useful information probably interesting for some people.
http://androidforums.com/threads/fast-dormancy-in-a-nutshell.674208/#post5414568
Click to expand...
Click to collapse
How has been doing the dormancy alarm now? is it solved?
I'm having this problem too.
FcoEnrique said:
How has been doing the dormancy alarm now? is it solved?
I'm having this problem too.
Click to expand...
Click to collapse
Yes. For me situtation is much better now. There are still some dormancy wakeups but I think this is normal behavior and initiated through some apps.
If I doesn't use the phone much over the day, I get about 1 to 3 hours longer battery time.
I don't recognize any other problems or limitations, so for me the fix is perfect.

Categories

Resources