yashsingh1/xdaforums huggingface dataset:
[HTC One S] klin1344:
FAQ

Frequently Asked Questions​

What ROMs is this kernel compatible with?

As stated in the OP, this kernel is compatible with all S4 devices running a 4.0.4 Sense-based ROM. It is 100% compatible with ViperOneS even though that uses the 2.31 RUU base. I'm betting that there were no changes in the kernel source for 2.21 and 2.31. :p

What is the best governor for me to use?

It really depends on what you're looking for. If you want performance, go with Lionheart or Ondemand. If you want battery life, go with Conservative. And if you are looking for a balance between battery life and performance, then use either SmartassV2, Interactive, or LagFree. These are just my opinions. Look here for a great reference of all the CPU governors. Test them out and decide which works best for you.

Which I/O scheduler is the best?

I personally use SIO, but you can test and decide which is the best for you. Read here to find the pros and cons of each one.

How do I overclock?

The kernel should default at 192Mhz 1.5Ghz CPU clocks. To overclock, use SetCPU, No-Frills CPU, System Tuner Lite/Pro, or any similar CPU control app. Some apps don't allow the settings to stick properly. I recommend using No-Frills or System Tuner.

CPU govenors won't stick/CPU0 stuck at max frequency????

Yes, that is a known issue with the non-default governors. I have worked hard on a fix, but I still can't figure out the problem. So basically, if you want to use a governor other than the defaults ones from a stock kernel, make sure you check up on it and make sure the settings stuck and CPU0 isn't locked at max frequency.

How do I undervolt?

Right now, the only app that works for voltage control is System Tuner. Both the Lite and Pro versions allow you to change the voltages. Do not use SetCPU as it doesn't work.

Here is the voltage table I am currently using:

1890mhz: 1250 mV
1809mhz: 1225 mV
1728mhz: 1200 mV
1674mhz: 1175 mV
1512mhz: 1150 mV
1458mhz: 1137 mV
1404mhz: 1125 mV
1350mhz: 1125 mV
1296mhz: 1100 mV
1242mhz: 1100 mV
1188mhz: 1075 mV
1134mhz: 1075 mV
1080mhz: 1025 mV
1026mhz: 1000 mV
972mhz: 1000 mV
918mhz: 975 mV
864mhz: 975 mV
810mhz: 950 mV
756mhz: 950 mV
702mhz: 900 mV
648mhz: 900 mV
594mhz: 875 mV
540mhz: 850 mV
486mhz: 800 mV
384mhz: 725 mV
192mhz: 650 mV

Please just take these as a grain of salt; not all chips are created equal! Some devices can become an ass when it comes to undervolting, while others can starve the CPU to death and still run fine. Experiment little by little until you find your perfect voltages.

What is zRam and how does it work?
[HTC One S] invasion2:
Sweet! Trying on Viper, will report back in a few days.

Sent from my HTC One S using Xparent Blue Tapatalk 2
[HTC One S] Raptylos:
I installed it on Viper as well. UV settings were applied as set on 3.2 for 4.0.3 kernel.

I'll report back
[HTC One S] Sneakyghost:
Let us know the results, lab rat! :D

Bitten by One S Viper...
[HTC One S] mteezey:
Nice job. I didn't think this Rom could get any better. I haven't even oc or uv yet and I can feel a big difference. Curious to see how it effects battery life.
[HTC One S] :
I hit my Thanks Limit for the day Klin

So, :good:
[HTC One S] SnowToad:
Seems to work OK on Viper, however still having problems with Smartass as on Axiom... config folder in sys/devices/system/cpu/cpufreq is sometimes not created (no smartass folder) or randomly gets deleted, so CPU0 gets locked at max freq
[HTC One S] klin1344:
Ahh...so that is the source of the issue. I will have to take a look at my code then. Also, it seems to happen regardless of any governor, especially during the first few minutes after startup.
[HTC One S] :
runs fine here klin

