yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] flxdms:
All the values (#define g_white 0x40) are in hex. Convert 0x40 to decimal and you should get 64. Do this for all the values that are defined.

The init.d script uses these lines :

static char p_gamma_r_setting[10] = {0xD0, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys, 0x01};
static char p_gamma_g_setting[10] = {0xD2, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys, 0x01};
static char p_gamma_b_setting[10] = {0xD4, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys, 0x01};

So basically, the layout is

echo "208 g_white g_mids g_black 0 g_contrast g_brightness g_greys 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 g_white g_mids g_black 0 g_contrast g_brightness g_greys 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 g_white g_mids g_black 0 g_contrast g_brightness g_greys 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_b

Replace g_* to the decimals you get when you convert the values defined in

#define g_white 0x40
#define g_mids 0x44
#define g_black 0x76
#define g_contrast 0x1A
#define g_brightness 0x03
#define g_saturation 0x43
#define g_greys 0x0A

and you get

echo "208 64 68 118 0 26 03 67 10 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 64 68 118 0 26 03 67 10 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 64 68 118 0 26 03 67 10 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
[Nexus 4 Original Android Development] hospital349:
Zipped it. Flash & test.

Feedback to help the harsh community would be wonderful.

I'm sure if we all work together, we can obtain the colours we desire.

Many thanks flxdms for attempting to convert the values. :good:

P.s. Not quite sure whether the mark was hit. These values don't quite feel like PA's halfbreed. What do you all think? :)
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I'll take your word for it. I think 75markus hit the mark. :thumbup::thumbup::thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] flxdms:
I didn't get the chance to try those yet. They're the ones I found on PA's github. They were changed two days ago and look nothing (in terms of value) like the halfbreed settings that are in moles colour calibration thread. I'm on halfbreed right now.
[Nexus 4 Original Android Development] hospital349:
Yeah, in all honesty, they're not very good in terms of replicating halfbreed. I have just this moment flash 75markus values LGPRESET_Halfbreed and I can't say that it hits the bullseye either. Much closer though!

I guess the search for the correct values, continues. I don't want to leave Harsh just because I have a new found obsession for Moles Gamma values. I'm sure If I wait patiently, they'll come. :)

Someday my fiends, someday.
[Nexus 4 Original Android Development] flxdms:
Actually, I was wrong. PA 3.0 uses the halfbreed settings. The settings I posted are ones from two days ago. I accidentally clicked on an old blob. Ignore my settings.
[Nexus 4 Original Android Development] Notorious544d:
I can confirm this. This got me stuck whether to use contrasty or your presets, and i ended up using yours as I found that contrasty had too much contrast. It became hard to determine black saturation levels and this was especially apparent with shadows in a few test images.

I wanna ask, will you be creating your own preset and stuff? No problem if you're not as this takes a lot of time, but I find your settings to be so good that it makes me wonder how much better it could become with a custom preset. Moles doesn't care about gamma values, but I think its pretty important IMO.
[Nexus 4 Original Android Development] FatalityBoyZahy:
So guys, how can I undervolt this kernel with SetCPU? :(
[Nexus 4 Original Android Development] flxdms:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I'm not familiar with SetCPU but if it has a UV interface then you should be able to set your voltages normally. You can always set them with Trickster Mod or with an init.d script.
[Nexus 4 Original Android Development] aragorn7:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

My understanding is that the kernel already comes pre-undervolted. Hence [UV] in the thread title.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

You would be correct. That's the best part about this kernel is no kernel controlling apps are needed. Best battery/performance combo by far.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Crisisx1:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Just flashed this over the kernel that came with pa 3.0... The colors were a bit too dark... But now these seem a bit pale lol.

Does anyone have a good preset zip that can be flashed over this kernel?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Flashable in recovery (Thanks to 75markus)

http://www.mediafire.com/?mnttdfpgqnoey

Try jiaterns or moles halfbreed

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Crisisx1:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I think I just came from moles half breed because I'm running pa 3.0 by moles and I didn't like those colors.
[Nexus 4 Original Android Development] FatalityBoyZahy:
I did not know that, thank you my man. I figured [UV] just meant that it would give me the option to undervolt if I wanted to.
[Nexus 4 Original Android Development] Crisisx1:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

It does both. U can uv manually via system tuner
[Nexus 4 Original Android Development] yatyuk:
I am new to this kernel. Any app for setting with this kernel ? Sorry I can't find the setting about cpu pinning and UV etc. Thanks for telling me.
[Nexus 4 Original Android Development] rskyline:
If you look some post above, was said that this kernel doesn't need any app or extra configuration, just use it like it comes!
[Nexus 4 Original Android Development] yatyuk:
That good! I look forward for the performance with this kernel.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Its pre undervolted

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] akira.pwr:
R: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

