yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] ratty123:
6h from 100% now down at 68% - 1h SOT and around 2h streaming 320kb music. Its OK. Altho I have my settinfs for more performance, cant stand lag.

---------- Post added at 12:48 PM ---------- Previous post was at 12:48 PM ----------

I can do it later today!
[ONE Android Development] Lakino:
hello. have you seen this yet [MENTION=2040569]jgcaap[/MENTION]?

http://review.cyanogenmod.org/#/c/100318/

PowerManagerService: Fix updating of mUserActivitySummary

I7f1fc35a1573717d1ea101a07c4171d6f66d1553 missed the fact that the primary
purpose of the affected condition block was to update mUserActivitySummary
and the button/keyboard light handling was just appended to it later.

This fixes the waking from dream/screensaver by user activity.

I30c5c8c9c09e3d57ace18cac72b783510b9b3bf3 is removed here as well as it was
just a band aid.

jira: NIGHTLIES-1285

Change-Id: I6b2f6c58e73110787d62e86d4d2ef538638cf491

Does this help us?
[ONE Android Development] LucentBirch:
Only enabled auto start and I haven't had a FC yet. The other two are still disabled.
[ONE Android Development] jgcaap:
Yes. I always include their patches. Let's see how it goes.

Btw what was the best version on battery in your (users) opinion?
[ONE Android Development] Lakino:
The above commit I posted was only included in the cm-12.1-20150609-NIGHTLY-bacon.zip nightly rom. I don't think you could have included it in your 2015-6-8 stable rom -- the one linked in the OP of this thread.

I'm hoping once you add this to this a weekend update, that it'll help save some juice for us all -- especially ratty123 dream wake problem.

I'm assuming -- hoping -- you'll be releasing an updated rom/kernel this weekend with the latest commits synched? ;)
[ONE Android Development] jgcaap:
Yes ':) but I need the test of network to see if we are having problems with it. Cause I added two commits to help on network lost.
[ONE Android Development] Lakino:
I will help with this test. Will report later today how it went.
[ONE Android Development] Minux31:
Last night : plane mode at 9:30 PM, 57%

This morning : wake up at 6:00 AM, 51%

So a little battery drain (usually 1 to 2% per night), but not catastrophic.
[ONE Android Development] ratty123:
[MENTION=2040569]jgcaap[/MENTION] You should add this to the Rom http://xdaforums.com/oneplus-one/themes-apps/opo-sound-mod-t3019945

:D
[ONE Android Development] jgcaap:
We don't need. What we have is better. [emoji14]
[ONE Android Development] ratty123:
With that mod my AKG Y55 headphones sound way better in both clarity and balanced bass. How come? Seems its more of a personal taste or different eardrums ;)
[ONE Android Development] jgcaap:
Yes but that you can do by editing the equalizer. This sampler we are using is the best.

I'm going to try port a new one soon to see how it is. [emoji14]
[ONE Android Development] jgcaap:
Our drainer problem must be network...not sure but is what evidence points towards.
[ONE Android Development] dwaipayanray95:
Trust me when I say this, I'm a huge music clarity fan! I've used multiple roms and sound mods but nothing beats Viper! I tried Viper4Android with this rom and the sound is amazing as always! If you truly know your music clarity taste try it and mod the equalizer according to your ears and your earphones!
[ONE Android Development] Setting.Out:
If you can flash it, why add it for those whom may choose other options?
[ONE Android Development] ratty123:
Because I thought and still thinks it beats every sound mod I've ever tried. It was a suggestion only and it seems noone liked it so lets leave it there :)

---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------

I've tried Viper4Android alot with like... 500 combinations and I never get the same as Ergo Proxy's mod.. it always sounds a bit artificial, but I guess it depends on headphones and your ears :laugh:
[ONE Android Development] dwaipayanray95:
Alright I leave it to your personal opinion and judgement :)
[ONE Android Development] Setting.Out:
I haven't a preference.. ;) I literally am half deaf, so loud is all I need.. ;p
[ONE Android Development] WVUTampaAlum:
Hi guys.

I am on stock cm11 (rooted/twrp recovery) and looking to get this rom setup. I am looking all over in the posts page 1 and download links but cannot find md5's for anything. Where can I get the rom/firmware/gapp md5? Also, what is the recommended release (5/30, 6/8)?

Update:

Got the md5 thing figured out.

https://basketbuild.com/devs/jgcaap

