yashsingh1/xdaforums huggingface dataset:
[HTC One S] Sneakyghost:
Well what shall i say. I did as instructed per OP and it works. Just like that.

Flashed the zip with CWM, flashed the boot.img with Viper One S bootflasher after (executes the commands recommended in OP, wipe also). Did reboot and it was there. The first some seconds or so it appeared like CPU1 was locked at 1500 MHz but then i changed the min/max with SetCPU and it began to play nice with SmartAss2.

So far so good. WIll keep observing.

And Klin, thanks for considering Swipe2wake. I really like to try that feature. Seems a very odd concept to me but thats the reason i want to see it :D
[HTC One S] Raptylos:
Edit : Nevermind - I should learn reading before posing :D
[HTC One S] yfcpunishment:
Thanks man, very nice kernel. It now stick on smartassv2.

Just a inquiry, will sweep2wake be added in the next update of this kernel?

Thanks again klin!!
[HTC One S] klin1344:
You can use zarboz's kernel if you want s2w. I currently have no plans of including it as I am busy working on my aosp kernel.
[HTC One S] yfcpunishment:
klin, i dont know if this is already a known bug. my governer stick now even i restart my phone it stick but when i turn my phone off then turn on it goes back to the stock governor indemand.
[HTC One S] Darknites:
Old issue you lucky that it stuck for as long has it did and it don't just go for this kernel but all of them for me.
[HTC One S] feloccio:
This is a very nice kernel!

Unfortunately the minimum frequency wouldnt stick to 192 mhz. After some thime ist goes back to 384 mhz. Is there anything one could do?

I am using trickdroid 8.1

thx
[HTC One S] nor-ric:
About the AC charging feature:

Does this also affect usb charging from a pc? Id est, will the phone pull more than the ordinary 500mAh from the usb port of the pc?

Edit: in the end I flashed this kernel and it doesn't recognise the usb port as a wall charger. So it's limited to 500mAh, which is probably safer for the usb port.
[HTC One S] slainbybeats:
If it provides enough power, I think it will ;)
[HTC One S] DirtySant0:
Any way to get a TMO USA jellybean version if this kernel?
[HTC One S] nor-ric:
But is that safe from the pc side? I mean, is it safe for the usb port to try to pull more power from it?
[HTC One S] slainbybeats:
Don't think it's bad in any way. The USB Port Will deliver as much as it can. But st a certain value, there won't be more coming out of it...
[HTC One S] nor-ric:
By default the max cpu frequency is set to 1890Mhz maximum. I'm trying to lower that values to say 1512Mhz, but it doesn't stick and immediately reverts to 1890mhz.

Is this a known bug? I hadn't read anything about it. I've tried with no-frills, system tuner, setcpu.
[HTC One S] Darknites:
Try kernel tuner.
[HTC One S] nor-ric:
The same happens. I've also tried by uninstalling the others I tried before, in case they could conflict with each other.

I'm completely stock, just rooted, on-demand governor.
[HTC One S] Darknites:
Ya it was a bit hit or miss if it would work but nothing worked for me too so not alone on that.
[HTC One S] nor-ric:
In the end I flashed this kernel and it doesn't recognise the usb port as a wall charger. So it's limited to 500mAh, which is probably safer for the usb port.
[HTC One S] klin1344:
USB charging was not implemented because it is not safe. Drawing anything more than the standard 500mah can cause permanent damage to your USB port.
[HTC One S] klin1344:
Sorry bro, don't have a One s anymore..
[HTC One S] nor-ric:
Yeah, infact I was hoping you didn't enable it. :) I made this clear because it wasn't clear in the description.

However, being stuck at 1.89ghz has been a deal braker for me, unfortunately...