smartass folder created on reboot

smoooth

will test for a couple days
[HTC One S] Elloco305:
Klin is the best. Thanks for all your work man.
[HTC One S] SnowToad:
Set to smartass, rebooted, folders were there and worked fine.. but then randomly the whole folder was deleted again and cpu is locked at max all the time. Would like smartass working!
[HTC One S] mliou:
Same here, on Viper Rom right now. Can set everything but smartass.
[HTC One S] invasion2:
SmartassV2 works great for me...
[HTC One S] :
same here--ok

flashed thru fastboot and erased cache

then rebooted
[HTC One S] klin1344:
Hmm...I think the issue with smartassv2 is only with the first few minutes of booting. After that, it seems to work fine and not only stick to 1.5Ghz. Can anyone confirm?
[HTC One S] invasion2:
I can. My frequencies are 384MHz and 1670GHz. They stay like that and my smartassV2 governor stays.
[HTC One S] mliou:
What app are you using?
[HTC One S] sbryan12144:
VVVVV

It's in my One XL kernel. But actually, ill need to test it more. I never added it to the audio board yet. Link is www.github.com/sbryan12144
[HTC One S] LalyGirl:
Could I install your kernel into htc one s??
[HTC One S] sbryan12144:
Lol no. It's not the same msm8960 device
[HTC One S] Zarboz:
I haz this too
[HTC One S] rafiqzadah:
Omg. Bryan. Great to see you here. Any change of that HD2 running sense 4.0??? Hahaha I was there. When you pulled that thread. I went with it. And now here...

Inflicted by Venom
[HTC One S] klin1344:
I just saw the commit. The audio tweak mdeejay did was in the board-ville, but he quickly reverted it. I'll take a look at this one and add it to this kernel.
[HTC One S] Zarboz:
Look in sound soc codecs

:thumbsup:
[HTC One S] klin1344:
Yeah thanks I saw that. :)
[HTC One S] Zarboz:
on the LTE it made bluetooth headsets crackle slightly

something to be aware of
[HTC One S] Phantom Pt. II:
Flashed this today, let's see how it works! Thanks!

Once I set it on SmartAssV2 in Voltage Control, I'm all done right?
[HTC One S] slainbybeats:
Anyone tested this kernel for Trickdroid 8? I would like to give it a try but I'm a little scared about messing things up :D

sent from HTC One S via xda app
[HTC One S] mliou:
Yep, just make sure you check the frequency that it is running as it might not stick. To get it to stick (for me at least): set it to ondemand then reboot to see that it sticks, then change to smartassv2. Make sure you do not reboot as the settings will not set.

Some bugs I encountered: random flickering of the screen and no internet even though wifi is connected after a while.
[HTC One S] cannondale0815:
@Phantom: Don't forget to save as boot settings in voltage control.
[HTC One S] klin1344:
It will work no problem.
[HTC One S] slainbybeats:
Holy ****, I use this kernel now since today's afternoon, and bam! This is great! The whole system is faster, and it uses less battery! I used the "stock" kernel and underclocked it down to 192mhz and I also undervolted it. Thank you for your good work!

sent from HTC One S via xda app
[HTC One S] HAVESOV:
I have all the firmware such graphic glitches, check after a full format. In what could be the problem? Sorry for bad english!
[HTC One S] abracadabra11:
Thank you for another great addition to the One S.

Flashed fusion kernel and installed System Monitor. Seems to be working great so far, but encountering the same problem others have described - governor changes from the one I select in the app upon reboot (switches from smartassv2 to ondemand).
[HTC One S] klin1344:
Try reflashing your ROM and the kernel again. Make sure you flash the zip package and then flash in fastboot to be safe.
[HTC One S] slainbybeats:
Setting a lower frequency does only affect core 0, 1 is not changing, it still runs up to 1.5... How to fix?

