yashsingh1/xdaforums huggingface dataset:
[HTC One S] Zarboz:
Next revision will have Mpdecision kernel side after much testing on LTE and One XL

this gives GREAT battery life as well as awesome response for performance

What is msm_mpdecision?

100% kernel based multi core decision! (should cpu1 be online or not?)

This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.

Check /sys/kernel/msm_mpdecision/conf/ for the configuration.

startdelay = time until mpdecision starts doing it's magic (70000)

delay = time between checks (500)

pause = if something else plugs in the cpu, fall asleep for 10000

scroff_single_core = if the screen is off, don't plug in cpu1 (1)

nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)

nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)

twts_threshold_up = time threshold, this amount of time must have passed (250)

twts_threshold_down = same as above (250)

enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!

idle_freq = a value against that will be checked if a core +/- is requested. (486000)

If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.

If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)
[HTC One S] Sneakyghost:
Totally cool. Can't wait to play with that!

Zarboz,

See what your kernel can do:
[HTC One S] Zarboz:
@sneaky

WOW!!

i cant wait to see what it does with mpdecision :D
[HTC One S] Sneakyghost:
Same here :D

That's why I posted this...

sent from a bugged One s....
[HTC One S] kira411:
Can you tell your governor, profile config and your undervoltage Sneaky?

And please provide me screenshot about the name of Zarboz kernel in Setting -> About -> Software Information

Thanks a lot
[HTC One S] mliou:
I don't know why but the img file that OP posted for the latest kernel works a lot better than flashing from zip. I fastboot the image and I do not have glitches whereas if I flash the zip, I got random glitches. Weird...
[HTC One S] Zarboz:
I HIGHLY suggest you use Kernel Tuner to tune this kernel as you can control your GPU/Sweep2wake/Individual Core control/Mpdecision control/profiles

and its Free!
[HTC One S] mliou:
I'm trying it out but it doesn't seem to set the frequency properly...can we use init.d with this kernel?
[HTC One S] pyro43284:
I have been having a fit trying to get this kernel to work for me I got to flash 1.5 finally couldn't get it to do oc now I can go up to 2.1 now I can drain my battery faster Lmao well worth it big difference to me at this speed:p:p
[HTC One S] fantasist:
Hey zarboz, I'm testing this now, can't seem to be able to change mpdecision in profile, it says error and there is no way to edit it. Is that because mpdecision isn't available with the kernel yet? How do you change mpdecision with kernel tuner? And is there a reason not to use the latest version 3.1.3? Thanks
[HTC One S] raulillo88:
Hey zarboz could you add to next releases 720p 60hz playback over mhl? Thanks in advance

Enviado desde mi HTC One S usando Tapatalk 2
[HTC One S] Sneakyghost:
First: here is a screenshot but be aware that this means nothing. I could have made the screenshot at a different time or even phone. If you don't trust what I say, there's no way I can prove that to you other by you coming over here and have a look. So your question is a bit off...

Then I had my governor's and settings posted already, so reading this thread wouldn't harm you I think.

Currently I use SmartAss V2 with a frequency range of 192 - 1890MHz and a uv of -50mV.

All power relevant settings have been set do that I can use the phone well but no unnecessary drain happens, gmail and talk have been exchanged with inverted apps and all other apps that allow this have been set to a dark theme. White kills battery...

sent from a bugged One s....
[HTC One S] Zarboz:
Mpdecision version of this kernel has not been released quite yet.

today/tomorrow it will be coming
[HTC One S] germandude68:
Yo Zarboz, I finally reached the 16.5 hours battery life mark and still 27% more to go...wow. Your kernel as it is currently beats Klins on my phone...LOL.
[HTC One S] Zarboz:
I have my sister in laws one XL right now because i was finishing sweep2wake for that device / and the evo LTE (they use the same digitizer)

so i have the new version ready just the unit i use to test is with my sister in law

if you are interested in giving this new version a shot please shoot me a PM

the new version includes:

Mpdecision