Thank you anyway!
[HTC One S] klin1344:
The description means that unknown power sources, such as car charging, will be made sure to charge in AC mode. USB charging is a known source, so it will pull the usual 500 mAh.
[HTC One S] bchampy:
Sucks this post was overlooked. I'm in the process of restoring a nandroid hoping that will work. Phone would not boot up after a complete battery drain.
[HTC One S] Darknites:
Not kernel issue as such but phone issue and best off not letting it run out because you can brick it. Some have been able to get it booting with just reflashing the boot.img.
[HTC One S] mliou:
Is the smartass folder there? And when you reboot, is it still maxed out? Cause that's my problem.
[HTC One S] Sneakyghost:
Path Smartass Folder

hahaha lol yes it would if you did take their boot.img.

But you know, i could open command, navigate to my adb and fastboot folder, type in those commands and hit enter. Since i am lazy, i rather just copied the boot.img from klin to that folder and executed that script.

Actually i have like 20 scripts for most commands i need sitting in my android folder with adb and fastboot since i am a lazy prick and a double click is way easier than typing...

:D

[EDIT]

Found SmartAss Folder in this Path: sys/devices/system/cpu/cpufreq

So i assume, it is working.
[HTC One S] Raptylos:
I don't have that folder, that you are referring to. Perhaps it's an issue with permissions?

Smartass is working for me, until the device had gone to sleep. After waking up, the governor has been changed most likely to ondemand.
[HTC One S] mliou:
I have the same problem too, hope we can come up with a fix
[HTC One S] :
what hboot are you on
[HTC One S] SnowToad:
Selected smartass again and folders were created.. rebooted and they weren't there, CPU0 locked at 1.5Ghz.

Switched to interactive then back to smartass, phone freezes and reboots after press apply (no-frills)

And the default config files for Smartass are a bit low aren't they?

awake_ideal_freq at ~ 518400 and sleep_wakeup_freq at like 118k or something

E.g. here: http://xdaforums.com/showthread.php?t=1369817 recommends:

for Performance for galaxy S II

Would really like to get it working!
[HTC One S] klin1344:
Try setting CPU governors with system tuner.

Also the smartass parameters were set for better battery life...the governor is interactive enough that even when using those values it doesn't affect performance drastically.
[HTC One S] mliou:
1.08
[HTC One S] klin1344:
I am on 1.13. Idk if it matters about hboot version though...

Maybe you should run a T-Mobile ruu to update it to 1.09.
[HTC One S] :
since you are on .08, try my steps exactly

I am calling it a nite

I will check back tomorrow

pm if needed
[HTC One S] mliou:
I did exactly what you wrote, still same result :(
[HTC One S] mughalgxt:
I am also having the same issue with the smartass governer ( hboot 1.14), though the kernel has greatly improved the wifi reception on my phone! THANK YOU for it and all the hard work associated. :good:
[HTC One S] Sneakyghost:
Ok guys i was posting success too early.

I did a reboot this morning and now the Smartass folder disappeared, then CPU0 gets locked on Max and CPU1 remains offline.

Also uninstalling SetCPU and recreating the SmartAss governor settings with SystemTuner does not help.
[HTC One S] Lamyron:
I have a similar problem, after a reboot the Smartass Folder was deleted the Gov. was set to ondemand. But after i set it back to smartassv2 the Folder is back and it shows like it work normal?
[HTC One S] klin1344:
Ok thanks for reporting, I will try to work on a fix soon.
[HTC One S] :
Don't understand, maybe going to .09 hboot as klin mentioned may help

But, just to be sure my directions were good--you did NOT flash any scripts/zips. just copied the "boot.img" file from either OC or Stock folder to your android fastboot.exe folder and fastbooted it and cleared cache

Maybe try which ever one you didn't fastboot--
[HTC One S] mliou:
I tried it twice.

1) I flashed the zip + fastboot the image

2) I ONLY fastbooted the image

In both cases, smartass folder would not be made
[HTC One S] Sneakyghost:
Maybe running it with init.d in system tuner helps. Will try that suggestion too.

