yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] crpalmer:
FYI, 5.4.2 differs from 5.4.3 only in fixing null pointer crashes in the ondemand governor and removing some excessive logging. If you had battery consumption issues that you thought were from 5.4.3 that you thought went away with 5.4.2, it was probably just the reboot that made the difference.

I have periodically seen problems with play services. My feeling was that it sucked a lot of battery when it decided to do some kind of update while I had a bad network connection. But that was just a guess.
[HTC Droid DNA] orangechoochoo:
Nope.

Jammiethemorris has a kernel in the development section that may include GPU oc.
[HTC Droid DNA] orangechoochoo:
It is based off crpalmers kernel. Crpalmer is conservative and wants things to have a little performance but absolutely no detriment. Jamiethemorris tweaks crpalmers kernel for more performance but I'm not sure if there has been any negative impact, so go through his thread.

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

How about:

What are you drinking tonight?

How many diapers have you changed in the last hour?

What girl would you have on your desktop if your significant other would never see it?

Just kidding Chris! Just trying to brighten things up :good:
[HTC Droid DNA] crpalmer:
I removed GPU overclock when there were screen flickering issues. I haven't added it back because I didn't miss it.

Jamiethemorris's kernel is based off mine anyway so you aren't losing anything by using it as long as he keeps up to date on my changes.
[HTC Droid DNA] -DroidIsDNA-:
The one in android dev is the same kernel but with gpu oc...
[HTC Droid DNA] jamiethemorris:
Yeah, at high gpu clocks I have a occasional flickering. So that's definitely the drawback and I don't think there's any solution to that so that's why I have a stock clock one.
[HTC Droid DNA] armydog13:
I am drinking coffee, I have changed three diapers in the past hour (two were poops), and definitely Olivia Wilde (incredible eyes).

Or Celina Jaitley......... same reason
[HTC Droid DNA] orangechoochoo:
This may turn into a pio_masaki thread :p

In all seriousness, thanks crpalmer for your dedication and hard work on this device. I don't foresee myself using g a 4.4 ROM, but your hard work has made it pretty trouble-free from the comments I've seen.
[HTC Droid DNA] PeterDLai:
Wi-Fi AP Persistent MAC Address

This may be a long shot, but is there any way to set a persistent MAC address for the Wi-Fi AP? I've noticed that after every reboot, when I connect my Windows 7 PC to the Wi-Fi AP it thinks it's a new network and thus generates a new network connection for it (while also prompting whether to set the network location to Home, Work, or Public). I believe this is because after every reboot, the Wi-Fi AP when activated generates a new (random?) MAC address for itself.

I came across a proposed solution, but even after I got the process to work as an init.d script (the dev_addr file in /sys/modules/g_android/parameters did show the MAC address I specified after each reboot), it didn't make a difference in the Windows 7 behavior mentioned earlier, giving me the impression that the MAC address is still being randomly generated.
[HTC Droid DNA] Uzephi:
It isn't isolated to this device. I used USB tether and WiFi tether on my old LG spectrum (CM10), Rezound (CM10, 11 sense 4+), and this DNA (Sense 5, 5.5, CM10, CM11). All Roms and devices had to make a new network when connecting to Win7 x64. It has over 90 saved networks from three devices in the past year.
[HTC Droid DNA] PeterDLai:
Yeah, I'm aware that this is a common issue (I've even read about iPhone users complaining). I've never had this issue when using a 3rd party app like android-wifi-tether, so I was just hoping that maybe crpalmer or someone else here would know how to fix it for the native tether. :)

I just discovered that this behavior occurs in the following scenarios:

1. Reboot both PC and phone

2. Reboot PC and toggle Wi-Fi AP off and on

It does not occur in these scenarios however (when it reconnects it will reconnect to the old profile and not create a new connection/network location):

1. Reboot PC, leave Wi-Fi AP alone

2. Reboot phone, leave PC alone

3. Toggle Wi-Fi AP off and on, leave PC alone

