Permanent wakelock - HTC One X

HTC One X 32GB GSM
I've had it for a year as a backup phone for just browsing with wifi and listening to music. Which it did fine under CM11 until a month ago. Now it simply stays awake 100% of the time and the battery is empty in 6 hours of no use.
Tried:
Reflashing the CM11 rom with all partitions formatted
Switching to a 5.0 rom with the new layout
Flashing back to CM11
Flashing a new kernel
Without success. Right now it's running a clean CM11 rom with faux123 kernel. Android says it's a 50/50 between Android OS and Google Services. I've used wakelock detector, which shows the highest user with 2m (phone) and the kernel wakelock as "main".

Related

[Q] Problem with Omega 12 + Perseus 33.3 start up screen lasts forever

HI Guys
I'm an old iOS user but switched to android 2 months ago with a wonderful Note 2 International running android 4.1.1
​
after one month of use I decided to root my device for VPN service and custom ROM benefits
​
Everything went fine. First rooted with odin 3.07, then decided as most of users recommended to flash ARHD 11.2
After using my device for 2 weeks I noticed poorer battery performance. 4 days ago, After a lot of searching online I decided to flash Omega 12 then Perseus 33.3 for better battery performance and better control of my CPU.
That's what I did. First, wiped all data through CWM then installed Omega 12 ---> Perseus 33.3 ---> clean cached data ----> restored my apps through titanium ----> fixed permissions ---> charged my mobile to 100% then wiped battery stats ---> set gpu to 440mhz and cpu scaling --> frequency responsiveness to 600mhz === every thing went very good with wonderful performance and battery life with 40 hours battery life ,more than 7 hours onscreen and also did couple of successful restarts to change SIM card .I thought that's it "I will stick with this system forever no matter what."
:highfive::highfive::highfive::highfive:​
As I said, after 40 hours of battery life my battery died so I put my note 2 with the recharger while off because it was night time. Next morning, I unplugged my phone then turned it on but my startup screen keep showing the big robot walking with no ending for 30 minutes. Tried to restart the phone couple times, searched online for a similar issue but nothing related to omega and Perseus, wiped cache, dalvik but still the same.
:crying::crying::crying::crying:​
Finally, I restored an image through CMV contains my 4.1.1 old stoke ROM + factory kernel just after rooting. My smartphone now is working fine.
My question now is "Why did it happened? Did this happen with anybody before with the same circumstances? and what is the possibility of this happening again if I tried to flash a custom ROM or a new kernel?
I'm ready for any questions​
haniwilliam7 said:
HI Guys
I'm an old iOS user but switched to android 2 months ago with a wonderful Note 2 International running android 4.1.1
​
after one month of use I decided to root my device for VPN service and custom ROM benefits
​
Everything went fine. First rooted with odin 3.07, then decided as most of users recommended to flash ARHD 11.2
After using my device for 2 weeks I noticed poorer battery performance. 4 days ago, After a lot of searching online I decided to flash Omega 12 then Perseus 33.3 for better battery performance and better control of my CPU.
That's what I did. First, wiped all data through CWM then installed Omega 12 ---> Perseus 33.3 ---> clean cached data ----> restored my apps through titanium ----> fixed permissions ---> charged my mobile to 100% then wiped battery stats ---> set gpu to 440mhz and cpu scaling --> frequency responsiveness to 600mhz === every thing went very good with wonderful performance and battery life with 40 hours battery life ,more than 7 hours onscreen and also did couple of successful restarts to change SIM card .I thought that's it "I will stick with this system forever no matter what."
:highfive::highfive::highfive::highfive:​
As I said, after 40 hours of battery life my battery died so I put my note 2 with the recharger while off because it was night time. Next morning, I unplugged my phone then turned it on but my startup screen keep showing the big robot walking with no ending for 30 minutes. Tried to restart the phone couple times, searched online for a similar issue but nothing related to omega and Perseus, wiped cache, dalvik but still the same.
:crying::crying::crying::crying:​
Finally, I restored an image through CMV contains my 4.1.1 old stoke ROM + factory kernel just after rooting. My smartphone now is working fine.
My question now is "Why did it happened? Did this happen with anybody before with the same circumstances? and what is the possibility of this happening again if I tried to flash a custom ROM or a new kernel?
I'm ready for any questions​
Click to expand...
Click to collapse
Firstly, NEVER let you battery die completly, it is not good for the overall life of the battery.
Secondly if that ever happens boot to recovery and clear dalvik cache and fix permissions. This will usually help.
It's hard to say exactly what cause this issue without a log.
Also, please keep regular backups through your preferred recovery, as this will help if you need to go back.
Cheers,
Evil.
Thanks for the tips.... really appreciated
Sent from my GT-N7100 using xda app-developers app
same
same thing happened to me exactly .
same rom same kernel
i couldnt even restore a previous backup of omega from a week ago - it just wouldnt restore without rebooting !!
also, for my note 2 to work again i had to reflash my recovery (twrp) via odin and reinstall my rom.
i had a whole load of other issues and in all honesty im almost thinking i may have a broken NAND chip - sudden death - not quite, but im patched for that, but may be a small fail on the chip had caused this event , i really dont know.
im back to normal now but im stll very worried about the next few days - please read my other post where i explained this fault at the time it happened.
http://forum.xda-developers.com/showthread.php?p=38697185#post38697185
thanks.
.
I will look at it... but I think in the mean time I will stick with my original stock and kernel for a while till I have the courage for another rom/kernel trial
Sent from my GT-N7100 using xda app-developers app

