yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] crpalmer:
FYI, if you are going to do a clean flash and install my kernel there is a race condition on the first boot that can cause your phone to be stuck at maximum frequency until you reboot.

To avoid this (it will be fixed my next release), when doing a clean flash flash the ROM and GApps and then let it boot and configure itself before installing my kernel.
[HTC Droid DNA] mattking45:
When are we gunna see sweep2wake?
[HTC Droid DNA] nimrodsv:
s2w is out of scope in this kernel. (just stating the facts)
[HTC Droid DNA] mattking45:
Alright thanks man
[HTC Droid DNA] jasoraso:
Wanted to give some feedback on the BT audio for headsets: Much Better!!!! Thanks!
[HTC Droid DNA] Imacellist:
I had been but have 28 hours uptime so far. I'm not on the latest nightly but the one from yesterdays.
[HTC Droid DNA] seeingwhite:
It's interesting that you mention this because I am running the stock kernel with cm11 12/14 nightly, and the first core won't run any lower than 1.5ghz. I have searched and can't find any mention of this anywhere.

Tapatalk
[HTC Droid DNA] crpalmer:
I haven't heard of anyone having that problem either. You'd probably want to uninstall any apps that may be controlling the CPU and make sure you have accidentally configured any of the performance options in the settings app.
[HTC Droid DNA] ryclegman:
I've had this issue too. some times even a reboot will force the minimum to 1500 and max to 1500. but you have to manually change it back and it usually sticks then.
[HTC Droid DNA] d08speed3:
Same here. I had to wipe DV Cache and flash the kernel again for it to stick.

HTC DNA
[HTC Droid DNA] Gorilla*:
Kernel works perfect for me. Got almost 0 battery loss for overnight screen off. Lost like 3% overnight. Amazing
[HTC Droid DNA] venkatp:
Just figured out the reason for my DNA getting extremely hot and draining battery randomly. Thanks for highlighting this. I observed the min and max got stuck at 1512 immediately after reboot and weren't updating manually. It got normal by itself after 10 mins.

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

Will try to grab a log if I observe this again
[HTC Droid DNA] starscream86:
I'm not very happy with battery life and I'm not really savvy enough to set uv and under clocking on my own.. Or are these numbers average?
[HTC Droid DNA] crpalmer:
No need to grab a log. I'll push a commit up tonight or tomorrow to hopefully fix it in the nightlies.
[HTC Droid DNA] crpalmer:
There is nothing that I could suggest without logs.
[HTC Droid DNA] matteebee:
Will it be necessary to re-enter the commands when upgrading to the next version (for the initd boot stuff like oc, uc, uv, color fix etc)? TIA running very smooth no complaints.
[HTC Droid DNA] crpalmer:
Nope, that's exactly why I added them because I flash a huge number of test kernels and it would be really annoying to have to keep specifying it.
[HTC Droid DNA] crpalmer:
That looks fine.
[HTC Droid DNA] crpalmer:
You said that you were having reboots. The log I want is after it reboots to grab /proc/last_kmsg and send that.
[HTC Droid DNA] RBB_2012:
I've been running 12/12 nightly with crpalmer's kernel and here are my battery stats. about 1 hour of phone calls and 1.15 hours of screen time text, email and browsing. Couldn't be more pleased! Actually the last three days has been with ART enabled. Literally running perfect, so much so that I'm afraid to load a new nightly. Great thanks to the devs for their awesome work.
[HTC Droid DNA] starscream86:
Wow nice! Stock/default kernel settings?
[HTC Droid DNA] -DroidIsDNA-:
I definitely noticed the minimum CPU speeds jump
[HTC Droid DNA] RBB_2012:
Yes, default settings. I'd like to tinker with them but honestly I don't know how to run those scripts and haven't put the time to learn.
[HTC Droid DNA] hulsey:
Could someone post a link to the nightlies ? Thanks in advance !
[HTC Droid DNA] -DroidIsDNA-:
The only thing I could think of to improve this would be fast charge.

