yashsingh1/xdaforums huggingface dataset:
[G 2014 Original Android Development] ealejandr0:
No, doze was working two nights ago. Now my phone isn't even entering regular deep sleep state. How do I get kernel wakelocks? Yes, Google and Google services have the most wakelock times but even those only sum up to about 30 minutes of wakelock and according to WLD there were 12 hours of wakelocks in the last 19 hours.

Two days ago WLD was showing that my phone was getting wakelocks only 6% of time(back when doze was working and my phone was sleeping properly).

I didn't update, no OTAs or anything.
[G 2014 Original Android Development] monojp:
I see, thx for clearing that up, I'm a little sleepy today :)

Well, I don't really want to clutter up the thread but since you already have those nice stats I think it would be best to post them all again. You can change the type in wld by tapping at the CPU icon in the right top corner. Maybe we can solve your deep sleep issue. My device is working fine (~10% awake, latest build)
[G 2014 Original Android Development] H@wK11:
[MENTION=5075128]LuK1337[/MENTION] please solve this :(
[G 2014 Original Android Development] ealejandr0:
WLD wasn't showing anything more(tapping on the CPU icon only brought up screen wakelocks and another option, can't remember what it said)

For the time being I flashed stock again, I grabbed a logcat before doing it though.

If anyone wants to take look(I don't know if there's anything useful here) here it is: https://drive.google.com/open?id=0B2vTIeHKU3ouSVkwS1IyZXJRVUk

Also, if the devs want to take a look at the issue I'm willing to flash CM13 again and help them out as much as possible. :)
[G 2014 Original Android Development] nikunj.baheti@gmail.com:
[MENTION=5075128]LuK1337[/MENTION] I have installed better battery stats and the logcat is attached below
[G 2014 Original Android Development] luke!:
After too many hours of swearing against every kind of living being on earth, I "sorted out" the battery drain issue. Luk1337 and luca020400, I know you'll make fool of me while reading this xD

I used cm 13 for two weeks without gapps and everything was fine. 3 days ago I've had the brilliant idea of flashing "opengapps" and the battery drain started... In BBS I didn't find any signs of evident power consumption by the gapps (and related services) but about 12 hours ago, through "Privacy Guard", I prevented "Google play services " from "keeping the device active". Since then the phone has been entering deep sleep mode without problems.

The fact that doze mode appears active while the phone isn't in deep sleep still puzzles me.
[G 2014 Original Android Development] skaveelicious:
Doze as per BBS naming has 3 states:

Doze interactive: aka Doze off (apps interact, do their syncing stuff and NW access when and how they please)

Doze idling: 1st set of app restrictions (NW access restrictions)

Doze idle: 2nd set of restrictions (+ NW/WiFi scans, GPS, etc)

Doze modes and deep sleep are partially different things. Deep sleep is a state where many hardware components are shut down or moved into a very low power state.

Doze is more like software state where apps get blocked from waking up the device. After a fixed amount of time the device will exit Doze and therefore deep sleep, allowing all apps that require it to do their thing. Then the device will head back into deep sleep. This is where battery saving kicks in because waking the device continuously requires more battery than doing all at once and sleep longer.

So to wrap it up, doze states times do not have to be the same as deep sleep, because a moving phone wont doze the apps (Google decision) but still enter deep sleep.
[G 2014 Original Android Development] luke!:
First of all, thank you for the clear answer.

yeah, I got that, the weird thing that I was referring to is when you get more time spent in doze mode than in deep sleep using airplane mode. Can doze mode prevent the phone from entering deep sleep somehow? Maybe something related to the use of the sensors that in BBS seem to be active for long periods of time?

Thanks again for your time.
[G 2014 Original Android Development] apx@dwx:
thats exactly how anybody can find his cause for wakelocks. just look at this settings which app/service keep the device active and deny his rights to do this.
[G 2014 Original Android Development] luke!:
In BBS there were no weird wakelocks, the phone simply didn't enter deep sleep mode.
[G 2014 Original Android Development] H@wK11:
Lol my battery draing 1% in 1 min wtf?? ?
[G 2014 Original Android Development] luca020400:
Just to know

Who has battery drain also has adaway installed ?
[G 2014 Original Android Development] ealejandr0:
I didn't have the app installed but I did use it to change the hosts file. That I installed it let it do its thing and then removed it.
[G 2014 Original Android Development] luca020400:
So I'm almost sure that's your problem