[Q] S4 Mini (I9190) - Strange Battery Problem

I have been using my I9190 for 6 months. Battery life was going down with original stock rom (I9190XXUAMF7).
I have tried all battery optimisation tips and apps. Nothing helped.
Last week i tried Greenify. Made some settings. It was the first time it had 36 hours standby time with medium usage.
Then i have installed newer official rom (I9190XXUBNA1), made all greenify settings and bought new original samsung battery (1900 mAh).
But standby time was (with no usage) 18 - 20 hours. I tried old battery again, it was 16 - 18 hours.
I tried 2 more original samsung battery (19000 mAh). Unfortunately same bad result
I formatted everything again and again. Reinstalled rom. Wipe data cache, wipe dalvic cache, format system - data etc..
recovery-clockwork-6.0.4.6, recovery-clockwork-6.0.3.7-serrano3gxx.tar, philz_touch_6.12.8-serrano3gxx.tar
Odin3 v3.04, Odin3 v3.07, Odin3 v3.09
I formatted external sd card. I removed it...
No improvement...
I do not think that it is a hardware problem. Because - 1 week ago - old dead battery had 36 hours standby time with medium use..
Any recommendation?
Thanks in advanced
draligus said:
I have been using my I9190 for 6 months. Battery life was going down with original stock rom (I9190XXUAMF7).
I have tried all battery optimisation tips and apps. Nothing helped.
Last week i tried Greenify. Made some settings. It was the first time it had 36 hours standby time with medium usage.
Then i have installed newer official rom (I9190XXUBNA1), made all greenify settings and bought new original samsung battery (1900 mAh).
But standby time was (with no usage) 18 - 20 hours. I tried old battery again, it was 16 - 18 hours.
I tried 2 more original samsung battery (19000 mAh). Unfortunately same bad result
I formatted everything again and again. Reinstalled rom. Wipe data cache, wipe dalvic cache, format system - data etc..
recovery-clockwork-6.0.4.6, recovery-clockwork-6.0.3.7-serrano3gxx.tar, philz_touch_6.12.8-serrano3gxx.tar
Odin3 v3.04, Odin3 v3.07, Odin3 v3.09
I formatted external sd card. I removed it...
No improvement...
I do not think that it is a hardware problem. Because - 1 week ago - old dead battery had 36 hours standby time with medium use..
Any recommendation?
Thanks in advanced
Click to expand...
Click to collapse
New battery require couple of full charge before it can reaches it maximum efficiency. Different type of custom recovery won't change or affect your battery. Optimization and greenify can only do so much as well.
The power heavy drain problem from day one of S4 mini is the kernel's default profile for CPU governor. So, if you want to stay with the TW rom, you may alternatively use a custom kernel: http://forum.xda-developers.com/showthread.php?t=2545244 and change the CPU governor. Any other method is just treating the symptom but not cure the root.
Note if you haven't tripped knox already (if you have knox), flashing a custom kernel will.
TNCS said:
New battery require couple of full charge before it can reaches it maximum efficiency. Different type of custom recovery won't change or affect your battery. Optimization and greenify can only do so much as well.
The power heavy drain problem from day one of S4 mini is the kernel's default profile for CPU governor. So, if you want to stay with the TW rom, you may alternatively use a custom kernel: http://forum.xda-developers.com/showthread.php?t=2545244 and change the CPU governor. Any other method is just treating the symptom but not cure the root.
Note if you haven't tripped knox already (if you have knox), flashing a custom kernel will.
Click to expand...
Click to collapse
Thanks for your message.
I installed the same system, same apps, same optimization methods, greenify with same settings. Everything is same.
My phone was rooted. And it is rooted now, too.
Nothing changed.
I have installed setcpu, one hour ago. I will try it for 24 hours. I hope it will help.
Thanks again
Any other help?
Hi again
I have showed my s4 mini to samsung service.
They told me that there is no hardware problem.
Problem is software.
I have tried two more batteries.
The last one is zero lemon 5100 mAh.
But nothing changes.
I have tried carbon, cm, slimkat, mokee, stock rom, two more roms...
Battery drains too fast.
Sometimes while percentage is 75 %, i restart phone, it becomes 81 % or 69 %
Sometimes while percentage is 75 %, i enter recovery mode, it shows 85 %
Any help please
Have you tried flashing the custom kernel as mentioned before?
Redflag rom has vikinger kernel
It is my current rom
any help?