Hotplugging
[HTC One S] snwman:
Zarbox if you want a tester for any new stuff ill happily help you out my HTC one s is my second phone. But I still use it for gaming music and internet everyday. Other phone is not a smartphone
[HTC One S] Zarboz:
i Just posed the newest version of the kernel
[HTC One S] snwman:
Just seen that but in future if ya need another tester give me a shout. Be happy to help you out
[HTC One S] Sneakyghost:
Sorry mate I was very busy with other stuff today, couldn't test for you. Got to be back in business soon. Currently I just have to look after my wife a bit. Been on xda too much lately.

sent from a bugged One s....
[HTC One S] Hopie:
i´ve got a bootloop after flashing new kernel :confused:
[HTC One S] alltubetone:
Same here :(
[HTC One S] Hopie:
with old kernel, now i had also a bootloop :eek:
[HTC One S] Raptylos:
Bootloop with new kernel.

Previous version works here.
[HTC One S] Zarboz:
https://www.dropbox.com/s/67lhn7xedhvctri/VilleZ.Mpdec.S2W.zip

can someone try this one then please?
[HTC One S] Raptylos:
Downloading

---------- Post added at 09:45 PM ---------- Previous post was at 09:36 PM ----------

Nope, doesn't work either, mate
[HTC One S] mliou:
I just flashed in and when I looked in setcpu, my voltage for 192 freq is around 1000...That's not the default one right?
[HTC One S] blessup:
Kernel causes popping and clicking when playing music via Bluetooth
[HTC One S] Zarboz:
This is the 96 kHz sample rate added in
[HTC One S] mliou:
Hey Zarboz, can you give me some help here? I cannot get this kernel to run properly.

I flashed it and during boot, I would have graphical glitches as when the Android system says it's updating, I see blanks instead of words.

Now, even after it is booted up, it would run great for a few seconds then starts to glitch until system reboot.

I even started from scratch by wiping then flashing the rom, flash your kernel and still same result.

ps. I am running setcpu.
[HTC One S] Zarboz:
Please wait for no gpu oc version later this evening or tomorrow
[HTC One S] mliou:
Thank you so much!
[HTC One S] Zarboz:
I had a similar issue with my evo lte users easy to overcome.. just no gpu oc...
[HTC One S] mliou:
I didn't see your response to the voltage question. I couldn't set the voltage using SetCPU when I could get the kernel to work. It was running start from 1000mhz at lowest frequency. I set it to 800mhz, rebooted it and still setCPU shows up as 1000mhz. I thought that could be one of the problem contributing to the glitches?
[HTC One S] Zarboz:
No separate files
[HTC One S] invasion2:
Been running this all day. No issues with graphics, lag, even reboots keep the smartassV2 governor in place. Great work man, keep it up. Looking forward to the next update!
[HTC One S] mliou:
What are your setups?
[HTC One S] invasion2:
Stock voltages with smartassV2 governor.

Sent from my HTC One S running ViperOneS!
[HTC One S] SnowToad:
Just flashed.

Chose 1.8 Ghz max OC option and the min UC value below 192.

But in No-frills CPU, the values from the previous kernel (fusion - 192 - 1.89) show up as options

also get graphics glitches, like weird flashes with animations, e.g. with the HTC stretch animation when stretching lists, it flashes and snaps back instead of being smooth. Will try without GPU OC
[HTC One S] plakers:
Yep, same for me, no problems since last 24h. Graphics Cpu settings... Are all Ok.

Only undervolt fails (voltage table :))
[HTC One S] gfandrea:
Tried with Official MIUI ROM, WiFi doesn't work..

Thanks anyway!
[HTC One S] SnowToad:
I'd like to use this kernel cause smartass sticks, but it seems to disable audio for me.. no music, dial tones etc at least through phone speaker, in-call speaker works
[HTC One S] invasion2:
Everything works fine here.

