yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] 123421342:
Same for me. Host is down probably and should be back up soon.
[HTC Droid DNA] armydog13:
Not undervolting. Using interactive governor. That is all

---------- Post added at 03:36 PM ---------- Previous post was at 03:35 PM ----------

Happens maybe once every 2-5 days. And I do a manual reboot every two days after a full recharge
[HTC Droid DNA] kyleco:
I've been getting a lot of random reboots lately. I just updated to the latest PAC and Palmer's kernel and have experienced them more now than ever. This happens on a clean fresh install without any apps installed, though this last_kmsg is with apps installed. If you need a kmsg from a fresh install I can get that as well, would just rather avoid the backup/restore if possible. I was hoping you could take a look and tell me what's going on/if it's kernel related/tell me to shut up and talk to the PAC crew, whatever. I have not modified anything with voltages or governors, and this happens a minimum of once a day, so it's starting to get annoying.

Thanks for all the hard work crpalmer! Loving this kernel right now!

PS. This log is from when it rebooted watching a video in Google Chrome. Not sure if that matters at all.
[HTC Droid DNA] crpalmer:
This kmsg has a few things in it of note. First, is that it looks like it is still doing some post-boot work. Second, it has a lot of OOM killed processes for a newly booted system. Third, there are ext4 errors on the "/devlog" partition. None of these should be a reason for it to crash and the crash doesn't look very informative.

I would suggest that you first go back to the built-in kernel for PAC and run that for awhile to see if it's a problem specific to my kernel or not. I'll try to help either way but it helps to isolate where the problem could possibly be occurring.

If it is still occurring, I would like to see one or more last_kmsg from a crash that has occurred after the phone had been booted and running for more than 30 minutes. That way I know there isn't something funky happening with the post-boot activity. Ideally, I would love to see a last_kmsg from a crash that has occurred after the phone has been booted for more than 30 minutes and no apps, but that's not a very fun phone so we'll save that as a last resort... :)
[HTC Droid DNA] kyleco:
I'll try to get a few more last_kmsg's. And I just switched to the stock kernel as I posted that, so I'll see how that goes for right now. As for the ext4 errors, what would cause those and/or how would I go about fixing them? I'm guessing doing a format in twrp and starting clean?

Thanks a lot, this has been driving me nuts! Lol

EDIT: Got another reboot, this time on stock kernel. Attached the last_kmsg for you.This time i just turned off the display and instantly rebooted.
[HTC Droid DNA] armydog13:
Kernel panic on illusion ROM with newest kernel. http://db.tt/NZsgOliz
[HTC Droid DNA] crpalmer:
I'm not sure which version that is. You said twrp but I would have guessed that you were running flyhalf205's cwm recovery because the vereion in that log is:

Linux version 3.4.25-virtuous-0.1 (flyhalf205@Flyhalf205) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Feb 1 10:24:03 CST 2013

Stock should be 3.4.10.

If it crashes and starts back up in recovery, you should be able to get the last_kmsg then, don't reboot before getting it.
[HTC Droid DNA] crpalmer:
Unfortunately, that log doesn't tell me very much. My best guess is that something was reading from a kernel file in /sys when the module responsible for that file was stopped/unloaded. That's just a guess though and it doesn't tell me anything about which file or which process was reading it when it crashed. In case that was a process started on boot and the order is consistent with Illusion, can you do

adb shell su -c ps

and tell me what the process with PID 1475 is?

Otherwise, what apps do you have installed?
[HTC Droid DNA] -DroidIsDNA-:
I encountered the weirdest bug ever

I'm on carbon latest, no UV, stock frequently. My screen won't turn back on unless I wake it with the volume buttons. Logs won't work. If anyone has this issue, toggle volume rocker wake in display settings. I don't care for a fix, may be a hardware issue but it only happens carbon with this kernel. Hope this helps someone
[HTC Droid DNA] Gorilla*:
Palmer I love your kernel. Its so sexy. Battery and speed are legit.
[HTC Droid DNA] kyleco:
I got another reboot that I was able to pull the last_kmsg off of. I've attached it below.

