yashsingh1/xdaforums huggingface dataset:
[HTC One S] FlyinGrub:
i've said few post later that i've test this but it do'n work ..
[HTC One S] Evil-Monkey:
Can you add this to OP. lol I feel that way atleast people don't have the excuse to say they didn't know how too..

echó en Android

---------- Post added at 01:53 PM ---------- Previous post was at 01:49 PM ----------

Seriously, thank you!

echó en Android
[HTC One S] rc420head:
Sorry I didn't see that. I run the cleaner 4-5 times to make sure it's all wiped out.
[HTC One S] AKToronto:
Try a lower twrp recovery. Go with 2.3.3.0 which seems to work fine and also allows Viper 2.1.0 (and the 2.2.0 OTA) to be installed correctly. Also make sure you have an S-OFF device. I can confirm this kernel boots just fine on 2.15 hboot.

---------- Post added at 11:09 PM ---------- Previous post was at 11:07 PM ----------

Folks, I also noticed that the RUU for the european jellybean version is out. For those who have been on the custom rom circuit for a bit, you should consider flashing a stock RUU or OTA updated to ensure all your firmware is upgraded to jellybean. Your issues with random reboots, etc could also be bc of older firmware and newer ROMs, and more than likely have absolutely nothing to do with this kernel.
[HTC One S] FlyinGrub:
I've ran a ruu less than 2week ago ...

Envoyé depuis mon HTC One S
[HTC One S] jmcoffey:
I'll try this.
[HTC One S] naudmick:
Lag

On some heavy games like Ironman 3, I have some lag in the set that did not have with another kernel !
[HTC One S] qazsxdcfv:
Try another I/O ..

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] jmcoffey:
Sadly this didn't work... :-\
[HTC One S] naudmick:
I / O changed and it does not change!
[HTC One S] rc420head:
Been trying lots of kernels lately (yours and others) but (3.4.10-bricked-ville-master-g824f15e) is the most stable on my phone.

Thanks keep up the good work. :thumbup::D
[HTC One S] Evil-Monkey:
I also experience some lag on 3D games.

Personally, I can't wait until show p integrates intellidemand and row (if he decides to) and see if that helps. Besides that though, this kernel is rock solid.

echó en Android
[HTC One S] qazsxdcfv:
Make it deadline ..

And the governor , make it performance ..

Still not change .. , ?

Grab another kernel .. dont be like that .. we cant have anything we want ..

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] naudmick:
test Antutu kernel bricked_ville_20130506_031317_master-824f15e :

Score Total : 10430

Ram : 2115

CPU Int : 2226

CPU Float point : 677

2D : 1161

3D : 3379

Database I/O : 525

Test BulletProof 1.3 :

Scrore total : 12000

Ram : 2120

CPU Int : 2254

CPU Float : 2060

2D : 1235

3D : 3458

Database I/O : 550

After the test I made ​​five recovery I found that the problem just setting the CPU Float Point Bricked 677 vs BulletProof 1.3 as 2060.

How to set this to find a good value CPU Float Point ?
[HTC One S] show-p1984:
I haven't fine-tuned mpdecision yet. The problem may be that mpdecision shuts down the 2nd core during the benchmark because it is not stressing the CPU enough. Or some other app jumped in during the middle of the benchmark and did something else which caused this negative "dent" in the benchmark.

Benchmarks are crap exactly for that reason. One email received, one touch on the screen and one signal loss may impact the benchmark negatively. (in case of some phones, rotating the device will lead to negative results too because the gyro goes crazy)

If you want to get reliable results with benchmarks, do this:

- Clean reboot (not that fastboot crap).

- Sync off.

- wifi, bluetooth, gps, nfc off.

- Airplane mode. (if that doesn't disable your radio: *#*#4636#*#* -> and disable your radio)

- kill all apps running with your favorite task manager.

- wait 5 minutes with screen on.

- run 5 benchmarks (check the app state in between, there might have been stuff launching in the background again), eliminate the highest / lowest and calculate the average of the remaining 3.

- cooling periods between those benchmarks!

If you are currently above 25°C room temperature then putting it in the refrigerator for a few minutes wouldn't hurt either :) (before every benchmark)

That would be a kinda reliable way to run a benchmark on an every day phone.

Btw: Even booting your phone and running the benchmark may impact performance a lot. Booting up needs a lot of juice = heat. If you then run the benchmark you may run into thermal throttling pretty quickly.
[HTC One S] Mr.Nigma...:
Man how do u get 3400 on 3d! i only get around 2900-3000 always :0
[HTC One S] naudmick:
I reminds that I am on the last Stock RUU 3.16.401.9 and it can be played !
[HTC One S] qazsxdcfv:
Ouch , so this is the main problemo on "little-lag" ...:D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] nespresso33:
I look my voltage table with this kernel on Kernel tuner and my voltages for all frequency are all at 1150mV .

