yashsingh1/xdaforums huggingface dataset:
[HTC One S] javelinanddart:
Flashing the original kernel will not revert any changes you have made to the ramdisk earlier
[HTC One S] show-p1984:
If I have some time tomorrow I will pull the GPU-java-module from KControl and create a free xda-version just for the GPU control.
[HTC One S] mariachi62:
ok, now i'm confused. I thought that when I flash the original kernel, the original "edit_ramdisk.sh" reverts any changes?

so when this assumption is not true, how do i revert changes i made to the ramdisk?

is the ramdisk part of the rom then? and why does it work when i restore boot with twrp?
[HTC One S] javelinanddart:
Ramdisk is part of the boot image. The edit_ramdisk.sh doesn't revert any changes you made, it makes it's own modifications, regardless of the original ramdisk
[HTC One S] javelinanddart:
Thanks! However if the module is built into the kernel, will it work? Or does it have to be built as a module? Because I don't know how KControl works. the readme says it has to use the module but I'm wondering if it can be modified to use the built-in driver
[HTC One S] mariachi62:
ah, ok... after a little research I now understand whats the difference between kernel and ramdisk. To shorten this: since I use Slim and updates are not so frequently I just altered the boot.img from the SlimRom.

Xprivacy works fine now. Next I will flash frosted kernel again but I think it should work fine too.

Thanks for your help ;)!
[HTC One S] Loreane Van Daal:
same thing, tried icecode, than modified icecode, than stock... always bootloop. Even tried a kernel cleaner. Only nand boot restore have brought back funcionality. For a while, i was worried what i have missed in a process that i did hundreds of times. Almost started the most notorious post "Guys, is it just me or...". And than i saw your post ;)
[HTC One S] Winstarshl:
javelinanddart , can you make two version you kernel without func S2W and other ....Please?!
[HTC One S] javelinanddart:
Do you mean release that as a seperate version and have more frequent updates? We'll see. I have some new stuff coming down the pipeline.

also new build is up! named frostedbrickedlp17022015.zip

I'll make a build with SELinux permissive for those Xprivacy users. And I'll also make a build with s2w disabled. I'll attach both ASAP. Like I said I got some new stuff coming soon.

Anyways, today's changlog:

Build exFAT into the kernel, Build scsi_wait_scan into the kernel and attempt to build Kcontrol module into the kernel, which [MENTION=4195844]show-p1984[/MENTION] will graciously let us test. Also smartass2 and Asynchronous Fsync.

EDIT: frostedbrickedlppermissive.zip is the one with SELinux set to Permissive

frostedbrickedlpnos2w.zip is the one with no sweep2wake
[HTC One S] javelinanddart:
Try the SELinux Permissive build for XPrivacy.
[HTC One S] Rapier:
[MENTION=5795145]javelinanddart[/MENTION] maybe you can get in touch with [MENTION=4678269]Flashalot[/MENTION] for adding F2FS support into the kernel.

Right now the TWRP Recovery with F2FS support was not working for me on hboot 2.15 but he said he will rebuild it so it'll be a good thing to have a custom kernel that supports this otherwise who'll ever convert to F2FS will need to stay on stock ROM kernel

Sent from nowhere over the air...
[HTC One S] javelinanddart:
Don't worry, I got the commits lined up already. Just got to cherry-pick them.

Tomorrow's release will probably included it
[MENTION=4612496]mikronac.ns[/MENTION] I'll make it one nice commit, and then the defconfig update so you can cherry-pick it and choose the right options in the defconfig
[HTC One S] lorddavid:
Thanks, I think taht would be good if you add the no2w kernel in the download section. Just a opinion :) I will try it now your kernel (I cant use s2w because the proximity sensor is broked in my phone so it cant detect my pocket and thats caused a lot of mess the last time that I try that feature :P )
[HTC One S] derkleinebroicher:
[MENTION=5795145]javelinanddart[/MENTION]: I made a screenshot about compatibility with your latest releasees and KControl - yes, I must have bought the app a long time ago. I made the screenshot with the permissive-version. As you see, unfortunately the GPU control does not work.
[HTC One S] derkleinebroicher:
Is there a certain reason, why you don't want to use an app for these settings? And what about an init.d script as an alternative - I could make one, if you want.
[HTC One S] javelinanddart:
I'm not going to because it's really not going to be an official frosted kernel edition. It's not that I won't keep building it, but I'm going to just attach it to the post
[HTC One S] javelinanddart:
I'll build it as a module then from now on, Thanks! I'll see if I can get it 100% Compatible
[HTC One S] Jd.93:
[MENTION=5795145]javelinanddart[/MENTION], instead of make continuously new version, with s2w, without s2w, with a voltage table or another table, that is one way or another a waste of time, why don't you put these options on aroma Installer? just like elemental for exemple....
[HTC One S] javelinanddart:
That's just the init.d script. I'll make one but I don't know if it works as they can't seem to disable the option in TricksterMod. I have to master the art of Command Line Interfacing to do it without an init.d script :)
[HTC One S] lorddavid:
I have a weird problem, after flashing the kernel, my whatsapp get the chat corrupted and ask me to restore a backup, 4 times in total, after flashing the kernel.