Thanks!
[ONE Android Development] beatbrot:
Same happened to me!
[ONE Android Development] jocarog:
Airplane test... I don't have a sim card on this phone as of now so it's always in airplane mode, don't know if this helps you...
[ONE Android Development] nikzDHD:
Trying this for the first time outstanding this thing flies!
[ONE Android Development] jgcaap:
I'll need on idle mode. With Wi-Fi off. Can you try for me please? Thanks!
[ONE Android Development] Lakino:
Phone put in airplane mode for about 7 hours and left alone. It still lost about 5% battery. This test suggests to me that it's not wifi or network related. Some other process is definitely draining battery even when in airplane mode.

---------- Post added at 01:55 PM ---------- Previous post was at 01:47 PM ----------

Perhaps it still has to do with the touchscreen fix. CM hasn't officially released it yet have they? I thought they're still working on it. Could that be why we're still get excessive battery drain?
[ONE Android Development] jgcaap:
Maybe is related. They have already released it. So here we can easily roll out about beeing modem. You left Wifi off also right?
[ONE Android Development] jgcaap:
Who wants to test kernel with old touch screen drivers?
[ONE Android Development] jgcaap:
The test has to be done like this:

Wifi/bluetooth/GPS off and airplane mode on

Leave to sleep for at least 4hours.

Register percentage before the test and after the test.

2) with airplane mode off

3) with Bluetooth/gps/nfc On

After all tests are done please leave here a post.

This will help take conclusions of what is about.
[ONE Android Development] Lakino:
they have officially released it in nightly builds? I know OnePlus is still testing. They have not released it in any updates yet.

Yes, wifi and mobile network were both off. Only thing that airplane doesn't automatically turn off was GPS. GPS was still on in Device Only mode. But I don't have many apps that use GPS while I'm asleep.

Haha. That touch screen issue started affecting me pretty badly after the first time I flashed the touchscreen fix. But for the interest of helping isolate battery drain I am willing to flash a rom with the old touch screen driver.

Also, I noticed CM yet released another updated wifi driver. I hope it is less hot, not more hot, than the recently updated wifi driver.
[ONE Android Development] jgcaap:
http://www.drdevs.com/devs/jgcaap/oneplus/kernel/newKernel-CM12-2.03-oldfirm.zip
[ONE Android Development] jgcaap:
This Wifi is definitely better. Is included on that kernel I shared with you. I'm still testing stuff btw.
[ONE Android Development] Lakino:
OK. Before I flash this, I just want to confirm that 2.03 is same for everything else as 2.02,except it's with old touchscreen firmware? Correct?
[ONE Android Development] jgcaap:
With new Wi-Fi, and some changes which makes kernel fly even more .

And that version I shared with you touch screen reverted.
[ONE Android Development] jgcaap:
Even if is touchscreen firmware related I believe is much acceptable compared to the other version in battery drain.. Let's see how it holds with old version. Thank you Lakino. Going back to the books now. :)
[ONE Android Development] Lakino:
Wow. So I have installed 2.03. Typing is bad. Really terrible. I can't believe I never experienced this until after the patched firmware was removed from my system. Now I totally experience it if I don't have the patch.

It's not usable but for testing purposes I will leave on my phone for one day to see if battery life improves during sleep tonight.

Same testing parameters : in airplane mode with GPS Device only left ON.
[ONE Android Development] jgcaap:
Hahaha we get used to new stuff. [emoji14]
[ONE Android Development] rajat339:
For where I can get wanam xposed framework?
[ONE Android Development] WVUTampaAlum:
5ghz wireless driver in the kernel with the 5/30 release is nearly unuseable. No issue with 2.4 but 5 give me terrible speed.
[ONE Android Development] jgcaap:
And your suggestion is?
[ONE Android Development] ratty123:
[MENTION=2040569]jgcaap[/MENTION] couldn't test it properly due some things and now when I read your post I see I did it wrong :silly:

But the time I could test it with WiFi on and AirPlane-mode on for around 7 hours I had around 0,1% drain p/hour I haven't activated BetterBatteryStats so can't give u any picture of it. But as I didn't loose a single % for 7 hours I guess it must be around 1%p/hour but I don't see anything new here since when I have 3G on and WiFi off under the night it drains normally 1-2% maximum under 7 hours.
[ONE Android Development] DaNi_!:
Woke up in the middle of the night to see my phone constantly rebooting, and it was hot as hell, like really really hot. Could get in for about 20 seconds, then everything would freeze and it would reboot again. I let it cool down and tried to boot it. Still rebooting, can get in for 30 seconds, but after that the same thing happens.
[ONE Android Development] jgcaap:
Get me logs to see what happened.

