yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] beren28:
OK, still working on this.

To recap:

When the screen is off, and no apps are running I sometimes get inexplicable battery drain. This is occurring under conditions when I should be experiencing little or no drain at all. I say this becuase:

The screen is of and no bakground apps are running

the phone is NOT awake and IS entering deep sleep (as confirmed by cpuspy)

there are no unusual kernel or partial wake locks

there are no apps listed as using unexpected ammounts of battery

This is not a universal problem. The phone *often* behaves as expected. I can leave the phone off for an hour and see a 1% or 2% drain, and I am happy with that. However, sometimes, randomly, it goes nuts on my.

This graph from a few weeks ago shows what I mean. Look in the green box. The phone is sleeping, and the screen is off. The graph starts as a flatline, then, all of a sudden, it begins to drop precipitously.

Here is a graph that shows the battery dropping at the same rate whether the phone is awake or sleeping:

I have gone the following to try and narrow the problem down:

Done a completely fresh install of my Rom including a system wipe.

Tried two kernels (the aokp default and several relases of Franco's

Tried a different radio

Activated and installed a new sim card

I have come to suspect that the problem is network related. When the problem starts, sometimes going into airplane mode and back and/or toggling 2g only temporarily fixes the problem.

I suspect that something is happening with my connection to T-Mobile that keeps the network running and draining power. This is pure speculation, but it is all I can think of.

I installed juice defender (which I had not been previously running) and noticed the that, sometimes, it didn't turn of data when it should have. I also noticed the following two things happen:

I do not believe it is a rom problem, since if so, someone else would be reporting this. It might be an app problem, but if so the app is draining battery without a wake lock and while the phone is in deep sleep.

It is not exchange (as was suggested in this thread) since it continues when I ev my exchange account.

I have no idea what else to do or try.

Since it happens at random and takes a while to identify, uninstalling one app at a time to test for that could easily take months to narrow down a misbehaving app.

I know it is not a hardware issue since last month I got this:

That was with AOKP and Franco (earlier versions obviously)

I have google searched till my fingers bleed.

I am a long way form being an expert, and I suspect I may have overlooked something obvious.

Please, any thoughts??
[Samsung Galaxy Nexus] RogerPodacter:
Damn you definitely have a major issue and I don't know what it could be. But when my phone sleeps itstays dead flat with no awake bars, and drops 1% every 3 hours.
[Samsung Galaxy Nexus] derekwilkinson:
1. Calibrate battery

2. If you really wanna find the problem, install the rom with no mods or apps and run it and see if it still happens. Then add back each mod/app one at a time
[Samsung Galaxy Nexus] beren28:
While I appreciate your effort, this is remarkable unhelpful for the following reasons:

1. "calibrating" the battery is a myth and doesn't actually do something. Even if it did, it would not explain the symptoms I have described. I have been around xda long enough to know it is the knee-jerk reaction to any battery question, but it is not relevant here.

2. Since the problem occurs at random, and sometimes takes hours to show up, (For instance, last night I charged to full and tried to catch it happening. For 4 hours nothing happened, it behaved perfectly. Then I went to bed and it immediately started to fall and was dead by morning) and since I have over 100 apps, your suggestion could easily take *over a year* to follow. Believe me, I have thought about it, but I started this thread hoping for ideas that would allow me to avoid it.

Here is that chart for last night.

I had about 1 hour and 30 minutes screen on time with 65% left when I went to bed. When I woke up, phone was dead.
[Samsung Galaxy Nexus] beren28:
Mine often does that. But sometimes it doesn't. It is the fact that it happens seemingly at random that makes it so annoying and hard to track down.
[Samsung Galaxy Nexus] arw01:
I would replace the battery

One thing you haven't rulled out is that the battery itself is bad.

Have a friend you could swap with for a day, or at least long enough to see if the problem follows? If your battery drops on their phone that is also a good indication.
[Samsung Galaxy Nexus] beren28:
The thought has occurred to me, but unfortunately, no, I don't have a friend I can swap with. And really, since I have had the phone less than 3 months, the battery *shouldn't* be bad, but yeah, defective products happen.

If I cannot find any other cause I will likely order a new battery and see if that fixes it.
[Samsung Galaxy Nexus] derekwilkinson:
1. yes battery calibration does make a difference.

2. ok, so an app can't run a process at random? especially when you have "over 100 apps"? Run the rom stock and see if it still happens, or even run the stock rom/kernel. if you don't want to try this then why are you asking for suggestions? christ
[Samsung Galaxy Nexus] beren28:
You are incorrect. But, in any case, I DID calibrate the battery just to cover bases in the case that I was wrong.

We'll of course it can. That is kinda my point. If I go one app at a time waiting for it to "run a process at random" I am talking literally MONTHS of testing. I would have to wait many hours, if not days after installing or uninstalling an app to be sure whether or not it made a difference, then move on the the next. This is simply not an option. I started this thread in hopes that a realistic and doable solution might exist that I was unaware of.

I am asking because there may be a solution that I am unaware of that doesn't require me to put my entire life on hold for months. It is possible that there is no such solution, but I asked in case there was one.

Sorry to have put you out so much.
[Samsung Galaxy Nexus] skadebo:
You mentioned you recently installed exchange sync. Did turning off sync remedy this or have you not tried disabling all sync features?

One other thing to check is the background data usage of your apps. You'd find this under 'data usage' and make sure you enable the wifi tab so you can see data usage on wifi.
[Samsung Galaxy Nexus] xelasfx:
My battery also drains at a rate similar to yours however I'm on the CDMA version. Hopefully you can figure out what's going on with yours.
[Samsung Galaxy Nexus] RogerPodacter:
Battery calibration definitely does not make a difference on most phones. It all depends on what type of fuel gauge chip is used for that phone model. the gnex is hard coded and nothing you can do will change anything with the battery. So calibration attempts are futile due to our max17040 fuel gauge.

The nexus one had the ds2784 fuel gauge which did have a calibration mode buried in the chip that could be enabled with root. But it all depends on which device you have, most don't. So I love seeing blanket statements in all the android forums saying to calibrate your battery. Its so futile for 98% of devices out there. The fuel gauge does its thing, and nothing you can do to make it change or calibrate itself.

For example our nexus, it knows its voltage profile and full and empty voltage points, and those values are not changeable. Draining completely doesn't let it relearn anything. They're static and locked in the chip.
[Samsung Galaxy Nexus] spaceman860:
Have you tried http://xdaforums.com/showthread.php?t=1179809

[APP] [15 Mar. - V1.7.1] BetterBatteryStats adds battery history back to Android

Sent from my GNex {GSM} T-Mobile
[Samsung Galaxy Nexus] beren28:
Yes, I have that.

It tells me there are not partial or kernel wake locks.

The only thing that seems out of line is that light flow has more wakeups than seems right. I am currently experimenting with lightflow to see if that is the issue.
[Atrix 4G Q&A, Help & Troubleshooting] yonizaf:
I found myself more than once trying to answer a call with the power button. Obviously, it doesn't work, but the next time I still try it anyway. Somehow it seems natural to me that this is the way it's supposed to work.

Even more so is the case when I try to answer a call in direct sunlight, where the screen cannot be seen very well, and slide-to-answer is annoying.

Is there any way to make it so I'll be able to use the power button for call answering? (I'm using cm7 RC1).
[Samsung Galaxy Nexus] kichard:
Can I buy the actual glass piece and replace it? I'm not too scared to tear into my phone...
[Samsung Galaxy Nexus] @rbiter:
Gotta buy glass and digitizer. They're glued together on gnex. But yes you can do it yourself.