sent from HTC One S via xda app
[HTC One S] HAVESOV:
Does not work, again the same bug. Card format and did a wipe, closed and opened the boot ....
[HTC One S] rootrider:
Try it this way mate.
[HTC One S] verysick:
wher can i find a flashable zip? :confused:

Sent from my HTC One S using Xparent ICS Tapatalk 2
[HTC One S] klin1344:
Extract your desired choice, stock CPU or overlock from the 7zip package and flash it. ;)
[HTC One S] verysick:
am i supposed to download it in a comp? :banghead:

Sent from my HTC One S using Xparent ICS Tapatalk 2
[HTC One S] klin1344:
No you can download it and extract it and unzip it with an app like androzip.
[HTC One S] verysick:
ok, thanks :thumbup:

Sent from my HTC One S using Xparent ICS Tapatalk 2
[HTC One S] klin1344:
I just found that with setcpu, the governor settings stick! But it is still not undrrvolting correctly.

So please use setcpu for the CPU governor and system tuner for undervolting if you want.
[HTC One S] CarstenDutch:
I'am having this configuration for a while and it works indeed.

Tapatalk/Swiftkey
[HTC One S] mliou:
When I was running it, I was running on ondemand on stock and undervolted to your table. However, I have some graphical glitches when I play games, and sometimes when I turn the phone on and off you would have a quick flash of screens. Should I restore to stock voltage? Or...
[HTC One S] Sneakyghost:
I've been using system tuner successfully for oc and smartass now since a while, it actually just needs some one to three tries until settings still after a reboot. It's just that smartass doesn't survive a reboot.

Feel the Viper! :D
[HTC One S] Zarboz:
Hey add me on Gtalk I wanted to kick around some ideas with you
[HTC One S] plakers:
Is there an easy way (a shell script?) to set the voltages at boot, and use only SetCPU to define governor?

Took a look at voltages generated by SystemTuner and it looks like that (example) :

echo "1150 1125 1125 1100 1100 1075 1075 1025 1000 1000 975 975 950 950 900 900 875 850 800 725 700 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

I'll try it and feedback (hope that it will not conflict with SetCPU "bad" voltages info... ;))
[HTC One S] mliou:
I would like to know as well. Is it possible for me to use system tuner to set voltage but have it set on boot? (I only want voltage set and not cpu set on boot for system tuner)
[HTC One S] klin1344:
Yes, you could edit your voltage table with an init.d script. Use the one created by System Tuner as a template.
[HTC One S] mliou:
Is it possible to edit the file manually? Or would that brick it? Since switching to SetCPU I no longer get random graphic glitches, and I think it's system tuner that is causing it.

Thanks!
[HTC One S] Sneakyghost:
I've now gotten the latest setCPU too and I must say it works a treat on the governor's, however I'm a bit confused with the voltage thing still. Think I need to understand how system tuner works first lol.

Your kernel rocks now, klin :thumbup:

Feel the Viper! :D
[HTC One S] klin1344:
It's perfectly safe to edit the file manually. You might want to rename it to something else though, just in case system tuner decides to delete it if you uninstall it.
[HTC One S] SnowToad:
Will the values stick after reboot if file just edited manually?

And why sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table?

That looks like it only applies for cpu0, wouldn't be better to edit vdd_tables/vdd_levels?
[HTC One S] mliou:
Alright, just reporting a bug. In SetCPU, governor DOES stick BUT sometimes the frequency changes on its own.