Edit: I'm using	frostedbrickedlpnos2w.zip from post 53. THe overall performance is great, but thats a big problem for me. any idea?
[HTC One S] javelinanddart:
New build is UP!

Some Major Changes:

New Intelli version with Intelli_Plug and Intelli_Thermal (1 bug, it's laggy, especially with eco conservative in fauxclock)

F2FS

Sound Control

KCal Control

Build KControl GPU Module as a Module

Bricked Variant should be 100% Certified Compatible with KControl

Lowered Thermal Throttling for MSM_THERMAL (Bricked Variant)

Dynamic FSync with Intelli Version

Merge with CM

Builds are named frosted(bricked/intelli)lp18022015.zip

Enjoy!

Permissive and No S2W builds will be attached soon (They'll be bricked edition based)

EDIT 1: Permissive Build is attached, use the init.d script for the no sweep2wake stuff
[HTC One S] derkleinebroicher:
I've made an init. d script, which disables sweep2wake, doubletap2sleep, doubletap2wake and pocket detection by default. Simply flash the attached 43touchcontrol. zip from recovery, reboot and that's it. If I have forgotten an option, let me know, I will try to add it.
[HTC One S] javelinanddart:
Thank you. I don't believe you have forgotten anything. Also can you test if the Bricked Edition is 100% KControl Compatible now?
[HTC One S] derkleinebroicher:
Not 100%, but you're on a good way [emoji6]
[HTC One S] javelinanddart:
I'll look at GPU memory usage but I added color control. I think it means Gamma Control. [MENTION=4195844]show-p1984[/MENTION], can you confirm this? Or do you have a suggestion to make it compatible?
[HTC One S] lorddavid:
Guys, nobody have problem with whatsapp after flashing the kernel? Is weird, 7 times corrupt my chat history, and I have a lot of random reboots. I'm using candy5. The performance when everything is working is great, but those two problem are big u.u
[HTC One S] Hipnetix:
[MENTION=5795145]javelinanddart[/MENTION] Little question. This new kernel of yours, is it also compatible with KK or is just solely made for LP?
[HTC One S] mkoev:
Yeah Dev, I also got a bit confused. With you no more working on Void kernel does that mean you are no longer going to develop kernels for KK ? If that is the case, are you going to keep maintaining the Ice Code Kernel? Or is there not much more you can do about it?
[HTC One S] javelinanddart:
This kernel is made solely for lp but void is still in my AFH (link is in my signature). IceCode is not my kernel, but if you would like an update I can build one

I'll make an updated void kk build and post it in the discussion thread (old void kernel thread)
[HTC One S] Jd.93:
Don't know why, but s2w doesn't work very well, I've to sweep twice and more sometimes... [16Feb version - undervolted]
[HTC One S] javelinanddart:
It's Deep Sleep Mode. [MENTION=1045770]Rapier[/MENTION] can write an essay about how the wake controls don't work after a while when the phone goes into Deep Sleep Mode, but basically they stop working after a while because the phone goes into deep sleep mode
[HTC One S] Rapier:
I won't...already did it several times :)

Sent from nowhere over the air...
[HTC One S] javelinanddart:
I said can (as in you are able) :)

Here's one of them
[HTC One S] Jd.93:
That's not what i'm talking about, even if I've just turned the screen off, I've to sweep several time...I know about the deep sleep issue, but that doesn't concern my issue
[HTC One S] javelinanddart:
What ROM are you on?
[HTC One S] Jd.93:
cyano 12 nightly 18.02
[HTC One S] javelinanddart:
That's odd. I'm on Candy5 and it's based of CyanogenMod's Sources

If you can. try Candy5 [MENTION=1045770]Rapier[/MENTION], do you have an idea?

Also try Double tapping the home button to sleep then try sweep2wake.
[HTC One S] javelinanddart:
Here's a news update. Void KK has been officially deprecated, I am releasing released a final update today. Please use the old Void Kernel thread (http://xdaforums.com/htc-one-s/general/kernel-rain-kernel-javelinanddart-t2948552) as the discussion thread.

Frosted Void Edition is coming out soon (possibly a week or two) and will contain all of Bricked Edition's features and more.

Intelli Editon Users, if your phone gets too warm, lower the the Thermal Thresholds.

Similarly, Bricked Edition Users, if your phone is being slow, raise the Thermal Thresholds. Here's the commit I used to lower them, use the old values to raise the thresholds: https://github.com/FrostedKernel/an...mmit/243eab5f8a413206201b27fd69e834c1f9ee01de
[HTC One S] arbrib86:
DoubleTap2Wake is more like SingleTap2Wake for me. I mean my screen turns on at a single touch of tye buttons, be it immediately after turning it off, or after being off for a long time. This using Liquid Smooth rom. DT2S works as it should,and so does everything else.
[HTC One S] LS.xD:
[MENTION=5795145]javelinanddart[/MENTION] is KControl or TricksterMod suggested to configure your Frosted Kernel?
[HTC One S] javelinanddart:
TricksterMod for Bricked Edition. It contains controls for almost everything. Buy the Donate version though, to access all the features

Fauxclock for Intelli Edition
[HTC One S] fusk:
Don't really have any experience with kernals, so what are the differences between the two, why would i choose one over the other, if you don't want to mess with voltage what speeds do you get with stock, how does features in the kernal conflict with features in the rom, are the kernal features on by default or selectable ?
[HTC One S] Rapier:
Main difference between them is the use of intelliplug vs mpdecision. Thats roughly about how cores got offline or throttled down when not needed. Mainly is about battery life and performance.

The features are on by default (like the screen wake controls) but they're also user selectable so you can deactivate some in case you don't need or use them, by using a kernel tweaker app like FauxClock for intelli version (yes, I know there are other apps for this as well but FauxClock provide some unique customization options for intelli-plug, not found in other tuner apps) or TricksterMOD for the other version.

[MENTION=5795145]javelinanddart[/MENTION] can tell you more about these differences

Sent from nowhere over the air...
[HTC One S] fusk:
Thanks for the help.

Is intelliplug vs mpdecision like religion, some swear to one and some swear to the other, or is there a clear difference as to why i would use one over the other?
[HTC One S] Rapier:
I can tell only my personal experience which may not be same foar all... On KK intelliplug performed better and had a better battery life than mpdecision. On LP tho, I had issues with intelliplug kernels. After some time started to lag alot to the point I couldn't use the ROM anymore. I'm not sure if it's due to kernel, tuner app or intelliplug itself but I got tired to flash over and over again

Sent from nowhere over the air...
[HTC One S] javelinanddart:
As [MENTION=1045770]Rapier[/MENTION] said, [MENTION=3332811]faux123[/MENTION]'s Intelli_Plug has gotten really laggy for some reason on Lollipop. I use MSM_MPDEC by [MENTION=4195844]show-p1984[/MENTION] because of the performance and it gets pretty good battery life if undervolted a little bit. Use TricksterMod for Bricked Kernel and FauxClock for Intelli Edition. They will not conflict with the ROM settings, they are separate things. They are mostly selectable, but the defaults are basically what I use. And no it's not a religion :)