For now, I've resorted to doing this. It does not show any signs of being connected, but for some reason I prefer that over the constant creation of new networks (Network 2, Network 3, etc.). :p
[HTC Droid DNA] ghutchin:
Is there anyway to change the bluetooth mac address with this kernel? What about with with the stock ROM?
[HTC Droid DNA] warpurlgis:
I think its probably a ROM thing more than a Kernel thing.
[HTC Droid DNA] .torrented:
Hey, hows it going.

I modified the anykernel tools to create a flashable zip that will pack everything into an Aroma installer for installation

you can check it out here: https://github.com/torrented/aroma-kernel-build-tools

Instructions are in the readme, short version is you would need to edit the aroma-config and aroma-updater-script (just don't change the file names)
[HTC Droid DNA] crpalmer:
New version, sorry about the bad changelog but I mostly submit changes to CM these days and it's too hard to keep track of what I've done....

Version 5.7.6: April 7, 2014: General Fixes, Linux 3.4.86

* Linux version 3.4.86

* Other changes, mostly have been merged into the CM kernel and I forget which changes weren't...
[HTC Droid DNA] Gorilla*:
this causes bootlooops. on m5.
[HTC Droid DNA] crpalmer:
Clean flash?
[HTC Droid DNA] Gorilla*:
Yes clean flash.

I had to wipe my phone 3 times before I figured out the issue this morning.

Did factory data reset.

It will boot initially but when u reboot once it will boot loop.
[HTC Droid DNA] rockfreak101:
FYI. I had no troubles. Even rebooted and no loop.
[HTC Droid DNA] jamiethemorris:
Did you also wipe system and cache?
[HTC Droid DNA] Imacellist:
I did a dirty flash to m5 and used this new kernel and there were no issues.
[HTC Droid DNA] jinx01:
Has anyone successfully flashed crpalmers latest kernel with the new gummy release? I am getting bootloops, despite multiple flashes and wipes. Please advise! Thanks.
[HTC Droid DNA] Jaggar345:
It may not be compatible with that rom. I haven't tried it but chances are if you wiped and did a clean install and it's still boot looping it probably isn't compatible.
[HTC Droid DNA] mjc2251:
[MENTION=3857343]crpalmer[/MENTION] is this still safe to flash over the latest nightly now that were on 4.4.3?
[HTC Droid DNA] crpalmer:
Yes.

Fyi, I'll need to do a new release soon though. There was a vulnerability announced (I think) yesterday which I will need to fix here. Not related to 4.4.3.
[HTC Droid DNA] TonyStark R.I.P.:
Please keep comments specific to this kernel, as it pertains to CM nightlies. This is not a request thread, so please keep comments on topic

If you would like to make requests of the OP, please use PM or create a thread in the Q&A section.

Thank you:good:
[HTC Droid DNA] orangechoochoo:
Chris, on the stock CM kernel do you replace HTCs mpdecision just like you do with your custom kernel?
[HTC Droid DNA] Androide3:
Can i use this with 4.4.4 ROM?
[HTC Droid DNA] orangechoochoo:
I've used it on 4.4.4 LiquidSmooth and Carbon.
[HTC Droid DNA] Gorilla*:
Where is the updated kernel?
[HTC Droid DNA] orangechoochoo:
His latest kernel (5.7.6) works with android 4.4 ROMs. There has been no update since April.
[HTC Droid DNA] Gorilla*:
OK. thanks.

Just making sure.
[HTC Droid DNA] rohitece06:
[MENTION=3857343]crpalmer[/MENTION] why is all CM-based rom's wifi signal strength and connection consistency worse than sense-based roms?
[HTC Droid DNA] crpalmer:
I've never noticed any problems. Why do you think it is worse?
[HTC Droid DNA] rohitece06:
In my office wifi is secured 802.1x EAP with PEAP/MSCHAPV2. I keep the phone at same spot every day but when I am on sense-based rom, the wifi holds on strong but CM-based roms keeps dropping and disconnecting. wifi signal strength seems low on CM-based roms too. "Scanning always available" is turned off in both scenarios. Changing kernel's doesnt help.
[HTC Droid DNA] biggiesmalls657:
Wasn't it a security issue? Like try to disable encryption on your router to see if it helps.
[HTC Droid DNA] rohitece06:
I cant do it. I work at a big university and wifi is handled by them.
[HTC Droid DNA] biggiesmalls657:
Wifi fixer is in the market or reflash your rom.
[HTC Droid DNA] crpalmer:
I'm working on changes to the wlan driver (wifi) and the DRM / TZ support. Looking for feedback on this test build:

http://download.crpalmer.org/downloads/dlx/cm-11-20140716-UNOFFICIAL-dlx.zip

(cc: [MENTION=2951107]rohitece06[/MENTION], let me know if that makes your wifi worse, better or the same). This is roughly equivalent to today's nightly with additional commits. If you want to see what I've changed, they are all up on gerrit.

I believe that this fixes Google Movies playback (although it was only playing in SD for me).

If you want to test it, please let me know if you have any DRM problems and/or any WiFi problems.
[HTC Droid DNA] rohitece06:
Flashing right now I will let you know in an hour or two (when I get to office)
[HTC Droid DNA] crpalmer:
Oops, meant to post this in the nightlies thread. Reposted there. Can you post any comments in that thread instead please!
[HTC Droid DNA] rohitece06:
Sure
[HTC Droid DNA] LuckyPuppy:
Connectivity

Unfortunately I suffer the same issue on anything other than a Sense based ROM. Don't have the problem with WiFi, just data connection. I've tried several things to fix but to no avail. Not that I don't like Sense6, but other' ROM's based on CM are pretty slick. I just wish I could figure what the difference is....:silly: I'm running the latest firmware and radios so that shouldn't have anything to do with it.
[HTC Droid DNA] orangechoochoo:
Chris,

Back in June you mentioned a security fix for the kernel. I believe you implemented it into CM, however if we flash your last kernel from April will it overwrite those fixes?
[HTC Droid DNA] crpalmer:
Yes. The security fixes are the fix the CVE that towelroot exploits. I really need to fix that in this kernel too!
[HTC Droid DNA] crpalmer:
Care to test it for me?

http://download.crpalmer.org/downloads/dlx/update-crpalmer-5.8.1.zip

(and anyone else that wants to test and report back if it is working well). I've done some basic testing but not much (haven't even put a SIM card in the phone) and I'm about to run out of time to work on it today.