Did you use other kernels?

How did you flash exactly?
[ONE Android Development] DaNi_!:
I'll try. I used AK before, but reflashed ROM. So I'm running stock kernel now, but still rebooting. Silly question, but could it be that the heat destroyed the phone?
[ONE Android Development] jgcaap:
The probability of that is very low, there is a protection called bark timer , which cuts off the phone and also reboots. I believe your reboot must be related to kernel panic.

Do this, wipe system/cache/dalvik to clean any scripts.

Reflash Rom after. You should be fine.
[ONE Android Development] DaNi_!:
Thank you, will try now!
[ONE Android Development] Setting.Out:
Shouldn't have.. Do a backup in recovery of only the data partition.. Clean wipe everything (minus SD) and do a complete install, don't restore data yet.. See if it is stable, if it is, try restoring data and see if it stays stable..
[ONE Android Development] DaNi_!:
It worked! What could be the reason for the kernel panicking in the middle of the night?

EDIT: what do you think of AK kernel? I used it all the time before but maybe it's time to try your stock kernel
[ONE Android Development] Setting.Out:
Honestly, the stock kernel is more stable.. It lacks some options to tweak (tweaks = losing stability) and doesn't have hundreds of CPU/GPU frequencies (again stability), but without these "features" it is nearly as battery friendly and just as performance minded.. If you read, there are nearly no complaints about issues here, however reports are easy to find on ak's (mostly user errors)... Gaining 10min of sot by dropping to unstable levels/settings isn't worth it, nor the gains you may get by tweaking for temporary performance in benchmarks.. Just my opinion..
[ONE Android Development] optimusG:
Does the kernel bundled with the rom include the latest synaptics touch driver? My device has touch problems and the latest driver solves all the problems. Thank you! :)
[ONE Android Development] Setting.Out:
Yes,..
[ONE Android Development] jgcaap:
More improvements coming. This is a continuous on going development. On battery life will be the job of kernel. Soon youll get a improved power management for kernel. Studying the code
[ONE Android Development] eminem47:
No NFC

The NFC is not turning on itself on toggling

It stays grayed out and turns off
[ONE Android Development] jgcaap:
Is working fine for me.. What did you do exactly? Have you clean flashed?
[ONE Android Development] eminem47:
Yeah Clean Flashed I Will Try Your Latest Release And Report About NFC

Thanks For Replying So Fast
[ONE Android Development] didicola:
[MENTION=2040569]jgcaap[/MENTION] the score you made is with the latest version and your kernel is included or i have to flash it on top?
[ONE Android Development] Setting.Out:
The kernel is included.. ;)
[ONE Android Development] jgcaap:
when i dont reply is because i fall as sleep. not online. Studying . or forgotten , so please insist when i dont :)

Working for me...
[ONE Android Development] jgcaap:
Anyone having issues, please flash firmware I uploaded, it is the same I am using with everything working and the latest. Like that you all make sure you have the correct one.
[ONE Android Development] rezor92:
How is the battery runtime?
[ONE Android Development] anmar21:
NFC works fine for me. Nothing to report.

Smoothness at its best...

Thanks for your work.
[ONE Android Development] gugas123:
Everything working perfectly

Score 49413 in AnTuTu Benchmark :)
[ONE Android Development] NuLLV01D:
In Case Anybody is Suffering from Nostalgia

https://plus.google.com/+MWasifChauhdary1/posts/YZ7eQyD4Yib
[ONE Android Development] eminem47:
NFC Works Now

NFC Working Perfect :)
[ONE Android Development] jgcaap:
Had to share... Lol
[ONE Android Development] rezor92:
On 05.04.2015 the time from network feature is slow, takes quite a bit. Whatsapp is saying wrong date and time after boot. When you play the game after pressing cyanogenmod version -> systemui fc. But so far very nice rom.
[ONE Android Development] Setting.Out:
Confirmed ui fc, cm bug... We'll have to see if they're addressing this..
[ONE Android Development] bundys:
No, clean 5.1 install.
[ONE Android Development] vette95:
Sweet. I don't care about CM12S release anymore

Glad to see someone took over this task. I have 2 OPO's, so count on me for testing. I will be using A in one phone and B in the other.
[ONE Android Development] rezor92:
Prevent accidental wakeup setting does not work.
[ONE Android Development] NuLLV01D:
Its problematic in every single lollipop ROM for bacon
[ONE Android Development] jgcaap:
He knows what he is doing. Is a matter of taste of what you prefer to have. With him you use another hotplug.