And it's a kernel for the night lies. It doesn't have nightlies
[HTC Droid DNA] hulsey:
Thanks
[HTC Droid DNA] .torrented:
I believe either it's already been implemented or our devices handle it already (the SoC that is), I'm on a stock(sense) kernel and my device charges quick.
[HTC Droid DNA] -DroidIsDNA-:
I use tethering fairly often and it really shows then...I doubt it's implemented but I hope so. Maybe I'm just wishing for the world :p
[HTC Droid DNA] iHateWebOS:
Isn't the default governor for cm performance? Last I checked on git cm pulled a commit from palmer to make the default governor performance. Palmer reverted but cm did not. Performance locks CPU at max clock.
[HTC Droid DNA] crpalmer:
I actually made the change in CM to make the default governor be performance because that is the "standard" CM configuration. The normal configuration is to have performance run during the boot and then a script later on reset it. It turns out that we were missing that post_boot script which is why we had temporarily stopped performance from being the default governor. After the right script got added I switched the boot governor to make it more standard. I then made the same change in my kernel but reverted it because there are some subtle permission problems when you switch governors (ueventd doesn't work quite right) and I wasn't sure if I was going to have problems or not with my personal use of ondemandCRP. That's the perk of having you own kernel, you can make selfish choices! :)

The next release willl probably revert that revert getting this kernel more inline with the CM kernel.
[HTC Droid DNA] mjc2251:
Where is the link?
[HTC Droid DNA] orangechoochoo:
Chris, what do you mean by "reset it"? Reset performance governor or reset it to some other governor?
[HTC Droid DNA] matteebee:
Should be in the 1st post of this thread
[HTC Droid DNA] crpalmer:
There is a script (in CM, not one of my config scripts) that changes the governor to ondemand after the boot is complete.
[HTC Droid DNA] crpalmer:
New version:

Version 5.3.7: December 20, 2013: Linux 3.4.74, WiFi Optimizations, cpufreq gov. changes

* Linux 3.4.74

* Various WiFi optimizations including using less battery when suspended

* Removed ondemandCRP: It existed because it helped a2dp but, thanks to improvements upstream, this is no longer needed

* cpufreq config scripts set the governor before the frequencies

* ondemand: ignore io_is_busy, improves battery
[HTC Droid DNA] matteebee:
Running smooth thanks. Any special install instructions? I deleted init.d prior to flashing. If I want to revert the scripts from op what would be the best way to run defaults? Can I simply delete the command files that appear on /sdcard? I dirty flashed on the 12/20 nightly (wiped caches) and deleted the aforementioned files from /sdcard and everything looks like defaults so I'm good?
[HTC Droid DNA] crpalmer:
That link goes to 5.3.7 for me (which is the latest release). 5.2.11 was from a couple of weeks ago.

And, yes, you should be back to defaults by deleting all the crpalmer- files from /sdcard/.
[HTC Droid DNA] matteebee:
Got a random reboot, have to make sure I'm on the right updated kernel. Here's last_kmsg for you: https://www.dropbox.com/s/lb7ghabqgjim592/last_kmsg_randomreboot

From the older kernel sorry about my confusion, it's still early! Thanks again.
[HTC Droid DNA] crpalmer:
Yeah, that's the 5.2.11. The last_kmsg that you sent rebooted because some app asked the phone to reboot. There was no crash just a requested reboot.
[HTC Droid DNA] d08speed3:
So Ondemand might yield some better battery life :)

HTC DNA
[HTC Droid DNA] archrival:
Noticed something odd in the crpalmer.log in version 5.3.7. Looks like you're still referencing the ondemandCRP governor somewhere.