bow chicka wow wow.
[Samsung Galaxy Nexus] Emhalwis:
Its gonna cost you between $200-250 to get the screen.www.ifixit.com have a step by step guide on how to take the phone apart.

That's how I replaced my screen.
[HTC Sensation] DeoreDX:
Anyone else having this issue? My issue is pretty much spelled out in this post.

http://productforums.google.com/forum/#!category-topic/mobile/android-devices/kW1D7jt-DMw

My facebook login and my Google login are the same (my Gmail account, duh). And because of this it confuses the Picasa gallery tool when trying to retrieve the account information to upload photos and I get a "Failed to Retreive Account Information" error when trying to upload to Picasa. Really annoying and I've pretty much lived without Picasa the last 3 months using Facebook or Flickr instead. I haven't seen this issue posted about much around here, though it seems much more common on G Nexus forums. Surely I'm not the only Sensation user who has run into this bug?

From the other thread it's not just related to Facebook. Some users had issues with Linkdin. Others with Dropbox.
[HTC Sensation] Ngambek2003:
Sounds like you have similar issues I did (although mine was with Samsung Galaxy Note).

Here's what I did to fix it.

http://xdaforums.com/showthread.php?t=1652770
[Asus  Eee Pad Transformer Prime] punchup:
Have any of you noticed any strange behavior with wifi caused by using the dock?