Some leftover creating conflict... Nothing major.
[ONE Android Development] jocarog:
OK, left the phone with everything off the whole night...

35% battery when I turned off WiFi and Bluetooth

Woke up to a 29% battery level

I have better battery stats logs if you need them [emoji106]
[ONE Android Development] jgcaap:
Thanks. My bet would be the touch drivers or new firmware . The phone is on sleep mode from what tests are showing.
[ONE Android Development] BigMacca:
What do we think of the massive *alarm* wakelocks being shown?

I'm currently on Blisspop (planning to switch over to this rom next week) and have the same kind of *alarm* wakelocks, but as above, the percentage of wakelock time doesn't seem to directly related the time awake / in deep sleep....

Cheers

Macca
[ONE Android Development] jgcaap:
No massive wake locks from what I see. Google play services is much better. Less than 100wakelocks each 24 hours. The issue for battery is something else.
[ONE Android Development] BigMacca:
Hi there,

I'm referring to the last screenshot

it's showing *alarm* Partial Wakelocks for 23hours out of a 55hour period, but then the device seems to been asleep for 99% of the time - So something clearly isn't adding up. (could be an issue with BBS I guess...?)
[ONE Android Development] DaNi_!:
I'm running stock kernel now with slim governor, and I must say my device is running better than ever. Better than with AK kernel actually. And even more important my device is indeed more stable now ;)
[ONE Android Development] WVUTampaAlum:
Is that the old or new driver? I could report it to CM.
[ONE Android Development] set110:
Hi all,

Been using this 0608 ROM for the last 4 days on slim governor. It's amazing! The speed and stability of it is unreal. I could even prove to few android haters that this OS can work flawlessly (off course the beauty is we don't have any manufacturers bloatware). As I could see some of you did the battery testing on airplane mode. I couldn't do that but had a look how my phone behaves, was 100% at midnight, at the midday it had 92%, with 3G and wifi on.

But one thing drives me crazy, the wifi and network often appears with exclamation mark, notifications seems to get through all right. Only when I use Whatsapp on browser I could see more often when the phone disconnects from wifi (once I unlock the phone everything gets back to normal). Had this issues on 0525 ROM as well, even tried to flash oxygen modem drivers, kernel 2.00, but nothing helped. I thought is because I dirty flashed, but the 0608 I did a clean flash and still this thing occurs. Now cannot recall which ROM version had this issue sorted (hard life of flashoholic), some between 0510 - 0517.

Other than that want to thank our man jgcaap, your hobby gives us amazing experience with our oneplus one.
[ONE Android Development] Mayex:
Could you please add hard boot support to your kernel? I like playing with multirom, but I'd like to test yours kernel :)
[ONE Android Development] jgcaap:
It's already added. Please check kernel thread.
[ONE Android Development] Mayex:
Great! Testing now ;)

Could you tell me how to enable root? There is no root in develorpers settings.
[ONE Android Development] jgcaap:
Need to flash SU. I'll fix the script problem today. [emoji14]
[ONE Android Development] djbenny1:
ROM does seem to be very stable - I haven't had a hint of a reboot or anything since I installed a few days ago.

However, I've noticed that it tends to get slow and bogged down after a while as well as battery life only being OK.

Doubt there's anything I can do about the performance but battery I guess I get about 4h screen on time throughout a day.

Stock kernel etc. obviously.
[ONE Android Development] jgcaap:
Flashed cm nightly to discover where comes from our issues. Well fix this drain issue if is my fault.

Must admit... Cm stock seems a bit slower lol
[ONE Android Development] coolstone:
Report:

I flashed 0608 ROM and still get rebooting sometimes, especially after trying some new apps. Don't know the reason, should this too?

Thanks!
[ONE Android Development] jgcaap:
Did you flash any other kernel beside stock?

How did you flash?

Which rom did you come from?

Was it a dirty flash?
[ONE Android Development] tiny4579:
Random reboots, sods, and WiFi issues exist for people on stock cm. That is likely the cause. I dont think it'd be anything [MENTION=2040569]jgcaap[/MENTION] added.
[ONE Android Development] jgcaap:
From my tests battery drain is present on Stock CM , it's not my fault then. :)

EDIT: i have to admit it lasts longer and seems to be more cool. Here is what we are going to do. I'm going to revert toolchains to 4.8 on GCC and 4.6 on HOST (as is on stock) and we'll study from there. :)
[ONE Android Development] coolstone:
I upgraded from CM11, this ROM is my first try after research, I flashed firmware, ROM, gapps from the first post of this thread, nothing else. Everytime, I had a factory reset wipe first and then advanced wipe with data, etc. That first flash was pretty stable, then have quite a few small problems, then I tried other ROM, but didn't work well. So I came back to this ROM. Then encountered rebooting issue which I didn't meet before.