** crpalmer's boot configuration:
** disabling mpdecision **
color-enhancement (gamma): enabled=n use_m7=n
color-enhancement (gamma): You must turn the display off and on for this change to take effect
Setting governor to ondemand
ondemand
Setting governor to ondemand
ondemand
Setting governor to ondemand
ondemand
Setting governor to ondemand
ondemand
Ensuring cpu0 is online
Ensuring cpu1 is online
Ensuring cpu2 is online
Ensuring cpu3 is online
Setting min of 192000 for cpu0
Setting min of 192000 for cpu1
Setting min of 192000 for cpu2
Setting min of 192000 for cpu3
Setting max of 1674000 for cpu0
Setting max of 1674000 for cpu1
Setting max of 1674000 for cpu2
Setting max of 1674000 for cpu3
Locking down cpufreq
Unable to chown /sys/devices/system/cpu/cpufreq/ondemandCRP/boostpulse: No such file or directory
chgrp: /sys/devices/system/cpu/cpufreq/ondemandCRP/boostpulse: No such file or directory
Reverting to stock lightsensor table
Voltage adjustment: -40 (really -40000)
[HTC Droid DNA] Gorilla*:
What is the beat setup for performance and battery? I run cfq and interactive ... Can I chime in palmer?
[HTC Droid DNA] crpalmer:
Thanks. I'll fix that in the next release. As I think that you guessed, it is harmless.
[HTC Droid DNA] crpalmer:
In my testing (which is how I use my phone and not anywhere near how you use your phone), I saw about 10% less time at max frequency and no noticeable loss of responsiveness over ondemandCRP.
[HTC Droid DNA] crpalmer:
I don't usually answer these questions. By cyanogen wrote this in a commit message:

Configure ondemand governor

* Idle loop on M7 is janky due to power management implementation,

which screws up the interactive governor.

* Switch to ondemand governor and configure it correctly.

so I would assume that interactive is actually a bad choice.
[HTC Droid DNA] Gorilla*:
switched to On demand,.

What about scheduler?
[HTC Droid DNA] jbarcus81:
Is there any way to get into the settings of the actual governors? Like tweaking the settings of INTERACTIVE for example.. Also, what about GPU settings.. can I do that also without using a 3rd party app? I just wonder because it seems the settings in the 3rd party apps are sticking.. So I want to start doing it this way, without having to depend on an app..
[HTC Droid DNA] d08speed3:
Just wanted to chime in the newest update running Ondemnad = better battery life so far. Thanks!

HTC DNA
[HTC Droid DNA] seeingwhite:
I'm getting good results with the new kernel too. However, I am wondering of the kernel is preventing hangouts from notifying me of new messages when the phone is asleep. Maybe too deep :D)

Tapatalk
[HTC Droid DNA] PrimeMinister91:
Has anyone else had issues with FlashGUI? Every time I try to use it, it loops the white HTC screen on reboot. Yet it flashes fine from recovery. Just my experience.
[HTC Droid DNA] orangechoochoo:
I ran across the governor settings while digging through things, but now I can't remember where they're at.

As far as GPU, there are no scripts that control it.

---------- Post added at 09:20 PM ---------- Previous post was at 09:11 PM ----------

Try looking at:

sys/devices/system/cpu/cpufreq/
[HTC Droid DNA] matteebee:
[MENTION=3857343]crpalmer[/MENTION], Figured it couldn't hurt to ask... Do you have any interest in adding the commits from FauxSound (https://play.google.com/store/apps/details?id=com.teamkang.fauxsound) listed in the description of this app? [MENTION=1615671]Zarboz[/MENTION] has these patches working with his Beastmode endeavor quite well. Thanks for all your hard work and responses, this kernel is running great and battery life is pretty awesome now that it has settled in a bit.

Stay thirsty, my friends
[HTC Droid DNA] crpalmer:
I played with that once and it looked like a fair bit of work (for me at least, with a limited knowledge of the audio hardware in our phone) to get it working. Then I decided that there were so many other things that were more important that I gave up on it for now. I'll probably look at it again some day, but not any time soon.
[HTC Droid DNA] jbarcus81:
Good call.. I will have a look .. I'm also using the built in kernel settings that come with the CM based roms.. seems to have helped until I get around to using the settings suggested in post 2.. Thanks!! I'll see what I can find in there..
[HTC Droid DNA] matteebee:
My cpu min settings appear as 384 with script applied from op set @ 192 (according to built in CM performance app). Is this intentional? Did I miss something?
[HTC Droid DNA] crpalmer:
TL;DR: add crpalmer-cpufreq-governor with ondemand in it.

