yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] Mnorton1228:
I'm fast binned, at 1.7, and UV -100. Noticed a restart last night and it put itself into a bootloop. Would get to ViperDNA boot animation and would end up restarting. Figured it was an overheating issue but I'm not sure if that was the case. I've since dropped my cpu to 1.35 just for the sake of conserving a little juice but I'm noticing extremely slow boot animations. It seems to hang during the middle of the boot animation which is was not doing prior to this random restart last night. Any ideas on a possible suggestion to fix it besides bumping back up to 1.7 and setting my UV a little higher in the spectrum? Ex. UV-80 or so?
[HTC Droid DNA] supertoast92:
I'm nominal, 1.7 with a -50mV offset. I get the same boot animation hang on Viper DNA using this kernel. Doesn't do it with the stock kernel. It's always hung like that with this kernel even with stock voltages and clocks. I also hope there may be a fix for this. Other than that, this kernel works absolutely great with Viper.
[HTC Droid DNA] Mnorton1228:
Well atleast I know that I'm not alone in this. Was just worrying that something may have went a little haywire. I'm sure it's a setting somewhere that causes it to come on slower or something of that nature.
[HTC Droid DNA] supertoast92:
Same here, glad I know I'm not the only one lol.
[HTC Droid DNA] Zer0r:
If init.d scripts would not run, than lightsensor will stay untouched. There are .sh scripts in /etc/crpalmer folder that only start when init.d script runs.

I moved lightsensor.sh script to sdcard to prevent it running during boot - but have no changes - screen remains dimmed in compare to stock behavior.

Upd: no, now everything is OK, after moving .sh file.
[HTC Droid DNA] saintlikesniper:
Sorry if this has been asked a thousand times but reading through 93 pages is a lot to do. So here it is; is there a way to implement color control into this kernel. I previously had the ability for the galaxy nexus sorry in advance if this has been answered already
[HTC Droid DNA] crpalmer:
There is search functionality...

There is no colour control.
[HTC Droid DNA] saintlikesniper:
Search is bad on the app plus at work and Verizon hates us being on our phones
[HTC Droid DNA] CharliesTheMan:
I recommend using the browser Google to search a particular thread instead of an app, in my opinion it just works better.

In answer to your question, gamma and color control settings aren't available for this hardware configuration.
[HTC Droid DNA] jaysinsalot:
Ok In currently running 1.72 and uv -25 what are the recommended settings for us lottery winners with faster binned chips?

Droid DNA S-off Viper 1.3 TT2 crpalmer 2.0.30
[HTC Droid DNA] nimrodsv:
I have faster too, managed to get uv -100, didn't tried further more
[HTC Droid DNA] wpsantennas:
I'm faster and have been running -125 without issue. Any more and I ran into issues.
[HTC Droid DNA] dogredwing1:
I am also binned faster and I am undervolted -145 with no issues and more and I got reboots.
[HTC Droid DNA] t1gartist:
-145 undervolt can bring issues i havnt tried beyond 125 uv but im sure ill but ok but then again i could have wayyyyy more issues then i do as i have raised fsb to 633 mhz from 600 and changed my gpu from 4875 max to 600 and a 300 oc on 2d so im happy staying at 112.5
[HTC Droid DNA] dogredwing1:
This is with -145 undervolt and 1.5ghz max with on-demand gov.
[HTC Droid DNA] CharliesTheMan:
That's it I'm getting my laptop charged up so I can take it and my phone and get in the deep freeze and see what this thing will really do. I'll wait till the girlfriends at work, last time I tried this she chained the freezer closed after I got in. Luckily we have a fat kid who wanted a popcicle.
[HTC Droid DNA] atsoca:
I want a popcicle

Yep Charles fixed it AGAIN
[HTC Droid DNA] gdog1977:
Just want to give a big THANKS!!! for this kernel. Running ASOP oc to 1.74, an man is this thing fast. Not a hiccup all day. + Battery life is off the charts with interactive. Going to try ondemand so see if it gets even better.
[HTC Droid DNA] rjcormier:
I'm gonna chime in and say that I'm pleased with my usage of this kernel with newts Rom...my phone's been off the charger for over 13 hrs and I am @

34% battery. Average usage, texting, news reading, forums, calls, and instagram etc.

Tried to insert screenshots but the server is not responding. Anyway, great job and thank you
[HTC Droid DNA] Infinite Jest:
So, are you guys seeing substantial battery gains from under-volting? I gave my bin classification a gander and it came back as FAST, so I'm guessing is be a candidate for -100mv and a trial and error period with the frequency. I'm used to squeaking every mv possible out my my desktop gpu/cpu overclocks, so going the other way should be a new experience! Also, I gave the command from the op a shot and didn't notice a change in the voltage in the android tuner tool. Is there some adb command to check the volatage and see if it actually worked?

