yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] JWhetstone02:
looking at the aosp cm10.1 thread and this one, they both support the init.d

this is the exact steps I did. should work for over/under clocking/volting

**I only used android terminal emulator because I was not near a pc to use adb**

- flash the kernel by crpalmer (aosp or sense)

- you should have a file on the root of your sdcard now called /sdcard/crpalmer.log

- open the /sdcard/crpalmer.log file and just look at it. that is all

- install android terminal emulator from the play store

- open terminal emulator and grant it superuser access

- type in: su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min" and press enter on keyboard. this creates the file on the root of your sdcard called /sdcard/crpalmer-cpufreq-min. if you happen to open it up, all it has in there is 192000 or whatever you want your min to be

- type in: su -c "echo 1026000 > /sdcard/crpalmer-cpufreq-max" and press enter on keyboard. this creates the file on the root of your sdcard called /sdcard/crpalmer-cpufreq-max. if you happen to open it up, all it has in there is 1026000 or whatever your want you max to be

- type in su -c "echo -100 > /sdcard/crpalmer/uv" and press enter. this creates the file crpalmer-uv on the root of your sdcard called /sdcard/crpalmer-uv. if you happen to open it up, all it has in there is -100 or whatever you want to be undervolted by

- type in the other lines if you want to specify a governor or set lightsensor back to stock found here

- reboot

- now open the /sdcard/crpalmer.log file. it should look different now, showing you the values you specified

crpalmers init.d scripts read these file

at boot

from the root of the sdcard and applies the given values so no 3rd part cpu control app is needed.
[HTC Droid DNA] jonathan413:
Tried it the way your saying but nothing is changing..weird
[HTC Droid DNA] wpsantennas:
Do you at least see the crpalmer.log file? If not, your init.d might not be working.
[HTC Droid DNA] fredulus:
Can color enhancement be turned on with this kernel like with your CM kernel?
[HTC Droid DNA] curly9:
I believe it is in his sense kernel
[HTC Droid DNA] crpalmer:
No, but it will be in the next release.
[HTC Droid DNA] dogredwing1:
could you possibly add back the MSM-DCVS governor?
[HTC Droid DNA] rlewis312010:
No more sense kernel updates? I see the aosp kernel updates are being released.
[HTC Droid DNA] .torrented:
Not to sound like a douche in any way but his/chad's main focus is getting 4.3 solid as a rock so sense kinda got bumped aside for now, however zarboz has something in the works for sense 4.2.2 if that has you interested
[HTC Droid DNA] rlewis312010:
Not a douche at all. I was afraid of sounding like this in asking. I have used Rage rom and did flash that aosp kernel for a test. It did work. I was curious if this one is going to get anymore updates. Thanks for clarifying some of this .torrented.
[HTC Droid DNA] .torrented:
I'm sure he will eventually, probably once a new version of sense hits the device there will be some updates
[HTC Droid DNA] crpalmer:
All the updates to the aosp kernel are specifically related to 4.3. If I start making generic improvements again, this will get updated.
[HTC Droid DNA] Irieone:
I have been having issues with GPS locking on me for the past several weeks. I have never had this issue before. Sometimes it works instantly. Most of the time, it takes 10 minutes or so to lock on me.

I use Endomondo daily to track/map my cycling routine. After continued issues with GPS lock and Endomondo, I believed the app was problematic. I then tried Strava and Map My Ride, which do similar things. These apps also had trouble getting GPS to lock on me. Last but not least, I began to check Google Maps when I could not get a GPS lock in the cycling app and realized it too got not obtain a lock on my location.

At that point, I tried the stock and beaups/elkay kernel. Both quickly gave me GPS lock in all of the apps I mentioned above. I will also add that I don't recall having this issue when I was on your 2.0.34 kernel. It seems specific to 2.0.38.

