yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Chintao:
I have Battery Problems and i don't know how to get rid of it!

I use nexus 5 cm 11 (ofc) but i have installed the PA Gapps.

I try to learn how to build android apps and for this i connected my device to my pc and wanted to run my app and see what the logcat is doing BUT the logcat is giving me endless massages with the Tag "DownloadManager" and as you can see in my Screenshots, that Media (which contains the DownloadManager) drains my Battery for most of the time!

can anyone tell me how to fix it?

Thanks for your help!
[Nexus 5 Original Android Development] jdh10475:
I was having that same issue even after a reboot it would come back. I did a clean install of the 29th and it cleared it up. Hope this helps.
[Nexus 5 Original Android Development] zimlokks:
Any idea why ram usage has gone thru the roof? Usually after 12 hours I would still have about 900mbs free but recently it's been in the lower 400's, maybe it's on my half and maybe it's time for a full data wipe, either way data wipe it is!
[Nexus 5 Original Android Development] Ulver:
Its an issue at the moment. A full wipe isn't going to help.
[Nexus 5 Original Android Development] detdett:
I never have that issue
[Nexus 5 Original Android Development] Ulver:
You're lucky.
[Nexus 5 Original Android Development] zimlokks:
It didn't help but I have a philosophy about wiping every month, so it was time anyways, could it be that the switch to a CAF kernel from a AOSP kernel could the culprit? I mean CM made the switch then problems started, maybe the kernel is having some sort of memory leaks? I don't know I'm not a very intelligent person but I use what I know when I have to.
[Nexus 5 Original Android Development] Scotty_Two:
I had that issue a long time ago. Download manager was constantly pinging a Google server nonstop, and the odd thing is that it would only do it over WiFi (as it looks like your data is doing the same thing from the looks of your status bar). I tried a few different things from wiping the caches to clearing the app data from Download manager but nothing worked. The only thing that did fix it was a full wipe.
[Nexus 5 Original Android Development] Ok_Kaleidoscope5109:
you stalk me on every thread!!!!! I conclude Franco must be working with the NSA.
[Nexus 5 Original Android Development] dannyella:
I also have an issue with battery reporting but different from yours.. I've been on my phone for hours and tells me xx minutes in battery..
[Nexus 5 Original Android Development] Boonyard:
I have an issue. The phone number that appears in the phone information is not correct, which means I can't use my banking app. Anyway I can change it?
[Nexus 5 Original Android Development] j3di:
Open phone dialler/Settings/additional settings/my phone number

You can edit it there.
[Nexus 5 Original Android Development] yabadabadooo:
Guys im on purity but im missing profiles... Are there options to change the height of the Nav bar in cm and to Center the clock?

Cheers

sent from far away..
[Nexus 5 Original Android Development] Ulver:
Nope. I suppose you can use gravity box for that though.
[Nexus 5 Original Android Development] lowrider82:
Guys after a few hours the phone is on I think memory management is not great and even with all apps removed through the built in task manager, i am left with just 250-300mb of free memory. This causes some annoying issues such as nova launcher to sort of restart itself...making all icons/widgets invisible for a few seconds when i go to home, and other slow downs. Anyone else noticed this? Any way to fix? I'm using the original kernel of cm11 so no change there.

Sent from my Nexus 5
[Nexus 5 Original Android Development] aldyu:
I can confirm the memory leak. My phone is running for 32 hours and it's ~500Mb free.
[Nexus 5 Original Android Development] ssauger:
I am back on the nightly from 25. This seems fixed the issue with low memory for me, after 23h 900-1000 MB free. There where some kernel changes after this nightly, maybe thats the reason for the mem problem.
[Nexus 5 Original Android Development] kleverfarias:
Mine has only 150mb free... And I don't know if is coincidence but every time that happens the screen flickers and I have to reboot...

Enviado de meu Nexus 5 usando o Tapatalk 2
[Nexus 5 Original Android Development] lowrider82:
Sauger can you link the version of the 25th?

Sent from my Nexus 5
[Nexus 5 Original Android Development] j3di:
I logged Freemem over a 24hr period. The peaks in the graph are after a reboot or clearing recent apps..

http://www.chartgo.com/share.do?id=f9a47b28aa

This memory leak was while running nightly 0131
[Nexus 5 Original Android Development] ssauger:
I upload it to mega atm. Its done in 40 mins, got poor upload here.

Edit: here you can get cm-11-20140125-NIGHTLY-hammerhead.zip
[Nexus 5 Original Android Development] Mr_Comple:
Running the 27th for a couple of days.no memory leaks.just to know guys..!