EDIT: Rebooted the phone and a -100 mV drop showed up for 1.7 Ghz.
[HTC Droid DNA] gcarterny:
Dev-host is down anybody got the 2.0.32 kernal you could send me thanks in advance.. you could just pm me since permission would be needed for a mirror.

Nevermind its working again..
[HTC Droid DNA] xShin:
Just wanted to chime in and say that performance, reliability, and battery life have been stellar so far on this kernel. I was finally able to root and get S-OFF on my phone yesterday, and this was the first kernel I put on it. Currently running 384/1242 min/max ondemand, UV'd -50 mV. Out of curiosity, how would I run the bin classification thing that people seem to be talking about? And do you guys have a preferred I/O scheduler that you've found is good for battery life/performance? Thanks crpalmer for making this kernel, and thanks in advance to anyone who responds!
[HTC Droid DNA] CharliesTheMan:
The difference you will see in battery life from the undervolting is at best a very small difference in battery life, as far as directly from the voltage. But undervolting helps reduce operating temperatures especially if you fine tune your undervolt in the frequencies that match your usage. When heat is put off by batteries it's wasted energy.

Im not an electrical engineer or mathematician and I have no idea how to do the efficiency calculations and even if I did I don't think the temperature sensors are accurate enough to get a very scientific definitive number for how voltage effects battery life.

That being said, in my opinion if voltage is fine tuned to match your usage pattern, your battery and cpu temps are kept down and your min cpu frequency is set at 192 and background processes are under control, I think it's the combination where each part makes little difference but as a whole it's enough savings in battery life to be worth fooling with.
[HTC Droid DNA] Infinite Jest:
That's what I figured. For some reason , every time I have switched to this kernel I get a strange spike is an least what gsam reports as phone radio usage. By the end of the day, I'm sure this number will be closer to 60%. It's a bit odd as I don't see it on the stock kernel.
[HTC Droid DNA] supertoast92:
Is anyone else running Viper Rom and noticing any kind of flickering with this kernel? Could it have to do with my -50mV undervolt?
[HTC Droid DNA] xShin:
I'm running Viper 1.3.3, and I also have it undervolted by -50 mV - no flickering here.
[HTC Droid DNA] JeffBea:
+1
[HTC Droid DNA] gdog1977:
How do you check what your chip bin is? Thx.
[HTC Droid DNA] crpalmer:
If you are running my sense kernel

adb shell cat /proc/cpuinfo

It will be near the top.
[HTC Droid DNA] rfarrah:
I was hoping that by installing this kernel it would fix my bluetooth connectivity issues. Sadly, no. Looking forward to test-driving it anyway. Thanks for all your efforts!
[HTC Droid DNA] supertoast92:
Thanks for the reply. Only seems to happen when messaging or using chrome with the keyboard up. Anyway, I think I know why, and its definitely ROM related. Dirty flash time! EDIT: In case anyone wanted to know, clearing cache for the messaging app fixed it. That's what I get for trying the GSM app then going back to the CDMA/Verizon one.

So I'll leave it at that, and say this kernel build is great and solid as always palmer! Looking forward to future builds. :)
[HTC Droid DNA] CharliesTheMan:
I do get some really weird chrome animations and flickers and things. But mine are chrome issues on multiple devices with multiple setups, sense AOSP touchwiz etc.

I firmly believe the general public is largely too dumb to right reviews and comments in the play store. Make 'em pass a test first
[HTC Droid DNA] Zer0r:
Hi, crpalmer!

Here is my suggestion for lightsensor.sh

It will allow to turn on and off you lightsensor settings anytime. Your version will allow only one way switching, IMHO:

#!/system/bin/sh

F=/sdcard/crpalmer-stock-lightsensor

if [ -r $F ]
then
echo "Reverting to stock lightsensor table"
echo 1 3 21 3a1 5a0 15ee 2169 307f 3f96 ffff > /sys/class/optical_sensors/lightsensor/ls_adc_table
else
echo "Changing to dimmed lightsensor table"
echo 21 3a1 5a0 15ee 2169 307f 3f96 63d3 ae13 ffff > /sys/class/optical_sensors/lightsensor/ls_adc_table
fi
[HTC Droid DNA] jamiethemorris:
Crpalmer, I'm not too familiar with how last_kmsg works, do I need to pull it immediately after reboot or can I still get it later? I've had a few random reboots with carbon but I didn't i wasn't able to get last_kmsg right away.
[HTC Droid DNA] crpalmer:
Any time until the next time you reboot is fine.
[HTC Droid DNA] Drakosha:
Hello.