I am running Viper Rom and the 2.0.38 kernel is running the defaults. Does this sound like a kernel issue? I don't see anyone asking about GPS lock, so I kind of assume its me. However, I'm not sure if anyone else uses cycling-type apps like I do daily.

I love your kernels and I don't want to change. That is why I am asking.

Thanks for reading.
[HTC Droid DNA] rfarrah:
I'm using Beaups kernel on Viper and am also having issues with GPS. Another user suggested it might be related to the new Google Maps app because when he went back to the previous version the problem went away.

Unfortunately, he didn't say exactly how he went back to the previous version.
[HTC Droid DNA] crpalmer:
I use an app called GPS Status to test the GPS. It's nice because it shows you information about the satellites that are being picked up amongst other data.

It might be that rebooting to install the new kernel fixed it or it.

FYI, I haven't touched anything with the GPS drivers. That doesn't guarantee that something else I changed didn't break it, but I would be surprised if it had...
[HTC Droid DNA] Irieone:
I thought maybe it had something to do with G-Maps, but its hard to say. I don't know how or if the cycling apps I mentioned use G-Maps. It just smokes me that the problem is intermittent. The Endomondo app will even tell me GPS signal is excellent, I start my routine and then 10 minutes later I realize its not tracking my location, movement, speed, etc...

---------- Post added at 04:16 PM ---------- Previous post was at 04:10 PM ----------

Thanks for taking the time to reply and reassure. I will try the GPS Status app. Like I was saying, the problem is anything but reproducible. I rebooted yesterday while I was riding twice to see if that would help and it would not. I also didn't think there is anything magic about the stockish kernels that caused them to work for me. It was more of a luck thing.
[HTC Droid DNA] atsoca:
Will the 4.3 kernel run on badseed release 4?

And if so is it recommend

Thanx

Yep Charles fixed it AGAIN
[HTC Droid DNA] CharliesTheMan:
Nope the 4.3 kernel being AOSP instead of sense based would prevent if from working but also badseed RLS 4 is android version 4.1.2. If it gets rebased onto Android 4.2.2 down the road then 4.2.2 based custom kernels can be used, same with 4.3 sense ports needing 4.3 sense kernels when they become available.
[HTC Droid DNA] atsoca:
Thanx for the heads up yoda

Yep Charles fixed it AGAIN!
[HTC Droid DNA] Shahaed:
I don't know if I have no idea how to flash a kernel, but I can't seem to make it work. I'm using Newts new 4.2.2 Sense ROM. Any help? You just flash in recovery (On Clockwork) after wiping dalvik cache right?
[HTC Droid DNA] phydo:
Yes, the zip you just flash in recovery. You can wipe Dalvik and cache that's fine. You can probably check in settings - about phone if it stuck somewhere. I don't use sense just happened to see this. I'm assuming your bootloader is s-off?
[HTC Droid DNA] Shahaed:
Yeah man. Weird. Same thing happened to me with the 10.1 kernel crpalmer had when I was using Carbon. Those should've also been compatible. Since it was based on cm 10.1. I'm soff so idkk
[HTC Droid DNA] phydo:
You can also probably try manually flashing the kernel in the bootloader with fastboot instead with fastboot flash boot zimage (gotta extract it from the zip) or you can test it with fastboot boot zimage which would boot it for one run only. ;) command line can be fun sometimes. These commands might not be exact but it's very close.
[HTC Droid DNA] Spaded21:
Is anyone having an issue with this kernel and ViperROM with bluetooth keeping the phone in a constant wake state?
[HTC Droid DNA] fr4nk1yn:
No. This is based on 4.1.2. flashed on a 4.2.2 ROM weird things will happen if it even boots.

Patiently waiting on a Sense 4.2 based kernel.
[HTC Droid DNA] Irieone:
After a month+ I solved this problem. I am binned fast, but the shoddy GPS lock is a result of undervolting 100 mv on my phone.

Hope this information helps someone.
[HTC Droid DNA] crpalmer:
New release (again, I don't run Sense ROMs anymore so I haven't even booted this kernel....):