EDIT: I mean the 26th nightly. I was wrong.excuse me for any confusion

sent from a real nexus device
[Nexus 5 Original Android Development] Chris123NT:
Really? The 27th build was the first one with all the new kernel commits that Steve merged, and that's right around when this all started.
[Nexus 5 Original Android Development] dannyella:
What exactly does lte toggle do? .. Doesn't seem to do anything when i click on it..
[Nexus 5 Original Android Development] zcrugby:
Yea seeing those ram issues now with the 1/31 build. Flashing 2/1 now
[Nexus 5 Original Android Development] MaxRabbit:
Field report from 1/31 on stock after a full wipe and TiBu restore:

The Good

-Things seem pretty smooth before RAM bug hits.

-Zero issues with bluetooth in two cars and with headset.

-Live LED color picker is super cool. Thanks Sam3000.

-With location services disabled, overnight battery drain for 10 hours was 0.8%/hour. Pretty good, but not as good as Franco's of course (I was getting 0.3%/hour over a 10 hr period).

The Bad

-RAM leak is real. I initially scoffed at the people talking about how little RAM they had left, but this morning after not rebooting for 14 hours, my launcher suddenly kept reloading all icons. I went into the RAM settings menu and, sure enough, only 100mb free. I kept using it for a few minutes and the entire phone slowed to a crawl until I rebooted it. After several hours of use since the reboot, there is still 800 mb free, so I don't know what triggered the rather rapid leak.

-Location setting quick toggle is nonfunctional. Don't know what caused that. Edit: this bug suddenly resolved itself.
[Nexus 5 Original Android Development] Conte Mascetti:
This new thing doesn't work in Maguro :(
[Nexus 5 Original Android Development] sam3000:
Please pm me with details of what does / does not work with light picker.
[Nexus 5 Original Android Development] dannyella:
Does the non-caf thingy to install franco kernel still work?
[Nexus 5 Original Android Development] Tikerz:
Yeah
[Nexus 5 Original Android Development] GuestK00150:
that's great, thank you

with what name will it be submitted to gerrit? so I can watch out for the change ;)
[Nexus 5 Original Android Development] bland.life:
Theres this change in the 20-12 build:

dalvik: Use Bionic's memmove on cortex-a15

Is this the Moto X optimized dalvik patch?
[Nexus 5 Original Android Development] Mark ter Grote:
can someone help me out?

i would like to have my agenda on unlock screen but maximized... (i know you can do this)

but when you maximize your widgets you have to tap twice to unlock... i just want that my phone unlocks in once while i can see my aganda

is that possible?
[Nexus 5 Original Android Development] Michealtbh:
Hold the unlock button
[Nexus 5 Original Android Development] Mark ter Grote:
exactly what i menth .... thnx bro...
[Nexus 5 Original Android Development] aldyu:
Don't think so, the moto x one was merged a long time ago.
[Nexus 5 Original Android Development] bland.life:
Is that so? I never knew as I wasn't following :P

Was still religiously flashing the zip.
[Nexus 5 Original Android Development] Chris123NT:
Wow, judging by this thread CM is pretty crappy on the nexus 5 huh?

Do the BT wakelocks happen with franco's kernel? I use BT a LOT, plus I'm curious about the whole call quality issue that people have mentioned. Is it a quality issue or a volume issue? I should have my nexus 5 later this week, finally freeing myself from the dungeon otherwise known as verizon wireless.
[Nexus 5 Original Android Development] deadneon:
If I saw correctly in the changelog DT2S is available now (SystemUI: Add double tap to sleep gesture). So how can I enable it and is DT2W available too?
[Nexus 5 Original Android Development] inffy:
It for lg g2 only at the moment
[Nexus 5 Original Android Development] deadneon:
But it says it's for the hammerhead version (Nexus 5) so wtf ?!...
[Nexus 5 Original Android Development] wera750:
They haven't merged the universal settings for knock knock. I don't see them in gerrit either.
[Nexus 5 Original Android Development] Chris123NT:
BTW, this commit is probably responsible for the CPU frequency issues people are having. Try reverting it and see if it resolves itself.

https://github.com/CyanogenMod/andr...mmit/2d50a1cebcd59ef58f9eef4a830796cb01782219

Either that or it's the CM defconfig doing it which wouldn't surprise me.
[Nexus 5 Original Android Development] bigant262:
Anyone know where the Messaging app is located? I believe its in the gapps package now, but I can't find it in there, did the name change?
[Nexus 5 Original Android Development] Mr_Comple:
Maybe in system /priv-apps..?