I did a full format of all options in TWRP(Data,Dalvik,Cache,System,Internal) about 3 times before installing uxylon ROM which requires the use of your kernel. I have the latest version of TWRP and uxylon and your kernel. The issue definitely seems to be happening much more frequently while charging(have tried multiple chargers). This time I was playing music on Spotify while charging as a text came in. Music went on some really crazy loop that hurt my ears and the phone was unresponsive until I disconnected from the charger, where upon it rebooted itself. Hope you can figure something out from this one..
[HTC Droid DNA] juhde:
Probably a stupid question, but I've noticed my time in state are really lopsided. As in it's either at the low end 384 or high end at 1.51. All other steps are barely used (about 5% combined total). Is this normal? It's been a long time since I've used a custom kernel so I thought I'd ask.

.39 build, on-demand governor if it matters.
[HTC Droid DNA] atomikhippo:
I am pretty sure that would be because of the frequency lock. By default the kernel is set for it to be on and you can change it with a kernel tweaking app like trickster, unless crpalmer has a reason why frequency lock is enabled.
[HTC Droid DNA] .torrented:
Also has to do with the governor that you use
[HTC Droid DNA] juhde:
Frequency lock is off.

I've been using ondemand, I thought that was the one that ramps up slowly as needed.
[HTC Droid DNA] Xero3g:
AFAIK ondemand shoots to full as soon as you start doing anything then ramps down.

conservative ramps up real slow.

interactive tries to best guess what you need/could use and gives you that. Or course I could be wrong. If anyone knows better feel free to correct me.
[HTC Droid DNA] d08speed3:
Running either Interactive or Ondemand "CPU Spy" app says it only hits 1.5 and 384. Nothing in between.

His: HTC DNA

Hers: LG Optimus G

---------- Post added at 02:35 AM ---------- Previous post was at 02:31 AM ----------

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] armydog13:
It was YouTube
[HTC Droid DNA] zinkscott:
What are the Governors/ I/O Schedulers everyones using? I really want better performance and don't know if OnDemand or Interactive is better for that... I've read extensively on both. I run the Deadline I/O because I've read that's the best for performance.
[HTC Droid DNA] zawata:
not really sure if this is the correct place to put it but it seems more. like a kernel error than ROM error

every about 3 days at random times, my phone reboots

this isn't a normal reboot as it doesn't tell its doing it then doesn't show my boot loader splash screen

it just goes straight to the boot animation

after a normal reboot time the animation turns off and the screen is still black with a dialog box saying the process "system" has crashed

I pull down my status bar which is not visible but status bar screen will still show

the go to settings and press the home button

my home menu appears but the background is black and i have no WiFi or service and my clock is wrong

after a manual reboot everything goes back to normal

I'm running Uxylon but not the 7/27 build

any feedback?
[HTC Droid DNA] orangechoochoo:
Next time it happens pull the last_kmsg before rebooting. It will help us figure out what went wrong.

Can you try dirty flashing the rom and not install this kernel so you can see if the problem is related to the rom and not the kernel. Run it for several hours then if it's fine then flash this kernel and see if the problem reappears.

---------- Post added at 02:09 PM ---------- Previous post was at 02:08 PM ----------

have adb setup then you can grab it with adb pull /proc/last_kmsg
[HTC Droid DNA] crpalmer:
Sounds like a ROM problem. When the kernel crashes and reboots it will show the boot loader splash screen. When android crashes it shows the ROM splash screen only.
[HTC Droid DNA] Sabir13:
I'm getting amazing battery life . wish I could run it on my htc one .
[HTC Droid DNA] gdog1977:
Hey guys, how can we reduce the mic sensitivity? When using speaker phone people complain of extreme noise if barely moving the phone. Seems as if noise cancelation isn't working, and/or the mic gain is too high. Searched for apps that do this and have come up empty. Any others having this issue?
[HTC Droid DNA] crpalmer:
New release. It definitely runs with the current CM 10.2 code, may not run tomorrow with 10.2 code.