CM boots with the performance governor and then after my scripts run it then changes it to ondemand. At the same place that it changes it to ondemand it also sets the min freq to 384 because the crappy HTC cpufreq code sometimes gets stuck at max frequency.

To avoid having all of my settings overwritten, I added a locked mode to cpufreq which lets my script lock these settings. However, it can only lock them if you specify a governor (if not, it will lock your governor as performance!).
[HTC Droid DNA] matteebee:
ah ha... Thanks!
[HTC Droid DNA] Gorilla*:
Palmer I know this isn't related but what are u gonna get as your next phone? I'm thinking about getting the note 3 g2 or an iphone.
[HTC Droid DNA] x70xchallengerx:
What about the Galaxy S 5 or the HTC One 2? (yeah those are both real names)
[HTC Droid DNA] orangechoochoo:
An iPhone?
[HTC Droid DNA] Gorilla*:
Yea. Ive been on the android train from the start, and I wanna try an iphone.

But I also really like the fact that you can customize android, and you have different form factors and screen sizes.

I kinda want a note 3.. Really bad.

---------- Post added at 04:13 PM ---------- Previous post was at 04:12 PM ----------

maybe i just wait for the gs5....
[HTC Droid DNA] seeingwhite:
Not to derail this thread, but let me help you. My work gives me a VZW iPhone with unlimited and upgraded every 10 months or so to the latest and greatest. And I still have my own personal account with Android. There is seriously no comparison. The camera has always been great but that's it. You would be excited for two weeks and then you would be like, "why did I do this again?"

Hopefully I helped spare you some heartache. :D

Tapatalk
[HTC Droid DNA] Gorilla*:
White, See i like ios7 and imessage.

I also use my camera a lot!
[HTC Droid DNA] Mav3rick40:
Just my opinion, but they couldn't give me a iPhone I've got friends that have one and they are constantly calling me up wanting me to fix their dam iPhone it freezes up and I don't think that the camera is all that great.
[HTC Droid DNA] seeingwhite:
I hear you, but you will come crawling back ;)

Tapatalk
[HTC Droid DNA] phydo:
The DNA has a pretty sweet camera. If you want to try ios, buy an ipod touch for cheaper lol. trust me you'll come crawling to android. I eventually gave my ipod touch away for free because I didn't ever use it
[HTC Droid DNA] mr4r4n:
With the right software the DNA'S, I think is far better I've taking some absolutely incredible shots with it
[HTC Droid DNA] sic4672:
So to get back on topic... my CPU bounces between the min and max states and spends no time at the other steps. Is this normal?
[HTC Droid DNA] d08speed3:
Yes its normal. A cool app in the market is CPU Spy. You can see all the times it stays in each frequency.

HTC DNA
[HTC Droid DNA] sic4672:
Trickster tells me that too. That's how I noticed it. I won't worry about it then.
[HTC Droid DNA] Stix-N-Stonz:
EDIT:
[HTC Droid DNA] matteebee:
Merry Christmas Eve
[HTC Droid DNA] phydo:
So does anyone have issues with Wi-Fi switching? I'm on a large Wi-Fi network and my dna seems to be having an awful time transitioning

fwiw I attached a log. might actually be stock cm kernel
[HTC Droid DNA] -DroidIsDNA-:
Does anyone else notice that the min is stuck as the max sometimes? Is this a known issue or is there an easy fix for it? My deep sleep isn't where I want it to be and half the time in trickster mod, my min replicates my max..
[HTC Droid DNA] x70xchallengerx:
In trickstermod I use the "frequency lock" setting and it seems to stick at normal min/max settings.
[HTC Droid DNA] seeingwhite:
Yup some of us have experienced this issue. Just go to performance under settings and set the min back to the correct value and reboot. It should stick.