In my case, the only way to set the min CPU clock was using setcpu app, the stock app in cm ROM don't do it, or it's only me, anyway now I've solved.

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] meangreenie:
It never was a problem, just some apps only read the min freq when screen is touched...hence 1026..trickster really tricks you ;)

It drops down to 384 after a few seconds if the screen is not touched as you can see now your using a better app.
[Nexus 4 Original Android Development] akira.pwr:
R: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I didn't saw it drop to 384, anyway, I've posted pages ago, my device use 2 frequencies + deepsleep, I've used betterbatterystats app and gave me that result: deepsleep, 1.03Ghz (I think it means 1026) and max frequency (I've underclocked a little), it means never go to 384. Am I wrong?

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] meangreenie:
I dunno then, try 'system tuner' from market if you don't see minimum drop to 384 something is wrong.
[Nexus 4 Original Android Development] akira.pwr:
R: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I'll try it too, but, as I said, with setcpu I've solved, I've set a screenoff profile too, with 384Mhz as max frequency. Maybe, the best thing is to do a clean rom install and then to flash this kernel, but for now it works fine.

Edit: seems setcpu doesn't manage all cores, two of them reach 1,5Ghz even if I've under clocked to 1,24.

Inviato dal mio GT-N7100 con Tapatalk 2
[Nexus 4 Original Android Development] meangreenie:
You can't uc CPU in this kernel fully, Qualcomm mpdecision will always revert Max CPU setting when a core is switched off.

Other kernels use a diff (but jerky IMO) hot plugging method, so you can uc CPU with them.
[Nexus 4 Original Android Development] akira.pwr:
R: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

So, it's useless to use apps to uc, thanks, do you think setting a profile with setcpu works? Or it's useless too and CPU do what he want?

Sorry for my bad english

Inviato dal mio GT-N7100 con Tapatalk 2
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Thanks a lot for this quick tutorial!!

I must keep it aside...

Paranoid Nexus 4
[Nexus 4 Original Android Development] meangreenie:
Some good gamma settings... non dark

208/210/212 114 21 116 0 25 16 75 58 2
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

It is useless with this kernel. If you want to do all that, switch to a kernel that does not use mpdecision.
[Nexus 4 Original Android Development] Higgsy:
I like these - alot more easy on the eye than the dark ones imo
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Are u adjusting your max value using a kernel adjusting app to UV? After reboot if I do that my min will stick that's why Harsh asked us not to use these apps. If you make sure your max and min are at the right MHz and then delete any kernel controlling apps. Then reflash ROM, gapps, and kernel it will act right.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] karndev:
Harshbhai aaji ketla divas thashe settle thata..:p.. lol

Just wanted to say it is one of the smoothest kernels for N4 and regular updates help flashaholics like me :) Excellent work n sticking with mpdecision was a brilliant thing do

:good:
[Nexus 4 Original Android Development] Azurael:
Yup. This is the only kernel that doesn't lag for me which has any variety of hot plugging enabled. And disabling hot plug kills screen on battery life, whatever they may claim.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Can 75markus or somebody who knows how make a flashable zip for Harshs kernel that is the color presets of Moles PA contrasty colors. This was requested by a xda member in the N4 Help thread. Thanks to anyone ahead of time for doing this.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] undercover:
Take any available zip, open it up, replace colour scripts with the ones you want, close saving changes, rename. Done ;)
[Nexus 4 Original Android Development] ctfrommn:
Do you have to unzip the original 1st or just open the zipped file and replace it?
[Nexus 4 Original Android Development] :
You don't have to unzip, just open replace the values, save to original and flash, much easier and it works every time, used jiatern's values which I compared to previous moles colors and it was basically the same, unless my eyes are screwed up
[Nexus 4 Original Android Development] undercover:
Yup, either that or just replace the script file. No unzipping, just open it.
[Nexus 4 Original Android Development] UnitedOceanic:
I have a fast chip rev 11 can I UV more? if so does anyone have a init.d script with good values to try? thank you!!
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Each chip is unique. You will have to find your stable low values by trial and stability testing.

Trickster is good app to start with finding your good low voltages. Once you get them, you can use those in init.d script to set them as your default voltage after booting up.