Restore original hosts file with adaway
[G 2014 Original Android Development] H@wK11:
No. I dont have removed.
[G 2014 Original Android Development] luca020400:
Did you ever run it ?

If so restore orignal hosts file with adaway
[G 2014 Original Android Development] ealejandr0:
I will try that, I'm assuming the phone tries to connect somewhere, gets redirected to localhost and just keeps trying forever?(hence causing the battery drain)
[G 2014 Original Android Development] luca020400:
Google play services try to connect to Google ads server and failing we have a wonderful loop ;)
[G 2014 Original Android Development] H@wK11:
But i m not using adway app since 2 feb on that nightly that time battery was good no issues. And now i am Facing battery drain issue on latest build same on last build :confused:
[G 2014 Original Android Development] ealejandr0:
F'ing Google, will report back tomorrow.

Also, can you take a look at the lockscreen profile options? The "don't ask for pin or password" option doesn't work for me(my phone will still ask for my pin) but the "don't show lockscreen" works as intended
[G 2014 Original Android Development] Danilo-Sanchez:
Are there any other ways to block ads without adaway and without battery drain?
[G 2014 Original Android Development] BealeStBluesBoy:
Standard hosts file doesn't stop the battery drain
[G 2014 Original Android Development] doppelhelix:
Well, would be nice, if that where the culprit. But for me there's no deep sleep even after a clean install without gapps.

P.S. Besides, adaway has a build in webserver exactly for that purpose.
[G 2014 Original Android Development] luke!:
I have adaway installed but the battery is performing well after this: http://xdaforums.com/showpost.php?p=65777482&postcount=3716

So the problem is related to google services but not to adaway, am i wrong?
[G 2014 Original Android Development] luca020400:
It is related to ad away since Google play services cannot reach ad server keeping device awake
[G 2014 Original Android Development] Danilo-Sanchez:
So, any ad block will cause this?
[G 2014 Original Android Development] luca020400:
Every ad block that block Google ad sever ( so in app ads )

But you can use local webserver in adaway , I don't know how it works
[G 2014 Original Android Development] Somebod y:
Same here, thank you luke! [MENTION=3338000]Danilo Sanchez: Another way to block ads is MinMinGuard
[G 2014 Original Android Development] LuK1337:
fastboot oem off-mode-charge 0
[G 2014 Original Android Development] Danilo-Sanchez:
Does this change anything on CM?

https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-MPB24.65-34
[G 2014 Original Android Development] luca020400:
No
[G 2014 Original Android Development] skaveelicious:
I don't know how exactly BBS gets the data but as I said doze is just an state for apps where data connection and co. Is restricted. Sensors under others is because of the significant motion sensor which has to be active (in low power mode) to activate/deactivate doze mode.
[G 2014 Original Android Development] ealejandr0:
Huh, tried to flash the latest nightly and after rebooting I got "com.android.phone has stopped" over and over rendering my phone useless(maybe that happens because I flashed the 5.0.2 modem files?)
[G 2014 Original Android Development] kevin_ol:
I have Adaway installed with no custom sources, Google App has been granted every permission besides "Drag on top" and so has Play Services and I have no drains. Although I hardly ever have a high SOT, I can use my phone for the whole day 6/7 days in a week, and I always have either WiFi or mobile data turned on.

I even tested it about a week ago and had a 1% drain overnight with WiFi turned off.

The only thing I use is Doze Settings Editor, in which I set the GeraldRudi profile, but that was after testing.

I'm using the 05/03 build, by the way.
[G 2014 Original Android Development] cuzzo94:
Yes, there is something wrong with 11/03 nightly, after setting up everything i rebooted and the phone couldn't recognize my simcard anymore, and the phone was really, really (really) slow.