Sent from my HTC One S running ViperOneS!
[HTC One S] SnowToad:
Flashed back to Fusion, audio works.. back to Ville-Z again, broken.. back to Fusion and it's working
[HTC One S] Zarboz:
very odd

just got the rest of sweep2wake put in

now to finish cleaning up the port to match our device
[HTC One S] Zarboz:
MHL hack broke it then

if you can test one more for me in about 4 minutes ?
[HTC One S] Raptylos:
Sure
[HTC One S] snwman:
Only got phone back I got bootloop as well on the one on op. Busy here child is not well so family comes first but will be briswing and downloading just might not be fit to post my results.
[HTC One S] DroidXAce:
With the second version, there is also bootloop.
[HTC One S] snwman:
So just reporting on testing the ketnal tuner. I installed previous kernal at 1.8ghz. Set both CPUs to 1.8 and at smartass v2 governor. Adjusted voltage -50 but 192mhz does not go below 800000mV. It's keeps adjusting itself back to that figure. Settings do not stick apart from the CPU 0 governer. Everything else changes. CPU 0 adjust back to stock frequency and CPU 1 stays at 1.8ghz and 192mhz but goes to on-demand governor.

Also while looking at kernal tweaker. Both CPUs stuck at max freq 1.8ghz and that's when I rebooted and everything changed. I checked it that settings apply on boot.

Just reporting
[HTC One S] Zarboz:
Just got my one S back

uploading a working version for you guys

and may i say

OMFG
[HTC One S] DrRyder:
Now why would you say that, Zarboz? :D I went back to the kernel version before Sweep2wake. Was getting better battery on it. But I'm eager to see how this new kernel works. As before, could you post the .img version too? Pretty please. :D
[HTC One S] Zarboz:
Yeah i will for you man..

read up in the OP about Mpdecision you will understand

its true multicore control :D
[HTC One S] DrRyder:
You know it's much appreciated. I read up on it a little bit and it'll be very interesting to check out. Should still work with CPU Tuner right? Decided to use that over SetCPU as I like the features it has over SetCPU.
[HTC One S] Zarboz:
i have been using a app called "kernel tuner"

you can find it here on xda

it is AMAZING

it lets me control GPU OC

CPU OC

Governor

Scheduler

voltage

S2w

mpdec on/off

mpdec variables

profiles

and its free

----edit----

OP updated with fixed flashable version of todays update

sorry for the #fail earlier guys :-X

DrRyder

ill tweet you in a minute your link to boot.img
[HTC One S] :
Any chance I can have that too please.
[HTC One S] Zarboz:
check OP :D
[HTC One S] :
Legend and all four too! And great find with kernel tuner too thanks.
[HTC One S] DrRyder:
Zarboz...might be a problem. Screen doesn't turn off automatically after backlight timeout. Screen stays on. I'll try a restart and see what happens.

Edit: Nevermind. Musta been a fluke. I changed backlight timeout to 15 secs and now screen turns off as it should. Was just weird I guess.
[HTC One S] Sneakyghost:
Thanks zarboz quickly checking before going to sleep.

Kernel tuner is a good thing, current version is 3.1.3 though.

Also setting governors doesn't work right for me at this time - cpu cores spike up to max shortly after setting a governor and stay there, phone running hot.

This looks like the problem everyone had with system tuner on klin's kernel back then... Settings didn't stick and cpu would randomly spike up.

Will keep an eye open.

Good night or whatever...

sent from a bugged One s....
[HTC One S] mliou:
In Kernel Tuner, the settings does not seem to stick. Anybody else?
[HTC One S] Zarboz:
It's working ok for me just uninstall all other management apps
[HTC One S] mliou:
The settings stick but after a reboot, it goes back to default.
[HTC One S] Zarboz:
I set it on a init.d script
[HTC One S] sensationfan623:
This isn't the sense only kernel right? It will work with any ICS or jellybean ROM for the one s?

HTC one S, Tapatalk, ParanoidAndroid 2.23
[HTC One S] germandude68:
Zarboz, all installed like a charm and no issues encountered (not even overheating). The governor and voltage sticks from my previous setup.