I still have graphic glitches (I think that's when the CPU changes the minimum frequency).
[HTC One S] klin1344:
I think that the system tuner script echoes those values for cpu0 and cpu1. Its just that he only got part of the full script.
[HTC One S] f10a:
Will this kernal improve my battery life and if so what are the best settings to achieve this while still maintaining decent performance?

Im using Trickdroid 6.2 TMOUS.

Thanks!!
[HTC One S] Elloco305:
IMHO I think all you have to do is flash the kernel and that's it. That's what I do and my battery life is awesome lol
[HTC One S] x1tyme:
Since TmoUs is still 4.0.3 base go here. This thread is for 4.0.4 Sense :cyclops:

http://xdaforums.com/showthread.php?t=1794843
[HTC One S] arash64a:
Can i install Fusion Ultimate v2.1 Stock on Viper 1.1.0 ?
[HTC One S] f10a:
Thanks for the link, but I already installed this one and all seems to be working ok though. However, I did notice in System Tuner that there were only 4 governors available.
[HTC One S] Fredfly:
What is the gpu frequency in this kernel and is it possible to overclock it if it isn't already.
[HTC One S] cannondale0815:
Yes
[HTC One S] klin1344:
It is at stock clock. I don't see a need for oc of the GPU as the adreno 225 handles all games smoothly as of right now.
[HTC One S] ultimul:
will it work with stock 2.31.401.5 ?

if some problem will occur can be flashed over with stock?
[HTC One S] SnowToad:
Unfortunately this kernel breaks Viper screen on SMS and causes awful audio issues with video recording.. :(
[HTC One S] Simco80:
Been running this kernal since two hours after it came out. Been on Viper the whole time and haven't had any issues so far. I also use the Zero camera mod. Best battery life I have had on any phone so far. Went 6 hours 20 minute on screen time a couple of days ago.

Sent from my HTC One S
[HTC One S] everywell:
Am I the only one having problems with radio after flashing the kernel? I cant make/receive calls as the signal is absent! Anyone else having this issue?

I flashed the zip in recovey and the flashed the boot.img via fastboot.

Thanks in advance,

Andrea
[HTC One S] Sneakyghost:
Nope. Fine for me. Since noone else seems to report this i would think this is a bad flash you are experiencing and i would recommend redoing it all.
[HTC One S] Simco80:
Just figured I would throw out my Quadrant Score with your OC Kernal using on-demand. Love this kernal. Makes me wonder what my score would be if you OC the gpu.

Sent from my HTC One S
[HTC One S] alltubetone:
You need to wipe the cache after flashing anything in recovery for Viper / Trickdroid. I used to have this same issue but now I wipe dalvik/cache after every time I flash something in recovery and this problem stopped occurring.

Cheers
[HTC One S] trollallot:
Best kernel out! Ty for your great work!

"Jesus Freak"
[HTC One S] Elloco305:
Brown nose!! I said that like weeks before you. :p
[HTC One S] germandude68:
I'm on hboot 1.14. Here is what I had to do to get it to work.

- Boot into TWRP

- Go into dumlock and select restore original boot.img

- flashed stock fusion kernel zip

- wiped Delvik cache

- rebooted

Success!

Sent from my awesome HTC One S
[HTC One S] SageKing:
Is using htc dumlock really that simple? :D Thanks for the little guide.
[HTC One S] blessup:
Graphics glitches plus pops and clicks when streaming Bluetooth. Still stuck on Stock kernel. I could live with glitches but not the sound issue would it.be possible to release this without the sound mod. Also is gpu overclocked?
[HTC One S] klin1344:
There is no sound mod in this kernel, and no, the GPU is not overclocked.
[HTC One S] :
Try/Read and decide--:)

http://teamw.in/project/htcdumlock
[HTC One S] blessup:
I thought u.added some 48KHZ tweak? What's causing the sound popping?
[HTC One S] slainbybeats:
If you don't want to use that dumlock thing like me, just do it via fastboot, that's really fast and simple as well. Running viper and fusion oc without issues here.
[HTC One S] SageKing:
:o Like always. But imo the fastboot method is much faster. Thanks for the Link :)
[HTC One S] Sneakyghost:
Hey klin,

My wife and I are both running this kernel now with identical settings.

I am losing my battery stats on each reboot, she does not.

Both viper with your kernel and identical settings.

I know this is most likely not a kernel issue but I thought you might be able to point out where to look and for what?

Thanks mate.

Feel The Viper! :D
[HTC One S] klin1344:
That's rather odd...