sent from a real nexus device
[Nexus 5 Original Android Development] kellybrf:
No, it's just fine as a daily driver they're simply working out a few kinks. I'm connected to bt 100% of the time and while I do have the wakelocks, my battery with Franco after 13h at work is usually 40%+.
[Nexus 5 Original Android Development] wera750:
Can we enable knock knock over sysfs?
[Nexus 5 Original Android Development] Chris123NT:
Those wakelocks only occur when actually connected to BT or does it happen from simply having BT turned on?
[Nexus 5 Original Android Development] spotdog14:
Does anyone know where I can get the dialer that has the local business lookup?
[Nexus 5 Original Android Development] kellybrf:
ive got a pebble, so im always connected.

http://www.androidpolice.com/2013/1...ll-it-manually-on-other-kitkat-roms-download/
[Nexus 5 Original Android Development] dannyella:
do u use it?
[Nexus 5 Original Android Development] plmaniek:
Ok anybody have problem with dpi? Cm always Change it to the 480dpi and everything is sooo big. I can Change it but i must do it always when I Flash new nightly. Any idea

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Original Android Development] MaxRabbit:
I'm using it to use Franco's kernel. Works great!
[Nexus 5 Original Android Development] lp1527:
Out-of-focus video camera

Anyone having issues with video camera out-of-focus?

Sorry if already addressed but I could not find anything via search...
[Nexus 5 Original Android Development] Jsparta26:
If anyone is interested neobuddy89 has went CAF exclusive for kernel developing and has a working custom cm kernel going. If you go over to his thread just click on the link on his signature. I'm running it right now and works great. :)
[Nexus 5 Original Android Development] lowrider82:
Is the mem leak fixed yet?

Sent from my Nexus 5
[Nexus 5 Original Android Development] jdh10475:
I don't think so. I'm running the 31st and I have it, I actually didn't believe it at first but I saw the light.
[Nexus 5 Original Android Development] Chris123NT:
Wonder if he can pin down the cause of this memory leak. I reset the CM kernel and device tree to before steve did the caf merge and that seems to have fixed it for me so it's definitely something in that batch of commits (and it's a very large batch).
[Nexus 5 Original Android Development] lowrider82:
Back on cm 25th until it's fixed...

Sent from my Nexus 5
[Nexus 5 Original Android Development] crford:
Had to drop back from 2/1 to 1/31 because I was getting FCs every time I tried to send a picture MMS. Didn't grab a logcat because I was in a hurry to send the picture. Can try to reproduce later if no one else is having the issue.
[Nexus 5 Original Android Development] Mistar Muffin:
This is what mine looks like after my phone is connected to my car via Bluetooth. If I tap on android OS it shows how many hours it has kept the phone awake. It always coincides with me getting out of my car. There's something not disconnecting right with BT that causes android OS to keep the phone awake until I reboot. I made a post about it a few pages back. Not saying for sure that's your problem but that's exactly what my battery stats look like after I get out of my car. I leave BT off now to avoid the problem.

Also, I noticed the mem issue for the first time yesterday. I'm on 1/27. Gallery kept closing on me. Not fc...it just went away. The back button became unresponsive or very delayed. A file copy in es file explorer was slow and would not complete. The program kept being killed by the OS. I remembered reading about this sort of thing in the thread so I checked and had only 200mb free. A reboot fixed it and my file copy finished on the first try.
[Nexus 5 Original Android Development] spectre85:
Can someone link me the 25th Nightly, i'm having all kinds of issues with the recently build and looks like the 25th is the one to go with.

Cyanogenmod site doesn't have the 25th, most semi recent is the 27th....

Thanks
[Nexus 5 Original Android Development] lowrider82:
Check a few posts back, a kind soul uploaded it on mega. Remember to thank them.

Sent from my Nexus 5
[Nexus 5 Original Android Development] dannyella:
How is the 01/02 nightly.. People are complaing of bootloops.. Not our devices tho..
[Nexus 5 Original Android Development] wesley1966:
Still got You Tube issues. Wiped app data and cache but content hangs or plays in 5 second blocks with still image.
[Nexus 5 Original Android Development] DrunkFuX666:
Does his kernel have the memory leak...?? Thinking maybe you been using it long enough now to be able to know for sure...

Also think you can post the link in a post... On tapatalk signatures arnt visible... Thanks

Sent from my Nexus 5
[Nexus 5 Original Android Development] Mr_Comple:
Hello..!

Sorry if it has been reported before but my minimum CPU frequency doesnt stick.

I choose 300mhz and after some time bumps up to 1728mhz with no reazon