Changes:

* Patched up to linux 3.4.99 (latest version of as now)

* Patched up to latest CM (fixes a couple of CVEs, not a whole lot else was missing)
[HTC Droid DNA] orangechoochoo:
I'm running it now, if anything comes up I'll let you know.
[HTC Droid DNA] Gorilla*:
Regarding this newest Kernel... The user should not notice any difference from an older kernel... behind the scenes stuff... or this could impact battery/performance?
[HTC Droid DNA] crpalmer:
It has something like 11 Linux kernel releases in there. Could impact almost anything, good or bad... Aside from that, 5.8.1 doesn't add anything cm specific to improve performance or battery.
[HTC Droid DNA] orangechoochoo:
I haven't noticed any benefit or detriment with the new kernel. Phone, WiFi, data, everything works as before.

However, in this and the last kernel I noticed the crpalmer log is not being written and the scripts are not executing. Not sure why. When I added "su" to the init.d script then the color enhancement on worked but not the other scripts. I have the same exact setup on my backup DNA and it functions normally.

The only difference between the two phones is that the backup used the original unlock method (Cid change and then htcdev) while the new one was through rumrunner.
[HTC Droid DNA] crpalmer:
What ROM?
[HTC Droid DNA] orangechoochoo:
Carbon and Validus. My backup DNA has the same exact setup. The only difference is how the bootloader was unlocked but that shouldn't make a difference. I'm going to check jammiethemorris' kernel thread since I remember some people said the scripts wouldn't load either. I'm short on ideas about that but I'll see if there is anything that correlates.