Please, I need help. I've tried EVERY available kernel for DNA, with no success. I need CIFS support, to mount WIFISD from Macally (wonderful device, BTW) as folder, but there is no kernel with working CIFS available. :( The only one, where cifs.ko module at least loads, is crpalmer's, so that's why I'm writing this question here.

I tried everything. Both CIFSManager & Mount Manager ether don't load module at all, or report "invalid parameter". With hand-added string "iocharset" - error changes to "can't access shared library", while dmesg reports "support for DSV not implemented yet". I tried with WIFISD, with PC under Windows, with FAT(32) formatted media as well as NTFS, with utf8 iocharset and ISO, tried entering mount commands in terminal with all possible switches - but there's just no support. :( I tried loading different cifs.ko modules from various kernels ("Cubed", "NOS" e.t.c), even from other devices like HTC One & Nexus 10, tried adding nls_utf8.ko... Not working. Not with cpalmer's, nor with any other available kernels. I use NOS v2.0.3 at the moment, but CIFS were not working with stock 2.04 also (using different kernels).

Please, help. Without CIFS, I can only access my WIFI sdcard\usb reader with ES File Explorer over LAN interface, so I'm limited to ES-embedded music\video\image tools, which have no support for Sony Smartwatch and, overall, lack in functionality. On my Acer W700 tab (Windows 8) I can easily mount both sdcard & usb as network drives (both at the same time, BTW), and use them 100% like local storage with up to 3 Mb\s download speed. It drives me mad, because I know that there must be some little patch or even parameter, to correct everything, but it just never works :(

Thanks, with respect - Draco.
[HTC Droid DNA] booked:
I downloaded the latest up and flashed with twrp now it looks like its stuck at the htc boot screen. Did i not install this correctly?
[HTC Droid DNA] nimrodsv:
Do you use a sense or aosp based rom?
[HTC Droid DNA] booked:
Aosp. Cm10
[HTC Droid DNA] jake.corey.jacobs:
Might want to make sure you didn't flash the sense kernel first. if you did, just reflash the aosp from the aosp thread and you should be fine.

http://xdaforums.com/showthread.php?t=2292213 Link for you.
[HTC Droid DNA] crpalmer:
You need to use my other kernel. Dirty flash the ROM to get back to a good state before you flash the aosp kernel of mine.
[HTC Droid DNA] booked:
Maybe I'm missing it but where do I download the aosp version?

Found it. Nvm
[HTC Droid DNA] beaups:
How about adding that Color_enhancement fix? :P
[HTC Droid DNA] Infinite Jest:
I wholeheartedly second this motion.
[HTC Droid DNA] crpalmer:
You were testing on a CM based ROM, no? Has anyone tried it out on a Verizon 2.0x based ROM [edit to add] with the 2.0x kernel (not a CM kernel on it)?
[HTC Droid DNA] Infinite Jest:
It works beautifully in NOS. At least, the fastboot image, that is.

Edit: Modified LK kernel worked as well.
[HTC Droid DNA] beaups:
Yep.
[HTC Droid DNA] Zer0r:
I did it on base 2.06. And I liked it! :D I vote for implementing! :good:
[HTC Droid DNA] bballboy32591:
I've had a couple of random reboots after getting text messages. I did a clean install of CarbonROM using your latest kernel. I have attached the last kmsg, let me know if you need anything else from me.

http://db.tt/hZLfDpYq

Edit: Woops posted this in the Sense thread by mistake
[HTC Droid DNA] crpalmer:
New version:

Version 2.0.34: June 24, 2013: colour enhancement, fixes, debug messages

* Toned done yet more HTC debugging messages

* Enable UTF-8 codepage support for Windows file-systems

* Fix error in HTC's light-sensor calibration table (overflows the 16-bit number they are using)

* Avoid buffer overflow in acdb driver

* Remove HTC's colour enhancement gamma correction (beaups)
[HTC Droid DNA] crpalmer:
Try the 2.0.34 kernel I just posted and let me know if that works for you. I enabled the UTF-8 codepage for windows file-systems which may be what is missing.
[HTC Droid DNA] Drakosha:
Hello!

Thank you very much for reply & helping. The hope is starting to come back to me :) Unfortunately, CIFS still don't work with the updated kernel, however this time error messages have changed.

CIFSManager now reports "Invalid argument" - and when I tried to enter "ISO" as iocharset, I received an old message about shared library, so your newly added utf8 codepage is working.