Thank you very much.

By the way the kernel tuner app you've shared doesn't let me click on the Install button (only Cancel works). Moved it even to my primary partition and gave it all the permissions, no luck. Redownloaded several times, still no luck...LOL
[HTC One S] JN3141:
This is the sense version, the AOZP kernel by zarboz is the one for jelly bean. :p

Tapatalked from my HTC One S running CM10
[HTC One S] SnowToad:
any ideas on how I could fix the issue with this kernel ruining audio recording in video?? (and graphic glitches)
[HTC One S] tonno16:
In zip file with all boot.img....what I have to flash?
[HTC One S] sander151187:
Got exactly the same issue if I'm using Smartass V2 as governor. If I use Ondemand it seems to work fine..
[HTC One S] Sneakyghost:
Kernel tuner

Working:

-ondemand is working on both cores (default governor)

- OC is working

- SetCPU uninstalled

- uv with max -50mV

Not working:

- Venom Tweaks app cannot be removed. So that might still interfere.

- any governor other than ondemand

- uv below -50mV crashes system sometimes.

- any setting to safe settings over reboot.

-noise in audio recordings

Environmental factors:

-Flawed install, problems after viper-reflash without full wipe.

-Resulting from that: high probability of a not really working SU.

Concluding:

-bad test situation. Need find the time to redo it from scratch. Working week starts now so I'm unsure when I can do that.

sent from a bugged One s....
[HTC One S] :
Same here.

Have used Setcpu, System Tuner & Kernel Tuner. Using the 1.8 version set to 1512mhz also not sticking.
[HTC One S] fantasist:
Zarboz, there seems to be a minor mistake when flashing using the installer. When it's asking whether to use Sweep2wake, it's actually asking whether to use GPU overclock?
[HTC One S] snwman:
As already said kernal tuner is not letting me stick settings at all. And freq then to stick for no reason. Also as you said already any other cpu tweaker might cause interfearence so people running viper rom would more than lightly have this problem because of the built in cpu control...
[HTC One S] MuurHekker:
You can set cpu0 on smartassv2 via venomtweaks and cpu1 on ondemand via kernel tuner if it isn't on ondemand. Mpdecision works in this way.
[HTC One S] sander151187:
I also use Viper 1.2.0. Could be part of the problem. But as I said before, Ondemand works fine for me. Haven't had any problems with older versions of this kernel. Would really like to use Smartass V2. Otherwise great release!
[HTC One S] fantasist:
Zarboz, can we have a version without sweep2wake please? I can't disable it without getting it back after reboot. a 2.1G version would do. thanks.
[HTC One S] germandude68:
When going into Kernel Tuner I saw that CPU1 was offline (got Zarboz latest kernel installed 1.8ghz and Viper OneS 1.2.0). When I turned CPU1 on it asked me that mpdecision needs to be turned off. Is this normal? So for CPU0 I got SmartassV2 and for CPU1 I got Ondemand. Is this setting correct?

It's so cool though to be able to turn s2w on and off from Kernel Tuner. Thanks for sharing, Zarboz.
[HTC One S] fantasist:
My understanding is:

As Zarboz explained in the OP: mpdecision is "100% kernel based multi core decision! (should cpu1 be online or not?)" (cpu1 comes on/off line according to the threshold you set in mpdecision), therefore if you want to switch on cpu1 manually, mpdecision would be redundant

You don't have to keep cpu1 on Ondemand governor, you can change it in cpu tweaks

However, nothing sticks for me after a reboot at the moment.
[HTC One S] germandude68:
Thank you for explaining. For me it's hard to tweak mpdecision since I'm not so familiar with it. So basically if I set cpu1 as on, it would do the same job?

Would it eat more battery life if I set both cpu's to smartassv2, or does it help a bit keeping cpu1 to ondemand? It's also easy to set from Kernel Tuner which governor to choose for cpu1. I haven't rebooted yet to see if cpu1 sticks. CPU0 does stick though when I didn't have kernel tuner installed yet and after having flashed Zarboz latest kernel.