You can always switch between the two
[HTC One S] fusk:
So the vibrator intensity setting for the kernal does not overwrite the vibrator intensity setting in the rom ?
[HTC One S] javelinanddart:
No. The setting is set to the ROM default. You can change it though.

That's actually a CM Kernel feature
[HTC One S] fusk:
And rom updates, anything you need to be aware of ?
[HTC One S] javelinanddart:
Just reflash on a ROM update. It can get annoying with Nightlies but that's the only way
[HTC One S] javelinanddart:
New build is UP! [MENTION=1045770]Rapier[/MENTION] [MENTION=4957374]Loreane Van Daal[/MENTION]

Changelog:

-Add SIO Plus I/O Scheduler

-Update MSM_MPDECISION for Bricked Edition

-Set Multi Core Power Saving Mode to 2 by Default

Enjoy!

Build is named frosted(bricked/intelli)lp21022015.zip
[HTC One S] fusk:
Just out of curiosity. Have someone done a test of the different clock speeds just to see if there's an overall performance increase or if some components actually perform worse at the higher clockrate?

Clocking too high decreases your performance. As an example i tried running geekbench at 1782000 and the multicore score was lower than the 1728000 test i did earlier, but in the same test the single threaded test scored higher. So the multicore performance might actually be even worse at the 1836000 value.