I'm not sure what is causing it, but try doing a full wipe and it might fix your problem.
[HTC One S] :
I guess that didn't come across right. Didn't mean you don't read, meant either read and/or try link info and decide what you want to do. I am one of the lucky ones with a low hboot. So, as someone who always and still promotes fastboot as the best/safest way to flash this stuff, I have gotten lazy and am flashing thru TWRP almost exclusively. I was booting into recovery initially and fastbooting the kernels with cwmr. I guess on our phones that don't work on the radios with the higher hboots. Haven't researched that lately. AOKP by Klin and Torxx's Viper run so good that not much to do at all anymore. Guess we need a new very experimental rom for a new challenge--:)
[HTC One S] klin1344:
All downloads have now been uploaded to androidfilehost, since they are fast very easy to use.
[HTC One S] germandude68:
Yeah man, because of my high hboot, just regular fastboot won't work and just flashing the zip obviously didn't work with just TWRP, which the zip did install, but when going in About it still showed the Ville-Z kernel. So I had to figure out how to use dumlock and figured out (at my own risk...lol) that I just had to restore the original boot.img and go back to regular TWRP and just flashed the zip there, wiped cache, rebooted and then the kernel was finally there.

@Klin: thank you so much for your work. Would you pls let me know if you plan on implementing Sweep2Wake? That's why I was attracted to the Ville-Z kernel coz will be soon part of it, but unfortunately that kernel was eating my battery so much.

Thank you for the easier download location of your files.

Sent from my awesome HTC One S
[HTC One S] klin1344:
Zarboz is working on sweep2wake, so please be patient. Also, I haven't uploaded anything, except I moved all downloads to androidfilehost for hosting.
[HTC One S] :
Glad Dumlock worked. Hopefully your instructional post will help others--
[HTC One S] germandude68:
@Klin: thank you and I saw the downloads will be easier. I'm sure Zarboz will manage the sweep2wake. And the cool part will be he's working on that the lights wont come on each time you sweep the keys.

@rugman: yeah lets hope it works for others who have hboot 1.13 and up (mine is 1.14). I'm not sure if this made a difference or not, but I flashed the zip first in TWRP, but that obviously didn't work, so the key was Dumlock and all they got to do is go directly from TWRP to the dumlock function and just select the upper left button (restore original boot.img) no need to reboot and then just flash the zip as usual from TWRP. Then wipe delvik cache and reboot.

Maybe someone should just try out first running the dumlock feature and then flash the zip directly from TWRP. Or just I did, run zip then go to dumlock, restore original boot.img and flash zip again.

Sent from my awesome HTC One S
[HTC One S] ickedmel:
Graphics glitches also unfortunately on viper.
[HTC One S] x1tyme:
Is your hboot 1.4.0004?
[HTC One S] germandude68:
Mine is 1.14.0002

Someone please help. The dumlock work around doesn't work anymore when I want to install the Fusion overclock zip (I already have the Fusion stock installed). I tried to restore a backup from a few days ago, but it leaves the kernel. Every time I flash the Fusion overclock zip, I can't restore the original boot image from dumlock. When I reboot to the system and got into SetCPU, it still only shows 1512mhz max only.

What should I do? Should I try to flash the Ville-Z kernel again and try my little dumlock trick? But I'm really afraid that restoring the original boot.img won't work anymore and am stuck with the Fusion stock kernel. Please advice!

Sent from my awesome HTC One S

---------- Post added at 03:27 PM ---------- Previous post was at 02:30 PM ----------

Update: ok, I'm officially screwed. Installed the Ville-Z kernel again and then tried to install the Fusion kernel, no luck. Stuck with the Ville-Z kernel now. Sucks

Sent from my awesome HTC One S

---------- Post added at 03:46 PM ---------- Previous post was at 03:27 PM ----------

Another update: good news. In TWRP my last hope was to select Fix permissions and the reflash the Fusion kernel zip (this time the overclocked) and it flashed so fast in seconds, which worried me. Then I wiped Delvik cache and rebooted and there you go, the Fusion kernel was there. :D