Version 2.0.41: August 25, 2013: Linux 3.4.58, HTC colour "enhancement"

* Merged Linux versions 3.4.53 - 3.4.58

* Added the ability to enable / disable the HTC colour enhancement (this lets you see if you like it or not)
[HTC Droid DNA] Spider210:
I'd like to know the compatibility with the nos 3.0.5 Rom so hopefully someone can try it and post it here!

Sent from my DNA
[HTC Droid DNA] JB_Da_Greatest:
Going to try with Viper ROM... Will report back.
[HTC Droid DNA] atsoca:
Where do we enable and disable the color option

Yep Charles fixed it AGAIN
[HTC Droid DNA] crpalmer:
See the second post.
[HTC Droid DNA] rfarrah:
Good. Thanks for letting us know!
[HTC Droid DNA] -DroidIsDNA-:
Doesn't hurt to try ;) just backup
[HTC Droid DNA] ickedmel:
This wouldn't work for nos huh?
[HTC Droid DNA] crpalmer:
Try it and let us know?
[HTC Droid DNA] trickster2369:
Booted and working great on Badseed for last couple hours.

Thank you.

From my S-Off BadSeed DNA
[HTC Droid DNA] ickedmel:
Yeah I can make a back up and test if you're serious thought you guys were kidding hehe
[HTC Droid DNA] atsoca:
So the only way to switch the color enhancements I'd they adb?

Yep Charles fixed it AGAIN
[HTC Droid DNA] d08speed3:
You can also add the file name on the root of the sdcard "crpalmer-color-enhancement" and it pretty much activates it.
[HTC Droid DNA] ickedmel:
Hey just fyi didn't work just stuck at HTC logo so I restored no harm done :)
[HTC Droid DNA] xlxcrossing:
I did this, no difference for me. Maybe its negligible? I thought 2.0.38 had the enhancement which is what I came from. Can anyone do a before and after? I would post my screens but they'd look the same!
[HTC Droid DNA] atsoca:
I agree with above

Yep Charles fixed it AGAIN
[HTC Droid DNA] adamjamess:
Thanks for testing and reporting back.
[HTC Droid DNA] Zarboz:
Need to update kgsl and MDP for that to work
[HTC Droid DNA] xlxcrossing:
[MENTION=248529]Palmer[/MENTION]

Can you confirm why the enhancement looks the same with or without the file?
[HTC Droid DNA] d08speed3:
I use the color enhancement on his other kernel on CM10.2 by just adding the file and you can tell a difference. Screen is more bright and colors pop more.
[HTC Droid DNA] crpalmer:
Did you reboot after adding or removing it?
[HTC Droid DNA] xlxcrossing:
Yeah its weird the screenshots look the same.

BEFORE

AFTER

EDIT: I realize why the screenshots look the same. Its because the color in the images is captured the same way and doesn't depend on how color is expressed on the display. Just to clarify - when the enhancement file is present the colors appear whiter and more washed out. Without the file present colors appear richer and deeper. Not sure if this was intentional.
[HTC Droid DNA] JWhetstone02:
+1

i ran it with the file present and without. i agree that it looks a lot better without the 'crpalmer-color-enhancement' file

also i have been getting stellar battery life with viper135 and the crpalmer v2.0.41
[HTC Droid DNA] eriknors:
This has been ur first kernel I've been able to run w/ no reboot issues to speak of and awesome battery life.

Question about color enhancement file. I used smanager and ran it as a script file with root applied and got this

https://www.dropbox.com/sc/s78jq48uarnmroh/l2hbd5L1XN
[HTC Droid DNA] orangechoochoo:
What does your crpalmerlog say?
[HTC Droid DNA] jayochs:
maybe it's me, but different kernels literally have no effect on battery for me ever. I figured I'd try this out to see how much it saves but idk, after first unplugging and 25 min screen on time, I'm still down to 88 percent like usual. what tricks are there for battery saving with kernels? I've never done the undervolting only bc im unsure as to what exactly it does, and i don't want to mess anything up... but does that make the phone laggy or something?