My main issue may be partially caused by having multiple wifi routers. Without the dock it generally connects to the strongest single. With the dock it seems to connect to whatever it wants.

I can tell what it is connecting to by looking at the signal strength in wifi analyzer.

BTW, my wifi access points are all on the same SSID on different channels. This works fine with my other devices.
[Asus  Eee Pad Transformer Prime] Keion:
It's affect and no, I haven't seen any changes.
[Asus  Eee Pad Transformer Prime] punchup:
Thanks for the grammar tip bro. I updated my title.
[Asus  Eee Pad Transformer Prime] dabombcra:
I have not noticed any affect with wifi
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Latest Kernel mod -> Go Here

Based on 4.1.B.0.431 ICS 4.0.4 Kernel, features new CPU governors and autoroot.

Q. Who would benefit from this?

Those who want to stick to stock kernel for Official ICS (4.1.A.0.562), but would still want to get the benefits of init.d scripts, and native root access!

I personally feel ICS stock kernel is more battery friendly than Night-elf RC2 kernel.

Q. Features?

- init.d support (credits DooMLoRD for showing the way)

- ro.secure=0 (that is now adb has native root access!)

- clockworkmod 5.5 (credits Night-elf)

- no other changes to stock kernel :)

- zImage changes not possible as source is not available from SONY

Download

boot_ICS_plus_v5.img

Changes: Previous features +

1. Switched to Doomlord's arc ics recovery (better features)

2. Important bug-fixes. (Please update!)

boot_ICS_plus_v4.img

Changes: Previous features +

1. Perfect ADB connection in recovery.

2. Short vibrate on entering recovery added

boot_stock_ICS_initd_root_cwm_v3.img

Changes: Now restores stock WIFI modules (so you can directly flash from Night-elf kernel without losing WIFI!)

Those who are using v2 without problems do not need to update!

boot_stock_ICS_initd_root_cwm_v2.img

Changes: CWM 5.5, with ADB & USB mount (credits Night-elf)

Q. How to install?

Just as you install a custom kernel.

If no wifi, just delete "modules_version" and "modules_reversion" in "/system/lib/modules" and reboot

Steps:

1. Follow this guide to install official ICS + root

(Do not install CWM)

2. If you already have DooMLoRD/nAa CWM, go to /system/bin with any root explorer and delete recovery.tar and chargemon

3. Power down device and get into FASTBOOT MODE -> switch off device hold menu key & plugin usb. (LED notification turns BLUE)

4. check fastboot with "fastboot devices"

5. flash boot image

fastboot flash boot boot.img

6. Reboot with "fastboot reboot"

7. Enjoy!
[Sony Ericsson Xperia Neo, Pro] juninromualdo:
Very good work

