yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] Daniel.Stevens:
Hey ;0)

Just a quick question: I jumped from 4.8.3 to v5 and noticed a really high battery drain. Today I used the phone In my car for about 20 minutes while driving/charging and otherwise the screen was off the whole day. I started my day with 99% battery. Normally I would have a battery drain from about 2-3% per hour. Now I have 4,9% per hour and "Android OS" is at 58%...

Since I made a clean Install (format/wipe everything. Started completely new) with CNA 3.6.6 I´m not sure if it´s the Kernel or the Rom. I used the Rom before and my battery usage was never this high (even when playing something for two hours during the day without charging).

So I´m wondering if such a battery issue normally comes from "something going wrong" while flashing the Rom or if it has something to do with the Kernel. Should I flash everything again (clean) or should I just flash marmite 4.8.3 again ?

What´s the best bet for something like that: Rom or Kernel ?

Thx so much !
[Nexus S Android Development] CrackerTeg:
I'd say to let it settle over a couple of charge cycles. New stuff sometimes acts screwy.
[Nexus S Android Development] :
Here's a potential 413MB treat for people who read the thread!

non 4g non cm: http://d-h.st/Eta

non 4g cm based/stawberry: http://d-h.st/T5T

It may break camera/video recording, or playback. Or it may not. (It works fine for me on Slim Bean)

This one's is not likely to work on all ROMs, so it's not going up on the sheet. We'll make this our little secret heh heh ;)
[Nexus S Android Development] CrackerTeg:
That scares me a little.
[Nexus S Android Development] :
Have a look and see if Google Location & Search is enabled. If so, disable it. Problem solved? If not, disable Google Now. If still not solved, reboot. If still not solved, reboot to CWM wipe cache & dalvic and fix permissions. If still not solved, let me know. :)
[Nexus S Android Development] CrackerTeg:
No fancy names for it?
[Nexus S Android Development] :
reasonably_pleasant_kernel.zip or maybe cYborg_overloAd.ZiPPP

...could go either way. :p
[Nexus S Android Development] Daniel.Stevens:
Thx for the quick reply. Problem is: I´m using G Location&Search and Google now quite frequently ;0( I just restore my backup of cna 3.6.6. with marmite 4.8.3.. ;0)
[Nexus S Android Development] :
Those services use a lot of battery. It won't matter what kernel you use. Maybe you should try the one I just posted.
[Nexus S Android Development] CrackerTeg:
Yeah. Try the cyborg_overload_baby_punching kernel.
[Nexus S Android Development] Daniel.Stevens:
*lol* The cyborg overload one ? ;0)

Thing is: I never had that much battery drain (even with G Now and Location + Search) before, and never had such a high percentage at "Android OS"...

I just restore my backup for now... I could live with random reboots and freezes but I can´t go through 3 batteries each day (I actually need my phone to work/last a whole day) ;0) I´ll try it again next weekend (maybe even with the SlimRom) when I have time and some electric outlets in reach *lol*

CNA and marmite 4.8.3 work nearly perfect for me so other than the "I want the new stuff"-itch I have no reason to switch it up for now, except for testing and playing...

Thx ;0)
[Nexus S Android Development] :
More mainline patches already? I'll release a 3.0.46 version after some sleep.
[Nexus S Android Development] CrackerTeg:
bedalus, as hard as this is to believe coming from me, I actually had a random freeze while using google search. Tried pulling last_kmsg but no dice. All apps closed and the phone hasn't rebooted since flashing v5 approximately 24 hours ago. Haven't flashed anything since.

Actually, I did shut it down briefly about 6 hours prior to the freeze/ SOD as I was applying shielding to my GPS antenna. Trying anything I can to get my GPS to work. Ever since that fateful swim, it hasn't worked right no matter what I do. I digress.
[Nexus S Android Development] polobunny:
Quite_abit_of_ram.zip works too.