Sent from my Nexus 4
[Nexus 4 Original Android Development] meangreenie:
Really nice colours, purple looking blue fixed, gamma on rbg 2.2

rgb 251 247 247

208/210/212 114 21 116 12 16 12 80 48 2

Brightness does need to be turned up a bit, will try to solve tommorow, but the colours look great
[Nexus 4 Original Android Development] mkamal23:
+1 anyone find the flashable zip for just the color presets?
[Nexus 4 Original Android Development] ftarules:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

What app are you using to tweak these? How do you know which number to change for brightness?
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Can someone explain the first number in the gamma settings please? I know it's a checksum, but what's the calculation for setting it?

Thanks!
[Nexus 4 Original Android Development] flxdms:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

On Harsh, the first numbers are always 208 (0xD0) 210(0xD2), and 212 (0xD4). I know that on motley (?) the first number is always the sum of all the (9) following numbers, but as far as I can tell it isn't like that over here.

---------- Post added at 06:15 AM ---------- Previous post was at 06:11 AM ----------

Here's something I posted a couple pages back. I'm on my phone right now so I can't really explain anything in depth. I'll send you to my post instead.

http://xdaforums.com/showpost.php?p=37833225&postcount=2262
[Nexus 4 Original Android Development] 75markus:
colors are great :)

brightness is also fine for me, i´ll stick with it for now :)

i added it to mediafire : http://www.mediafire.com/?mnttdfpgqnoey
[Nexus 4 Original Android Development] flxdms:
I'm not sure which contrasty colors you wanted, but here's holoblue.

edit: and dark contrasty (I'm not quite sure what g_greys is set to, but I think it's 0x30)

editedit: also, thanks to 75markus for adding Moles_holoblue to his mediafire folder.
[Nexus 4 Original Android Development] 75markus:
thank you for making it :)
[Nexus 4 Original Android Development] odeccacccp:
I've used Trickster and undervolted -12.5 and then -12.5 again, everything worked great, then used Stability Tester and it gives a chart that says the straighter the line the better, I went back to just -12.5 once, and the stability values seem the same.

My question is, what would be the allowed/normal flaquetion for the chart line, the difference between min and max value?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Thank u so much :thumbup::thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] undercover:
Tbh, the only thing that needs to be worked on is grey imho. Thing is, playing with presets is not something I can do, since as I understand they need to be hard coded into kernels. What I could try is use moles's kernel as a base for new presets, but changing script values one by one is such a pita...

I'll see if I can come up with something.
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Agreed. We need an app that exposes the interface for the values we need to tweak like moles' hex values. I find FauxDisplay too overwhelming for me. :(

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] hoangtu2410:
i uninstalled Fauxclock but still can not flash PA color preset :( , flash is successful but the color don't change, pls help
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Even after a screen off then on?

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] hoangtu2410:
yes :silly:
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

How did you install Moles' color preset? Via a script?

Paranoid Nexus4
[Nexus 4 Original Android Development] undercover:
I reckon if someone would make a preset in between the Google and LG, about 65-70% more towards LG one, we could get good colours out of it.
[Nexus 4 Original Android Development] hoangtu2410:
i use the zip file name "jiatern_color_preset_cwm" downloaded from previous page
[Nexus 4 Original Android Development] Lownita:
I somehow still like jiatern most!
[Nexus 4 Original Android Development] 75markus:
you should give "meangreenie darker" a try ! i find it awesome, very natural !

Really nice colours, purple looking blue fixed, gamma on rbg 2.2

rgb 251 247 247

208/210/212 114 21 116 12 16 12 80 48 2

it´s in my folder ...
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Check if the script (in etc/init.d folder) has the right permissions : rwxr-xr-x or 755

Paranoid Nexus4
[Nexus 4 Original Android Development] meangreenie:
Thx, I'm going to try and fix the greys later, it's well out of wack at the moment.
[Nexus 4 Original Android Development] ftarules:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Anyone have init.d script for undervolting? This way I don't have to use any apps.
[Nexus 4 Original Android Development] Lownita:
Yes, it goes like this:

#!/system/bin/sh

# voltages, "frequency voltage"
# these are very low, will most likely only work on faster binned cpu
echo "384000 700000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "486000 700000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "594000 712500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "702000 737500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "810000 775000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "918000 787500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1026000 812500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1134000 862500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1242000 887500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1350000 912500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1458000 925000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1512000 937500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

But don't use these, they will be too low! Adjust!
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Check out what this guy wrote...very interesting.

