yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] hilokilo:
Amazing kernel... I really hope fast charge gets added soon...
[HTC Droid DNA] djnikko:
seems like without your kernel, poweramp won't function.. thanks

inscribed by Droid DNA/Nexus 10 now Free
[HTC Droid DNA] Protonus:
[MENTION=3857343]crpalmer[/MENTION] This is the biggest thing I really need in an aftermarket kernel. It's the main reason I change kernels - and the biggest thing I miss from my Galaxy Nexus. I would love to see this get added to this kernel, it's the biggest part of why I haven't changed to 4.3 yet. I would donate just for this alone if that's what it takes.

Also, when you add it, can you please add it for ALL id's? Beaups kernel for instance only does it for known ID's - makes all my 3rd party chargers not charge at their normal rates.
[HTC Droid DNA] crpalmer:
New release:

Version 4.7.4: October 21, 2013:Linux 3.4.66, Westwood+, Upstream

* Linux 3.4.66

* Switch to Westwood+ for TCP congestion control (theoretically better for wireless networks).

* Merge upstream changes to the kernel
[HTC Droid DNA] El Ha$on:
Just wondering. Is there a way that max screen off frequency could be implemented into this kernel? Could it help with battery life?

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] PrimeMinister91:
Dude, I just gotta say that you do great work and I look forward to your kernels and what you do next with them.:highfive:
[HTC Droid DNA] crpalmer:
I'm not a believer that it would help battery life. I feel like you are better off getting the work done faster and the phone back to sleep rather than staying awake longer at a lower speed.
[HTC Droid DNA] Gorilla*:
Palmer, realistically, are we losing any performance to snapdragon 800 chips with better GPU's

If all i Do on the DNA is a few basic apps, no Games, and Chrome?

I feel like the Powerplant and GPU is fairly robost for these tasks for the forseeable future?
[HTC Droid DNA] twelfth:
I would say you're unlikely to see any real performance gains (outside of factors like NAND speeds and newer, proprietary drivers) between the S4Pro and the 800 if you're not doing any heavy GPU lifting.

S4Pro in the DNA: 1.7Ghz Max, Quadcore, Adreno 320@400Mhz (1080p Rated)

800: Up to 2.3Ghz Clock, Adreno 330 @ 450 or 550Mhz (2160p Rated)

Still Armv7, Still Quadcore, Still generally about the same performance sans upper end of clock speed or gpu resolution support.

The S4Pro is almost identical to the Snapdragon 600, though. (In some cases, the 600 is advertised as the S4Pro)

I see no real difference in performance when I downclock my DNA to 800Mhz as opposed to when I overclock it to 1.7Ghz.
[HTC Droid DNA] d08speed3:
I see a lot of differences between 800 and 1.7 :what:

HTC DNA
[HTC Droid DNA] thekidmoon:
Agreed, my mom has the G2 and it flies.
[HTC Droid DNA] crpalmer:
The chips are just plain faster, so yes, in some way ours will be less performant. You are asking the right question of whether or not you'd notice that performance, given your usage. I can't say for sure, but another good question to ask is do you feel like your phone needs to go faster. If not, then don't worry about it.

In my usage, I just recently moved back to 1.7GHz (from 1.5) and I noticed the phone feeling snappier.
[HTC Droid DNA] Gorilla*:
I don't over clock as I don't think it would be useful and make a voltage increase and draw more battery correct?
[HTC Droid DNA] pyroguysf:
I might be incorrect, but I don't think by default 1.67 draws any more power than 1.5 and even so, many people under-volt for battery and don't have problems- I do global -50mV but each chip is different in terms of voltages vs stability, so YMMV. In normal usage depending on your kernel settings, it doesn't normally hit max clock, and when it does its just for a moment at a time. As crpalmer mentioned above in regards to screen off clock, the faster your phone gets something done the less time it spends in a high power state. If you do a lot if intensive things like gaming where the CPU is constantly at max clock, you might notice extra battery draw. I don't do anything super intensive on my phone since I have other devices, but I don't imagine it'd be a huge difference. The screen is the biggest power hog anyway. That said, I go back and forth between 1.5 and 1.67 and don't really notice a difference in battery, but my usage is pretty minimal to begin with.

I'd suggest playing around with clock and voltages within a reasonable range, and if you go 1.67 I'm pretty sure there's ways to change the clock speed for certain apps like games with things like Tasker if you wanna keep the draw down to 1.5 when you're locked at max clock. Just remember battery usage takes a while to normalize after flashing a ROM so keep that in mind for your testing.
[HTC Droid DNA] Imacellist:
Setting the max CPU will not effect low power consumption, but depending on the governor being used you will be using more juice when using the device, especially when doing demanding processes. This is pretty much what you said but is a bit clearer I think. If you overclock, expect to use more battery. It depends on many factors but anytime your CPU would be maxed it will use more power because it is going faster.