Is it normal ?

edit: And at every reboot, CPU0 is offline. I have to turn on it with Kernel Tuner.
[HTC One S] Fruktsallad:
My voltages are set to 1150 mV too, but luckily I had saved the defaults from Elemental with Kernel Tuner, so I'm applying those at each boot. No need to fiddle with CPU0, though.
[HTC One S] naudmick:
would it be possible to have the voltage range to apply the CPU because I also confirm to voltage problem!
[HTC One S] FlyinGrub:
i do the same ;)
[HTC One S] Fruktsallad:
Sure, I'll post them when I get home if no one has done it by then.

EDIT: Here you go:
[HTC One S] FlyinGrub:
I didn't know why naudmick post this here, he is on french forum where i've already post them

Stable voltage with nominal krait version :

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

MPdecision profil from bricked ville -z

Service start delay: 500
Sleep time: 10000
---------------------------------------
Up threshold(load): 95
Up threshold(tile) : 125
--------------------------------------
Down threshold(load): 25
Down threshold(time): 250

Envoyé depuis mon HTC One S
[HTC One S] AKToronto:
Always be careful with undervolting. Some krait versions become unstable with voltages below 900 or so even on the low end. This kernel allows you to check your version though which is cool. Look through the thread for a discussion
[HTC One S] FlyinGrub:
I use this underclock and it's very stable : i've the nominal version of krait

Envoyé depuis mon HTC One S
[HTC One S] naudmick:
Read This !!!

http://xdaforums.com/showpost.php?p=41183676&postcount=990
[HTC One S] qazsxdcfv:
Wow ,..

CPU0 ( on my One S exactly ) , will be on time ( usually ) for big process , like HD Games , Benchmarking , etc. ..

So , after reboot, i get the same as you got .. but it will automaticly turned on if anything needs it .. :D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] AKToronto:
Thats very good to know. Some folks may have the slow version of krait and not know it, then start undervolting like crazy, and then wonder why their device resets, crashes, screws up, bricks, hardware buttons stop working, etc, etc....

I would just always put a disclaimer next to voltage tables indicating which krait version they have found it stable on. still, its great to share stable voltage tables! Dont get me wrong. You can get a lot more batterylife with a good voltage table, and mpdecision running well.
[HTC One S] FlyinGrub:
when you too undervolt the phone freeze : you just have to press power 12s and it reboot fine (if you haven't apply the settings on boot :good: )

Post edited ;)
[HTC One S] show-p1984:
There is a fixup applied on some 8960 chips which sets the minimum voltage to that value. This is normal if your device shows you this.

CPU0 can

never

be turned off.

CPU1 will be autoplugged if needed.
[HTC One S] qazsxdcfv:
Hei .. im sorry man , my mistake. ..

Its CPU1 .. :D:D:D:D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] show-p1984:
My personal mission butter project from the Nexus 4 came over to the Ville a few minutes ago!

The last beta on http://bricked.de/index.php?action=kdownload&device=ville&release=beta&type=sense will have a never seen smoothness. (d467a6d)

Enough of that, test it yourself :p

A few words to this new butter feature (input event boost):

(The One S obviously has only 2 cores, so the other settings will just be ignored)
[HTC One S] naudmick:
Thank you for this great update !

It works great !

By cons is it normal voltage lees are still bloaqué to 1150mV?

If I rules with different voltage what are the risk itself? Or could you give us your voltage range please advice?

Should you leave it as is? Or change with another value? Because if I exchange are validated for me.
[HTC One S] show-p1984:
Qcom bumps the voltage for some chips to 1150mV min. That has a reason, which I can only speculate about as it is nowhere documented. You may encounter unicorns going below that value.

You can see the 'fix' being applied during bootup:

<6>[ 0.366122] [ACPU] krait_needs_vmin: krait_needs_vmin: cpuid is 0x511f04d0
<6>[ 0.366152] [ACPU] select_freq_plan: Applying min 1.15v fix for Krait Errata 26