Bitten by One S Viper...
[HTC One S] :
OK, just wanted to make sure we were on the same page--I have no answer then--sorry--
[HTC One S] Sneakyghost:
Init.d didn't work.

Bitten by One S Viper...
[HTC One S] Lamyron:
Ähm, a little question:

i have flashed the Kernel only with TWRP because my HBoot is 1.06, and i think its okay. Or was this a mistake?

This is was the Info Page says:
[HTC One S] klin1344:
Yes everything is fine. The kernel flashed successfully.
[HTC One S] jlvs021:
Dont know why but ive tried downloading this to my phone almost half a dozen times and it downloads a .text file instead of the zip file it should be, want to try this with venom but cant get it to work. Does somebody have mirror or another link to download?
[HTC One S] mliou:
Try downloading from your computer
[HTC One S] jlvs021:
I have tried from my computer and it dosent download, i get a page with symbols and numbers, ill try from another computer and see if thats the problem. Thanks
[HTC One S] LalyGirl:
How is the battery life with this kernel? Better then the stock?
[HTC One S] invasion2:
Much better. With Venom I thought stock kernel battery was great, but this is really great. I have been on my phone for 2 hours browsing FaceBook, XDA, and other apps that require WiFi/Data. Only at 90%! And multitasking is much improved.
[HTC One S] Sneakyghost:
your browser is set wrong then. Just right-click and pick save as or whatever is offered. the browser tries to open the file. it might be the website says its a txt file but its actually not, so just right click save.
[HTC One S] ssniper:
In Venom the stock kernel is based on 2.31?

This kernel is based on stock kernel 2.21!

When go out a New kernel based on 2.31?

Thank you

Inviato dal mio HTC One S con Tapatalk 2
[HTC One S] LalyGirl:
Ohh thanks a lot, I will give it a try :D
[HTC One S] Sneakyghost:
As soon as HTC releases the Source the Devs will start using it i am very sure but for now, the kernel works alright. Dont Worry, it already contains the new Android Files necessary for Android 4.0.4.

[EDIT]

This is mainly for Klin:

Did this:

1. RUU. Full Wipe, Reflash Viper.

2. Fastboot Flash Kernel. Flash Kernel Zip.

After first boot, Smartass is working, Folder created.

After second boot, Smartass still working, folder there.

Now: set to re-apply CPU Settings on boot completed with SystemTuner.

Reboot. Folder gone, Ondemand Folder there, smartass behaving odd (locked CPU0 on 1.5Ghz even though max set to 1.89)

Put device back to Ondemand.

Impression: it doesn't keep the SmartAss folder and tries to draw speed settings from somewhere else, getting all confused. What's the reason behind this? Odd. Never seen something like that.

Please look into that.

SuperSU problem with creating folders in system? Do we need to set System r/w? i have no idea. Going to bed now.
[HTC One S] sherry478:
gpu oc

Is the GPU over clocked in this kernal?
[HTC One S] klin1344:
No it is not. Personally I see no use for overclocking the GPU right now, as our adreno 225 can handle pretty much any game out there. Overclocking would cause more battery drain.
[HTC One S] xxquicksh0txx:
Perhaps underclocked abilities for those who don't play graphic intensive games and don't mind the occasional lag?
[HTC One S] sherry478:
aspahlt 7 lags with good graphics enabled. BTW great kernal undervolted -100mv and its stable.
[HTC One S] klin1344:
I tried fixing the bug today, but unfortunately the problem doesnt come from what I thought was causing it...I'll have to take another look tomorrow.

On the bright side, I made a lot of progress today on the next release, check github for details if you want.
[HTC One S] Pheroh:
Lots of new governors! :D

I am getting very good battery of the stock kernel in Viper ROM but I would want to try this as well as I've had good experience with it before. However, is there an easy way to revert to the old kernel if I chose to? (besides a nandroid)
[HTC One S] klin1344:
Yes to revert you would just flash the boot.img from the viper rom in fastboot.
[HTC One S] x1tyme:
Yeah you can. Just pull boot.IMG from venom Rom and fastboot it
[HTC One S] Sneakyghost:
New report:

Settings: 192 -1890, ondemand

Problem: after the screen had lit up for an incoming call which I didn't answer, it went dark again and then couldn't be woken up by a key press. Shortly after, the device rebooted.

Notice: I know that "sleep of death" like behavior from the HD2, where it would affect certain build batches with a certain digitizer that was playing bad with low cpu min freq settings.

I raised the min to 384 now to see if it makes it any better.

Feel the Viper!
[HTC One S] Pheroh:
Not really.. When you flash the zip, other files are being copied as well and I don't want to have some system files left over..
[HTC One S] mineIsAlreadyTaken:
you can download ".7z" files using Firefox from your phone.

Default browser just opens the file as text (so does Chrome, as far as I can remember)
[HTC One S] Zer0r:
Great news! Will test you kernel today!

Is there any way to update bluetooth stack in the kernel? On Sensation, on latest kernels I didn't have any problems with my handsfree. But now, on One S on any kernel I have the same problem I had on earlier kernel versions on Sensation - sometimes handsfree can't automatically connect to my phone, only manual connection (in Settings) can help.

Can this be solved? Thanks a lot in advance!
[HTC One S] TPA_Droid:
Where is the jackass folder placed on the phone? Searching for it but no luck finding
[HTC One S] Sneakyghost:
Smartass folder path

Look Here: http://xdaforums.com/showpost.php?p=30712697&postcount=42 i didn't find that folderpath either even though its in the thread. That happens when one is too lazy to search ;) I made my post title have the tags "SmartAss" and "Folder" too though, so its easier to find with search now. :D
[HTC One S] Sneakyghost:
One method would be to open the flash zip and check what files are copied to the system and where. Once you got that, you can manually delete them with e.g. ES File Explorer or if you can, change the updater-script in the zip to make it delete instead of copy those files.

I am not sure about the Files created by the shell script that gets copied over to system though.

Best thing would be, klin would outline a method to remove redundant kernel files from system (or state that this is not required).
[HTC One S] District:
Hi Klin,

Does the Kernel control the number of In-Call volume steps? If it is could you add an extra level, that is quieter than the current lowest in-call level.
[HTC One S] renehd2:
Is there any mirror for the kernel?, when I try to download it from my phone it freezes at the middle of the download
[HTC One S] Sneakyghost:
give me a minute I'll pull it to my drop box and shoot u a link.

There you go: http://db.tt/xOjBmvrc

Feel the Viper!
[HTC One S] klin1344:
I don't think this is a kernel feature. It sounds like something to bring up to the ROM devs ;)
[HTC One S] Sneakyghost:
It is and it caused issues for some people. Not a recommended mod.

It doesn't exist in venom tweaks but I know that it was talked about in conjunction with fixing the resulting problems. Can't remember where though.

Feel the Viper!
[HTC One S] renehd2:
I have been having so many problems with this kernel, most of then graphical glitches

Can someone post a the stock 2.31 kernel please??
[HTC One S] klin1344:
Logcat? More info? I can't help you if you just give me minimal amounts of information.
[HTC One S] renehd2:
Can you post a mirror of the no ovetclocked kernel to see if that fixes the problem please??
[HTC One S] mughalgxt:
Extracted from OTA_Ville_U_ICS_40_S_HTC_Europe_2.31.401.5-2.21.401.10_release_275774cltf0sxl730g7fp1.zip