But dmesg still reports this: "CIFS VFS: connecting to DFS root not implemented yet". It makes sense, because Macally's wifi cardreader I try to access is not a Windows device - there's some embedded version of Linux in it (with Samba server).

May be your kernel requires some special switches to "busybox mount" command? Can you, please, give me the working string for the terminal so I can try? Anyway, thank you very much!

With great respect - Draco.
[HTC Droid DNA] curly9:
I love the kernel and colors are way better thanks to the display thread and beaups and thanks [MENTION=3857343]crpalmer[/MENTION] for incorperating it into the kernel its more wowing now than what it was
[HTC Droid DNA] beaups:
Yup. crpalmer, did you do something beyond disabling that silly function? Display looks quite a bit more saturated to me, but I could just be imagining it.
[HTC Droid DNA] crpalmer:
Source is in github, but really all I did was disable it and clean up the leftover HTC added source code to keep things tidy.

Sounds like your imagination is a possibility.
[HTC Droid DNA] beaups:
Probably is. Either way, the difference is night and day vs. stock. There's a lot of this in M7 code as well, including a password to send commands to Samsung panel...interesting stuff. I still think we could make more optimizations :P

actually it is quite a bit different. We handled the edits quite differently. I just removed the calls to "Color_enhancement" in the display on and off commands. You left the call in there and looks like you removed the gamma table as well? Not sure which is more accurate, yours definitely has more "pop", but it is different.

edit: or maybe I'm crazy. Either way it looks great! :P
[HTC Droid DNA] pyroguysf:
I've been following a this color issue for a while (got probably a little too excited when I saw this update) and it's definitely night and day. Whatever magic you guys worked- good job, haha.

Edit: I use Lux for subzero brightness and nighttime orange tint overlay, and even with those on it looks so much better. The tint used to wash out a lot of color (which I didn't really care about at night), but I've ended up checking at least 3 times in the 10 minutes I've been using it to make sure it was on. Now it looks more like stock did, just with blues and brighter colors a little toned down.
[HTC Droid DNA] amit_sen:
There's a definite pop in colors in the newest kernel. Loving it :thumbup:
[HTC Droid DNA] Zer0r:
delete. Already found. :)
[HTC Droid DNA] ickedmel:
What an awesome update love it!
[HTC Droid DNA] supertoast92:
Liking the color corrections cr, thank you!

Not sure if this has been covered already or not (on this thread anyway), but does anyone else running Viper have lag when the boot animation occurs? When Android optimizes apps after clearing my cache, it's also noticeably slower than using stock kernel. I'd take battery life any day over not having these issues though.
[HTC Droid DNA] JeffBea:
I noticed the lag in viper boot animation also. I thought it was just me. Never bothered to say anything because it still booted.
[HTC Droid DNA] Zer0r:
There are several optimization processes are running during boot-time, which are not present in stock kernel. So - it is normal.
[HTC Droid DNA] spinkick:
I know that the 192mhz slot was not available in the experimental Kernel, is it the case now, too for this one?
[HTC Droid DNA] amit_sen:
It's available in the latest version .
[HTC Droid DNA] natypes:
I'm s-off and rooted (via moonshine). I'm looking for a kernel to go with the stock rom if this is possible. I like the stock from for now. I tried Viper, but it was a bit too much. Will this kernel work with stock? Just flash with cwm?
[HTC Droid DNA] jaysinsalot:
With any 2.0x rom yes

Droid DNA S-off Viper 1.3.3 TT2
[HTC Droid DNA] xShin:
Just installed the latest version, and the colors do seem to pop better. My question is, are the improved colors detrimental to performance/battery life? From my understanding of it (which may be completely wrong), this latest color tweak involved removing something that HTC had put in place - I assume there must have been a good reason for HTC to put it there in the first place.. or are there really no drawbacks to the tweaks and HTC put something there that didn't even do anything good?
[HTC Droid DNA] Infinite Jest:
I can't think of any good reason for the users to add what they added.
[HTC Droid DNA] CharliesTheMan:
I took a guess at it was because they wanted the over saturation for retail store displays and the regular consumer who's comparing it to phones along a wall and could care less about quality but it looks "Nice and bright" next to an over saturated amoled display that's trying to hide it's weaknesses. Just me guessing though. Kinda like TVs in a retail store. How many people calibrate their flatscreen tv properly at home compared to those that say "looks good enough to me"

---------- Post added at 11:21 PM ---------- Previous post was at 11:19 PM ----------