Tapatalk
[HTC Droid DNA] shnyps:
I have been having this issue since I started flashing cm11 nightlies on the 22nd. No matter the combination if installs/wipes I've done eventually it will revert to Max CPU for both the Min and Max. And usually I can't even get the governor to stick as anything but ondemand. Seems once I finally get it right it works incredibly well for 12 or so hours than maxes everything out. I have tried trickster, no frills, and just the performance settings built in and they all do the same. The init.d scripts I tried to run wound up bootlooping and I had to re-flash the nightly to fix it. I'm sticking with nightly dec24 and the latest palmer kernel with no modifications as I don't have much else to do but test.
[HTC Droid DNA] seeingwhite:
Try uninstalling every app that messes with the Cpu clock, then make your changes in the built-in performance menu under settings. Then reboot right away. See if that helps.

Tapatalk
[HTC Droid DNA] codezzie:
Nice to see this kernel is still way too picky about bringing cores online after the screen has turned off one time.
[HTC Droid DNA] codezzie:
So im trying to compile this, and the resulting zip it creates has all the headers and everything inside of it:

http://i.imgur.com/00DWuqq.png
[HTC Droid DNA] crpalmer:
How are you trying to build it? Are you using my build scripts? If not, try them out. Once you get the paths setup correctly it should be very easy to build.
[HTC Droid DNA] codezzie:
Yes, I'm using build.sh.

---------- Post added at 06:30 PM ---------- Previous post was at 06:25 PM ----------

http://i.imgur.com/kMR8Bbc.png

Looks like its addin everything from the dna/update/kernel directory

Ended up doing this:

zip -r ../update.zip system

zip -rg ../update.zip META-INF

zip -g ../update.zip kernel/abootimg kernel/dd kernel/zImage
[HTC Droid DNA] crpalmer:
Everything in dna/update should be generated by the build script. Did you somehow put files in there? I would just do

rm -rf dna/update

and then try building again.
[HTC Droid DNA] codezzie:
I've cleaned it out and after the build the left over files remain
[HTC Droid DNA] shnyps:
How low is too low to undervolt?
[HTC Droid DNA] armydog13:
I am binned fast, but anything over 50 causes reboots for me. I have seen others undervolt as much as 150

You just have to try and see for yourself
[HTC Droid DNA] El Ha$on:
I successfully undervolt to 150. But +1 on the post above
[HTC Droid DNA] shnyps:
I undervolt -200 and under clock to 1026. I'm just wondering if it at some point it is not beneficial.
[HTC Droid DNA] Uzephi:
The longer the other cores are on to process the more battery is sucked down. Best to leave a balance of performance and battery savings to ensure the process is completed quicker and more efficient to save battery.

At 1026mhz, it will take longer to open an app, and will need more cores on to scroll through things than 1512. With 1512, core 0 might be the only one used 90% of the time compared to your setup of two or more cores on to scroll through a simple web page.

Sent from my DNA using my mind.
[HTC Droid DNA] GeneratedUserName:
Edit: Answered my own question... Today I learned to go back & read a lil :)
[HTC Droid DNA] sun_dream:
hdmi work?
[HTC Droid DNA] crpalmer:
New release:

Version 5.4.2: January 5, 2014: Linux 3.4.75, I/O Optimizations, CM changes

* CM changes may resolve lingering problems with min frequency set to max frequency.
[HTC Droid DNA] seeingwhite:
I just flashed it in cwm and when I went to reboot out of recovery, cwm warned that I may have lost root. Any idea why?
[HTC Droid DNA] d08speed3:
Flashed with TWRP and no problems.

HTC DNA