Now I could easily override that, but it would probably mean unicorns. All over the place. Especially since there are *****y phones (such as quickshot's) out there that won't even do the slightest deviation from the norm.

I can't answer you if you should go below that value, if you do though don't come back and scream at me that your phone rebooted or whatever :)

CPU ID's affected by this are:

0x511F04D0
0x511F04D1
0x510F06F0
[HTC One S] naudmick:
Ok very good explanation so I do not touch anything and go the test as it is here!

To get reliable advice I share a calibration cycle three and I give my felt but it is true that I see an improvement in the flow at first!
[HTC One S] rc420head:
Good and smooth so far. :thumbup::D

Sent from HTC ONE S
[HTC One S] naudmick:
+1 :)
[HTC One S] leald:
Will the cpu return to the 384 min after no more touching?
[HTC One S] show-p1984:
It will return to the min you set, additionally: If you change the min during the boost mpdecision will remember that and set that after the boost ended.

The two situations basically work like this:

No boost:

you set a min (or not) and touch the screen
mpdecision saves that min, starts the boost.
mpdecision ends the boost and restores the saved min

While boosted:

you set a min (or not) and touch the screen
mpdecision saves that min, starts the boost.
you set a new min
mpdecision updates the saved min to the new value
mpdecision ends the boost and restores the saved min

ok? :)
[HTC One S] leald:
Okay sounds good! :) I just didn't understand if it stayed at that boosted min or not
[HTC One S] show-p1984:
That would be idiocy. You could just set that min over any app, or I could just set that min as a kernel default then :)

Boosts are currently viable for 1000ms. (consecutive touches will prolong the boost) You can edit that over sysfs to your liking.
[HTC One S] leald:
Yeah it just looked like that when I looked at kernel tuner. I didn't think it was meant to be like that, I thought it might be a bug or something haha :)
[HTC One S] naudmick:
mod are to the kernel, the best that exists on HTC One S now, with have a never seen smoothness !

Again thank you !

Antutu Benchmark Stock Rom Odexex 3.16.401.9 = 11924 :)

I personally have had problems with Kernel Tuner ! Everything I read was false !

I have used System Tuner Pro ( Works perfectly ! )
[HTC One S] show-p1984:
Kernel tuner gets confused with the boost. (Kcontrol did that too until I fixed it)
[HTC One S] naudmick:
Thanks !
[HTC One S] qazsxdcfv:
Wth .. !!!!

Hey , Kcontrol is your app right ? ( CMIIW )

And for the new beta .. are the mpc_decision is stable .. ? Man .. good things to try .. :D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] Fruktsallad:
Gotta love the new features, great work show! :thumbup::)I tried out the boost kernel - I believe it was indeed smoother, but it seemed to heat up my phone quite alot even during normal use, so I'm back on the 0506 release now.

Anyone else experiencing this?
[HTC One S] MuurHekker:
Same here! Was really smooth but drained the battery pretty fast and the phone got a bit hot.
[HTC One S] qazsxdcfv:
Yea +1 ..

But , try to deactivate the boost ,.. but this is a masterpiece not piece but a stack .. :D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] naudmick:
weird because no problem on my side!

Battery 77% => 13h29 usage

Temp : 26 degrès
[HTC One S] AKToronto:
No problems here either. I imagine soon we will have kcontrol along with this kernel and we can tweak things correctly etc... Might help. But I do see an improvement, Mmmm butter....

---------- Post added at 01:33 PM ---------- Previous post was at 12:57 PM ----------

MMMMMMMM Butter....
[HTC One S] show-p1984:
To the people with the "heat problems":

Make sure, nope: Make very sure that your favorite cpu app is not messing with the min freq.

My mpdecision boost allows you to set your favorite min freq even while boosted, which is different from qcoms mpdecision which will always reset to a default min.

Some apps get confused with the boost, let me explain this on the example of Kcontrol:

I have spinners (dropdown menus) to set the cpu frequencies in KControl. Those are also getting updated by a background thread to the current set frequencies.

KControl was updating the frequencies each time a change on the spinners was detected, which also included the thread just updating to the current frequency.

The problem is that there is no reliable (=100%) way to determine where the change on the spinners came from (The thread or the user), which is a huge missing feature gap in the android api.

What happens is this:

- you touch the screen

- mpdec boost min freq

- app sees that and updates the ui elements

- depending on the ui element used (eg spinners, it also happens with others) the app will now set the freq again to the already set min freq.

- mpdec sees that you set a new min freq over sysfs and sets that to your new min freq

- mpdec unboosts the cpu to the new min freq which is ofc = boost freq.