Same with gpu, did anyone actually test the different clockrates in different apps and compare with stock ?
[HTC One S] Winstarshl:
Sorry, please make version without s2w and other?(
[HTC One S] javelinanddart:
Sure. Is the init.d script not working?
[HTC One S] derkleinebroicher:
The init. d script DOES work - I use it myself. BTW unfortunately I can't find the path for pocket detection. I would like to add it to my script. Can you help me?

EDIT: I found it right now in the same folder as the other settings - I must have overseen it or it hasn't been there in the kernel version, I had installed while makin the script.

EDIT2: really sorry, but it's after midnight in germany. I meant the path for BLN!
[HTC One S] javelinanddart:
Try using Quadrant.

Test once with CPU OC to 1836MHz and GPU OC to 512MHz

Then wait for the phone to cool down to what it was before

Then test without OC and see if there's a difference

If there's no difference, then raise the thermal thresholds and try again. However I already wrote an essay about how unreliable benchmarks are, I'll add it in later
[HTC One S] javelinanddart:
/sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/blink_buttons

1 = enabled

0 = disabled
[HTC One S] derkleinebroicher:
Thank you, I will add it tomorrow.
[HTC One S] Rapier:
Thermal is set at 70 or above degrees, dont think it'll reach that value to throttle down...maybe in summer if you leave the phone in sunlight

Sent from nowhere over the air...
[HTC One S] derkleinebroicher:
Here's my updated init. d script. Now with doubletap2wake, doubletap2sleep, sweep2wake, pocket detection and - new - BLN switched to off by default.
[HTC One S] javelinanddart:
Overclocking, Benchmarking, stuff like that. You're on the Intelli Version right? I just used the values [MENTION=3332811]faux123[/MENTION] set for the M7 because I didn't want to start thermal throttling too early; it might lag more than normal

For Bricked Edition I set more conservative values as I don't see any lag
[HTC One S] fusk:
Actually i tried geekbench, antutu & quedrant because i think you need multiple sources before you can make a conclusion. Geekbench was just the only one giving two scores, one for single thread & one for multi threaded.

I was just wondering if anyone actually tried doing the tests, because in the computer world i know how important it can be to test your oc properly before using it for everyday use. Like memory oc, it can be stable but with decreased performance because of all the errors it creates, or CPU oc being stable, but after gaming for 20 min your computer shuts down.

I would probably first do all the tests from all 3 benchmark apps for all 5 speed steps 1512/1674/1728/1782/1836, then do GPU oc without CPU oc, then GPU oc and CPU oc combined.

After that i'd imagine you would have something solid.

Edit: I think i found a bug, i've disabled all screen wake controls, but even when trying to set doubletap2wake = 0 the buttons still respond and phone vibrates.
[HTC One S] javelinanddart:
The phone responds as in wakes up or the buttons just vibrate? If the latter is true, disable haptic feedback. If the former, [MENTION=1766320]Winstarshl[/MENTION] try the init.d script by [MENTION=4898685]derkleinebroicher[/MENTION] or the no s2w version attached

[MENTION=4957374]Loreane Van Daal[/MENTION] [MENTION=3536492]mariachi62[/MENTION] Permissive build is attached too

EDIT 1: I don't have the bug just tried it myself, i have haptic feedback disabled

Also benchmarks are kinda pointless unless you're willing to control the circumstances, which you did, but as long as the phone feels smooth, it doesn't matter
[HTC One S] fusk:
I only get the feedback, it doesn't wake. I can't find an option for haptic feedback in the control app. Do you mean globally disable haptic feedback ?

The thing is, it doesn't really feel much smoother than running stock values, that's why i got curious about test results. Some might say there's a huge difference, but from what i experience it seems like a placebo effect.
[HTC One S] javelinanddart:
If it doesn't wake, then that's completely normal. yes I mean globally

If you OC a little bit, change the governor and undervolt it a little bit, you might. If you don't see a difference, I'm not asking you to stay, but there are some nice features here. You could certainly undervolt, then OC, choose a more performance oriented governor like interactive, then enable MSM_MPDEC input boost which will definitely feel smoother at the cost of some battery life.. (In TricksterMod: Specific->MPDecision Settings->Input Boost). Either way, I wish you luck finding the way to making your One S faster.
[HTC One S] fusk:
How much can you undervolt at the different clock rates ?

Is there a list that explains what the differences are between all the govenors ?
[HTC One S] javelinanddart:
Find your krait variant for undervolting:

In terminal emulator:

type in "su" (without the quotes)

and cat /sys/kernel/debug/krait_variant

and post your krait variant and I'll make an init.d script for the voltage table

For Governors:

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

Is a pretty comprehensive list
[HTC One S] lorddavid:
I tried this kernel, first version gave me a lot of problem, dont know why but my whatsapp history get corrupted, a lot of random reboots. After a day, the problem stopped, just some random reboots. THen I updated to the last version, again whatsapp corrupted but just 1 tiem, but a loot of random reboots, then I change governor to Elementalx, and no more random reboot, any Idea why the default governor gave me thos problems? and there is something in the kernel on how the data of the app is managed because is weird that I get my whatsapp corrupted when using your kernel.

The kernel give me a lot of performance, and i like it, is not the best battery life, but my phone is less laggy in lollipop with oyur kernel, and thats is great! ;D thank you
[HTC One S] Rapier:
No, I'm on Bricked edition since intelli gave me some lag on LP. I'll try also intelli to see if it's different on last version but only after setting everything up and make a backup. You're right, the thermal thresholds were lower, I didn't paid much attention to all values. I've slightly raised them since you have a fast krait and I have a normal one and it could be that mine gets warmer than yours.

It is now set as it the screenshot

Sent from nowhere over the air...
[HTC One S] Winstarshl:
Very very thanks) Now two variants work) you version without s2w.... work.... and now init.d scripts too work))) now not need spec... version))) goood)
[HTC One S] fusk:
Says mine is "nominal"