when going to overclock, swap?

You can make a support for swap too?

Very thankful for this kernel
[Sony Ericsson Xperia Neo, Pro] Dkadr1:
Thanks a lot!! :):)
[Sony Ericsson Xperia Neo, Pro] Aamirx27:
Waiting For Dual-Boot Kernal :)
[Sony Ericsson Xperia Neo, Pro] victore88:
Battery is a bit issue on all ICS rom. But I almost get 80% off that in GB. 100% battery runs almost 1d 12hr+.

Currently on nightelf kernel. Will give the stock kernel a shot. Will report in a week.

Sent from my MT11i
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
dual boot with what :confused:
[Sony Ericsson Xperia Neo, Pro] Aamirx27:
Kernel That Supports Dual-Boot, So that we can Have Two or more OS's on our Device. Like ICS and WP7 or Meego.. :)

Dual-Boot just like in HTC and Samsung Devices. :)
[Sony Ericsson Xperia Neo, Pro] kueh9:
my wifi do not working :(
[Sony Ericsson Xperia Neo, Pro] kvroath:
yes, wifi not working. m using your kenel + your rom
[Sony Ericsson Xperia Neo, Pro] voyteckst:
If You were using Nightelf's kernel, You have to restore stock wifi modules.
[Sony Ericsson Xperia Neo, Pro] ssimmmo:
Can you use this on locked bootloader being plain thick here as its 7 in the morning lol
[Sony Ericsson Xperia Neo, Pro] emannxperia:
@shardul_seth

Thanks again!!

Keep up the good works..

p/s: waiting for more extra features..:D

sent from my digital typewriter
[Sony Ericsson Xperia Neo, Pro] kueh9:
how?
[Sony Ericsson Xperia Neo, Pro] satiros:
i believe that you should open overclocking features on your kernel!!!

keep up the good work
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
The latest ICS kernel source has not been released by Sony.. only then we can use the latest.

But till then, we can use Night-Elf kernel for OC..

I may make a stock wifi restore patch for Night-elf kernel, for those who want to try stock kernel after being on Night-elf
[Sony Ericsson Xperia Neo, Pro] satiros:
thank you

i would like to ask what is the improvemt over nightelf in power drainage

in simple how much more does it last in terms of battery????
[Sony Ericsson Xperia Neo, Pro] rolar50:
Thanks.

Download and wordink...

:D:D
[Sony Ericsson Xperia Neo, Pro] kvroath:
First, i was on GB, then i flash .562. Then flash your kernel and your rom. wifi go turning on all the time. -_-
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
go to wifi settings, press menu, click advanced, then choose wifi sleep policy.
[Sony Ericsson Xperia Neo, Pro] voyteckst:
@shardul_seth Can You include tun module in future version? I'm wondering if version compiled from nightelf's will work...
[Sony Ericsson Xperia Neo, Pro] victore88:
@shardul_seth: how to get the wifi back.!! Please post a solution soon.

Sent from my MT11i
[Sony Ericsson Xperia Neo, Pro] ehrans:
i realy need that wifi patch when commming for night-elf. or a "how to" restore original wifi modules without reflash the entire rom.

thanks
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Update v3

Updated to restore stock WiFi modules, so that this kernel can be flashed over Night-elf's kernel without losing WiFi..

Updated kernel in OP. Those who are using v2 kernel without issues do not need to update.
[Sony Ericsson Xperia Neo, Pro] noowb00:
I read about the dual-boot. Is it possible for us Sony users? I really want it to be possible :D

Sent from my MT11i using Forum Runner
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
No. It is not possible unless someone as talented as cotulla gets our phone :p
[Sony Ericsson Xperia Neo, Pro] emannxperia:
And again you amaze us..:D

Thanks!!!

Request: Can you add ext4 support? I always use link2sd..
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
ext support is already there.. please try and report!
[Sony Ericsson Xperia Neo, Pro] emannxperia:
Nope, not working. Mounting error, even in recovery..
[Sony Ericsson Xperia Neo, Pro] piku2008:
Really just installed this kernel with ICS smooth rom and its awesome ......

but one thing is there overclock feature in this modified kernel ......

rest is working fine .
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
No, waiting for ICS kernel sources
[Sony Ericsson Xperia Neo, Pro] piku2008:
Really with this modified stock kernel i am getting much more battery life then the ICS nightelf kernel ......

Hope to see other features in this stock kernel soon ..............
[Sony Ericsson Xperia Neo, Pro] joselovegym:
This kernel operates Xperia neo? You can do undercloking? I'm using Festa_JJ Rom. I would like to try it, it would be compatible?
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
If it is a stock based ROM it will work (it won't work on CM7 or CM9 ROM)
[Sony Ericsson Xperia Neo, Pro] Vabby:
Thanks For The FIX :D

I flashed my Neo V with Night-Elf's RC2 zram kernel and i found out that my WIFI never turned on, i got really scared then found you kernel fix and flashed it asap and boom and WIFI started running :D

Thanks

Please add Overclocking, in night-elf's kernel there was possiblity to overclock upto 1.8ghz but after i flashed this kernel, my CPU is fixed at 1024mhz so please enable overclocking to atleast 1.2 or 4 ghz :)

Thanks for great fix :D
[Sony Ericsson Xperia Neo, Pro] voyteckst:
Man, read first post or whole thread! It's rather not possible to add overclocking without sources.
[Sony Ericsson Xperia Neo, Pro] Vabby:
What is this happening?

Some people are unable to get WiFi after flashing your kernel over night-elf's kernel,

But its opposite for me :S i flashed night-elf's kernel and my Wifi never started however on flashing your v3 Kernel on my neo v the WiFi started..

Can anyone explain me about this? currently using customized ICS ROM on unlocked bootloader

Downloaded your ROM for testing :D

Thanks for the patch :D
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Original driver restoration was added in v3, the problem existed only till v2!
[Sony Ericsson Xperia Neo, Pro] 80187:
hi guys. i need your help with this. when i install "boot.img" on fastboot mode it gives the ff error on CMD:

C:\fastboot>fastboot flash boot boot.img

sending 'boot' (7298 KB)...

FAILED (remote: The Device must be rooted first)

finished. total time: 0.001s

i've followed the steps written above and i'm sure that my phone is already rooted. any help will be much appreciated. thanks in advance :)
[Sony Ericsson Xperia Neo, Pro] bluestricker_21:
To make sure you are rooted be sure you have superuser found in you're apps
[Sony Ericsson Xperia Neo, Pro] 80187:
yes. i can see it there... i dont know if i missed something but i'm sure i did followed the step by step procedure..
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Unlocked bootloader?
[Sony Ericsson Xperia Neo, Pro] 80187:
umm... haven't tried that yet.. i'll give it a try

---------- Post added at 11:22 AM ---------- Previous post was at 11:10 AM ----------

thanks for replying shardul_seth.. i'm just wondering are there any other ways that you can think of instead unlocking bootloader? thanks in advance..
[Sony Ericsson Xperia Neo, Pro] mpiekp:
Is your boatloadDr unlocked?
[Sony Ericsson Xperia Neo, Pro] 80187:
not yet.. im wondering if there's any other way to get through this without unlocking bootloader.. any ideas?
[Sony Ericsson Xperia Neo, Pro] mpiekp:
No, stock kernels only unless you unlock.

Kernel from 42, 62 or 562 only

Fastboot when it mentions root means unlocked bl, it cannot write Sony unsigned images
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Updated!

Updated to v4.

Download

See OP

Changes: Previous features +

1. Perfect ADB connection in recovery.

2. Short vibrate on entering recovery added
[Sony Ericsson Xperia Neo, Pro] Laughing Man:
Said on the Spaios v3 thread, but it doesnt work with Spacious v3, neither Spacious v2.

When system has finished installing, it reboots after the SONY screen, if you perform a data wipe after that, it bootloops again, but in the XPERIA Screen, thougth you'd wanna know.

I love'd the vibrating feature when booting :)

EDIT:

Tried again on ICS Stock Nordic with Root, and it worked, strange but im fine with it, you should know 2 xD

Dont worked with Spacoius ICS v2, got stuck on boot, twice.
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Updated, see OP. Fixed the boot-loop bug!
[Sony Ericsson Xperia Neo, Pro] SHIRI:
Hey Shardul, will your kernel work with AOSP polish blood?

Should i try even?

TNX
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Yes, it may work. No harm trying
[Sony Ericsson Xperia Neo, Pro] yankiedoo:
il try this kernel.. be back to comment
[Sony Ericsson Xperia Neo, Pro] Gulf War:
can I use one of these kernels for. 2.3.4 android?????????????
[Sony Ericsson Xperia Neo, Pro] noowb00:
It's for ICS. I don't think it'll work on Gingerbread.

Sent from my MT11i using Forum Runner
[Sony Ericsson Xperia Neo, Pro] senthilrameshjv:
Hi Shardul,

I am using ur spacious rom http://xdaforums.com/showthread.php?t=1603919. Can i use this kernel? Will data be lost?? IS OC supported?

TIA :)
[Sony Ericsson Xperia Neo, Pro] noowb00:
Read the first post. OC is not supported. About the compatibility, I have no idea but data won't get wiped if you change kernels.
[Sony Ericsson Xperia Neo, Pro] kuzenka:
KA20.1 Rom