completely stock. running the 26th nightly. just before the crazy kernel commits :P
[Nexus 5 Original Android Development] mo976:
It seems to have come in after our build because I had bootloops on my Nexus 4 and HTC One S.
[Nexus 5 Original Android Development] aldyu:
Todays build is fine, I think it's the Feb 1 build that is broken by other devices such as mako.
[Nexus 5 Original Android Development] ghismo83:
With last update i can't use xposed installer and his framework..any idea?
[Nexus 5 Original Android Development] lowrider82:
What about the mem leaks? Can you confirm those are gone as well?

Sent from my Nexus 5
[Nexus 5 Original Android Development] legsim:
The mem leak is still there in today's build.

By the way, I noticed a few weeks ago that transitions seem choppy : they play in two times. You can see the fading start, then hang for a half second and ultimately finish.

It is very noticeable in "Settings > Home". The "Trebuchet" option comes in two times. The same behavior applies for lock screen, display & lights, etc.

Is my install faulty or anyone else got this too ?

Thank you !
[Nexus 5 Original Android Development] dannyella:
Anyine had any random reboot yet on 02/02 nightly?
[Nexus 5 Original Android Development] king123321:
I've tried stock CM 11 since the first build.. it seems the latest builds the launcher keeps crush alot... I returned to stock but I really love CM cuz the Vibration is stronger and stuff
[Nexus 5 Original Android Development] MaxRabbit:
Just an update on my field report from 1/31, I installed the non-CAF mod and am running Franco's kernel. Everything is rock stable under that setup and my battery went from 100% to 96% after 10 hours overnight. I recommend it as a good alternative until the memory leaks are fixed.
[Nexus 5 Original Android Development] patsmike:
Could you please link to the non-CAF mod? I haven't been able to find it. Thanks!
[Nexus 5 Original Android Development] dannyella:
Can anyone try long press back to kill an app and see if it causes random reboot...?
[Nexus 5 Original Android Development] :
No reboot for me.
[Nexus 5 Original Android Development] dannyella:
Do u use xposed framework? If yes what modules do u have..? I'm thinking my reboot is xposed-related

Edit: it was xuimod causing issues with longpress back to kill app. Disabled it and no reboots
[Nexus 5 Original Android Development] kundica:
What about sound? I installed it and my audio control day always at max.
[Nexus 5 Original Android Development] zimlokks:
[MENTION=4405044]patsmike[/MENTION] http://xdaforums.com/showthread.php?p=49822958
[Nexus 5 Original Android Development] fasolka:
Where battery life with cm kernel is so poor? If I don't touch my nexus I lose 2% per hour maybe more.

Wifi on

GPS on

Sync on
[Nexus 5 Original Android Development] dannyella:
Anyone here using ART? Any issues with it? Is it worth giving up xposed functionality?
[Nexus 5 Original Android Development] Savant:
Try finding the apps that are draining your battery and creating wake locks. Use better battery stats to find out.
[Nexus 5 Original Android Development] detdett:
Why do you have GPS on? Only turn it on when you need it...
[Nexus 5 Original Android Development] SamEkinci:
Anyone else having issues with video playback under YouTube and hulu+? I can hear sound but only shows black screen, only remedy is to keep trying to play a new video until it decides to work.

Both mine and my wife's nexus is affected by this.
[Nexus 5 Original Android Development] Michealtbh:
GPS is never used unless an app calls it, which doesn't happen very often. Leaving it enabled doesn't mean it's being constantly used.
[Nexus 5 Original Android Development] detdett:
it depends on which app you're referring to. If you go to privacy guard and check individual app, it will show when "location" was last used per app.
[Nexus 5 Original Android Development] weaksauce1:
Any improvements on 02/02 build? RAM utilization? Reboots?

I'm close to my bandwidth limit and trying to hold off from downloading.

Thanks
[Nexus 5 Original Android Development] Circaflex:
look into an free app called cyandelta from the market, it will help in your case.

If you dont understand what it does heres a quick rundown, it downloads a delta file which is essential just the updated parts of the rom which means its a very small file, when i used it the typical nightly would only be 10-14MB of changes.
[Nexus 5 Original Android Development] detdett:
The nightly for 0202 is 6mb
[Nexus 5 Original Android Development] fasolka:
It is look like this.
[Nexus 5 Original Android Development] TheBenz:
How about the sound issues? I tried with Linaro Kernel as well and media and notification sounds where 100% all time... so I came back to stock CM kernel ...
[Nexus 5 Original Android Development] weaksauce1:
Thanks. Will look into this.