The OP deserves respect, if you have issues share the logcat or be more specific hence the kernel can be improved further!:angel:
[HTC One S] renehd2:
Yeah I know man I'm not been rude, its just that its hard to write and do things with this glitches and I'm not near of a laptop for the logcat man
[HTC One S] DroidXAce:
What does the governor Lionheart please ?
[HTC One S] mteezey:
This kernel has been running great for me. Light use yesterday with about two hours screen time. But real heavy use today. Here's some pics they speak for themselves. Never had this much screen on time on this phone yet. Also using system tuner pro with smartassv2 gov with init d scripts to apply system control settings and CPU settings. Settings were 1.51ghz max 384mhz min undervolted -25mV with no issues since applying.
[HTC One S] klin1344:
Lionheart is a Conservative based governor but modified for performance. If you want good performance, use this one. Because a tuned Conservative will be smoother than Ondemand.
[HTC One S] ickedmel:
Is their kernel working well with venom? I mean as far as proper scaling with both cores and do both cores change to whatever governor you select or only one ?
[HTC One S] klin1344:
Smartass seems to have problems sticking. Other than that, I would say it works very well. Some people have been reporting flickering, but I haven't had that nor have I received a logcat, so I don't know what to do about that.
[HTC One S] mliou:
What governor are you using yourself?
[HTC One S] Sneakyghost:
Sorry to bring bad news again but I checked all governors you added and none sticks. System tuner, tried init.d and apply on boot completed. Both don't work for no governor. Always defaults back to on-demand, deletes the folders and creates an on-demand folder.

If I can assist with analyzing please let me know.

Feel the Viper!
[HTC One S] invasion2:
Everything I'd working fine. Smartassv2 didn't give me the best battery life, so I switched to lionheart this morning. Still stuck after a reboot.

Sent from my HTC One S running ViperOneS!
[HTC One S] Sneakyghost:
Odd. I wonder if I'm doing something wrong or if it's all the other dudes not checking properly.

Did you verify that it's still sticking after another reboot?

And what settings did you choose to make it come back after reboot? Init.d? Or on boot completed?

[EDIT]

Ok i changed the settings in SU to "interact" as default setting so SU App asks when a new program wants root.

The first boot after SystemTuner re-asked permission, Lionhart did stick with full settings then,

I swapped to SmartAss then and that also stuck in SystemTuner but didn't create the folder anymore.

So i suppose the re-setting on boot needs explicit root permissions each time a-new. Which is hard to accomplish. I think SU app needs to act faster and grant SU rights right after boot but i don't know how to achieve that.

I think even the Setting "On Boot Completed" doesn't help because i see many SU toast notifications coming up long after boot completed. So i think that App is just acting way to late.
[HTC One S] klin1344:
Damn..this new kernel base is really a PITA.
[HTC One S] mliou:
For me, ondemand and interactive stick using system tuner, smartass and lazy doesn't
[HTC One S] mteezey:
I'm pretty sure that's because the stock init.qcom.post-boot.sh supports both those governers. It doesn't contain any values for smartass or the other added ones therefore settings don't stick.
[HTC One S] dharvey4651:
I use SetCPU and I set SuperSU to remember and auto-grant access to apps requesting root. I have NEVER had an issue with my CPU settings not sticking.

Just food for thought.
[HTC One S] Sneakyghost:
odd. No thoughts there. :D

Feel the Viper!
[HTC One S] mliou:
You might think it's sticking but check the time it spent in each state...you'll see it's maxed out for some governor
[HTC One S] Sneakyghost:
Sometimes in SetCPU and SystemTuner, the Settings still say e.g. "SmartAss" but the actual folder with the settings table is gone. Then the CPU doesn't know how to run properly and maxes one core out and the other stays flat, equivalent to the "Performance" governor on a SingleCore CPU.

Check for that behaviour or goto: \sys\devices\system\cpu\cpufreq\ and check if you find a folder named after the Governor in there. If not, its not sticking.

Klin,