Daniel: Do you have lot of media files on your phone? I know for some people it will take HOURS for the media scanner to index everything on a new install and that will make it look like battery life is terrible. As crackerteg said, let it do its thing for a few days and it should settle.
[Nexus S Android Development] CrackerTeg:
Call me Z dude.
[Nexus S Android Development] Skyline969:
It seems to play well with v5 so far. I can't say much since I haven't had 2.7 and v5 for more than 16 hours, but so far so good.
[Nexus S Android Development] doc_v15:
Does thev5 work with JB 4.1.2??

Sent from my Nexus S
[Nexus S Android Development] pandaman21:
Yeah it works well with v5
[Nexus S Android Development] anshumandash:
Today after taking the phone off plug, I left it on idle for 3 hours. Then I checked battery and android os was at 54%. I don't use Google now and location is off. I mentioned this earlier that I tried enabling MTP. while it didn't work, is it possible that the commands I used are causing high android os usage? I never had the android os issue.

Sent from my Nexus S
[Nexus S Android Development] leap_ahead:
v5.0.1 414mb ram fc gallery ..
[Nexus S Android Development] Daniel.Stevens:
I did a clean install (format everything) and didn´t put anything back on the SD so far. All my Music is online (Google Play Music) all my Pictures are online (Picasa) and all my other stuff is online too (G-Drive) so nothing on the SD so far.

It seems that some other people have the "Android OS percentage is very high" so I´m staying on 4.8.3 for now. Will try the new SlimRom with v5 when I have the time ;0)
[Nexus S Android Development] Articudos:
No issues here, android OS percent is normal(10%,w/o screen on).

0% drained in 1.5hour.:):good:
[Nexus S Android Development] granets:
kernels for now, as I find your guide easy to follow and it's a good tool to get me up to speed with all the things I need to know. ROMs and other stuff are to follow. I find what devs do really compelling and would like to learn how to do it too, while I am still young (sort of)
[Nexus S Android Development] caliban2:
Can't confirm that (yet).

Viewing pictures, taking single-pic, burst-mode, recording/viewing videos - all working fine so far.

But I just updated rom & kernel, could take a few hours to crash...

EDIT:

Looking at your sig, your ROM looks not really trustworthy as a testing ground... ;)
[Nexus S Android Development] leap_ahead:
oh you are true ... but after record video i get fc ...like the old problem ...
[Nexus S Android Development] caliban2:
One more: you wrote 414mb - is that a typo or are you really getting an additional mb from your tweaks? (-> troubles)

Bedalus said it provides 413mb, and so it does on CM.
[Nexus S Android Development] BenHeng:
Kitten_destroyer_kernel is working fine on bb5 (i9023). Many thanks, I will find the time to "buy you a beer". :)

Envoyé depuis mon Nexus S avec Tapatalk
[Nexus S Android Development] :
Which ROM? Not everyone will be able to use those versions.
[Nexus S Android Development] :
Thanks, and I don't take donations, but you could always donate to krarvind (slim bean) for making MTP available.
[Nexus S Android Development] :
There's not much i can say without seeing a last_kmsg. It could be caused by the water damage, or if the shielding slipped and shorted something? It might be OS or kernel!
[Nexus S Android Development] leap_ahead:
rasbean rom ...Aosp ...
[Nexus S Android Development] Daniel.Stevens:
Just real quick: Flashed the new SlimRom with marmite v5 this morning. "Android OS" went down to 4% (from 58% with cna) right from the start. Google Now, Location&Search are activated. I think it really was Option 1: "Something went wrong while flashing the ROM" ;0)

Thx for all your help. Taking it for a "test drive" now...

P.s.: Argh... Just noticed 5.0.2... Flashing now *lol*

P.p.s.: First ! ;0)

Happy Birthday bedalus. And thank you for your great work !!!
[Nexus S Android Development] :
v5.0.2: http://goo.gl/HvUrp

-Merged in mainline v3.0.46

-Changed clocksource to MMIO