In this case your min freq will always be the boost freq, which will ofc heat up your phone.

After I fixed KControl I played with the One S for a few hours to make sure that everything was running as it should, I was playing Temple Run 2 for an hour or so, no additional heat was detected by myself.

Let me make this very clear: This is not a kernel bug. It is an app bug caused by a gap in the android api.
[HTC One S] MuurHekker:
Thx for explaining the heat issue, i will give it another go.
[HTC One S] Clom801:
Best sense kernel by far, thanks for sharing
[HTC One S] qazsxdcfv:
Last beta : the boost implement experiment..

S2w doesn't work properly

S2s too .. sometimes it work , and sometimes it doesn't work ..

Last stable does work properly .. :D

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] AKToronto:
I hate throwing random issues out there but does anyone else have any issues with more complicated live wallpaper? It seems jittery when I am scrolling... Not sure if this is viper related or kernel (or jb sense)... Ocean HD for example. Things are perfect with 2d wallpaper though so I'm not really concerned.
[HTC One S] rootrider:
Ocean HD lags on rosie here pretty bad as well. As I'm using Apex atm so I'm not really concerned as well. ;)
[HTC One S] mitch_55:
The S2W fonction doesn't work with new versions (Stable and exp).

I can see, during the installation of this kernel, that the S2W is desactivated.

What's wrong with my installation?

Problem solved, I have selected the bad option, sorry :rolleyes:
[HTC One S] rootrider:
At the bottom of post #2 there is a section sth like 'How does s2w work...'. Did you already try the provided code on enabling/disabling that feature there?
[HTC One S] show-p1984:
Mirrors until bricked.de comes back again: (only stables)