Do you think Selinux being in enforcing mode would make a difference?
[HTC Droid DNA] crpalmer:
We've had selinux enforcing for a long time now. Probably since before anyone installed the CM11 build on the dlx, so it's not that (unless polices changed, which shouldn't have but who knows...).
[HTC Droid DNA] crpalmer:
Just had a chance to check and it's working fine for me on CM 11 (I have my min / max frequency set and they are set on boot).
[HTC Droid DNA] crpalmer:
Thanks for [MENTION=4982657]orangechoochoo[/MENTION] for testing! Here's a slightly newer release than the test one I posted:

Version 5.8.2: July 19, 2014: Upstream updates and security fixes

* Patched up to linux 3.4.99 (latest version of as now)

* Patched up to latest CM (fixes a couple of CVEs, not a whole lot else was missing)

* Update some video bandwidth parameters
[HTC Droid DNA] orangechoochoo:
It works that way if I use the Performance settings. If I don't set that up in the performance settings, it reverts to the 378 min and 1512 max, however I could move the slider to set the min as 162 and the max as 1728 and then check off set at boot.

I thought there was no need to rely on these settings because the scripts will set the min and max itself.

---------- Post added at 04:07 PM ---------- Previous post was at 03:54 PM ----------

Chris, I was reading through Jammiethemorris' thread and Santod mentioned that some aosp ROMs seem to not have init.d supported turned on in the ramdisk. If that's true then when your kernel is flashed and the any kernel merges the two then it won't have init.d support. I'll ask Pio about this.

I think that's why your kernel works on LiquidSmooth, Santod enabled init.d in the ramdisk.
[HTC Droid DNA] crpalmer:
That sounds believable.
[HTC Droid DNA] orangechoochoo:
I just ran a test script and it didn't create a log so init.d is not enabled.

I'll talk to Pio.
[HTC Droid DNA] UltraMagnus0001:
running nightly 20140712. If I turn off wifi manually and try to turn it back on, it won't come back on, so have to restart. I did the whole forget network and so on , it just says failed to connect.
[HTC Droid DNA] crpalmer:
I just tested on a recent CM 11 nightly and had no problems turning WiFi off and then back on. It reconnected just fine. What ROM are you running? Maybe a ROM specific issue?
[HTC Droid DNA] UltraMagnus0001:
cyanogen nightly. :confused: just realized I posted this on your kernel page and not cyanogen nightly :silly: realized when you asked what ROM i'm running.
[HTC Droid DNA] tkags85:
I had this same issue with CM 11-M7. It was so annoying that I switched back to a Sense based ROM. Did the latest version on [MENTION=3857343]crpalmer[/MENTION] kernel fix your wifi issue? If so, I will go ahead and install CM11-M8 with the 07/19 version of the kernel.
[HTC Droid DNA] rohitece06:
WiFi is much better after crpalmer fixed few weeks ago.
[HTC Droid DNA] UltraMagnus0001:
yes
[HTC Droid DNA] crpalmer:
I actually haven't changed anything in the WiFi in my kernel.

A week or two ago, I pushed new firmware to CM11 which should improve WiFi.

Two nights ago, I pushed kernel changes to CM11 (but not my kernel yet) that move us to the stock wlan driver.
[HTC Droid DNA] tkags85:
Interesting!

I am not able to get network after installing CM11-M8 with the latest kernel. I had network when I installed everything, just lost it today morning. Not sure whats going on. I will install the latest nightly and see if that helps. If there is something that I might be overlooking then any help will be appreciated.
[HTC Droid DNA] tdizzle404:
How's this kernel working on current nightys
[HTC Droid DNA] codezzie:
Any plans to get those changes merged into your kernel?
[HTC Droid DNA] orangechoochoo:
And you can verify it worked by looking at the crpalmer.log to see if the settings you wanted were applied.

It's always best to double check that just in case you misspelled something.
[HTC Droid DNA] GeneratedUserName:
Ok am I blind or is the download link missing?
[HTC Droid DNA] orangechoochoo:
In the first post look for Changelog and just under that it says Version 5.2.11, it is a link to the kernel.
[HTC Droid DNA] GeneratedUserName:
Yea I just figured that out lol I was rushing back to edit my post before someone saw... Too late :P thanks!
[HTC Droid DNA] collegencmc:
Can this Kernel work with CM 10.2 as well or just CM 11?
[HTC Droid DNA] chipymunk:
Will this work with 4.4?
[HTC Droid DNA] mr4r4n:
yes it does, im running it from OSE 4.4 nightly:good:
[HTC Droid DNA] coachcrey:
This kernel is built for 4.4
[HTC Droid DNA] thayl0:
This is his kernal for 10.2

http://xdaforums.com/showthread.php?t=2438755
[HTC Droid DNA] mjpitts:
Not sure if it has anything to do with the kernel but volume wake seems to be hit or miss after flashing this Kernel.
[HTC Droid DNA] Stix-N-Stonz:
Thanks!
[HTC Droid DNA] collegencmc:
Ok thanks guys, that is what I thought but I just wanted to make sure. Thanks again!
[HTC Droid DNA] bballboy32591:
Volume wake has never worked for me on cm once the phone is in deep sleep. This is on the stock kernel too so it's not related to Palmers kernel
[HTC Droid DNA] schott12521:
I didn't see this mentioned elsewhere, but does this still have USB OTG or will I need to stay on 4.3 until it is ready? Thanks!
[HTC Droid DNA] crpalmer:
One user in the CM11 thread is reporting problems with mounting an SD card. I do not have any problems myself. I have also tested a USB mouse which work fine.
[HTC Droid DNA] Gungrave223:
No, this is for CM 11
[HTC Droid DNA] kun.aries:
sorry, this is the first time I use your kernel, IDK how to add these command, where? I reboot to bootloader but when I use these command it said "error:device not found". I use Terminal Emulator and it's the same. :confused:
[HTC Droid DNA] Gungrave223:
Also thanks for the crpalmer, but question, can I please have mirror link...with cherry on top. My network does really like filesharing sites like that, so can I have a google drive, dropbox, or even mega.co.nz please.
[HTC Droid DNA] -DroidIsDNA-:
https://www.dropbox.com/s/zdc0o9jzgg62pwl/update-crpalmer-5.2.11.zip

My personal drop box cuz I'm a nice guy
[HTC Droid DNA] Gungrave223:
Thanks :D
[HTC Droid DNA] crpalmer:
The example commands are intended to be run while the phone is plugged in and booted into CyangenMod. After making the changes, you need to reboot for them to take effect.
[HTC Droid DNA] thayl0:
U came into the convo little bit late.. Someone on another page asked if the cm 11 kernal would work for 10.2

Then I said no and linked him to the correct page.
[HTC Droid DNA] Gungrave223:
Lol nvm then...disregard..
[HTC Droid DNA] flashhsalf:
flashed the latest 5.2.11 on OMNI 4.4 rom. It started to reboot cycle at the HTC logo. Any thoughts on how to get past it?

Will clearing Dalvik Cache or the Cache partition help?
[HTC Droid DNA] jasoraso:
Definitely
[HTC Droid DNA] gillim74:
[MENTION=3857343]crpalmer[/MENTION].what is the best processor and i/o to use with your kernal.thanks for all your hard work.
[HTC Droid DNA] jamiethemorris:
IMO the default settings are optimal, although you may like row better for I/o. I think ondemandcrp is better than standard ondemand and interactive
[HTC Droid DNA] mattking45:
Thank you so much man. I know this is an early release but hopefully we will see sweep2wake in a later release on 4.5 maybe? Or earlier?
[HTC Droid DNA] rchrdcrg:
I'm curious if I'm missing something with this kernel, because when I use it (and this went for the CM 10.2 version as well), it seems like my phone is running slower. Things stutter more, games don't run as smooth, and my benchmarks all go down a little bit (and all while overclocked to 1.7GHz). It's a shame, because it's the only way I know of to overclock while running stock CM. Judging from everyone's praise, I have to wonder what I'm doing wrong.
[HTC Droid DNA] sic4672:
You may be unstable at 1.7, try dropping a little and see if it helps.
[HTC Droid DNA] jamiethemorris:
What governor are you using? Sometimes interactive works better for games
[HTC Droid DNA] venkatp:
Do i have to flash the kernel every time i flash a nightly update?
[HTC Droid DNA] jctennis:
Yep. It would be nice if the cm updater would allow you to specify zips to flash after the nightly wouldn't it?
[HTC Droid DNA] riom4:
So im rebooting now attemting to fix this issue but i dont know yet if ive fixed it so i just came over from the lastest build of the unofficial cm11 to the newest official cm11 then i flashed this kernel but the mix clock and max clock both seem to be stuck at 1.5ghz and it wont stick when i change it any thoughts?
[HTC Droid DNA] x70xchallengerx:
In addition to the last comment, what's everyone's favorite clocking/volting app which works on KitKat? My clocks don't seem to want to stick with stock settings menu or with system tuner from app store.
[HTC Droid DNA] JWFokker:
Boot loop with omnirom. Anyone get this kernel to run with omnirom?
[HTC Droid DNA] crpalmer:
If you use my scripts to set any of the crpalmer-cpufreq-* settings, it will lock the governor and speeds. If it didn't, they would get changed by the post_boot scripts that run automatically on boot. That doesn't affect the under/over volting though.
[HTC Droid DNA] jamiethemorris:
Have you tried a clean flash? Also are you setting the frequencies with the scripts or with a 3rd-party app?

I think OmniRom is using different adreno drivers now, that may have something to do with it. Perhaps there will be an upstream commit or something that will fix it. Omnirom is not using a cm base, so things like that will happen sometimes. I remember with pac and carbon on my nexus 7 there were bootloops with most kernels because they were using a different ramdisk, so I think it's probably a situation like that. I take it Omnirom boots fine with the stock kernel? Obviously you could also try a redownload of the rom and/or the kernel.
[HTC Droid DNA] crpalmer:
I would recommend using a different ROM. This one has already been declared dead, it is quite old in terms of CM 11 changes (for example, you have been warned that you cannot mute yourself when on a phone call).
[HTC Droid DNA] slacker126:
I use trickster mod....bestctuning app I've ever come across. Never had a single problem on any rom with it
[HTC Droid DNA] gillim74:
Where do you get it from

---------- Post added at 03:43 PM ---------- Previous post was at 03:30 PM ----------

Nvm i found it
[HTC Droid DNA] Jarocks:
[request] ath9k kernel module

crpalmer, could you include the ath9k_htc driver in your build tree? I would love to be able to use the tplink tl-wn722n (or any AR9271 based usb wifi adapter) with my DNA.
[HTC Droid DNA] orangechoochoo:
You should really use the scripts to set all the kernel's tuneables. Then double check he crpalmer log to ensure your desired settings were applied.
[HTC Droid DNA] PrimeMinister91:
Is anyone else getting bootloops with the new nightly?
[HTC Droid DNA] venkatp:
No issues for me
[HTC Droid DNA] crpalmer:
I just finally tried this for you and, unfortunately it adds 10MB (or about 5%!) to the size of the kernel. The upstream kernel doesn't have module support and I would like to stay consistent on big items like that which means I can't build this as a module and therefore it would need to add 10% to everyone's kernel.

Therefore, I'm sorry but I can't add it.
[HTC Droid DNA] crpalmer:
Reboot to the white HTC screen or the cyanogen screen?

What ROM?

What settings have you changed?

Can you send a copy of /proc/last_kmsg after a reboot?
[HTC Droid DNA] Jarocks:
Thank you for looking into it. There are a lot of devs on XDA who would just say something along the lines of, "Build it yourself.”

Anyway, I've been running your kernel on the latest Beanstalk build without any issues so far.

:)