did this kernel works for KA20.1 Rom ?

between this kernel and The Alliance kernel mod for ICS (V1.1),

which one is better and have a good battery life ?

can someone pls help me?
[Sony Ericsson Xperia Neo, Pro] antsel:
If I update this kernel from v3 to latest, do I have reinstall ROM (JJ's HYBRID ROM v3.1 Stable)?
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
No
[Sony Ericsson Xperia Neo, Pro] zerorated24:
HI! Sorry for the noobish question, actually I am one :D

But Can I use this on a stock ics 4.0.4ROM with locked bootloader?
[Sony Ericsson Xperia Neo, Pro] shardul_seth:
Please do not quote whole OP.. For locked bootloader, see here
[Sony Ericsson Xperia Neo, Pro] btiu:
I got confused..

How is this different with superstock ICS v3 when they're both made from stock kernel?

I just want to clarify. OP said Latest Kernel mod is superstock, so does that mean this thread is discontinued?
[Android Q&A, Help & Troubleshooting] flflfl:
Hey,

i studied the logcat from my defy and found some entries from "opprofdaemon". does anyone knows that "opprofdaemon" is?

thanks :)
[HTC Sensation] dr mcknight:
I was wondering how I will be getting my update, I have a debranded sensation, was virgin mobile. I am on rogers but I was thinking how will I get the update if rogers doesn't Carry this phone so I'm thinking they will not push the version for my phone? So how do I get it? I doubt ill get the virgin ota?:confused:
[HTC Sensation] ganeshp:
you are soff right?

you know for sure that virgin in your region rolling out ICS for sensation?

anyways here is the guide to debrand/rebrand

debrand/rebrand guide
[HTC Sensation] dr mcknight:
no, im stock other than debrand... i bought it second hand so im not 100%sure
[HTC Sensation] ganeshp:
just check the soff status on bootloader

(to go to bootloader first uncheck fastboot [settings->power->fastboot]

then switch off phone

then hold power + vol down button...it would take you to bootloader)

if in bootloader your device says soff then follow the guide ive linked to rebrand it...or change the brand to virgin

if not tell me your HBOOT version (it will be there at bootloader too)
[HTC Sensation] dr mcknight:
s-on hboot 1.18.0000