It's my 32nd birthday (2^5, sweet) and I'm off work for a week. My daughter shares MY birthday (she stole it!) so we'll be busy. Try and help each other and keep the thread friendly! Post any last_kmsges if you can, and I'll review them next week! :D
[Nexus S Android Development] leap_ahead:
Happy Birthday !!!!! thanks for all !!!
[Nexus S Android Development] alen1901:
Damn, i was just about brag v5.0.1, extra RAM is sweet, no problems on cna 3.6.6 with video playback and video capture . But now i have to flash 5.0.2 and hopefully brag that one too. ;))

Oh yea, happy birthday bedalus. Enjoy with your family. :)

EDIT: Oo noo, what did you do with extra RAM on 5.0.2? Its 407mb. I need it. 1 more app can be opened with that 413 RAM. :p

Sent from SpeedMachine i9023
[Nexus S Android Development] tchaari:
Happy Birthday old man :p

Are the extra Megs not compatible with the last clocksource change?
[Nexus S Android Development] KrisMurdrum:
Happy birthday to man! You are a year and a third younger than me O_o lol

At least you had the sense to get your degree when you were still young[er], I started this summer and my full time night shift job and taking care of my kids make things... interesting...

Carved into the void with my Magic Rune Stone
[Nexus S Android Development] :
I wish you the very best in your endeavours!
[Nexus S Android Development] :
I'm on the extra megs now :D I can upload the non 4g non cm version from my phone.
[Nexus S Android Development] caliban2:
No extra mem love for cm then... *sigh* :(

j/k, enjoy your birthday!!! ^^ Oh, I'm sorry - your daughter's birthday of course. Guess she's the princess, while you're just a lucky peasant today, hehe...
[Nexus S Android Development] :
http://d-h.st/RO9 (extra ram)

Sorry to cm users... But I'm having some time away from my build machine! Remember, v3.0.46 Linux mainline doesn't necessarily = better. It's mostly esoteric bug fixes. So feel free to stick with what you've got if it's working well.
[Nexus S Android Development] alen1901:
So this is exact like 5.0.2, only with more RAM? And non 4g/non cm?

Sent from SpeedMachine i9023
[Nexus S Android Development] CrackerTeg:
I know. It was odd though. It's definitely not the water. That has long been dried. And the shielding is sandwiched over the motherboard. There's no way that's slipping. It may have been a fluke freeze.
[Nexus S Android Development] :
Yes, that's the only change.
[Nexus S Android Development] sdhanjal15:
Does anybody have a link to the big men patch?
[Nexus S Android Development] leap_ahead:
http://d-h.st/E7i
[Nexus S Android Development] :
The patch is in the zip already
[Nexus S Android Development] sdhanjal15:
Oh..gallery keeps force closing.
[Nexus S Android Development] leap_ahead:
some rom cant handle it ...
[Nexus S Android Development] sdhanjal15:
Whatever. Didn't use it anyways.
[Nexus S Android Development] caliban2:
CM10 nightly seems to be among those who can handle 413 mb RAM just fine. :) Just did another camera/gallery-test after 4 hours (lots of multitasking) and no fc.
[Nexus S Android Development] jayjay3333:
Happy birthday. My daughter almost has the same as me. 20 days later than me. Cheers to us in our 30s...Although I'm closer to 40 now :eek:
[Nexus S Android Development] CrackerTeg:
Hurray for the 30's! I'll be 32 in three months.

Bed, happy birthday brother. Enjoy your day.
[Nexus S Android Development] niteh@wk:
Happy birthday to you and your little one bed! Mines coming up in a few days! Woot 35!! Go thirties :)
[Nexus S Android Development] alen1901:
Report: the only thing i noticed with 5.0.1(413mb RAM), after some time, i say half a day of phonevusing, YouTube just FC on startup. It works great for some time. Gallery, video watching, video recording is all working fine. I reinstalled YouTube and i will see if that happens again. If it does, i will try wipe cache and Fix perm. I will report back.

Sent from SpeedMachine i9023
[Nexus S Android Development] spider623:
Happy birth day even if i'm kind of late :P
[Nexus S Android Development] capoooro:
:beer:

I drink for you.... happy birthday
[Nexus S Android Development] towelboy:
Oh yes, Happy Birthday Bedalus! Have a nice one!
[Nexus S Android Development] hiphopboy:
Happy Birthday Bedalus! Maybe my mistake but build 5.0 and 5.0.2 not works on Codenameandroid 3.7.0 and Paranoidanroid 2.2.1
[Nexus S Android Development] spider623:
They are not cn compatible, the kernels work but cyanogen team broke butter in result of requiring unique versions give him some days, btw if you really want to see what and v5 series can really do try it with miui or rasbeanjelly
[Nexus S Android Development] deani77:
Currently I'm using PA 2.2.2 with v5.0.2 CM version and last time I use CNA 3.6.6 with nonCM version
[Nexus S Android Development] hiphopboy:
It's just 2.2.1 not 2.2.2, codename old version it still works with old kernel from marmite, i'm on All the other rom version of marmite kernel
[Nexus S Android Development] asphantix:
There's the android os bug again with the latest build. However the battery life is pretty amazing.

Happy birthday bedalus!
[Nexus S Android Development] atxbang56:
+1

Sent from my AwEsOmE Nexus S

Samsung Nexus S

Android 4.1.1 Jelly Bean

ROM : MIUI 2.9.28 by MIUI France

Kernel : AirKernel #224 (Deadline / SmartAssV2, 1.0 GHz)
[Nexus S Android Development] anshumandash:
Not every one is facing this android os issue. But I have it on all v5 versions. I was planning a clean flash of ROM & kernel, but can't do that in the next one week. I think I will have to live with it for sometime.

Sent from my Nexus S
[Nexus S Android Development] :
Thanks for all the birthday wishes! I turn 32 on Tuesday! But my holiday has begun with the weekend I suppose... Although I find it hard to leave XDA alone.

I see several people have reported Android OS bug is back. I have a new theory about this. It might just be the OS scanning media files after things have been wiped (which hopefully you all did when you updated to Android 4.1.2). Give it some time and see if it drops back down to normal levels. If this is indeed the case, it's possible that Google Now / Google Location & Search were never the cause! To confirm, anyone who is not having the Android OS bug, can you enable these and see if Android OS usage spikes?

In other news, I've been playing a lot of Asphalt 7 with smartassV2 and OC at 1.2GHz. I accidentally played it with my usual settings, ondemand 1GHz. This seemed smoother. I'm doing some benchmarks now (using chainfire's CF-Bench, which I love!) but I have to do lots of repetitions to get a reliable mean and standard deviation, because I'm comparing two scaling governors. If ondemand performs better, smartassV2 will be axed, because extra governors use resources even if they are not currently the active governor.
[Nexus S Android Development] caliban2:
Ugh! Before you axe smartassv2, please check with different settings. It's been a while ago, but I remember NfS Hot Pursuit being laggy with ondemand, while it's fine with smartassv2.
[Nexus S Android Development] anshumandash:
Noooooo please don't remove smartassV2 :D

Sent from my Nexus S
[Nexus S Android Development] :
You're right, I may just bump the default speed to 1.2GHz, then it can scale down if it has to.

EDIT: Yeah, that solved it. Next version will have

-Awake Ideal Freq. as 1200000Hz

-Ramp up step 0 Hz (automatically jumps to top available fq)

-Default ramp down 200000Hz

Doesn't matter that the ideal awake freq is higher than 1GHz (assuming you don't OC) it will still work as intended.
[Nexus S Android Development] Erythnul:
Happy birthday from me as well! Hope you enjoy it, and enjoy your holiday! You should spend some time away from us and with your family (even though we will miss you :P )

Anyway, as always, I'd like to urge anyone experiencing the Android OS "bug" (I think it's not a bug, probably it's just an indication of an underlying problem that's too complex to easily show in the simple battery stats) to install BetterBatteryStats and help figure out what's causing it. I think at least 95% of the time, it will not be a kernel problem (unless one of the testing versions breaks something). If you can't figure it out, as always, feel free to send me screenshots/info, see my signature for more info.
[Nexus S Android Development] asphantix:
isn't that just a myth that extra governors will use extra resources? I'm pretty sure the myth was already busted...