( https://plus.google.com/u/1/108262968419038009038/posts/fywCkXpfVZD )

Mako:

Kernel: bricked_mako_20130510_005118_master-028db65.zip

MD5: bricked_mako_20130510_005118_master-028db65.zip.md5

SHA1: bricked_mako_20130510_005118_master-028db65.zip.sha1

Grouper:

Kernel: bricked_grouper_20130510_211856_master-ef19bf2.zip

MD5: bricked_grouper_20130510_211856_master-ef19bf2.zip.md5

SHA1: bricked_grouper_20130510_211856_master-ef19bf2.zip.sha1

Ville:

Kernel: bricked_ville_20130510_033625_master-e34c2f0.zip

MD5: bricked_ville_20130510_033625_master-e34c2f0.zip.md5

SHA1: bricked_ville_20130510_033625_master-e34c2f0.zip.sha1
[HTC One S] naudmick:
In terms of Kcontrol, you thought we can test a beta soon ?
[HTC One S] Sneakyghost:
ShowP, as many others that knew you earlier have already pointed out: you are a freaking mad genius.

You will forever wander in my private halls of fame amongst many other fellows i look up to.

Props to your cool doings and thanks a million times.
[HTC One S] sherry478:
with this kernel i have to use the voltages provided but with other kernels i can use default voltage table e.g bullet proof 384mhz = 800mv, bricked 384mhz = 1155mv. if i try to lower it i get force closes graphical glitches and random reboots. with bullet proof none of this happens and the voltages are lower. wtf? THat said this is one of the fastest kernels i have put on my device.

Question- Will this kernel get gpu o/c?
[HTC One S] show-p1984:
Maybe bulletproof just removes the voltage override from the sysfs voltage control?

Meaning: It will still be at 1.15V but you just don't know it?

I have no idea if that is the case, but since the cpu can't react differently on the same voltage that is a very likely assumption.

There is gpuoc built in, you would have to use the kcontrol module to set it atm though. There will be no default gpuoc.
[HTC One S] sherry478:
k thanks for quick reply. where can i get this kcontrol app? sorry for being a noob
[HTC One S] show-p1984:
The app is not available yet.

The module, as well as instructions on how to insert it and the source can be found here:

https://github.com/showp1984/kcontrol_gpu_msm

(you don't need to compile it, bricked comes with this module)
[HTC One S] xxquicksh0txx:
If I under-volt(if it actually does anything) with kernel-tuner from the stock 1150mv, I don't get force-closes or graphical glitches.
[HTC One S] sherry478:
thank you. now i now why you are so legendary on xda.
[HTC One S] Evil-Monkey:
Any chance you'll add intellidemand and row into the kernel? No matter what combo I use (governor and i/o) I cannot get rid of these 3D heaps/lag/skipping to go away when playing games. Its not a deal breaker because its slightly noticiable but def annoying me since I can't figure it out/go away.

But latest release is snappy, Rosie is smooth, no lags when scrolling. I didn't get overheating or anything of that sort. I use setcpu, profiles for when the screen turns on and off. But as always, disabled before installing. No problems besides above request/issue.

echó en Android
[HTC One S] show-p1984:
I am currently working on an aosp version :)

Request that in the issuetracker on github. The gcode issue tracker will get killed next week.
[HTC One S] veeny101:
Yeah I'm having this problem too.
[HTC One S] sherry478:
I checked my krait variant and it said krait version 2 and nominal. What that that mean. Can you add 192mhz as min clock?
[HTC One S] qazsxdcfv:
Hey showp

I just changed the boostfreq module to :

918000

384000

And automaticly rebooted ,...

So , im doing a mistake or its right ? :D

Thanks , in advance

Sent from my hTC One S powered ViperS by Team Venom™
[HTC One S] naudmick:
Show-p1984 has already explained that the kernel fallais hit anything !

Everything is already optimized and it see well because it is the best kernel ever !

So now stopped coming cried as he has already been warned that if you touched the setting of kernel you have the right to small problems that are currently confirmed !

Trusted to Dev that it is to do with the kernel! Especially since this one is the best. I do not even understand that you tried to hit it for its result Benchmark
[HTC One S] Atok_fr:
Impressive work ! This kernel is one of the best I tested :o
[HTC One S] show-p1984:
I guess you forgot to echo the CPU in front of the freq you wanted to change. (2nd post)
[HTC One S] Sneakyghost:
Decided to run your latest stable from tonight as my last good deed and made a mess of my ville with viper.

it keeps rebooting all the time and after flashing elementalx to get a working system up it keeps doing it.

My problem: i have no idea how to revert the changes made to the system by your kernel. What can i do other than restoring a nandroid?

Well i will for tonight but i'd be happy to have a method of restoring system to stock in case this gets screwed up. Thanks.

[EDIT]

Got it back stable with fastboot erase cache and raising voltage to 900mv minimum on ElementalX - that showed 850 default in kernel tuner - before it could do another reboot.

Forgot to mention that I had tried to lower voltages with kernel tuner on bricked before from 1150 to 1037 (that's where it began to reboot). Somehow the voltages seemed to have survived the kernel change. Possible at all? Sorry this is really not my cup of tea, I'm just guessing my way through here...
[HTC One S] show-p1984:
Ofc, some apps apply the voltages with a script or via a Boot receiver and therefore autolaunch of said app.

If that was the case, the device would ofc bootloop since the voltage was too low.
[HTC One S] AKToronto:
ShowP can correct me here, but Im pretty sure this kernel doesnt add anything to /system (at least not yet). Elemental X does add files to init.d and it may be best to remove those before going to this kernel. Kernel tuner also has a bunch of settings, but there is an option to select it to reset all those changes when flashing a new kerne. Its sometimes best to keep this checked. You can always save voltage tables and restore them in kernel tuner later.... But kernel tuner isnt perfect when it comes to the speed boost, and may accidentally show a higher min cpu freq in the settings. Just check to see at the top of the kernel tuner program that the actual min freq is going down to the level you want (ie 382).
[HTC One S] show-p1984:
This kernel changes on your device:

Ramdisk:

add init.d support to it. (if not supported)

Kernel:

change kernel to bricked.

change command line to add chosen settings from aroma (This just adds s2w=1 or 0 to the end of it)

/system/etc/init.d/:

add cifs init.d script. This script only does something if the cifs module is found. if you are running a different kernel than bricked the insert will probably fail either way, so no harm done.

add tun init.d script. This script only does something if the tun module is found. if you are running a different kernel than bricked the insert will probably fail either way, so no harm done.

/system/bin/:

renaming thermald to thermald_bck

renaming mpdecision to mpdecision_bck

/system/lib/modules:

add bricked modules.

remove wp_mod.ko (bricked does not need it and it may cause bootloops on kernels with disabled write protection)

remove oc_mod.ko (this was only needed for stock and causes bootloops on bricked)

That should be it.
[HTC One S] Curiousn00b:
I have to S-OFF to use this, right? I've been trying to S-OFF, but I can't get the RUU's to restore me to stock in order to downgrade the Hboot/BB/Radio/etc. I keep getting error 155(maybe 55), but besides the point. I checked the zip and the kernel seems to be unpacked already.