---------- Post added at 09:43 AM ---------- Previous post was at 09:42 AM ----------

also, color management, or lack thereof bc i don't have the file under sd card when I installed the kernel, rocks. so much better contrast.. the whites were so washed-out stock. google hangouts was a good example bc the gray background and white chat bubbles literally blended into one.. now you can see a clear distinction.

---------- Post added at 09:46 AM ---------- Previous post was at 09:43 AM ----------

and what's your guys normal running temps? I don't remember my dna getting hotter than my s4, but apparently it did. standard usage I'm getting like 37 Celsius
[HTC Droid DNA] poonjack:
With heavy usage, (may be played candy crush for 30 mins:D) my phone may go up to 41℃, regardless what kernel what I used. I believed your high temp is not caused by crpalmer kernel.
[HTC Droid DNA] orangechoochoo:
The kernel doesn't affect battery drain while the screen is on, the screen draws the same amount of power whatever kernel you're on.

This kernel excels otherwise because it removes most all the wakelocking that drains the battery in standby. My phone only goes down 2-3% while i sleep at night. A lot of unecessary debugging and other junk was also removed and his own mpdecision is used making the kernel more effecient.
[HTC Droid DNA] jayochs:
ahh, thanks for clarifying for me. eh, my DNA battery life was always pretty bad anyway, so it's fine. after like 4-5 hours, im down to like 58% already with only like 1.5 hours screen on time lol stupid DNA.
[HTC Droid DNA] FCO2011:
So I flashed this kernel (latest) to use with Newt's latest sense 5 rom and it pretty much soft bricked my phone. I can get to recovery but that's it. Isn't this supposed to work with sense roms? Battling with recovery and ADB right now, can't even adb push for some reason, or side load. getting an annoying "cannot read sideload" when I try to push newt's rom to get back to the stock kernel.

Help? Luckily I don't need to out and about today or tomorrow, but I really need my phone in working order again. Can't even access my backups.

EDIT: Okay ADB push is up and running, so I manually copied over the rom and am flashing as I type. will edit again.

EDIT 2: okay, got my phone back up and running. staying on the stock kernel after this. Anybody know what might've gone wrong?

EDIT 3: LOL I'm dumb. Carry on
[HTC Droid DNA] ickedmel:
I posted recently that this won't work on nos Rom already tested.

Palmer source for 4.2.2 came out will you be whipping something up got us on sense ?
[HTC Droid DNA] crpalmer:
I don't see 4.2.2 source for the Droid DNA. What source are you referring to?
[HTC Droid DNA] ickedmel:
Joelz Rom I thought he said they released source and be posted.
[HTC Droid DNA] crpalmer:
Joelz was previously working on porting the M7 source code to the DNA. That is not something I would considering trying to use to build my kernel when I am not running Sense based ROMs. There is too much potential for problems and I wouldn't have any way to debug or fix them...
[HTC Droid DNA] ickedmel:
Ahhh okay good point thank you.
[HTC Droid DNA] fr4nk1yn:
Sad to see this go.
[HTC Droid DNA] xlxcrossing:
What specifically are you referring to?
[HTC Droid DNA] fr4nk1yn:
His Sense kernel's, If he's not running Sense, to test, we won't be seeing a 4.2.2 kernel.

I need something besides stock for a "fix". I'm jonsing here.
[HTC Droid DNA] ML417:
He might make one based on official code, but not the m7, so wait and see what he decides to do once an official 4.2.2 kernel source is released
[HTC Droid DNA] riot1031:
I've flashed the kernel, but these files didn't show up on my sdcard:

/sdcard/crpalmer-stock-lightsensor

/sdcard/crpalmer-color-enhancement