This is for some of you who get stuck and learn from my experiences.

Sent from my awesome HTC One S
[HTC One S] Sneakyghost:
Are we having a 14.0004 hboot and if yes, with which ruu/ota does it come?

Morons for the win!
[HTC One S] Hopie:
192 jump to 384mhz bug solved?
[HTC One S] novl:
Is there a way in this kernel to modify the voltage with an init.d script?
[HTC One S] klin1344:
The hboot comes from the tmous 2.35 ota.
[HTC One S] invasion2:
Ville-Z kernel is great, but this kernel is the one I keep coming back to. Better RAM management, battery life, and no glitches or sound pops whatsoever. I'm not bashing Zarboz, just saying his kernel isn't for me. Thanks for the great work!
[HTC One S] abracadabra11:
I can't seem to get InteractiveX governor to work successfully with Fusion kernel. Switching the to governor works fine, and the performance when switched is great, but once I reboot the phone, it goes into a constant boot loop. This is the second time this has happened after switching to the InteractiveX governor. I had to restore via recovery a previous backup in order to get the phone to boot successfully.

I also recently flashed the most recent t-mobile radio along with the script provided by Tecardo, but don't think that's to blame for the problem.

---------- Post added at 01:01 PM ---------- Previous post was at 12:44 PM ----------

Restored a previous recovery, loaded with no problems. Reset smartassV2 as governor and attempted restart - no problems. After reboot, I changed the governor to interactivex and attempted another restart - phone goes into bootloop.

There is clearly a problem with the Interactivex governor using the Fusion kernel and System Tuner that causes the phone to go into a bootloop after restart.
[HTC One S] Zer0r:
+1

Couldn't say better!
[HTC One S] Rampage:
I think klin has given some info about the governors in the op. With system tuner the governors won't stick, instead you have to use set cpu for the governors and system tuner for under volting.

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] jenkins-84:
My benchmark
[HTC One S] abracadabra11:
I agree about none of the governors sticking with System Tuner, but the issue I'm running into doesn't involve not having the same governor upon reboot. Instead, the phone seems to go into a bootloop when InteractiveX is last selected as the governor. I've also found the phone to reboot unprompted when InteractiveX is selected as the governor after some unspecified amount of time, which then also results in a bootloop.

So, although the governors sticking following reboot is a known issue, I don't know that this has been previously reported.

---------- Post added at 03:55 PM ---------- Previous post was at 03:27 PM ----------

Encountering same bootloop problems with SetCPU and any selected governor (as opposed to only InteractiveX with System Tuner). The only difference is the phone actually boots into the ROM before becoming unresponsive and automatically rebooting.
[HTC One S] Ergo Proxy:
Brilliant Battery Life

Firstly I was at around 78% battery when I started this. I'm using the Stock version of this Kernel with Viper Rom. Below you can see that I'm roughly using 20% in roughly 24 hours. I say roughly because as you can see at one point I don't get mobile signal for around 8 hours. This is because I put it on airplane mode as I was working underground and wasn't getting signal. So I say roughly because that's what it would have been if I had not put it on airplane mode.

Some more images.. again I working working the next day so you'll see no mobile signal.

In the picture below around mid way you'll see a major battery drop, this is because I went into Recovery mode to do a backup.

I know I didn't use wifi or any other apps much but for me this is amazing battery life. Might post more images when I'm actually using the phone lol.
[HTC One S] Smokem_I:
Yes there is. I was actually working on that late last night. I was able to get the Undervolt to apply by placing the script in init.d but it would not set the governor or the min/max frequency.... I ran the script on boot and it changed the governor and frequencies... I'm going to mess with it some more today. Hopefully I can get all the cpu changes I want without any 3rd party apps running on boot.
[HTC One S] mliou:
+1 I would like to know how you set it, might give this another shot.