And that link was a good read.
[HTC One S] javelinanddart:
That's really odd xD

I use the default governor and nothing like that for me, but OK. At least it's stable now :)
[HTC One S] javelinanddart:
Here's a Table you could use:

192000 875000

384000 900000

432000 925000

486000 925000

540000 950000

594000 950000

648000 975000

702000 975000

756000 1025000

810000 1025000

864000 1050000

918000 1050000

972000 1075000

1026000 1075000

1080000 1125000

1134000 1125000

1188000 1150000

1242000 1150000

1296000 1150000

1350000 1150000

1404000 1150000

1458000 1150000

1512000 1150000

1674000 1250000

1728000 1275000

1782000 1300000

1836000 1350000

If OC is not stable, bump the voltages for frequencies above 1512000 back to standard not undervolted volages
[HTC One S] javelinanddart:
Well Theoretically It should not but we all know in real life it probably happens. I have Thermal Throttling Enabled with the more conservative values, even though I hardly need it without OC and when it's like -30 Degrees Centigrade outside :D
[HTC One S] Rapier:
-30? Holly crap...you don't need water cooling on your pc aren't you?... You don't need a freezer elther...

Sent from nowhere over the air...
[HTC One S] javelinanddart:
You think -30 is bad?

And I have laptops but yeah, I could crack open a window for cooling or put a soda in our yard to cool it down. Realistically there's not much snow: it's a mild winter, and the central heating system would start acting up if I opened a window

It went to -51 last year and they cancelled school five times! To put it into context, they haven't cancelled school since the early 90s before that

Our summers are nice thoughL 32 Degrees Centigrade is the high and it stays pretty close to that most of the time
[HTC One S] lorddavid:
Just curious, whats the difference in krait variant? I have nominal, but that make some difference?
[HTC One S] fusk:
Thanks.
[HTC One S] show-p1984:
Sorry for my late reply. My firewall had to do an upgrade... Let's just say it felt like a Windows update. (It promises to be done in a few minutes without issues and in the end nothing worked ^^)

So I spent all day yesterday completely re-configuring and recompiling a lot of stuff and now I am back to business again. (I have rather high security needs and special use cases for most stuff, so an off-the-shelf fw/router wouldn't cut it)

For GPU memory usage KControl checks if this

/sys/kernel/debug/kgsl/kgsl-3d0/memfree_history

exists. Which is a kgsl driver thing and can be backported from the mainline.

For Color KControl checks if this:

/sys/devices/platform/kcal_ctrl.0/kcal
/sys/devices/platform/mipi_lgit.1537/kgamma_r
/sys/devices/platform/mipi_lgit.1537/kgamma_g
/sys/devices/platform/mipi_lgit.1537/kgamma_b
/sys/devices/platform/mipi_lgit.1537/kgamma_apply

OR this:

/sys/module/dsi_panel/kgamma_send
/sys/module/dsi_panel/kgamma_w
/sys/module/dsi_panel/kgamma_rp
/sys/module/dsi_panel/kgamma_rn
/sys/module/dsi_panel/kgamma_gp
/sys/module/dsi_panel/kgamma_gn
/sys/module/dsi_panel/kgamma_bp
/sys/module/dsi_panel/kgamma_bn

exists.
[HTC One S] javelinanddart:
Yeah, It determines how far you can undervolt it which can also determine how far you can overclock. For example, I have a fast chip. Theoretically I could OC much further than a Slow Chip or a Nominal. I have chosen not to do this because I don't want users to feel left out or feel superior, and It's likely someone will fry their CPU