Quick question: Can you still clean install with this app? I wipe 99% of the time, including system.
[Nexus 5 Original Android Development] detdett:
There's no need to use the app if you clean install all the time. The app is useful for people who want to keep everything but still want to enjoy the benefit of incremental updates.
[Nexus 5 Original Android Development] Circaflex:
c00lst0ry but the guy who asked the question got the idea.

to the original question no you cant do a clean install with it but there is no point really, and the whole clean vs dirty has been done to death the creator of CM even states you dont need to "clean" install ever when updating CM.
[Nexus 5 Original Android Development] q1t1:
A reboot fixes it
[Nexus 5 Original Android Development] SamEkinci:
Unfortunately reboot often doesn't solve the problem. Only thing that solves it for me is to keep trying to watch different videos until it works. Sometimes works after two tries sometimes after 10.

It happens randomly, sometimes goes on without a problem for hours than happens. Perhaps memory related?
[Nexus 5 Original Android Development] Chris123NT:
Try Franco's latest r33 test kernel to fix that issue.
[Nexus 5 Original Android Development] crford:
Upgraded to 2/2 and still can't send MMS messages. Grabbed a logcat and found this.

E/AndroidRuntime( 9656): FATAL EXCEPTION: main^M
E/AndroidRuntime( 9656): Process: com.android.mms, PID: 9656^M
E/AndroidRuntime( 9656): java.lang.NullPointerException: WorkingMessage.send MMS sending failure. mms_config.xml is missing uaProfUrl setting. uaProfUrl is required for MMS service, but can be absent for SMS.^M

Looking for the mms_config.xml and can't find it. Anyone know where it should live?
[Nexus 5 Original Android Development] Chris123NT:
Here's what broke it:

https://github.com/CyanogenMod/android_vendor_cm/commit/6f5758c9c33d1be82f76e32a8d83b427204436d1

and that mms config is contained within Mms.apk
[Nexus 5 Original Android Development] kundica:
Okay. I tried r32. Thanks for the info!
[Nexus 5 Original Android Development] MaxRabbit:
What does your alarms menu say?

---------- Post added at 10:39 PM ---------- Previous post was at 10:36 PM ----------

No sound issues on Franco's kernel.
[Nexus 5 Original Android Development] crford:
Right on. I found it after the coffee kicked in. I think I'll just stay at 1/31 until it gets straightened out. Don't feel like tinkering every time I update.
[Nexus 5 Original Android Development] Savant:
It looks like bunch of your apps are creating a wake lock because that's what happens when a bunch of little ones become bigger ones.
[Nexus 5 Original Android Development] km00000:
So I recently just got my Nexus 5. I have been having two issues.

1) GEL does not stay in the memory. If I open an app and then a few minutes later I press the home button GEL has to load from the start. Just a little annoying. Seeing how such a device has memory problems.

2) Gmail isn't syncing properly. I mark something as read and 5 minutes later, my computer still doesn't know that email is read. Same thing happens the other way around. Mark something read on computer and my phone thinks it is still unread.
[Nexus 5 Original Android Development] Jsparta26:
I'm just curious, you couldve just installed a different MMS apk and you would've been good instead of reverting back to 1/31. Totally your prerogative :)
[Nexus 5 Original Android Development] kundica:
Didn't work for me. Still have max audio with r33.
[Nexus 5 Original Android Development] lowrider82:
If you read the past few pages you will realise that the latest cm releases post jan 25th have a mem leak bug. That's why you get 1.

If you want the version of the 25th check a few pages back, someone linked it on mega.

I don't know about your 2nd point as I use k9 mail for all my mailboxes and it works fine

.

Sent from my Nexus 5

---------- Post added at 01:23 AM ---------- Previous post was at 01:21 AM ----------

Guys has anyone tester release 2/2?mem leak still there?

Sent from my Nexus 5
[Nexus 5 Original Android Development] ghismo83:
any alternative Way to resize navbar without xposed?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] detdett:
Yes, if you use another rom
[Nexus 5 Original Android Development] km00000:
It still seems like there is a memory leak. Still having the problem on 2/2.

As for Gmail I think it might be a problem with my account. Seems like my old GS3 is having problems as well with syncing with Gmail.

Might be a bug with Gmail app...?
[Nexus 5 Original Android Development] A-FrenZy:
1% for 6 hrs last night

For me.
[Nexus 5 Original Android Development] Jsparta26:
Hey guys. I am aware of this ram memory leak. With that said I think I have a temporary solution. If you set your min frees to exterminate that should help. Here's a screenie to show what I mean .