---------- Post added at 09:27 PM ---------- Previous post was at 09:19 PM ----------

Ok I noticed something good. After setting CPU1 also to smartassv2, I did not see cpu1 keep spiking constantly to 1.8ghz maximum. It stays about even with cpu0 or at least around the same area, but never spikes high. Plus my device is also cooling down. Might be a good sign.
[HTC One S] fantasist:
keep mpdecision on would be a lot more battery friendly I think as it only brings cpu1 online when needed, and you don't need to tweak it, keeping it at default value would be fine. I personally don't like having cpu1 online all the time. please double check the op, it says what mpdecision does.
[HTC One S] diabolusmiles:
Just to make sure before I go flashing things. Latest release, fastboot the boot.img from second link then flash the zip from first link in recov?
[HTC One S] samco08:
thx !

Hello !

big thx for this super Kernel.

But I have a little request / question ... :)

Can you tell me if it's possible to decrease the capacitive backlight level (like in fusion kernel or lower) ?

Because it hurts my eyes when i read a book in dark condition.

I thank you for your futur answers ...:good:

@+
[HTC One S] azngl:
First of all, congrats for this awesome work. Huge fan of s2w!

I have some trouble with it though. Sweep 2 put it in sleep works great, but sweep 2 wake seems to be more difficult as sometimes it is like the touch is not registered. It used to work well on the previous version. I am on viper 1.2 and have kernel tuner.

Thanks
[HTC One S] Zarboz:
i did just not as drastically as klins

This is due to the screen off single core policy and ramp up rate of mpdecision

make tweaks to it.. i was also going to make the sweep2wake left->right little bigger of a field
[HTC One S] Zarboz:
use kernel tuner to toggle it on and off

thanks
[HTC One S] Hopie:
kernel tuner forget m settings/stick on 1,5ghz.

after reboot governor restore ondemand.. i choose asswax.

issue from kernel tuner or kernel?
[HTC One S] Lamyron:
Fu CK.. i love your Kernel ..... after i have disabled sweep2wake .. look at the battery life

now I'm testing the new ....... I hope he's equally well
[HTC One S] fantasist:
kernel tuner doesn't stick, i've tried 3.1.3, 3.1.2, 2.3.2 and 2.4 version, none sticks for me...
[HTC One S] Ergo Proxy:
are you talking about the brightness of the buttons? if so put this file in you /system/etc/init.d

i think its made by King Cobra can't remember
[HTC One S] Zarboz:
https://github.com/klin1344/kernel_ville_2.31/commit/6b9c810265c72c2b5151eb6e78ea177d6388aa15

KLIns capacitive lowering commit

https://github.com/Team-Blackout/Vi...mmit/b9409f168e1a0dfca288ebfaaca5b30a1b353b5a

mine

i dnt like them so soft so i would stick with a mod like Keegan has mentioned
[HTC One S] sherry478:
I'm getting graphical glitches and random reboots on all of you sense kernels but your aozp kernels work perfectly. What's the issue?
[HTC One S] sebi112:
I copy the file and renamed it to not ending to txt but doese not work
[HTC One S] Zarboz:
Turn off Vsync

and what model of One S do you own

S3 or S4
[HTC One S] sherry478:
I own the s4 version of this phone

Your aozp version of the kernel works fine on cm10 for me no glitches. Only on sense kernels I get glitches
[HTC One S] Zarboz:
odd please post in bug tracker with required information

you will find instructions to post in my 2nd post
[HTC One S] Zarboz:
Daaaang on my one s lol
[HTC One S] Ergo Proxy:
Go to http://xdaforums.com/showthread.php?t=1710980 then download the attachment and flash. Check if produces a log in /data if not follow the steps in the post
[HTC One S] Raptylos:
Nice score. Was it on 2.1ghz?

Your kernel rocks. Stable, nice features and a decent low consumption of juice. Thanks a lot. Much appreciateted.