Hit thanks if I helped! Check out my site at www.circuitsaviors.com
[HTC Droid DNA] pyroguysf:
Sorry, but while I'm in agreement on everything else, I'm gonna be that guy and just nitpick this one little statement for the sake of clarity- If you overvolt, expect to use more battery.

Generally overclocking and overvolting go hand-in-hand, but not always. At the stock max frequency of 1.5, the CPU is set to draw 1075 mV which I'll call our baseline power draw. At 1.67 the default voltage profile kicks it up to 1125 mV which of course is going to draw more power in a maxed CPU state. However, we can change voltages too (either with the init.d scripts or something like Trickster Mod), but at the risk of losing stability if we go too low or burning the chip if we go too high. That said, most DNA users I know of have no problem undervolting without losing stability, but every individual chip will have different tolerances.

So if you overclock to 1.67 and drop the global voltage by 50 mV, you're right back at the baseline power draw of 1075 mV in a maxed CPU state. Not only should your power draw not increase, but it should decrease since every other frequency is going to be drawing 50 mV less.
[HTC Droid DNA] Gorilla*:
Thanks for the technical explanations..

I dont play with undervolting..

I think ill just stay where i am, phone with this kernel is very fast.

Only thing that could make it better will probably be android 4.4, and later releases that have better code.

Also better code from app developers.
[HTC Droid DNA] Dri94:
This is a kernel, not a rom. There are no 4.4 roms yet cause it's not even released.
[HTC Droid DNA] armydog13:
So the only thing that would make it better is if everything was better?
[HTC Droid DNA] MARKREIF:
I'm looking for this as well - thanks!
[HTC Droid DNA] crpalmer:
New version:

Version 4.9.0: November 6, 2013:Linux 3.4.67, Optimizations, Underclocking, Scheduler

* Linux 3.4.67

* Various optimizations from franciscofranco's N5 kernel

* Underclocking based on faux123's N4 kernel

* Scheduler overhaul from faux123's N4 kernel

Based on some limited testing, I believe that the scheduler changes help the bluetooth audio playback (a2dp) when the screen is off.

This is likely the last 10.2 kernel that I will be releasing as I plan to move to CM 11 as soon as it is stable enough to use.
[HTC Droid DNA] pitchinnate:
Just wondering, did you mean to give it the same version as previous version? When I download the zip is 4.9.0 so didn't know if you made a typo.
[HTC Droid DNA] crpalmer:
Oops, yes, 4.9.0 is the right version. I fixed it!
[HTC Droid DNA] orangechoochoo:
162mhz, trying now!

Regarding the scheduler changes, were they all optimized or just a couple of them?
[HTC Droid DNA] -DroidIsDNA-:
Will cm11 be coming in the next couple weeks-ish?
[HTC Droid DNA] d08speed3:
162mhz running fine. Does I help battery? Maybe a tad lol

HTC DNA
[HTC Droid DNA] crpalmer:
I don't know what you mean about the scheduler changes...
[HTC Droid DNA] crpalmer:
No way to know for sure. It depends on how much Google changed and how much that breaks the CM changes.
[HTC Droid DNA] crpalmer:
Yes it helps some because that speed is lower voltage and uses a lower voltage L2 cache.
[HTC Droid DNA] orangechoochoo:
I was referring to this
[HTC Droid DNA] crpalmer:
I wasn't sure what your question was... Faux123 has brought together something like 30-50 commits improving the scheduler and fixing bugs in it. I kanged the whole set of changes...
[HTC Droid DNA] orangechoochoo:
I still get the BT music skipping on the latest kernel but I've been on smartmax or interactive, not ondemandcrp.

When I change lpa.decode to false in build.prop I never get the skipping regardless of governor.
[HTC Droid DNA] Dri94:
Not used states vary depending on your governor.
[HTC Droid DNA] sabres032:
Will this kernel work on any CM 10.2 based ROM? Currently I'm running the OSE Official ROM.
[HTC Droid DNA] orangechoochoo:
Yup. When using interactive its mostly on 1728, 384, or deep sleep. When using smartmax there's hardly any unused frequencies. It all depends on the governor and its frequency scaling parameters.
[HTC Droid DNA] crpalmer:
It really depends on the ROM and how it was built. Theoretically, yes but I haven't tested any other ROM.
[HTC Droid DNA] amit_sen:
Latest version really working well, Chris.