http://xdaforums.com/showthread.php?p=37917796
[Nexus 4 Original Android Development] davwman:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

What app for undervolting?
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Can someone make these settings for Harsh's kernel?
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

+1
[Nexus 4 Original Android Development] flxdms:
There you go. I assumed the last digits were 0x02 since franco has that by default on his kernel.

(https://github.com/franciscofranco/...m/mach-msm/lge/mako/board-mako-display.c#L768)

also, please tell me if the zip file works. I changed some things and I can't test it right now. It should work, though.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

It works and looks really good. :thumbup::D

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Awesomeness! Works even better when brightness minimum is at 50%.

If anyone is using Velis, try these values:

Pt: 0 123

Pt: 6 123

Pt: 9 123

Pt: 14 123

Pt: 20 123

Pt: 30 123

Pt: 46 123

Pt: 68 123

Pt: 103 123

Pt: 154 123

Pt: 231 133

Pt: 346 146

Pt: 519 161

Pt: 778 180

Pt: 1168 200

Pt: 1752 223

Pt: 2700 255

Just adjust if it's too bright in total darkness.

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] capcanuck:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I agree... This is really nice.. Thank you!
[Nexus 4 Original Android Development] nokkenas:
I haven't been trying color calibration zips because I'm afraid I can't revert them back. What is the most effective way to revert it back to stock? Thanks.
[Nexus 4 Original Android Development] ctfrommn:
Just delete the init.d file and reboot....or save the stock values and copy/paste over them.
[Nexus 4 Original Android Development] :
For anyone that's interested Trickster mod just added gamma control and GPU overclock, works great on the free version, testing out gamma values is much easier than having to reboot to see changes, just screen off
[Nexus 4 Original Android Development] nokkenas:
Thanks! Do I need to delete the file in system/addon.d as well?

It works. I just tried it after ctfrommn teached me how to revert things back. Coming from stock, I think the color is too vibrant for my liking on this preset and isn't good for low brightness (too dark). Cranking up the brightness makes it better but I'm afraid it will burn my battery faster.

Do you know any other natural calibration script that's suitable for low brightness?
[Nexus 4 Original Android Development] 75markus:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Check my folder

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] ckret:
having those values since yesterday

i like the color but i think they are too dark if you have auto-brightness enabled

so auto-brightness has to be set up correctly if you want to take full advantage of the values and colors
[Nexus 4 Original Android Development] more2come:
This kernel is almost perfect for my needs. Only thermald settings keep bugging me a little. Would be awesome to see an alternate version of Harsh kernel without thermald!
[Nexus 4 Original Android Development] more2come:
Nevermind, wrong thread!
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Yeah. Stop messing with junk. The kernel doesn't need it.

Stock automatically boosts the frequency to 1026 and on two cores.
[Nexus 4 Original Android Development] more2come:
Yeah, I mixed up some of my open tabs ^^ That request didn't belong here.

My only request for this kernel is some alterations to temperature handling. Would be awesome ;)
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Guys what do u use to do stability test, and most important what is the rang min max of safe results you get?

I mean I can UV and it seems fine, but antutu test gives a curvy line and the straighter the better I guess.
[Nexus 4 Original Android Development] :
I test by using camera to take pics and videos, watch 1080p videos, 720p just regular stuff that I think are CPU intensive and if it handles without crashing or reboots then its stable, haven't ever found benchmark apps (don't install them nowadays) to be useful for stability tests, they run fine but those features I mentioned have a high fail rate on unstable UV

Similar to smoothness tests between kernels (thought you didn't ask) I open heavy sites like phonearena and scroll at varying speeds, every kernel (even stock, latest franco r72, etc) except Harsh has micro lags during some everyday operations
[Nexus 4 Original Android Development] Lownita:
I hate microlags!
[Nexus 4 Original Android Development] drdrewdown:
most of us would use the app, stability test :)

https://play.google.com/store/apps/...bility&feature=nav_result#?t=W251bGwsMSwyLDNd
[Nexus 4 Original Android Development] kevinnol:
So what do you guys do about the heat ? :P just noticed when playing Shadowgun for a few minutes, my phone melts away
[Nexus 4 Original Android Development] flxdms:
Try TricksterMod.
[Nexus 4 Original Android Development] more2come:
The heat spreader in our beloved Nexus devices aren't very good. And when a powerhouse like the Snapdragon S4 Pro shows off what it's capable of, it'll get pretty hot! That's why the CPU starts underclocking when the CPU reaches a certain temperature.

You can apply some undervolting, but don't expect too much!