What's a dirty flash?
[ONE Android Development] _Beni_:
Always try to wipe cache+dalvik if you are having any problems

A dirty flash means that you didn't make a factory reset before the flash.
[ONE Android Development] alexnaoumi:
Just got back to this after a gs6 (sick of touchwiz)...this phone flies on this ROM. Well done. Battery is great too.
[ONE Android Development] Lakino:
OK. Test result in.

Exactly 7 hrs and 3 minutes in airplane mode (wifi and Bluetooth off) but with GPS device only ON - - to keep it consistent with my other tests - - and the result is pretty dramatic. It went from 76% to 73%. It did very quickly drop to 72% after I turned airplane mode off and started using the phone again.

But that is a pretty big improvement. I will test once more tonight leaving airplane OFF and see how much juice is drained overnight.
[ONE Android Development] jgcaap:
Alright, next test proved that is not kernel creating drains. Let's see what's at ROM level creating them. :)
[ONE Android Development] Lakino:
But I have to say, without the new touch screen firmware, the phone is almost useless. Typing is basically impossible. But the testing does show for me that the new touch screen firmware drains more battery. Unless you did something else to save battery besides just the old touch screen firmware with kernel 2.03.
[ONE Android Development] WVUTampaAlum:
Xposed doesn't work on 12.1 odexed right? Something like xposed with amplify would make it very obvious as to the issue. Amplify also lets you limit any specific service/function however you want. In past cases I've seen location services and google now be some of the highest users. Next time maybe try with GPS off.
[ONE Android Development] N_lover27:
just flashed it .. after testing RR... and immediately got proximity error while calling.. screen stays on
[ONE Android Development] Lakino:
Yes, Google Now absolutely is a battery hog. I have it categorically turned off. Anything and everything related to Google Now is completely shut off on my phone(s).

I will do one more test with GPS off to see if and / or how much change there is but I use Greenify and Privacy Guard to manually shut off a lot of stuff. I'm pretty sure on my setup GPS isn't being polled much during my sleep time. I'm very active in manually limiting access to any app that wants location data - - both for privacy reasons as well as battery drain. Only a select few of my apps are allowed location data.

I don't know what Amplify does, but CM's built in Privacy Guard has quite a bit of ability to limit function and services. Have you tried it?
[ONE Android Development] WVUTampaAlum:
I have been using privacy guard. It's good for what it does. Amplify is like privacy guard on steriods. You can limit by wakelock, alarm or service. With PG something is either on or off. With amplify you can shut it off or limit the wakelock/alarm/service to run every X seconds. Very nice for slowing down things out of control that you cannot just go and disable.
[ONE Android Development] Lakino:
Amplify sounds like something I'd like to use. When Xposed comes out of beta for CM12.1, I will give it a try. Thanks for the suggestion.
[ONE Android Development] Mayex:
Xposed and Amplify work on cm12.1.

I use both. Download latest xposed 5.1 alpha and flash it :)

Unfortunately it doesn't solve drain problem. Neither wakelocks nor alarms cause mobile radio drain problem.

To solve that drain I use DeepSleep battery saver, it turns off mobile network when screen is off and drain disappear.
[ONE Android Development] coolstone:
Thanks for explanation!

I just rebooted to recover to check what I did last time. I did factory reset first, then did Advanced Wipe, which includes Dalvik Cache, System, Data, and Cache, not include Internal Storage and USB-OTG.

Should I also wipe USB-OTG?

Thanks!
[ONE Android Development] Mayex:
You did just fine.

USBotg is for people who use pendrives for ROMs which would be strange.

Factory reset = wipe: dalvic cache, cache, data

Internal storage is your "SD card" - photos, zips etc.

System is system, you flash there your rom.

Dirty flash = flash from over other rom/older version without wiping data.

Clean flash = flashing rom after factory reset
[ONE Android Development] Pipodi93:
Is there an up-to-date version of the GAPPS? The ones on the OP are almost a month old! Or the "Play Services Issue" isn't fixed yet?
[ONE Android Development] jgcaap:
I like old stuff [emoji14] already shared that many times... And they have a great slogan...old stuff works good ;p
[ONE Android Development] jgcaap:
Will it drain or not?

I'll sleep now to find out [emoji14]

Some cool things coming [emoji14]