Sweet spot btwn speed and battery.

Seems like franco, faux magic is really helping us ;)

DNA | ⓣⓐⓟⓐⓣⓐⓛⓚ | TF300T
[HTC Droid DNA] sabres032:
I'll put the theory to test when my work rotation is over on Tuesday. I'll let you know how it goes.
[HTC Droid DNA] Dri94:
It works fine on ose
[HTC Droid DNA] El Ha$on:
Does anyone look at detailed stats of their battery drain?

This past week I've been trying to figure out what is draining my battery and consistently I've seen something related to wakelocks. Today I have done anything at all to my phone. Been messing with my tablet to leave it alone. Only thing was WiFi was one and the phone stayed awake for almost 2 hours. Due to wakelocks. Any way to manage this?

Now it was done to 88% percent and I took it off the chargers this morning at 9AM...no phone calls and turned the screen on once. This does kind of battery drain seem normal?

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] mobitote:
Dunno if its my setting or not but on the ver4.9.0 of this kernel I am experiencing some lag especially on high end games like need for speed:most wanted. Any ideas to reduce the lag?
[HTC Droid DNA] El Ha$on:
I tried this app to change the OOM settings and I have seen a little less lag opening certain apps. Currently I'm on the optimum setting. Maybe it helps....

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] Gorilla*:
Can anyone comment on their experience with under clocking AnD over clocking?

I set my processor to 128-1728

---------- Post added at 11:28 AM ---------- Previous post was at 11:28 AM ----------

I'm wondering if my battery is gonna be worse/better
[HTC Droid DNA] El Ha$on:
I am under clocking and under volting, and I see a little better battery life.
[HTC Droid DNA] d08speed3:
Yea same here. Little noticeable battery life increase. Every bit helps tho!

HTC DNA
[HTC Droid DNA] Protonus:
Before you go, could you pretty please, make a build with Fast Charge enabled? If there is a reason to keep it off I'm unaware of, i'd love to know, but I haven't seen any explanation as to why it's off? But AFAIK it's just a few lines that need altered to enable it, and if I could do it myself, I would. (PS - please enable it for ALL ID's, including unknown so my aftermarket chargers work correctly).

I bought this phone used, have no factory chargers, and NONE of my chargers get recognized at their correct charging rates. My phone slowly dies while in use using BT, 4G, and GPS in my car.

I very much want to go to 4.3 and this is the only thing keeping me on 4.1. Maybe it's not important to some people but with the way I use my phone it's very much a critical thing to me. And I don't see any other kernels that support it either. Whic is strange to me since virtually every kernel for my last phone (Galaxy Nexus) had it, for any ID / charger.

I will send you cash via PayPay right now to do this - just let me know how much you want. Within reason. I'm no baller.
[HTC Droid DNA] zawata:
I saw the post above mine and thought you were leaving the DNA dev scene and got kind of sad,

Move onto cm 11 yes do that, I know you'll do well