This is a great kernel for a stock rooted or "super stock" type Rom
[HTC Droid DNA] Evilmonstertruck:
This kernel is freakin great. Battery life is suberb. It went down only 2 percent all last night. Thats damn good. Thats with Wifi and my exchange email coming in. I have been rocking ENA-EclipticNA for a few days now and got to say with this kernel, its hard to find something better.

Thanks
[HTC Droid DNA] rfarrah:
I liked the richer colors in the new version, but started getting random reboots. Went back to the previous version to see if it is still good for me, or if I have messed something up.
[HTC Droid DNA] finanandroid:
kernel sources now available

http://www.androidcentral.com/google-play-edition-device-kernel-sources-now-available-download
[HTC Droid DNA] UltraMagnus0001:
Can I flash this over Beastmode with ViperDNA?
[HTC Droid DNA] amathophobia:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Best governor for battery life would be one that ramps up speed slowly. The are excellent threads discussing what the properties of different govs are. Check them out and make a decision based n how you use your device. I've ran undervolting on every android device I've owned since the droid but I cannot quantify how much battery it really saves. In my opinion running a good ROM / kernel with battery tweaks will save you a LOT more battery than undervolting ever will.

Sent from my S-off DNA.
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

For me adjusting auto brightness to lower levels gives me better battery life then any governor I've tried, but some want this nice screen lit up nice lol

Tapatalked from my HTC DNA
[HTC Droid DNA] fireguy0306:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Running s-off, eng hboot, new radios,viper 1.1.3 so still on 1.15 build, using your 1.1.8.

So far no issues, working great.
[HTC Droid DNA] crpalmer:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Already a good answer about governors posted. I didn't notice much difference in battery life when undervolting. I did notice a difference when I added the 192MHz clock speed (which isn't used by default, you have to select it).
[HTC Droid DNA] Hussainally:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Ditto.... Thanks

Sent from my venomous DNA viper
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

12 hours to go on the no oc kernel test, phone hasn't even flinched, looking good so far. The new version will be flashed and the next 72 hour test begins.

Tapatalked from my HTC DNA
[HTC Droid DNA] crpalmer:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Great! Thanks for the update.
[HTC Droid DNA] t1gartist:
i have noticed a flicker here and there but i have no complaints i have had maybe 5 flickers since you posted 1.1.8.img
[HTC Droid DNA] pio_masaki:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Almost time to try the new kernel, just to show its been almost 48 straight hours plus the time before my last manual reboot, few hours makes it 72 hours total.

Tapatalked from my HTC DNA
[HTC Droid DNA] t1gartist:
Yes it can

Also how do you compile your source code? I want to add havs to the kernel to try its response and battery life
[HTC Droid DNA] crpalmer:
Re: [Kernel] [Linaro] [Linux 3.4.32] Version 1.0.8 / Bluetooth test 1.1.8 - Feb 19

Do you have linaro and all the standard build tools installed? Is so, you just need to run

./dna/build.sh

The boot.img will be placed in ~/dna/images/ which needs to exist.

If not, I've been meaning to write a howto but obviously haven't. You can start with any kernel building howto to get the generic build tools. Download linaro 4.7 and put it in /opt/toolchains/linaro-4.7. The last step is to swap out broken linkers. Search xda for linaro ld gold and you'll find some instructions.
[HTC Droid DNA] t1gartist:
That's my problem I havnt updated to linaro 4.7 and yours is set for tool chain in /opt
[HTC Droid DNA] t1gartist:
hmmm i guess i have to wait when i execute

$ make ARCH=arm crpalmer_defconfig

HOSTCC scripts/basic/fixdep

/bin/sh: 1: ccache: not found

make[1]: *** [scripts/basic/fixdep] Error 127

make: *** [scripts_basic] Error 2

and when i run

/dna$ ./build.sh

make: *** No rule to make target `crpalmer_defconfig'. Stop.

i dont know i did change that ld gold around and updated my linaro from 4.6.2 to 4.7.3 do i need to update farther?
[HTC Droid DNA] crpalmer:
You need to install the package ccache is the first error and the script to build it is:

./dna/build.sh

(I tucked away my extra crap into a dna folder instead of polluting the top level of the kernel).

I read more about HAVS and it sounds cool. If you have trouble with the linaro being broken, let me know and I'll point you to a copy of my linaro install.
[HTC Droid DNA] t1gartist:
Everything was good it runs a minute and I get /bin/sh "(" unexpected

Make 2 /scripts/mods/empty.co

Make1 /scripts/mods

Make /scripts
[HTC Droid DNA] t1gartist:
i got my errors down to kernel/bounds.s lol i fix it then it changes