Now i installed 10/03 one
[G 2014 Original Android Development] Jeannuel:
Same here, Im using 05/03 build (I updated but I went back cuz Im not having bugs whatsoever in this build, I'll update to the last one later).

Im not having these battery drain problems here. I use greenify but without the aggresive doze (I use it sometimes and it works).
[G 2014 Original Android Development] ealejandr0:
Yes, that's what's happening to me too! Phew, good thing I had a back up and it's not just me
[G 2014 Original Android Development] LuK1337:
Should be fine in next build.
[G 2014 Original Android Development] Agilkrish:
Help !!!!!! Someone ! My touch is not responding at all in fifa 15. Unable to play it, anyone knows wots the issue ?? How can I fix it
[G 2014 Original Android Development] super-drone:
it's a known EA issue, Fifa 15 touch doesn't work on marshmallow, and until now they haven't update the game yet
[G 2014 Original Android Development] bkmagnetron:
Use AdAway but exclude Google

In CM 12.1 I've installed AdAway and used "Hosts Editor" to remove all the Google domains. For me Google ads are not annoying as others.
[G 2014 Original Android Development] sura14:
How do you do that?
[G 2014 Original Android Development] apx@dwx:
how did u 'know' that? i've using adaway since nearly 5 years and never encountered a wakelock cause of this. not on my desire s then neither my moto g yet.

furthermore, why should a redirection to localhost via the hostfile have an influence on the activity of an app or the system? cause if your phone has no connection to the internet, the drain also should always happen.

the only thing who caused the wakelocks so far (just sometimes, just in some builds, for me and just on my desire) were the google play services with his ability to wake up the phone. (multiple thousand times a day)
[G 2014 Original Android Development] BealeStBluesBoy:
Finally some common sense, thank you!
[G 2014 Original Android Development] luca020400:
I faced the issue

The issue was caused by blocked Google ads server and Google play services looping because of it
[G 2014 Original Android Development] fightnight:
Huge wakelocks from Connectivity Services and net_scheduler.stats since 03/05. :)
[G 2014 Original Android Development] tntnt:
I always use Adaway in all my devices and the huge battery drain only started a couple builds ago, and only on this device.
[G 2014 Original Android Development] H@wK11:
[MENTION=5778309]luca020400[/MENTION] see this :(

Horrible drain for me 1% in 1 min
[G 2014 Original Android Development] cuzzo94:
Does AudioFX work only with stock player like on the stock rom?

Is there any way to have a "global" equalizer?

However battery drain looks not too bad for now.

62% with 1.26h screen time, it will probably reach ~3.30h, not bad for the first day.

edit: unlocking the phone sometimes increases music volume o.O
[G 2014 Original Android Development] nxr_:
I'm stuck on a bootloop. I used Privacy Guard to stop Google Play Services to keep the device awake, went to have lunch and when I came back it was at the boot animation. I turned it off and on again, it showed the optimizing apps screen (only 60), went into the PIN screen but wouldn't pass from there and it reset again, on its own. This happend two times, then I flashed a recent nightly. The same things happens :(
[G 2014 Original Android Development] apx@dwx:
you've wiped cache+dalvik afterwards?
[G 2014 Original Android Development] nxr_:
Yep. When it loads the PIN screen it freezes and reboots.
[G 2014 Original Android Development] apx@dwx:
just wipe cache+dalvik another time. i've had that problem on my old desire. it was running 100% while in recovery, but as soon the system running up,

after

the PIN-screen, sometimes a few seconds after that it freezes (without any chance to hard-reset it via the buttons) and/or reboots.

after switching a few times between cm10,11,12 (wiping d+c everytime ofc) and searching about this, the answer always was "wipe the cache!".

i did. and since this my desire was resurrected. very, very strange!

so, wipe d+c again and look what it does this time.
[G 2014 Original Android Development] mjasin:
SIM2 ringtone already working?
[G 2014 Original Android Development] kill_master:
Still having the interference noise on calls issue on latest nightly. Is this a problem to anyone else or is it just my device?
[G 2014 Original Android Development] AlCaponeGG:
Me, too. It's worse on 2G than on 3G.
[G 2014 Original Android Development] nxr_:
Still not working :( Can't even pull the notification shade down to enter settings and undo the google play services thing. It freezes as soon as stuff loads after the optimizing apps message goes away.
[G 2014 Original Android Development] luke!:
Same problem here: http://xdaforums.com/showpost.php?p=65746820&postcount=3666

It's quite annoying especially when you're talking in noisy places.
[G 2014 Original Android Development] monojp:
Funny, I had the same thing after also playing around with privacy guard (but without gapps). Unfortunately I ended up doing a factory reset. I thought that my flash memory broke lol
[G 2014 Original Android Development] nxr_:
Yeah just did the same thing...
[G 2014 Original Android Development] Nahuwii:
AudioFX works with Spotify. I'm pretty sure it's "global equalizer" as you said
[G 2014 Original Android Development] cuzzo94:
Mmm really strange, it isn't workig with Tim Music
[G 2014 Original Android Development] avseq:
screeching noise

i am hear this stupid screeching noises when i am on a call. doesnt happen if i am listening to music or ion headphones. i had no problems before.

updated to the latest nightly and i cant talk on the phone anymore. anyone has the same problem?? sorry if its already been posted.:)
[G 2014 Original Android Development] :
Earpiece Volume & Crackling Noise

Hello

I am using the latest nightly build and I am finding that when in a call the earpiece volume is too loud, I have turned the in-call volume down as far as it will go but for me it is still far to loud, is there a way to change this or is this something that could be fixed.

I would also like to add my name to the list of people who are suffering from crackles and noise from the loudspeaker when in a call also.

Finally apart from a couple of small problems mostly the ones I mention above the ROM is really great and I have been using it for a good few weeks now and just want to say thanks to the developers / team behind it for all there hard work.
[G 2014 Original Android Development] T_I:
I just installed the 1203 nightly (last one available) and no simcard detected. With the 1103 version some reported no sim, but I 'just' had no data via gsm network. This should be repaired in 1203, but still broken.

Will try 1003 and if that doesn't work I'll revert to even earlier. Just to see which nightly has working phone app.
[G 2014 Original Android Development] LuK1337:
Go to Settings -> SIM cards -> SIM 1 settings -> Access Point Names -> [ tap the menu button and select `Reset to default` ] and your mobile data should be working.
[G 2014 Original Android Development] DocMAX:
hello. still, i get same ringtone for sim2 as sim1, no matter what i configure.
[G 2014 Original Android Development] T_I:
Thanks, but after restore I'm seeing crash of com.android.phone as well on 3-10 trough 3-12 nightlies. Reverting back to 03-05. If that doesn't work, it's back to 01-01, as that's the one before 03-05 I still have.
[G 2014 Original Android Development] LuK1337:
Have you tried removing /data/data/com.android.phone and /data/data/com.android.provider.telephony?

If that won't help logcat pls.
[G 2014 Original Android Development] cuzzo94:
Very good, this was the first charge with the 10-03 nighly.

Everything looks OK

However the apps installed on the SD card look slower than normal (i'm using my sandisk uhs-u3)
[G 2014 Original Android Development] H@wK11:
Everything is perfect just missing SIM activation/diactivation setting :(
[G 2014 Original Android Development] ealejandr0:
Flashed the 10/03 build yesterday, didn't use Adaway this time. No battery drain so far. Using MinMinGuard instead for my ad blocking needs.
[G 2014 Original Android Development] kostelo:
Why does this adaway thing apply only to this rom? I mean play services are used in every other rom.

However, I've been using adaway successfully with let's say Minimal OS with latest open gapps and adaway enabled and deep sleep works as expected.

Why is it suddenly a problem only in CM13 and its derivatives to use adaway?

And FYI, I tried clean installing today's nightly with open gapps without anything else (neither adaway nor anything else) and the deep sleep problem is still there.

No disrespect to the hardworking devs, though. I am just trying to understand the whole thing. :(

Sent from my Moto G 2014
[G 2014 Original Android Development] tntnt:
Just restored Goolge hosts and disable Adaway and the drain is still the same, no deep sleep, latest nightly.
[G 2014 Original Android Development] H@wK11:
Horrible battery drain.

Something is wrong in cm, I m on latest nightly clean install slim gapps.

Adway Installed, draining is still there, horrible drain on stand by mode, sleep mode

Yesterday before i go to sleep my battery was 18% and in the morning mobile dead 0% battery wtf?? 18% battery drain in just 6-7 hours i think its to much drain? On pre builds i m geting 4.5 hours of SOT now i am getting just 4 hours of SOT (Average use) :crying: :(

[MENTION=5778309]luca020400[/MENTION] [MENTION=5075128]LuK1337[/MENTION]
[G 2014 Original Android Development] Hetarth:
Can we use luckypatcher to block all the ads ?
[G 2014 Original Android Development] Crix.Ful92:
Last build changelog??

Inviato dal mio Moto G 2014 utilizzando Tapatalk
[G 2014 Original Android Development] Ragarianok:
http://www.cmxlog.com/13/
[G 2014 Original Android Development] kevin_ol:
I had a similar problem with another game, a couple of FCs with others... Maybe they're not compatible with 6.0
[G 2014 Original Android Development] TheKill69:
Is it stable enough to use it as a daily driver? I might upgrade from cm12 to 13 but i'm afraid things are broken.
[G 2014 Original Android Development] TheOldDreamer:
CM13 is still in early stages so things will break. If you can't live with that then don't use it.

Having said that, I use it as my daily driver and don't have any major problems :)
[G 2014 Original Android Development] helmer1977:
Happy to report that much off the wifi
[G 2014 Original Android Development] Aliston Pinto:
when i restart or switch on my phone my wifi doesnot connect automatically
[G 2014 Original Android Development] mpeL:
Happens to me as well, using 17/11 build.
[G 2014 Original Android Development] lord-overwrite:
in 17/11 build to me, wifi dont connect automatically and have problem with root during unistall app
[G 2014 Original Android Development] kittuboy:
Using 17/11 build. Wi-Fi keeps disconnecting whenever screen goes off. At first it kept forgetting the network altogether (I had to reenter the details about four times) but now it just disconnects whenever I turn off the screen. The strange thing is that this didn't happen yesterday (and I haven't made any changes to apps/system since I installed this build.)

FWIW, I'm gonna try flashing again and see what happens. If it works, I'll update here.
[G 2014 Original Android Development] Manik Chhabra:
Is now on tap working?
[G 2014 Original Android Development] kittuboy:
Yep
[G 2014 Original Android Development] Manik Chhabra:
How did you enable it? I always get a message saying Google app has stopped whenever i enable now on tap
[G 2014 Original Android Development] kittuboy:
Which GApps package did you use? I downloaded the OpenGapps, Aroma version.
[G 2014 Original Android Development] vedantwani:
Installing facebook gets stuck

I tried installing Facebook app from play store but it doesn't get install and there is no error from play store. So I tried using facebook apk from apkmirror.com and installation got stuck. Also phone seemed to hang after each try of installing Facebook app. Only solution to solving hang is restart.

Anyone facing this kind issue or m I the only one? Using build 17/11.
[G 2014 Original Android Development] astarothdoom:
I just installed this versión and it works.

Enviado desde mi Moto G 2014 mediante Tapatalk
[G 2014 Original Android Development] vedantwani:
I tried both versions. But version you gave is older than versions I tried.
[G 2014 Original Android Development] astarothdoom:
You should try my version. It works OK.

Enviado desde mi Moto G 2014 mediante Tapatalk
[G 2014 Original Android Development] Manik Chhabra:
I was downloading Google apps and i have one small confusion. Which package should i download.. Arm, arm64 or x86?
[G 2014 Original Android Development] :
Arm
[G 2014 Original Android Development] T_I:
This helps a lot, I got access to my sim again, thanks.
[G 2014 Original Android Development] Jeannuel:
Hi, someone has the March 05 build? I cant find it in the CM site and I want to update to the latest to test it (just in case is not stable for me I would revert to the 03/05). I had it in my SD card but I deleted it by accident.
[G 2014 Original Android Development] vayavalla:
Which are the files that contain the text on the screenshots? Just to help with the translation.

Enviado desde mi Moto G 2014 mediante Tapatalk
[G 2014 Original Android Development] lokopol:
no

no, use module (MinMiniguard) Xposed.

It is more effective :good:
[G 2014 Original Android Development] daniel910821:
I just disabled ambient display, prevent accidental wake up and cm stats and the battery drain is gone
[G 2014 Original Android Development] Aijen:
Sometimes works sometimes dont work, i dont use that feactures....i have still battery drain :/
[G 2014 Original Android Development] Danilo-Sanchez:
So, the only issue is battery drain? If I change the permissions of Play Services it will run fine?
[G 2014 Original Android Development] H@wK11:
Same here huge drain :(
[G 2014 Original Android Development] Aijen:
Where you disable "cm stats"?
[G 2014 Original Android Development] daniel910821:
Settings / Privacy

Enviado desde mi Moto G 2014 mediante Tapatalk
[G 2014 Original Android Development] T_I:
When I try to build cm13 for titan, I get this error:

make: *** No rule to make target 'vendor/motorola/msm8226-common/proprietary/bin/adsprpcd', needed by '/nas/cm/android/system/out/target/product/titan/system/bin/adsprpcd'. Stop.

Extract-files.sh also gives an error it can't find it... what am I doing wrong? I'm currently running the 12-03 nightly.
[G 2014 Original Android Development] luca020400:
adb root

adb remount

And run extract-files.sh again
[G 2014 Original Android Development] ealejandr0:
That's probably a bad idea, don't mess around with Google Play Services' permissions
[G 2014 Original Android Development] Exelios:
Motorola camera doesn't even see there is a MicroSD in my device and as such saves only to internal storage, any known fix?

Or how to turn off the annoying shutter sound in default cm camera?