talk to mteezy. He gave me something that made it work. Worth a try. Not sure yet if its all good this way but it looks like for now.
[HTC One S] klin1344:
Okay will do. Hopefully we can get this issue fixed.
[HTC One S] TPA_Droid:
The only thing I'm seeing in that directory is the on-demand folder, but not smartass. Using system tuner to modify voltages, so not sure if that has something to do with it.
[HTC One S] dharvey4651:
You folks may be right but I use on demand and from what I have read, it is one of the few that actually does stick.
[HTC One S] mliou:
Agreed, have minor flickering and minimum frequency sometimes change. I'm still using it cause the battery life is just amazing! Hope to see an update soon!
[HTC One S] Zer0r:
please-please, upgrade bluetooth stack!! :)
[HTC One S] klin1344:
Updated to v2.0. See OP for details.

Directly from FAQ:
[HTC One S] mliou:
Running v2.0 ondemand, way smoother than stock. Can't comment on battery life yet but on v1.0, it is way better than stock as well. Only default governor is sticking. Other than that, great job!
[HTC One S] Simco80:
Can any tell me what the default governors are for this kernal besides ondemand?

Sent from my HTC One S
[HTC One S] coroneta:
HTC has release the HTC RUU 2.31 kernel sources.

http://htcdev.com/devcenter/downloads

---------- Post added at 02:55 PM ---------- Previous post was at 02:43 PM ----------

Filter By Region UE :)
[HTC One S] KACE321:
On viper ROM (v1.10) seems to work well for me. Smartass V2 sticks and there is no lock at CPU 100%, i am using system tuner pro to set CPU setting.

Thanks

PS. Why is htcdev.com always sooooo slow!
[HTC One S] klin1344:
Ondemand, Powersave, userspace, performance.

Nice find! Thanks! Hopefully these sources have fixed the CPU issues. :)
[HTC One S] mliou:
Can you check if the settings still stick after reboot? I'm the same setup as yours but Smartass maxed out on reboot plus the frequency folder was not created. Also, sometimes in ondemand the frequency would change from my settings.
[HTC One S] KACE321:
Hmm I think I spoke too soon, After reboots it switches back to ondemand. Infact is says "ondemand" on system tuner. I use the init.d scripts saving method. However it doest get stuck on 100%
[HTC One S] klin1344:
I just updated the kernel to v2.1. It is now using the latest 2.31 RUU kernel sources. The changes were fairly easy to merge into my existing code, so there was no need for me to completely rebase. The new update includes quite a few performance and stability enhancements. Unfortunately, the CPU bug has still not been fixed yet... :crying:
[HTC One S] mliou:
Thanks for all the work man. Is there anything we can do to help you out?
[HTC One S] Simco80:
Hey Rome wasn't built in a day. Your kernal is still rock solid with a much greater battery life than stock. People will just have to wait to use the custom governors.

Sent from my HTC One S
[HTC One S] plakers:
Yep, goin' to install the 2.1 today (on Viper!), I used the previous versions - even if some governors causes some problems after reboot or "locked" at higher freqs, the slight undervolt with ondemand is far enough for me at the moment. When governors/CPU will be stable it will be perfect but it's already G.R.E.A.T, keep goin' on man

Any feedback about Wifi with the 2.1 build? Is it as stable as stock?

:)
[HTC One S] Bricolo_fr:
I'm about to try this kernel (I'm running Viper ROM) and my main objective is battery live (I don't care about OC)

Is there a recommended setting for the undervolting? Or a list of what different members use as settings?
[HTC One S] plakers:
In the OP (3rd post) there's a voltage table, I use this one and my phone is very stable. You can start with this one. I attach the file as .txt file if you wanna put it in your "SystemTuner" directory and simply select it, it has to be put in "/mnt/sdcard/pmw/voltages/"

EDIT : I don't care about "pure O/C" too, so I set my max clock to 1.5 (or a bit lower, 1.2Ghz) - everything is fine for me and good battery life with these settings
[HTC One S] carlos_abril_94:
man you are awesome! I both love your aokp rom and this kernel! I only miss a kernel as good as this one for aosp rom (I know there´s one, but it´s a bit outdated), because battery life on aosp roms aren´t as good as on sense roms, and a good kernel from you could help a bit :)