btw: Since reset the battery stats in CWM I've got 7% at android os. So all is OK now
[Nexus S Android Development] CrackerTeg:
We should get Kari from mythbusters involved.
[Nexus S Android Development] :
Just for fun i could build a kernel with hundreds of copies of smartass in it. See if it grinds!
[Nexus S Android Development] CrackerTeg:
Only if Kari grinds on it.
[Nexus S Android Development] bravo04:
My phone only got 8 hours life . I leaved my phone in about 75 % and when i awoke my battery only 4 % left.

When i checked, Android os is so high, and phone keep awake for 7 hours.. :(

Any suggest? I'm using marmite 5.
[Nexus S Android Development] Articudos:
Hmm...Using v5.0.2, Camera colour looks little bit strange,.. Or device lens is trolling..;)
[Nexus S Android Development] anshumandash:
If one governor must be removed why not remove ondemand & keep smartassv2. :D

Sent from my Nexus S
[Nexus S Android Development] polobunny:
Got a black screen while using Tapatalk to browse Marmite thread (ironic!)

Connect to computer, could adb and also ask for a reboot (which I did, to grab a last_kmsg)

Marmite v5

cm-10-20121011.0549-crespo

logcat:

http://pastebin.com/6zAi0wQ8

last_kmsg:

https://drive.google.com/0B3qECctHgezNdVBYemtrZ2E5b1U?authkey=CP-rwa8P

Leaning toward a ROM issue, would like if someone could confirm/agree :p

PVR mentionned though!
[Nexus S Android Development] gummie:
Its definitely the Google now, just enable my device and registered to use it then all of sudden after an Hour the Android OS usage just spiked at top using 33% of my CPU.
[Nexus S Android Development] lurtis:
Bwaaahahahhahaahhahahaa

Thanks for the laugh. Best post I seen on xdq in a looooong time
[Nexus S Android Development] blakmazk:
It isn't google now, i dont have gapps on my sexy, i never use any of the gapps, still i have about 35% of android os usage, it's killing my battery, not more than 8 hours of life, Bedalus, missing you ;) ...

Sent from my beloved Nexus S.
[Nexus S Android Development] :
Just posting this on behalf of someone who can't post here yet.
[Nexus S Android Development] Erythnul:
Great, thanks for the extra info! :)

Seems Android OS is definitely increased by Google Now/Location Services (and whatever other location stuff Google adds). However, at least in this case, they're right in stating that there's no issue. 21 hours of deep sleep, 1 hour screen on time and 1 hour awake time because of location/Google Now, with 50% battery left. Sounds fine to me for light usage :) As expected, Location services adds about 1 hour of awake time every 20-24 hours. That's really not that bad, considering how much the awake time drains :)

I also reveived this info by PM, so I'll investigate a little more (Wifi and GPS seem to be off, depending on circumstances this could improve or detract from battery life as well), but for now I'm sticking with "No issue." (Besides Google needing to implement proper battery drain stats for location/Google Now, so people won't get confused by this)
[Nexus S Android Development] CrackerTeg:
Well, that's the only way I'll accept any smartass grinding/ mythbusting.

Sorry for doing this bedalus:

Anyway, loving 5.0.2. Over 40 hours of uptime, good amount of free memory (about 180MB) the entire time, battery life is amazing and haven't experienced any problems thus far. Not a bad kernel for an old man. lol
[Nexus S Android Development] alen1901:
v5.0.2 with 413mb, no problems to report at all. :mad::cool:

Sent from SpeedMachine i9023
[Nexus S Android Development] Articudos:
Cfq/ondemand,no oc, marmite v5.0.2

Listening to music+ heavy web page like xda-developer Desktop page causes certain strange sound Just for a while.. This issue wasn't exist in stock 4.1.2 kernel.

Pretty impressive battery/colour, btw.

I'll do more test for camera colours as soon as I arrive home.
[Nexus S Android Development] polobunny:
Try disabling Voodoo sound stuff? =)
[Nexus S Android Development] Articudos:
Just uninstall it..?;)