Do I have to run the shell scripts to create them? If they aren't on the sdcard, does that mean I'm using the stock light sensor tables and no color enhancement? Thanks!!
[HTC Droid DNA] ML417:
You can either manually create them or run the scripts. And you are using the default settings that crpalmer set, which might be different then stock kernel
[HTC Droid DNA] jaysinsalot:
Happens like once a week

Ok it never bothered me enough but now Im just curious.....Every once in a while my screen wont turn on , then I plug it in and it will reboot. Hopefully this link will work

https://mega.co.nz/#!DF0GnIAC!b25HZimxnHcAkX-3Ap4g6gDmef8rd1l3bMMS2Qlj1Jc

oh sorry Im on ViperDNA 1.3.5 and Kernel 3.4.58 - crpalmer - 2.0.41 - g68780c7 - 303965 - gb727ebe-dirty
[HTC Droid DNA] crpalmer:
The log looks like a CM 10.2 kernel, not my kernel and definitely not my Sense kernel.

Restarting Linux version 3.4.10-CM-g2f4f40d (hudson@koushik-lion) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Oct 1 19:18:57 PDT 2013

Did you mean to post this in the CM 10.2 nightlies thread?
[HTC Droid DNA] orangechoochoo:
He is running Viper so he shouldn't be using a CM kernel.
[HTC Droid DNA] jaysinsalot:
Nope I wondered that too why it had the cm 10.2 stuff in there ive never run anything but viper dna and since I started using your kernel, ive always just updated it when u have posted them.