But I do agree fast charge is a good idea
[HTC Droid DNA] hilokilo:
Same here.. my life depends of this feature :(
[HTC Droid DNA] .torrented:
unless you run a desktop overclocking only boosts numbers a small negligible amount, not worth the extra battery, especially since we have a quad core and 2 gbs of ram I've always ran stock on aosp and sense and it's been buttery smooth.

If you underclock that's where you get the stuttering and if you underclock too much it will also contribute to increased battery consumption...

Imo that is... Feel free to play around, also take into consideration what your cpu is binned at.
[HTC Droid DNA] brochild:
WiFi does not scan or re-connect

I am having WiFi issues using the latest kernel.

Seems like previously configured WiFi is not turning on or switching.

Yesterday at work with my WiFi enabled, connected and working great.

I stepped out of my office and loose WiFi (expected behavior, as I am now out of reach)

Came back to my office, and expected WiFi to re-connect but does not. (See logcat)

I am using the latest 9.4.0 kernel.

This issue has persisted on the CyanogenMod 10.2 nightly builds in November.

Cannot really say exactly which build caused it.

Edit:

I used Titanium backup to restore an old wifi configuration setting "Wi-Fi Access Points" from 11/14.

All seems well now.

I repeated my same experiment from work (enable Wi-Fi - walk away so that I'm out of range, and come back)

Wi-Fi is solid and still working.

Issue Resolved
[HTC Droid DNA] flashhsalf:
--sorry wrong thread
[HTC Droid DNA] crpalmer:
Wrong thread. This is for 4.3 Roms...

I can't help without a last_kmsg. Generic advice would be to make sure your download is okay.
[HTC Droid DNA] crpalmer:
Is WiFi working if you flash CM 10.2 and not my kernel? If not, are you trying to connect to a WEP network?

My instructions for checking that everything flashed right are to run the adb commands when you are booted into your phone. I suspect that you are running them in recovery.
[HTC Droid DNA] chadster1976:
I had tried under CM 10.2 and it did not work. I have a WPA2 secured network at my home. The capture I posted was done while booted into CM10.2 via adb and turning on Wi-Fi. I had originally not performed it that way, but then I went back and performed the capture while booted into CM.

At this point, things are now working without me making any changes. The strange thing is that last night I left my phone on all night and at some point throughout the night it successfully connected to my Wi-Fi.

Why it was cycling and not connecting yesterday after the install is strange, but all appears to work now. I will see if it has any problem reconnecting when I leave for work and return.

Thanks for the help anyway - glad things just seemed to work themselves out.
[HTC Droid DNA] orangechoochoo:
Chris,

I asked you in another thread about updating the 4.3 kernel to fix the recording volume issue. At this point the 4.4 ROMs are getting all the attention, but the 4.3 ROMs have all the features. And I really hate the new dialer and the fact that the browser (Chrome and AOSP) use the chromium engine which is not nearly as snappy as before, plus the AOSP browser no longer has wrapping text, history, or incognito mode which bugs the hell out of me. The only thing lacking from 4.3 is the recording volume.

Can you update the 4.3 kernel with the volume fix, pretty please :)
[HTC Droid DNA] crpalmer:
I thought I replied in the other thread. It's not a kernel issue, it's fixed in the device tree of the ROM.

So, to fix it in 10.2, I need to backup my phone, recreate the change (I know it will not cherry-pick cleanly because of other changes in CM 11), build 10.2 with the change, factory reset, install 10.2 and test the change, restore my backup.

That's a lot of work for one change. There are many other improvements in CM 11 that aren't back ported to CM 10.2. They may be as important to someone else as the camcorder fix is for you and I certainly don't want to start having to do this over and over again.
[HTC Droid DNA] orangechoochoo:
Thanks for replying, for some reason I thought it was a kernel fix that could be back ported.
[HTC Droid DNA] detonation:
Does this kernel improve the speaker audio at full volume? Just switched to CM10.2 (stable) after being on Sense 5 for a while and my only complaint is that the audio at full volume is a little rough/distorted.
[HTC Droid DNA] phydo:
Look into viper4android perhaps. Should do some of what you're looking for
[HTC Droid DNA] Phibernaut:
Anyone have the latest build? The link appears to be down.
[HTC Droid DNA] crpalmer:
You should really upgrade to CM 11!
[HTC Droid DNA] Phibernaut:
Running it now but there are some oddities. 10.2 was solid and the smartmax governor seemed to provide better battery life.
[HTC Droid DNA] Colomonster:
11 caused signal not to work for me.... Guns flash this kernel now see what it does....

---------- Post added at 08:41 PM ---------- Previous post was at 08:38 PM ----------

Links are broken and ask you to install virus... Lame.
[HTC Droid DNA] orangechoochoo:
Huh? Colonmonster?
[HTC Droid DNA] djnikko:
no blue flickering (fixed it). No auto focus on both stock and focal. FFC still fc on stock cam.

Inscribed by Droid DNA/Nexus 10
[HTC Droid DNA] brochild:
No flicker here , thanks for the fix
[HTC Droid DNA] alejobog:
I have had the kernel since yesterday morning and have had no flicker on the screen,

thank you very much
[HTC Droid DNA] -DroidIsDNA-:
[MENTION=3857343]crpalmer[/MENTION], I'm sure the last thing you care about is XDA titles, but i'd vouge (and so would your work lol) for you to become a recognized dev! Love your work bud, thank you.
[HTC Droid DNA] hilokilo:
Ah.. force fast charging was my main use of this kernel as I always charge my phone from my laptop... I hope it gets readded in the future.
[HTC Droid DNA] crpalmer:
New release:

Version 4.2.2: September 14, 2013: Sony panel, OTG

* Re-introduce Sony panel (merged)

* Fix USB OTG host mode (merged)

* Use invisiblek's improved splash screen fix and remove my hack
[HTC Droid DNA] mike_augie:
thanks sir ... running this now .. working very nicely
[HTC Droid DNA] volfan22:
I've been like 4 days flicker free :)
[HTC Droid DNA] orangechoochoo:
Working well on Carbon! However I'm one of the few who had severe flickering and now it's mostly gone and when it does appear it's very minor. Maybe I've just got to gve it some time to relax. When i switched to a Sense rom the flickering persisted for a day then went away. Prior to today i was using a 4.2 rom which was flickering so I'll report back on this in a day or so.
[HTC Droid DNA] crpalmer:
How long have you been running this kernel?
[HTC Droid DNA] orangechoochoo:
An hour. Usually i get really bad of flickering but right now it's hardly noticeable which is a great improvement.
[HTC Droid DNA] orangechoochoo:
I was looking through crpalmer.log and noticed it said no such file exists for system/bin/mpdecision. I then looked at your script and noticed that where it says if it detects mpdecision to change it, however there is an S missing from "system" so it fails to detect it and change it.

I also noticed he same misspelling in the portion of the init.d script if your kernel is not detected.

After correcting the script there is no error and my antutu and quadrant scores are back to normal. Previously they were a lot lower than usual.
[HTC Droid DNA] crpalmer:
New version (or should I say "ooops!"):

Version 4.2.3: September 15, 2013: Fix init.d script

* Actually disable mpdecision! (thanks [MENTION=4982657]orangechoochoo[/MENTION])
[HTC Droid DNA] orangechoochoo:
It's nearly 24 hours and the flickering has not reappeared :good:

In Trickstermod I noticed the addition of Simple gpu governor. Whenever I select it and click apply ot reverts back to ondemand.

Can you make a script so we can choose the gpu governor? I'm currious to see how this gpu governor performs https://plus.google.com/app/basic/stream/z13ny10bynz0grjyv04ccpd5eyjuhdr44ow0k
[HTC Droid DNA] crpalmer:
I just uploaded a test kernel for people that are having WiFi issues. This kernel is my 4.2.3 kernel with a set of patches to the wireless driver that have been uploaded for the M7 kernel (I merged this commit and the dependent commits).

Test kernel: 4.3.0

If you previously had WiFi issues and want to help, please try this kernel and report (good, bad or indifferent) your experience.
[HTC Droid DNA] Sambena:
Indifferent.. :(

So I can connect but once I leave my WiFi range or turn WiFi off I am unable to reconnect
[HTC Droid DNA] crpalmer:
I have no ability to reproduce, so it's unlikely I can help. But, if you can provide logs I can take a look and see if there is anything useful in there.
[HTC Droid DNA] d08speed3:
Maybe its peoples router configurations.
[HTC Droid DNA] Sambena:
on a side note. if I turn airplane mode on and wait for the radios to turn off, then turn off airplane mode my WiFi will connect without any problems.
[HTC Droid DNA] -DroidIsDNA-:
My wifi was fine before and after the test kernel.
[HTC Droid DNA] GavinMazey:
I had the same problems with Wi-Fi up till about a week ago. Since then it's been working fine. I did switch out routers around that time and flash roms daily. One thing I did notice on the last few builds is that if I flash the kernel with a fresh Rom, only my 5ghz channel shows up in initial setup. After getting into the Rom and rebooting I can see my 2.4ghz network. After that I have no problems.

Addition... Bluetooth streaming kernel related. Because since cm was migrated to the m7 kernel I get lots of skips even though calls work fine.
[HTC Droid DNA] Sambena:
Here is a Logcat of me turning off wifi than turning it back on and failing to connect. I than turn on/off airplane mode and am able to connect to wifi.
[HTC Droid DNA] ML417:
sounds like a possible problem on switching over from 4g data to wifi. that's my 2cents but i guess the logcat would confirm/deny it.
[HTC Droid DNA] supertoast92:
Hi cr, here's the logcat I pulled just now. On the 9/17 build, using your 4.3 kernel. Still getting constant connects/disconnects from Wi-Fi. I know this log is really long (admittedly, this is the first one I've pulled ever), but I ended it shortly after it reconnected to Wi-Fi after being disconnected for a second or two. Hope it helps, and thank you for your help and support.
[HTC Droid DNA] miopea:
The changes you made seems to have stabilized the wifi for me. My personal network was fine, but our corporate network would constantly cycle connections. I installed the updated kernel this morning and the connection has been solid all day.
[HTC Droid DNA] loctorn:
Hey [MENTION=3857343]crpalmer[/MENTION] just checking in. Has there been any progress on the camera focus issues? I'm probably posting in the wrong place if so I'm sorry. (Not sure if the focus issue or lack thereof is ROM or kernel related)

CM 10.2 and your kernel rock though. Great battery and speed thus far.
[HTC Droid DNA] .torrented:
I don't believe it's a kernel issue. It's something to do with the ROM I think, if you go into the settings and disable wifi always scanning, it seems to fix the wifi cannot connect issue.

Edit* it actually might be kernel related...