Edit:just uninstalling+reboot didn't helped.

Edit: Unchecking everything didn't helped:/
[Nexus S Android Development] polobunny:
No, in Voodoo disable everything regarding to sound enhancements.

Anti-jitter, hi-fi play, hi-fi record and DAC direct mostly.
[Nexus S Android Development] :
If any wives come snooping around, nobody saw me here.

CM

http://d-h.st/n33

Non CM

http://d-h.st/x4B

may break video camera &| video playback. Ssssh...
[Nexus S Android Development] caliban2:
Somehow those smartass-settings look familiar... ^^
[Nexus S Android Development] :
If they are the ones you posted, i may have subconsciously stolen them. I'll happily give credit. :D
[Nexus S Android Development] caliban2:
*here stood some BS*

Btw, looks like Kali is very active these days, committing crespo-stuff like crazy: http://changelog.bbqdroid.org/#crespo/cm10/next

Just FYI. :)

EDIT:

O-M-G. Forget that blabla about the settings - they were mine. Totally forgot about the script from previous kernel. ^^ For my excuse: It's Monday. :o :p
[Nexus S Android Development] :
I got three questions right on university challenge tonight, so I'm pretty well for a Monday.

I've looked over the cyanogenmod kernel stuff, and the new stuff is bfq, which makes me vom. Although I'll eat my vom if anyone can prove it stands up to cfq. I can't personally do that test because my keyboard would soon be lodged with vom.
[Nexus S Android Development] caliban2:
:D
[Nexus S Android Development] capoooro:
I hope really to see you soon in Rome... for a beer .

I'm laughing for this tnx :)
[Nexus S Android Development] polobunny:
I was like, YAY NEW CRESPO STUFF

Then I checked the commits, saw bfq and went pretty much like you. :/
[Nexus S Android Development] BenHeng:
Doesn't break video camera&playback on my phone (i9023+bb5).

Once again: good work :)

Envoyé depuis mon Nexus S avec Tapatalk
[Nexus S Android Development] kwibis:
I've been running trinity kernel for a while because I was a huge fan. However it has no mods (bigmem/voodoo). Just flashed v5.0.2 and I'm blown away! I'm hooked. Though trinity colors are better :o

Sent from my Nexus S
[Nexus S Android Development] :
I'm still working on the colours. Try the version I posted on the previous page, the colours are getting better (still room for improvement)
[Nexus S Android Development] aladin6:
Bad chance for me, was trying to install marmite above ParanaoidAndroid 2.2 but i've had a black screen just after Google's logo :(
[Nexus S Android Development] deani77:
You are using CM Marmite?
[Nexus S Android Development] aladin6:
You have reason! PA is CM based, so I have to choose CM Marmite(not other ROMs) :rolleyes:! Well, that's late and I think that I have to sleep :eek:
[Nexus S Android Development] mustatir:
U must use not cm marmite for latest PA
[Nexus S Android Development] kiden:
Is anyone else having high Android OS issues with v5?

I've tried flashing back and forth with the same setup, and with v5 my android OS usage always shoots up! In CPU spy, I can see the phone doesn't go to deep sleep always and will be at 100mhz for quite some time. Like 20-40% as opposed to 6%-8% with v4.8.

Any Ideas? The Location setting and Google Now are both off.

Edit: Keep trying to attach the screenshots... but it wont work for me.
[Nexus S Android Development] neosynthesis:
5.0.2 missing etc/init.d anyone else?

hi there. i was on MIUI.US v4 2.09 with Marmite 5.0 running beautifully with init.d scropts. after full wipe, and flashing both an updated MIUI.US ROM and 5.0.2 at the same time, i lost my etc/init.d folder. obviously manually copying the scripts into manually created init.d didn't help (permissions were set properly). has anyone else experienced this?