attached a pic of my version
[HTC Droid DNA] jaysinsalot:
weird I thought maybe i put up wrong kmesg by mistake somehow but i just ran ...adb shell cat /proc/last_kmsg > last_kmsg.txt. again and i get the same exaxt kmesg.....should i just redownload the latest kernel posted and run again? FWIW Ive never run any CM anything.
[HTC Droid DNA] crpalmer:
Did you just boot into recovery and then boot into the ROM? That could conceivably be a recovery last_kmsg (although if it is form the recovery I have to say that I am surprised that it's based on the bleeding edge of CM 10.2).
[HTC Droid DNA] jaysinsalot:
i just plugged it in and hit power it booted straight to rom but i did update CWM yesterday to flyhalfs newset version which i guess would make sense. However this problem def has persisted well before that. Did i type the right line in adb for the kernel last kmsg?
[HTC Droid DNA] crpalmer:
Yes, the last_kmsg command looks right, and that must be the last_kmsg from the recovery.

Can you try to grab a log next time it happens? If your phone ends up rebooting into recovery, you should still be able to get the last_kmsg while you are in recovery (but won't be able to after booting back into the ROM from the recovery).
[HTC Droid DNA] jaysinsalot:
Do I need to have logcat enabled in Viper tweaks to be able to pull that? Currently its disabled.

Probably the reason it isnt changing ok Ill just call myself an IDIOT lol. I will enable and hope i can post it next time.
[HTC Droid DNA] crpalmer:
No, you shouldn't need to have logcat enabled in Viper. This is at a lower level than logcats.
[HTC Droid DNA] Spaded21:
Whenever I connect to the bluetooth in my car it causes my phone to constantly wake until I reboot the phone, even after I get out of the car. Doesn't matter if I turn off bluetooth when I get out of the car. I get the wakelock brcm_btld. I have tested this with other bluetooth devices and it only seems to happen with my car (2013 Nissan Altima) is there anything that can be done at a kernel level to fix this?
[HTC Droid DNA] crpalmer:
Not much that I can do at the kernel. Any chance there is a software update for your car?
[HTC Droid DNA] Spaded21:
Thanks for the response. I think there is a Navigation update but I don't know if it includes any time of firmware/software update. If it does I would be surprised if it addressed this issue. There is no way to disable this wakelock in the kernel if bluetooth isn't connected? (I really have no idea)
[HTC Droid DNA] xlxcrossing:
Any options currently to get HTC color enhancement fix for a sense 5 kernel? Hating the washed out colors.
[HTC Droid DNA] xiastro1ix:
Any active download links for the kernel latest version? Trying to fix a droid DNA and wanna try this kernel
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

Just wondering, anyone else notice headset being ignored when plugged in? It happened before, never happened on the no oc kernel, but is happening again on 1.0.8.

36 hours on 1.0.8 and good, besides that headset switching thing. Ill try the new one and see if its still there.

Tapatalked from my HTC DNA
[HTC Droid DNA] crpalmer:
Glad to hear that it's going well in terms of stability. I'm not sure what you mean by the headset being ignored. Can you explain what exactly you're doing (with what hardware?) and what it is doing and what it should be doing instead?
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

I have a wired headset, think its from my old gs2, anyways normally plugging it in works instantly and perfectly, however only on your OC kernels its ignored, plug it in, nothing happens, no icon, audio route stays on speaker like its not plugged in. Repeated plug and unplug will eventually get it working, but that's kind of a pointless strain on the jack.

It worked on stock, UKB, viper, all kernels I've tried ( not many ) and your no oc, all instantly switched to headset, each OC kernel I've tried doesn't, though, which is what strikes me as rather odd. Just wondering if anyone else has seen this, I'm probably the only wired headset user on xda so I doubt it. Ill see what logcat has to say about it when I get some time to mess with it again if you'd like. It may be intermittent and just didn't show up on the no oc kernel, I doubt the code changes involved audio.

Note, I saw this first occur on UKB, and last night it happened on viper. Flashing another kernel seems to resolve the issue. Its a minor issue, one I can live with on this kernel.

Good news is even with min at 192 and -100 UV across the board the phone hasn't rebooted yet.

Figures I find a kernel I'm happy with and I have the only phone in the world that doesn't get along with it.

Tapatalked from my HTC DNA
[HTC Droid DNA] KyJelly69:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

I know you have no interest in including s2w at this point but fwiw I vote a big +1.
[HTC Droid DNA] crpalmer:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

I found a headset from an older phone and unfortunately it seems to work fine for me. Do you have another headset to try? Want mine? :)
[HTC Droid DNA] crpalmer:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

Unfortunately for me, my IT department requires an 8 digit password with numbers, lower and uppercase letters. Whether or not I have to hit the power button doesn't change much...

DSB almost convinced me it was stable enough to just add it. But zarboz said he wanted to submit a fix and I see people with issues.

If it seems really stable or someone wants to maintain it, I am fine adding it.
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Feb 22] crpalmer's [Linaro 4.8 -O3] [Linux 3.4.33][hotplug, thermald, e

Lol ill try some other stuff and see what happens, its just never happened before or after the oc kernels.

Go figure just plugged it in, worked perfectly. Guess my DNA is just really touchy.

Edit: on 1.0.11 now, maybe that's why it worked, it likes this kernel :p

Tapatalked from my HTC DNA
[HTC Droid DNA] t1gartist:
https://github.com/tigartist/dlx-kernel.git thats the error it just wont get past the scripts/mods

and as you cant see i deleted the repo complete and re synced it into a folder same issue
[HTC Droid DNA] crpalmer:
Oh, I screwed you up there. In the code pushed up to git, I switched to a Linaro 4.8 toolchain being built by a nexus7 developer (sparksco). Change the makefile to use linaro-4.7 (make sure that the cross-compile points to your toolchain) and try again?
[HTC Droid DNA] t1gartist:
ok i got that fixed everything went great. i fixed abootimg error and bam it compiled wonderful. and i didnt know all i had to do was mod makefile to compile with different linaro builds
[HTC Droid DNA] crpalmer:
abootimg is a linux command that you'll need to install. Probably

sudo apt-get install abootimg

will be what you need.
[HTC Droid DNA] t1gartist:
Yeah I edited same time u posted Lmao I forgot about abootimg everything went great