I'm just releasing it because I'm 95% sure that it will work with CM 10.1 and includes a lot of fixes. Try it at your own risk and hopefully it works for you.

These releases are tested against CM 10.2 builds only. They may or may not work for CM 10.1 based builds. I don't see any reason that they won't work on 10.1 but who knows....

* Note new version numbering: I've started numbering at 3.x.y as I was having a hard time keeping the Sense kernel and this kernel in sync on version numbers and because this is a big transition point anyway...

* Note: new annotation "sent to Chad's branch": I find it is hard to keep track of version to version differences because the majority of the work I have been doing I send to Chad's kernel for everyone to use. With version 3.0.2, I'm going to try to annotate the changes with this notation so that you can tell what is included or not included in each kernel version...

Version 3.0.2: July 28, 2013: Linux 3.4.54, CMU 10.2 (experimental!), clock fixes,

* Updated clock code from CAF (send to Chad's branch)

* Added SELinux support (send to Chad's branch)

* Bluetooth wakelock improvements (not perfect yet), (sent to Chad's branch)

* Added the ability to restore HTC's "color_enhancement" mode, to do so create a file /sdcard/crpalmer-color-enhancement.

* Fixed 2D clocks (send to Chad's branch)

* Fix clock settings during boot (send to Chad's branch)

* Fix display clock "esc_byte_ratio" that changed after we removed the world's biggest hack added by HTC to the video drivers (sent to Chad's branch)

* Regulator: correctly unprepare clocks when disabling them (send to Chad's branch)

* Change display initialization / shutdown to make it nicer and match up better with how the M7 is doing it (sent to Chad's branch)

* Large set of commits from the M7 kernel for the CM 10.2 display compatibility (sent to Chad's branch)

* Fix a dsi clock warning "stuck at off" (send to Chad's branch)

* Fix a warning about HDMI PLL clocks (sent to Chad's branch)

** These two commits may help some flickering screen issues, but you'll have to let it settle for awhile before you know for sure.
[HTC Droid DNA] Gorilla*:
installing now to use with 4.2.2

4.3 isnt stable just yet i dont believe..
[HTC Droid DNA] -DroidIsDNA-:
Confirmed working on latest 7/28 cm 10.1 build. Looking forward to a stable 10.2!
[HTC Droid DNA] jbarcus81:
Yep.. good here too crpalmer!! :good:
[HTC Droid DNA] jctennis:
So let me get this straight, if I want to try htc's color enhancement I only need to create a blank file at /sdcard/crpalmer-color-enhancement?
[HTC Droid DNA] d08speed3:
Working so far!

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] thekidmoon:
Yep, it worked great for me.
[HTC Droid DNA] d08speed3:
Just tried the color enhancement file and wow! The phone looks amazing now! Much brighter

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] Infinite Jest:
Is anyone else having trouble getting the most recent download to start?
[HTC Droid DNA] jbarcus81:
I followed the instructions .. created the file on my SD Car.. I don't see a difference?? I do it wrong? Perhaps I didn't do it correctly...
[HTC Droid DNA] thekidmoon:
Did you have it correctly?

I used root explorer, created a new file, gave it the name and rebooted and it worked for me.
[HTC Droid DNA] -DroidIsDNA-:
Yup what he said. The colors are more realistic. Not too noticeable but it looks SHARP
[HTC Droid DNA] jbarcus81:
Maybe it's just my eyes.. I'm strung out from not sleeping this past week and now going into this week. Oh well, maybe I'll see it in the AM .. But yeah, I opened ES File Explorer in Root mode, created the file exactly as he states in the instructions on the SD Card...
[HTC Droid DNA] -DroidIsDNA-:
I mean, I noticed it in the greens and blues and the whites are less washed out. Nothing huge. Get some sleep and try. Make sure you reboot, of course
[HTC Droid DNA] El Ha$on:
+1 on this. I tried downloading and it bottlenecks when I press the download button on webpage. Trying off my DNA both 4G and WiFi
[HTC Droid DNA] d08speed3:
If I wear my 3D glasses icons pop out! Loving the HTC color enhancement!

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] redman213:
So looks like devhost is down...anyone have a mirror?
[HTC Droid DNA] -DroidIsDNA-:
http://db.tt/374TwS66

Mirror for crpalmers latest kernel here

Hit like if I helped and enjoy!
[HTC Droid DNA] Infinite Jest:
It's an illusion. Everything gets brighter, but you lose color accuracy and whites torch light colors. For instance, you probably can't see any gray past the first square here: http://www.lagom.nl/lcd-test/white.php
[HTC Droid DNA] thekidmoon:
That's true, but it's more appealing to my eyes for some reason.
[HTC Droid DNA] alejobog:
I do not understand how it's done?
[HTC Droid DNA] orangechoochoo:
Just create a new file as instructed, nothing special required. Navigate to the location using a root file browser, choose create new file, name it as instructed, then reboot.

It's working well for me on the latest Carbon rom. I haven't noticed any flickering yet.
[HTC Droid DNA] .torrented:
File is a 1

No file is a 0... boolean values for the script.... when the file is present it turns it on/off depending how its initially set up in the code....

think of it like a light switch... on or off but not both 1 is on 0 is off (it is arbitrary however 1 could be off and 0 could be on)

if (file exists) {
turn on color enhancement;
}
else
leave color enhancement off;
[HTC Droid DNA] KyJelly69:
Hypothetically would this increase battery usage because of the increase in brightness? If true then wouldn't increasing the brightness be better?
[HTC Droid DNA] d08speed3:
Battery life has been the same for me.

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] orangechoochoo:
I believe	the brightness is the same, it's the color pallet that is shifted. On my phone the color fix reduced the red tint so the colors are more cool.

For example I have a photo of my boys as the wallpaper and prior to the color adjustment their skin looked more red as if they were slightly sunburned.
[HTC Droid DNA] KyJelly69:
If it does affect it then it's probably imperseptable enough to require a multiple day comparison.
[HTC Droid DNA] d08speed3:
Been running it a whole day now and no noticeable difference.

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] Gorilla*:
Just FYI this kernel is not perfect on 4.2.2 builds.

I got camera failed to open errors when using instagram, (not every time,)

I also got a couple of long hangs... no reboots, but their is some code thats conflicting here.

Its not a big deal, because its so smooth other wise...

Im gonna be running 4.2.2 and this kernel until the 4.3 builds have everything working.
[HTC Droid DNA] .torrented:
[MENTION=3857343]crpalmer[/MENTION] what flavor/distro/version of Linux are you running?

edit* doesnt matter anymore ive just deleted all of my vm's because this kernel s*it is so stupidly annoying.... so i give up...
[HTC Droid DNA] orangechoochoo:
What rom are you running?
[HTC Droid DNA] PrimeMinister91:
Running flawless on PACMan 7/13
[HTC Droid DNA] Gorilla*:
cm 10.1
[HTC Droid DNA] orangechoochoo:
Try pulling a log next time, the new kernel seems to be working well for a lot of people.
[HTC Droid DNA] -DroidIsDNA-:
It was meant for 10.2 anyway so you're lucky it even boots
[HTC Droid DNA] Imacellist:
What in the world is all this talk about HTC color enhancement. People are referring to directions I cannot seem to find. Can someone post a link they used?
[HTC Droid DNA] jctennis:
http://xdaforums.com/showthread.php?p=44055357

There ya go.
[HTC Droid DNA] .torrented:
[MENTION=3857343]crpalmer[/MENTION] requesting permission to post a tweaked version of your aosp/cm10.2 kernel on xda
[HTC Droid DNA] crpalmer:
Yes, the more the merrier!
[HTC Droid DNA] -DroidIsDNA-:
Oh boy oh boy. Pm me if you need a tester, friend! Let's get it going
[HTC Droid DNA] d08speed3:
Any temp fix for screen flciker. Been flickering last 4 hours now =\

His: HTC DNA

Hers: LG Optimus G
[HTC Droid DNA] crpalmer:
Only known fix is to use a Sense ROM ... Which is not a bad suggestion. If the flickering is caused by us driving the hardware incorrectly, you may be damaging your phone.

I have spent a huge amount of time trying to figure out things that we are doing wrong with clocks / frequencies etc. I've found and fixed several problems that each seemed like they could be the culprit but, sadly, there is still something else going on that I can't find.
[HTC Droid DNA] BFirebird101:
What are you guys' favorite kernel mode and scheduler?
[HTC Droid DNA] .torrented:
interactive / deadline
[HTC Droid DNA] skynet11:
favorite kernel mode: active

favorite scheduler: whenever I'm good and ready ;)
[HTC Droid DNA] jlevy1126:
Error in log. Running 10.1 with your latest

I know its experimental, but I noticed an issue in the log

** crpalmer's boot configuration:

Eanbling HTC's 'color_enhancement' (over saturation of whites)

You must turn the display off and on for this change to take effect

Ensuring cpu0 is online

Ensuring cpu1 is online

Ensuring cpu2 is online

Ensuring cpu3 is online

Not changing the min frequency

Not changing the max frequency

Not changing the governor

Didn't change anything, no need to lock it down

/system/etc/crpalmer/ffc.sh[8]: syntax error: 'else' unexpected

Leaving lightsensor table unchanged

Voltage adjustment: -85 (really -85000)

Not seeing any performance issues yet but thought I'd post.
[HTC Droid DNA] crpalmer:
New release, but I'm not sure it is useful for most of you until ROMs start moving to 4.3, but if you have a 4.3 ROM here you go...

These kernels are likely to break the camera for 4.2.2 / CM 10.1 based ROMs.

Version 3.1.2: Aug 5, 2013: Video, Audio, Network, Camera

* Video changes pulled from the M7 and the msm-8960 kernels (sent to Chad's branch)

* Audio changes to get us closer to MR2 audio drivers (sent to Chad's branch)

* Chad's camera drivers.
[HTC Droid DNA] jbarcus81:
Weird.. you guys seem to be making quicker work of 10.2 than 10.1 .. But that's a good thing!!! THANKS A MILLION !!!!!
[HTC Droid DNA] tman23:
That's cuz we have something to go off of now! :)
[HTC Droid DNA] orangechoochoo:
Yup, definitely breaks camera on 4.2 Carbon. Otherwise everything else worked.
[HTC Droid DNA] kyleco:
[MENTION=3857343]crpalmer[/MENTION] just wondering if all builds from this point will be for 4.3/10.2 or if you will continue to build for both until more ROMs are updated to 4.3. I'm guessing the 4.2/10.1 builds are done but I just wanted to make sure
[HTC Droid DNA] .torrented:
I can keep a 4.2.2 kernel going.... i think.... or at least try
[HTC Droid DNA] crpalmer:
I'm only building for 4.3 now. That is what I'm running and developing against.
[HTC Droid DNA] djh816:
Would someone mind linking me to the last CM10.1 compatible kernel? Latest few have said camera issue (as they are for 10.2)
[HTC Droid DNA] amit_sen:
Here u go ::

https://www.dropbox.com/s/xz1x7lyskefzo9h/update-crpalmer-3.0.2.zip
[HTC Droid DNA] djh816:
Thanks but dead link. I have the same version from his OP though: http://d-h.st/02D

Doesn't seem to work with cam on 10.1 though (running latest 10.1 nightly) I just get a force close.

Edit: Wooo CM10.2 Cam works. Nevermind xD
[HTC Droid DNA] orangechoochoo:
The version just prior to the latest release works on Carbon and the camera works too.

http://d-h.st/02D

After flashing the kernel wipe davlik and cache then fix permissions and reboot.
[HTC Droid DNA] 123421342:
I've been away for a while so sorry if this bugs you. Who exactly is affected by the flickering? Is it the new ROMs? I'm running latest carbon as of July 15 or so and your kernel version 2.0.39 cm1 and I am fine.
[HTC Droid DNA] djh816:
Seems to be a very select few and nothing the devs have tried fixed. I for one, have never seen said flicker (very familiar with autobrightness readjustments in past though so I really feel like I must not be affected). I assume a different hardware gen, possibly early because the issue seems to be very rare
[HTC Droid DNA] .torrented:
For me I thought I didn't have it but one day it was really bright and I was using my camera, looking at a white wall and that's when I noticed it, but very faintly...
[HTC Droid DNA] orangechoochoo:
I have it and so does crpalmer.
[HTC Droid DNA] crpalmer:
The flickering seems to only affect some phones. An easy way to see if it affects you is to set your brightness to 100% and then open the browser to

http://d-h.st

and then zoom in so that your screen is filled with the background grey. When my phone is barely flickering, you can see a little wave along the left and right edges of the phone that is hard to see. When it is flickering badly, you can't miss the crazy flickering that is visible with this colour!

The HTC fireball also seems to have this problem. They recommend not running the CM builds if you have this problem because it is likely damaging the phone (wrong voltages, etc.).
[HTC Droid DNA] 123421342:
Thanks. Can I use 3.0.2 on a 4.2.2 build or does the warning apply to the two newest versions?
[HTC Droid DNA] crpalmer:
People have claimed that that version works. I haven't tried it though so I can't say for sure.
[HTC Droid DNA] crpalmer:
Just realized the context of your question... The flickering does not appear to be related to this kernel (seems to affect the stock cm kernel too) and probably has been happening since early June.

That means their warning applies to all CM builds and you need to make your own choice of what you are willing to risk running...
[HTC Droid DNA] 123421342:
Okay thanks. I'm running 3.0.2 without problems.
[HTC Droid DNA] orangechoochoo:
Right, it flickers on the stock CM kernel too. Ever since the video problem was resolved in June that's when the flickering showed up.
[HTC Droid DNA] .torrented:
To accurately test people with the flicker should flash back to stock sense with stock kernel and see if the can replicate it
[HTC Droid DNA] crpalmer:
Actually, you need to wait for it to stop flickering (it continues in recovery even). Once it has stopped by then you need to wait for it to start again.

It flickered for me on the stock kernel in the first 5 minutes that I had CM running on my replacement phone...
[HTC Droid DNA] orangechoochoo:
I'm now running a Sense rom and the flickering has not appeared.
[HTC Droid DNA] orangechoochoo:
I'm now running Carbon 4.3 and the flickering is gone.
[HTC Droid DNA] d08speed3:
I think 4.3 solves some type of flickering issues.
[HTC Droid DNA] 123421342:
I had flicker with latest carbon and 3.0.2 and it stopped with the stock kernel.
[HTC Droid DNA] Dri94:
Running latest kennel. Pac4.3... Very bottom of the display becomes unresponsive and artifacts or stutteringhappens happens alot with scrolling and any other movement
[HTC Droid DNA] orangechoochoo:
What happens if you use the stock kernel?
[HTC Droid DNA] 123421342:
Pio said not to run a custom kernel yet because this is happening. A lot is changing very quickly so problems are expected and the smart guys who develop this for our devices will fix it when they have time
[HTC Droid DNA] crpalmer:
People have already pointed this out in several threads, but to be clear, the latest CM 10.2 based builds are not compatible with the current kernel. Please use stock for now.
[HTC Droid DNA] KyJelly69:
You need to take this to the PAC thread anyway