LG Optimus G
[HTC Droid DNA] seeingwhite:
Interesting. CWM asked me if I wanted to try to fix root before rebooting so I said yes. When I rebooted the new kernel was running and root seemed to be fine, so I'm not sure what happened during the flash in CWM that made it think I had possibly lost root.
[HTC Droid DNA] JB_Da_Greatest:
Hmm, I flashed and didn't have any root problems at all...

Sent from Beast DNA
[HTC Droid DNA] shnyps:
Can I use an init.d script to set the I/O scheduler? It resets every reboot and using the "set on boot" switch on performance settings causes boot loops of course.

Also, I am trying to find a guide for "memory settings" but all I can retrieve from Google are noob posts asking the question and someone bashing them for posting in the wrong section or just being a general jack ass... Anyone know of any guides for this or is it just something to experiment with? I've read a few good guides on governors and general performance settings so there has got to be something I'm missing.

Thanks!
[HTC Droid DNA] jamiethemorris:
I don't know about the io scheduler, but as far as memory settings it's something you kind of just have to play with. I've never played with them on my DNA, but on my n7 I've messed with the memory settings and never noticed much of a difference. On a phone with 2gb of ram, I don't think it's take necessary.
[HTC Droid DNA] d08speed3:
Any reason why on some reboots the HTC Color Enhancement mod doesn't stick? I'm just curious. I'll reboot every now and then and turning screen off and on still doesn't power back on the HTC color mod. It happens on random reboots.

HTC DNA

LG Optimus G
[HTC Droid DNA] jamiethemorris:
How can you tell? I've tried turning it on but I honestly couldn't tell any difference.
[HTC Droid DNA] d08speed3:
It makes a noticeable difference for me. The contrast isn't so dark. Like when you send a text in out outbox its not gray looking. The XDA isn't so dark and so forth. I love this MOD.

HTC DNA

LG Optimus G
[HTC Droid DNA] x70xchallengerx:
This might be really stupid but how do I actually enable the htc color enhancement mod?? Is it an automatic thing with this kernel or is there a special way to enable it? I see the file for it in the crpalmer folder in root but... that's all I know lol.
[HTC Droid DNA] durgis:
Check the second post to enable mods.
[HTC Droid DNA] jamiethemorris:
If you have that file on your sdcard then it's enabled. It should all be explained in the first post.
[HTC Droid DNA] d08speed3:
Use Root explorer and create a new file on the root of your SD card named this....reboot.

HTC DNA

LG Optimus G
[HTC Droid DNA] x70xchallengerx:
Thank you for the clear answer.

I ditched trickstermod because it was causing boot crashes every once and a while, so now I'll be setting up the script boot defaults... hm
[HTC Droid DNA] d08speed3:
Yea I use "system tuner" to do all my setting CPU and undervolting. Just my preference. If you use it make sure to go into settings and tick the option to set on boot.

HTC DNA

LG Optimus G
[HTC Droid DNA] orangechoochoo:
I prefer the scripts vs an app to set the kernel settings. Using the scripts we can OC, UC, undervolt, and change governor. Aside from that, I noticed no benefit changing the scheduler or read-ahead values. Maybe these things mattered with older phones, but our device has more than enough speed and ram.
[HTC Droid DNA] cquick97:
Is there any slide to wake feature in this kernel?
[HTC Droid DNA] d08speed3:
No :o

HTC DNA

LG Optimus G
[HTC Droid DNA] cquick97:
Any ways to get that with cm11? My lock button has basically stopped working to the point where it is intolerable for daily use and I need an alternative...
[Windows Mobile Development and Hacking General] dalelane:
can anyone point me in the direction of some info on how to access the current Sat Nav coordinates from a (bluetooth) GPS device, please!

i'm guessing ( / hoping) that its not device-specific - and I don't want to do anything too clever. just need to query the device for the current location.

any suggestions, hints, pointers etc. would be gratefully received!
[Windows Mobile Development and Hacking General] 3waygeek:
Most if not all BT GPS devices transmit data via NMEA0183 commands over a virtual serial port (SPP profile). There's lots of code out there for handling NMEA commands (it's a simple ASCII text format).