[Q] Debug Battery Drain - com.android.systemui

Hi,
I'm using s4 mini LTE I9195 with CM11 M6, f4ktion 1.4.0 kernel, BN3 modem, TWRP 2.7 recovery
All was working fine, average battery drain on idle was 1%-2% (not great, but fine), and suddenly it rocketed to drain 15%-30% per hour.
I usually use Android Tuner's battery measure stats to track drain statistics over time.
After checking it, I"ve noticed that it () the drain) started in the middle of the night.
So it's not due to "I launched this App, and then..." It just went nuts on it's own...
I've checked which process is to blame and the first one with max battery consumption is:
com.android.systemui (with KitKat logo) followed by Android System, then Screen, and then all the usuals.
I tried to do reboots, disable wifi/nfc/rotation/data/sync/anything else/kill user apps - no effect ...
It still drains about 20% per hour on system and systemui for the whole day now :crying:
And I have no idea what causing it / how to revert it...
So, do you have any suggestions on how to trace this bug?
What to search for in logs?
Any thing else?
I'm not a big pro on android OS subsystem, so advises are welcomed!
I'd love to help, but I actually stumbled upon this thread while googling to help myself
I'm using Note 2 (N7100), running CM11 - newest nightly (although I flashed it today, after slightly recharging the battery once I noticed the problem) and Devil3 kernel.
I'm having the same issue - yesterday everything was fine, I've left the phone to charge over night and display time as usual and in the morning nothing seemed out of the ordinary, until 6 hours later. After those 6 hours my battery was fully depleted (whereas normally lasts whole day and is not even close to being depleted). com.android.systemui and Android System seem to be the problem for me too.
I've also tried turning off some functions, uninstalling some apps, turning off notification privileges for others. Even, as said earlier, flashed newest nightly. Nothing helped. Using phone with without flashing Devil3 kernel didn't help.
Anyone have any ideas?
Just try to flash stock software and again CM.
Try a older version of CM11, and if stability is a priorty stay on CM 10.2
OK, so I've tried a few things, and had a few surprising outcomes:
I've analyzed the CPU load with various tools, as Android Tuner, OS Monitor, and All-In-One Toolbox.
Most of them reported Android System using 30% CPU, and com.android.systemui using 25% CPU, all on the highest frequency.
But All-In-One Toolbox recognized top process instead of Android System as Lockscreen android process, so maybe there is a hint there...
(and I don't use any custom lockscreen stuff beyond stock CM's one)
So, backed up the current troublesome system (let's call it BKP_NEW), just in case, and decided to restore a full NANDroid backup I had from a week ago (and the issue is just from yesterday).
Restored all 6 partitions (/system, /boot, /cache, /efs, /modem, /data), rebooted, and....
...The issue was still present! Crazy battery drain just as before!
Very confusing... Then I went for a factory reset - it fixed the issue, but I have to start from scratch with all the SW installs and config, and I don't have a week to waste setting everything up again, and potentially running into the same issue some time later.
So, I've decided to move further back, and restored a two week old NANDroid backup > reboot > No issue presents
But it was just too weird, since the delta between 1-week old and 2-week old backup is infinitesimal.
So, out of curiosity I've decided to restore the BKP_NEW (the one of the system with the issue present)... and after the restore it works just fine! (WTF?!?!)
After thinking on it for a while, my conclusion is that there was some problem with some part of system that was wiped/fixed in TWRP's Factory Reset, but is not touched/overwritten during the NANDroid 6-partition restore.
But again, this is just my assumption, need someone more knowledgeable to confirm this possibility...
(maybe @ne0zone75 can advice on this?)
Since that, all is working fine (at least so far).
And if my assumptions are correct, @Ksenios, you can try to do this, and still have working system with all apps and configs (If youre comfortable with recovery / backups management).
hi,
(passing bye from google - just a note)
com.android.systemui cpu high usage (about 37%),
on my huawei media pad x2 (gem702l) but only while charging (and just sometimes), if that gives something for someone, any clues why ?

Note 2 new battery also drains quickly

Hello XDA forum,
First time post and a long one..sorry :angel: but maybe someone can help me out.
About early to mid 2013 i have been using a Note 2. Since a couple of months the battery drained rather quickly so i thought getting a new (original Samsung) battery would solve this.
Unfortunately it didn't, battery life is identical.
The phone used to last all day with still 30 or 40% left, but now it's maybe 5% in the evening. My usage hasn't changed. Really only use a few apps: pocketcast, poweramp and Dolphin browser.
Back when i got it, i rooted the phone but i don't really remember how , i haven't done anything else to the software except updating apps via the Google Play store
It is still running Android version 4.1.2 with stock Samsung Touchwiz.
First i tried deleting almost all apps. I still use the Outlook and Steam apps though, i don't know if these are battery hogs?. My screen timeout is set to 15 seconds, brightness is set to low, almost everything is turned off except wifi and mobile data, power saving is on etc. Doesn't change anything
So i created a backup with TWRP and tried a couple of roms: DN4, Omega, CM11 but the battery drained even faster.
Restored the backup so now i am back where i started. Also something went wrong when restoring my backup. It placed back all my folders etc but there is also a folder called: "0" which also contains all the app folders etc i use to have. So for instance, all my s notes where gone, i had to copy them from "sdcard0\0\S" note to "sdcard0\S note" Android reports the total storage space is 10.36GB but it should be 16GB.
How, if at all possible, do i do a complete reset? So everything is stock again and maybe work from there? Or is there anything else i can do? Maybe the new battery is also bad?
Any help would be greatly appreciated.
Thanks
Info app:
Os name: Jelly Bean
Os version: 4.1.2
Boot Loader Version: N7100XXDMC3
Kernel: Linux
Kernel Version: 3.0.31-1071214
Dalvik VM Version: 1.6.0

How can I completely restore my phone and reflash latest miui with all the firmware drivers?

I'm absolutely losing my mind please help
A little story time, skip to the end for my question;
So, how to start - One day I unlocked my bootloader, went for some android 11 rom and all was fine. Then android 12 was released and I downloaded the crdroid 12 rom, where I was experiencing some battery drain issues. So I downloaded pixel experience rom. The Bluetooth died because of this rom's cursed source code. I flashed the latest miui fastboot rom and the Bluetooth issue still persisted (remember this for later - not all the drivers flash with the Rom). I fixed the Bluetooth issue by switching several miui roms, also made a guide if you're interested. That fixed the Bluetooth issue and I went for pixel plus ui rom. It was a bit laggy, so I switched to the shiny new Evolution X rom. It was amazing, so much stuff co customize, etc. Well, i experienced another battery drain issues, so I just went for the stock miui with magisk pixelify module. Im pretty fine with this rom, and I thought the problems are gone, because it stock and everything should be fine. Well no. The battery drain issue persists. I was wondering what even is happening, so I opened battery settings. That said that the top apps wasting my battery is screen, Google services and android system. I downloaded a CPU usage stats app, which showed me that the cpu usage is at 99% (I think it's correct as the phone is overheating). The app with most cpu usage was using only 1%. I don't know if this is a firmware bug or whatever, but I think some rom broke it and the latest stock miui didn't overwrite that driver, as written above with the Bluetooth issue.
So, how can I make my phone be as it was released from xiaomi with all the drivers to actually use the hardware correctly?
Thanks in advance for any replies, I'm seriously going to throw my phone out of the window
Also the way how I install the stock Rom is by downloading the latest fastboot rom, extracting it and executing ./flash_all.sh file.
SOLVED! My problem was because of my credit card. I have my cc in the phone case. The cpu was going insane because it was constantly detecting the card and loading info from it. Literally turning off NFC fixed this whole issue. Bruh.

Categories

Resources