I'm testing it on 1.7ghz with asswax on CPU0 and on-demand on CPU1 with an ascending voltage table. Beginning at 600mV @ 192MHz up to 1050mV @ 1.7GHz.
[HTC One S] Zarboz:
Try: Badass

It allows intelligent GPU scaling as well
[HTC One S] Raptylos:
Switched to badass. I'll report my results
[HTC One S] germandude68:
Fyi for the guys not having stick their settings using kernel tuner. Go to Preferences and select "on boot completed". The default is set to disabled.

---------- Post added at 08:30 AM ---------- Previous post was at 07:41 AM ----------

Hey Zarboz, am using badass now and the apps seem quite choppy and slow, whereas with smartassV2 its all smooth.
[HTC One S] Roman441:
Kernel tuner not save my settings !

After reboot all ondemand
[HTC One S] germandude68:
Yeah you're right. CPU0 goes back to what I've set it in Venom Tweaks and CPU1 goes back to Ondemand.
[HTC One S] DrRyder:
Note

I believe he mentioned before that if you use Kernel Tuner, you can't use any other tuning utility. Basically that includes anything that modifies your CPU settings.
[HTC One S] Sneakyghost:
The question is though, wether venom cpu control still has an effect after reboot if the apply at boot option is unticked.

sent from a bugged One s....
[HTC One S] DrRyder:
You'd really just have to check I guess. I imagine that anything running on boot would conflict with Kernel Tuner and cause problems or settings to "not change."
[HTC One S] Lamyron:
I have installed this kernel yesterday and after that I have 5 reboots. All of the reboots are when the display was off. :confused:

gesendet von meinem Viper One S
[HTC One S] germandude68:
Yes he did mention it, but we on the Viper S Rom have no choice. It can't be disabled in Venom Tweaks.
[HTC One S] DrRyder:
That sounds like a problem, lol. I'm using Stock so I'm pretty open to use whatever I want. However, I prefer using CPU Tuner...at least until I can take a much closer look into Kernel Tuner.
[HTC One S] samco08:
ok ... i'm trying it on my Viper 1.2.0.

i will tell you if if it's working or not.

normally no problem of iniD on this ROM .

Thx for your help +1

@+

*******************************

edit :

yehhhh !! :)

it working like a charm !

thank you for your precious help ...

I will keep this script like a tresor ;)

Also thx to King Cobra ...
[HTC One S] k1llacanon:
Try installing this kernal with this app

http://xdaforums.com/showthread.php?t=1790150

Sent from a man, using a mobile phone
[HTC One S] Sneakyghost:
I've uninstalled SetCPU now and frozen Venom Tweaks. After a reboot i am afraid the settings still don't stick and the CPU spikes and stays to max, either core, not both.

Ondemand and BadAss both working though. Just some of the more advanced Governors like SmartAss V2 and OndemandX and such do not work right.

Could it be the build-in screen-off profiles that make these Governors not work right?
[HTC One S] Zarboz:
Hmm

Odd

Please replace /system/etc/init.qcom.post-boot.sh with stock from Rom you are running and see if the same thing happens
[HTC One S] fantasist:
Zarboz, by changing the governors to whatever we want in init.qcom.post-boot.sh, I can get both governors stick. Is that a dangerous thing to do? what are the impacts? thanks
[HTC One S] Zarboz:
That was the goal when I started including the mod with my older kernel releases
[HTC One S] germandude68:
@Sneaky, would you please also share the file with me that Zarboz suggested to replace? I'm not sure where to get this file, since I don't have the full Viper OneS ROM (1.2.0). Only installed this last update via OTA. Thank you in advance.

@Zarboz, replacing this will not touch any of your settings from your kernel right?
[HTC One S] Zarboz:
No it'll be fine
[HTC One S] germandude68:
@Zarboz: in this file I see cpu0 and cpu1 with "ondemand" and the path to the folder. Do I just replace it with "badass" and add the path to badass? Only those 2 lines?