yashsingh1/xdaforums huggingface dataset:
[HTC One S] rootrider:
Boot into TWRP recovery, do a factory reset (you can also wipe cache, dalvik cache and system as well), reflash rom and then reflash this kernel. Remember flashing and rebooting could take a very long time depending on your bootloader version...

If you did so and get stuck again, it's time to start recovery and flashing boot.img with 'fastboot flash boot boot.img' again.
[HTC One S] maluus:
Hello. Again I need this information: I only want disable the write protection. I don't want any other tweaks files etc. how can I only install wp_mod.ko?
[HTC One S] flar2:
Run the installer, make sure you flash the boot.img. The boot.img automatically loads the write protection module.

Then delete the following files:

/system/lib/modules/oc_mod.ko

/etc/elementalx.conf

/etc/init.d/99elementalx
[HTC One S] flar2:
New version!

Elemental-S-v0.6: http://goo.gl/Hvz40

Changes:

-added voltage options

-boost L2 cache frequency for extra performance

-fix 3D GPU setting

-increase readahead buffer to 4096

Could a few people test this? Once a few people try it and verify it's working, I'll update the OP.

Note about Voltage Options:

There are three voltage levels to choose from: Undervolt, Default Voltage, and Extra Voltage. These options can be changed in /etc/elementalx.conf by setting VDD_LEVEL to 1, 2 or 3. Default voltage is recommended for stability. Undervolt is -25mV for overclocked frequencies and -50mV for 384MHz. Please do not report random reboots if you choose to undervolt. Extra voltage adds 25mV to the overclock frequencies and might provide more stability when overclocking.

.
[HTC One S] rogervip888:
With v 0.6 for half day, so far so good, no issue being found so far. Thanks a lot for your hard working!

OC at 1809 with extra voltage, the Quadrant score is higher than V5.

:)
[HTC One S] maluus:
thanks for the information. forgive my ignorance but I don't know anything about aroma installer. so is it something permanently installed to the system or just a script to automate the flashing/installation process? I mean if I do as you suggested, will the aroma installer still remain in my system? Btw should just flash the zip or do I have to flash boot.img first in fastboot? I m on stock JB with TWRP recovery and rooted with SuperSU.
[HTC One S] Darknites:
It should flash the boot.img but if it don't then you need to use fastboot or could try Flash Image GUI. Try it and see if it work and if it don't flash this zip here.

Best way to think of aroma is has if its a windows install where you can set it up how you like and nothing is left behind.
[HTC One S] flar2:
If you don't want to use the installer, flash the boot.img from the zip using "fastboot flash boot boot.img"

and open the zip and copy /system/lib/modules/wp_mod.ko to /system/lib/modules/ on your phone.
[HTC One S] juangil:
@ Flar2

thanks a lot for the update!! Kudos..:good:
[HTC One S] Zer0r:
Just flashed v.0.6 with 1,7 freq. and undervoltage option. Will test untill tomorrow and report.

UPD: First that I must admit - is significant lagging reduction. They are almost gone! Now JB ROM acts almost like it was on ICS base! :victory: Bravo, flar2! :good:
[HTC One S] maluus:
Well I first applied the method which Flar2 suggested but it did not work. afterwards I installed the zip proper way but it still did not work. it still doesn't enable the system writable. files which I delete keeps coming back after restart. any suggestions?
[HTC One S] Darknites:
Did you flash the first zip here.
[HTC One S] Phantom Pt. II:
Since 0.6 is in the OP now, I guess it's approved. :) I'll go on and flash it.

What should it say at kernel description?

Is this right? http://db.tt/4b0EwnZs
[HTC One S] Zer0r:
Actually - you will not see anything else, but stock descritpion. Since there is no sources for kernel yet - there are only slight modifications to the kernel itself, and a lot of mods and scripts (i. e. outside modifications). So - as for version you will not see any difference between stock and Elemental kernels. ;)
[HTC One S] maluus:
Well it is solved now. Here comes another question :D Does thermald.conf come with this package or its already a part of original firmware? Because I intented to delete it but could not be sure.
[HTC One S] rootrider:
No matter where it comes from - I wouldn't delete that!

Just in case your cpu gets too hot it will throttle down. So it's better to keep it (it's part of the elemental zip and if you're going to overclock it might have some reasons it's included).

And it's also part of the stock firmware.
[HTC One S] maluus:
if it is a part of stock no problem I ll keep it. but I have no intention to overclock and I already deleted oc_mod.ko thats why I wondered if its part of stock or a part of OC process of this zip.
[HTC One S] Darknites:
Don't worry about the overclock stuff it will stay at whatever setting you set it to when flashing it.
[HTC One S] flar2:
If you choose "Completely stock frequencies" in the installer or type FREQ=0 in /etc/elementalx.conf then oc_mod.ko won't be loaded.

The overclocking module has to be actively loaded, otherwise it has no effect on the system.
[HTC One S] Snotmann:
Works fine so far. Will keep you updated :highfive::highfive::highfive:
[HTC One S] Wel1973:
Works perfect for me on Maximus.

Default install without troubles.

Goodies kernel function normally, S2W, BLN, ETC ...

Flar2 Great work as usual.;)
[HTC One S] flar2:
Can someone verify that the GPU is running at 480MHz if you select GPU overclock in the installer?

I just want to check because some of the recent HTC stuff reverts it to 200MHz.
[HTC One S] kant1988:
Any bug? In-call fixed?
[HTC One S] Ultimo125:
Works perfect for me so far.

Great work as usual Flar2.

Will keep you updated
[HTC One S] kalel77:
so it's for me, thank you!:good:
[HTC One S] Wel1973:
A friend was trying this, and he said was going crazy phone on the way to score., there was no way to fix it at that frequency (450).

Reinstalled the kernel to remove the option, but did prior to capture Kernel Turner.

And he send me that screenshoot, whem it´s active in Aroma installer.

I hope you serve ..

I installed it without that option, so I cann´t speak more ...
[HTC One S] ardax:
Alpha's working great so far on MaximusHD. Quadrant (as much as it's worth) went from 5063 to 7323. Thanks!
[HTC One S] kant1988:
How flash it woth S-on?

I flashed boot.img via fastboot, but phone not boot, stuck on htc waring
[HTC One S] akonyao:
thanks for what you've been done,love ya!
[HTC One S] BehradGH:
Working great . thanks Flar2
[HTC One S] TeHashX:
Hello, thanks for your great kernel, leds should blink on notifications when pocket mode is activated? I don't remember how was on android 4.1, now I flashed ElementalX v6 on MaximusHD and even if I cover the proximity sensor leds are blinking.

Maybe someone with 4.1 do a test and post here.

Thx
[HTC One S] rc420head:
you my friend are the man:good::good::good::good::good::good:
[HTC One S] gelo01:
Guys, pardon my ignorance but, i just want to ask what if i want to revert back to the stock kernel, do i just have to flash the boot.img of maximusHD or do i have to delete a certain file, like the elementalx config file?
[HTC One S] luxandroid:
Flash kernel wipe script and than just fastboot flash Maximus boot.img

Here is the script

https://app.box.com/s/c2ckhvdvew9ew06vfxzf

Note: this script is not mine work ,all credits goes to it's developer
[HTC One S] gelo01:
thanks mate! but where can i find the kernel wipe script?

Edit: thanks again for the script. :)
[HTC One S] luxandroid:
Just uploaded link ,check previous post
[HTC One S] luxandroid:
I can't get BLN to work ,s2s and double tap 2 w works fine...flashed 3 times ,checked config file and it's enabled there...

Edit:finaly got BLN to work :victory:
[HTC One S] Bodarko:
I can't get S2W to work, BLN and double tap 2 w works fine.

I flash stock version.
[HTC One S] qayba:
Fastboot flash boot.img then reboot in recovery and install the zip.
[HTC One S] gelo01:
If i want to change my configuration, i just have to flash it again in recovery? Like if i want to set a new max cpu freq, or if i want to enable s2w, dt2w, and/or bln, all i have to do is flash elementalx again in recovery? Thanks guys. :)
[HTC One S] luxandroid:
U can do it in elementalx.conf file in system/etc and reboot
[HTC One S] gelo01:
Will soft/hot reboot suffice? Or do i need to do a hard reboot?
[HTC One S] luxandroid:
Do hard one to be shore
[HTC One S] rgrpark:
I recently installed MaximusHD and love the way my phone is right now. WIll this kernel improve performance? If it does, do I have to take any special steps before installing it? The instructions seem a bit too easy.
[HTC One S] luxandroid:
No special steps and it is easy ;) ,only thing i had to NOT WIPE afther flashing ,with wipe could not get BLN to work,about performance its like U set it,each device is uniqe in that way ,try diferent setups and U will see which are best for your device
[HTC One S] kant1988:
I tried but not work, I still stuck at HTC logo warning and phone bootloop
[HTC One S] flar2:
Are you using the correct version?
[HTC One S] kant1988:
Yes, here http://goo.im/devs/flar2/OneS/ElementalX-ville-6.0.zip

I have hboot 2.16, S-on, MaximusHD rom.

When I fastboot flash boot ElementalX, I get stuck, but when fastboot flash boot Maximus I get boot
[HTC One S] luxandroid:
U need to flash ElementalX zip in recovery too
[HTC One S] kant1988:
I were flash ElementalX zip in recovery and fastboot flash boot ElementalX, but still stuck.

Boot with Maximus stock kernel fine, every work perfect except s2w, dt2w.

P/S : I don`t see folder etc/init.d , init.d missed, that is problem ?
[HTC One S] luxandroid:
well U are s-on and do not have 4.2.2 firmware,that could be the issue here...
[HTC One S] kant1988:
No, I S-off, flash MAximus 4.2.2 then S-on.

Now, I have hboot 2.16, S-on, Maximus 4.2.2.:D
[HTC One S] luxandroid:
Why the hell U did that ???

And yes that is problem,in unit.d should be file 99elementalx
[HTC One S] CazeW:
That script won't do anything else for us than delete all init.d scripts and wipe cache several times. I've posted a flashable zip in the MaximusHD thread (link) for those who wish to return to stock.

I know benchmarks aren't really that important for most but for those interested, below are the results I got in Antutu with ElementalX and stock. The test was run 3 times on both configurations with no OC/UC, ondemand governor and noop.

Stock (~17000)

ElementalX (~16000) (with ElementalX settings)

I also tested with Vanilla settings but the score was the same. Despite the lower score, I will be running ElementalX because of its features and to see if I can get that battery drain down compared to stock. :fingers-crossed:
[HTC One S] luxandroid:
I know what for is that script,gave him that to be clean before flash new kernel,he does not want to go stock but elementalx on s-on device
[HTC One S] CazeW:
Actually, he did ask how to return to stock. :)

My point was that the script doesn't remove all the ElementalX stuff.
[HTC One S] luxandroid:
yeah,nevermind,thx for your zip anyway ;)
[HTC One S] gelo01:
chill mates! no need for arguing. but i just want to thank the both of you, [MENTION=3614386]luxandroid[/MENTION] for the kernel cleaning script, and [MENTION=1346563]CazeW[/MENTION] for the back to stock maximus kernel zip. maybe i'll just flash them both respectively for a really really clean revert to stock. thanks again mates! :)
[HTC One S] luxandroid:
nah, its not arguing ,never mind :D
[HTC One S] mikronac.ns:
What you did?
[HTC One S] luxandroid:
I redownloaded on PC,first time dll from phone,before also wiped cache and dalwik afther flash and last time didnt and it worked,hope it helps

may be bad dll or wipe issue ,cant say realy
[HTC One S] Activzwerk:
Great Job ...... The Kernel works very fine on my Phone.

Maximum 10.0.0. / S-Off
[HTC One S] TeHashX:
Just be sure the phone it's unplugged because when charging, leds won't lit.
[HTC One S] luxandroid:
Yeah,noticed that too,I am out of thankses for today ,sry
[HTC One S] beyored:
Thanks for a great kernel....just scored this benchmark on maximus hd .....
[HTC One S] al1lo:
doesn't work for me my phone reboot with default install on maximusHD / s-off :confused:
[HTC One S] Wel1973:
Try Vanilla installation, or raise voltages in default installation.

It is likely your chip doesn´t hold UV default installation, creating a bootloop.
[HTC One S] benJX:
Now the One S is perfect with Maximus rom and this kernel, THANKS SO MUCH for this awesome work :good: :good:
[HTC One S] cyonix87:
What about the battery life vs the stock kernel?

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] al1lo:
just redownload the file and it work perfect thanks flar2 for this great kernel :fingers-crossed:
[HTC One S] AKToronto:
Compile Error

Curious, just tried compiling your kernel from source using linaro 4.7 toolchain...

I couldnt see any defconfig additions so just used the stock ville_defconfig. But Im sure you have a modified defconfig somewhere, and would love to see it uploaded to your source.

Got a few errors:

arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]

But the show stopper was:

fs/cifs/cifssmb.c: In function 'CIFSSMBUnixSetFileInfo':

fs/cifs/cifssmb.c:5609:25: warning: array subscript is above array bounds [-Warray-bounds]

error, forbidden warning: cifssmb.c:5609

Then when I added CONFIG_CC_OPTIMIZE_ALOT=y instead of optimize for size, I got a lot of values that were still uninitialized, ie:

drivers/power/pm8xxx-ccadc.c: In function 'get_calc':

drivers/power/pm8xxx-ccadc.c:606:7: warning: 'ibat' may be used uninitialized in this function [-Wmaybe-uninitialized]

error, forbidden warning: pm8xxx-ccadc.c:606

These are relatively straight forward to fix, so no big deal, but just curious if you have fixed these already in order to compile with linaro? Not sure if your online repository is behind a bit, but I am just curious.

Great work on the kernel btw! I know this stuff takes time to make, and the community really seems to appreciate it.
[HTC One S] AKToronto:
Just an update... Did a bunch of fixes based on some commits I saw from ShowP on his kernel... Got fairly far in the compile, but then got the following:

drivers/built-in.o:leds-pm8921.c:function pm8xxx_buttons_blink: error: undefined reference to 'touchscreen_is_on'

drivers/built-in.o:leds-pm8921.c:function pm8xxx_buttons_blink: error: undefined reference to 'touchscreen_is_on'

drivers/built-in.o:leds-pm8921.c:function pm8xxx_buttons_blink: error: undefined reference to 'touchscreen_is_on'

drivers/built-in.o:leds-pm8921.c:function pm8xxx_buttons_blink: error: undefined reference to 'touchscreen_is_on'

make: *** [.tmp_vmlinux1] Error 1

Seems like this is a result of the latest commit in your source? I hadnt modified the leds-pm8921.c file in any way...yet... but perhaps I missed something else along the way?
[HTC One S] flar2:
Make sure you have sweep2wake enabled in config, that's where the touchscreen_is_on function is.

I'll upload my defconfig shortly.

I also forgot to upload the last few compilation fixes
[HTC One S] ipit:
Good work thanks!! Working nicely with the Maximus. Battery life seems better at face value but need a few days to confirm
[HTC One S] akonyao:
got a problem after flashing this kenel:

when i double tap the home button,sometimes it failed to wake up the phone,only the status bar is appeared,the rest remains dark.

Anyone got same problem like me?
[HTC One S] puep.puep:
Thanks for the kernel, really looking forward to try.

Just 2 quick questions:

- Any opinions regarding battery life with maximus yet?

- Is fastcharge always enabled? Curios because it's said to damage battery

Thanks
[HTC One S] flar2:
Fastcharge is only enabled if you select it in the installer. Fastcharge does not damage the battery, it simply enables the phone to charge in AC mode while connected to USB.
[HTC One S] gelo01:
hi [MENTION=4684315]flar2[/MENTION]! first of all, thanks for the great kernel. now i can OC my gpu for gaming purposes. :) but i just want to ask, i personally use Kernel Tuner, and there is an option there to enable/disable fastcharge. i disabled it in aroma installer, but what if i enabled it in kernel tuner, will it be truly enabled?
[HTC One S] flar2:
It should be.

I wasn't able to test it. If you could try enabling fastcharge, then connect via usb and check the battery status it should say AC charging.
[HTC One S] gelo01:
so it is changeable through kernel tuner. i just tested it and look! thanks again [MENTION=4684315]flar2[/MENTION]! :)
[HTC One S] flar2:
Excellent, it's working.

I wasn't 100% sure, as the old fastcharge patch that's been floating around for a long time needs some modifications on recent HTC kernels.
[HTC One S] gelo01:
thanks again for the 3rd time. :)

actually, this is the first time i used your kernel since when i was on sense 4+, i used bricked. but i guess, the battery consumption would have been the same, if not better. i never thought that fast charge only means activating AC while plugged in the computer. i thought it was really bad for the battery life span.
[HTC One S] TeHashX:
Hi @flar2, just notice, bln works for sms and other notification but not for missed phone calls, maybe because the screen will go on and off?

And what about pocket mode? Bln should still work if the proximity sensor is covered?
[HTC One S] luxandroid:
Just checked about phone calls,dosent work ,didn't notice ,no missed calls yet hehe

Do hit thanks button if I helped you :)

sent from xda 4 premium mobile app
[HTC One S] puep.puep:
BLN doesn't seem to work for me.

Apart from that, it's rock solid. No crashes so far even with undervolted (825mV, might try even 800mV) and seemingly improved battery life.

Thanks flar2
[HTC One S] rc420head:
Just wanted to know if this is s-on friendly or do I need to "adb pull /tmp/newboot.img" then "fastboot flash boot newboot.img" ?

Sent from my HTC One S using Xparent Red Tapatalk 2
[HTC One S] flar2:
BLN is cancelled as soon as the screen comes on

After you run the installer, you can get the customized boot.img with adb pull /tmp/boot.img and flash it in fastboot

Or, just fastboot flash the boot.img from the installer zip. It will have defaults.
[HTC One S] TheEndHK:
Is there a stock kernel with just system writable for 4.2.2?
[HTC One S] flar2:
There should be a module that lifts write protection that you can use with the stock kernel.
[HTC One S] rgrpark:
I'm sure if it was that easy to s-off, there would be such a module
[HTC One S] Jeeza:
Hi Flar2 thanks for the awesome kernek! I just flashed it and it works really good!

But I can't set the minimum frequency to 192 mhz. There isn't the option in Aroma and elementalx.conf...also Kernel tuner minimum freq is 384 mhz...is the feature temporarily disabled?

Also, can anyone post an undervolt chart, please?

Forgot to mention, I'm using MaximusHD rom and ElementalX 6.0
[HTC One S] flar2:
Not s off, system write protection.

I made the module that lifts write pprotection and it's used on pretty much all recent HTC devices
[HTC One S] DisruptiveMind:
Excellent work! I normally have problems using custom kernels but with Elemental everything works great s2w, dt2w (which is genius by the way), bln I can't comment on as I have an app for bln. Setup just using the stock setting. No kernel tuners in use because if it ain't broke I ain't messing with it. :laugh:
[HTC One S] mikronac.ns:
After long periods on WIFI network, when I leave WIFI coverage, phone wont switch on 3G. I must reboot phone to get 3G connection...
[HTC One S] punkt:
a question about BLN.

how does it work? i am using an one s with maximushd and elementalx6 with activated bln in kernel setup - but nothing starts to blink. does it need any other activation or setting?
[HTC One S] luxandroid:
No,nothing it should just start blinking when U have some notifications,doesn't blink on missed calls because screen turns on ....

Do hit thanks button if I helped you :)

sent from xda 4 premium mobile app
[HTC One S] punkt:
hmmm, strange. in fact it does not. when i try the BLN tool and hit test button it blinks, but thats all.
[HTC One S] luxandroid:
Try dirty flash kernel again,for me didn't work at first also,than flashed dirty and worked

Do hit thanks button if I helped you :)

sent from xda 4 premium mobile app
[HTC One S] TeHashX:
Sorry, witch bln tool?
[HTC One S] punkt:
i already flashed dirty. also sweep2wake/sleep makes problems and results in cap buttons going offline or something like that.

in app market there is a tool, search after BLN.

any idea what i could try? i am using a clean maximushd and onlyflashed the kernel. no other modifications or experiments done.
[HTC One S] luxandroid:
As I can see this app is for samsung phones...maybe not working properly with our phone....real fix don't know..from my experience I had to flash kernel several times until worked ...why is that don't know :(

Do hit thanks button if I helped you :)

sent from xda 4 premium mobile app
[HTC One S] TeHashX:
Are you saying Bln control? https://play.google.com/store/apps/details?id=neldar.bln.control.free

You need bln mod integrated in kernel for this to work, this is another kind of bln.

Maybe [MENTION=4684315]flar2[/MENTION] take a look and who knows, make it compatible with elementalx kernel. I was using the pro version on my old Samsung Galaxy Gio.
[HTC One S] rosswhite:
BLN is working perfectly for me on first flash of this kernel. Using MaximusHD rom. I originally had wake on SMS turned on in the Sense 5 toolbox, so it would only work with email. Switched that off now and working great with both. Only installed DT2W not S2W, in my opinion it is much easier to use. Thanks for all your work flar2.
[HTC One S] Bodarko:
mistake
[HTC One S] puep.puep:
[MENTION=4684315]flar2[/MENTION]

If I choose minimum Voltage 825mV, is the whole voltage table lowered by 25mV?

Thanks
[HTC One S] ferreinf:
Yes

U can always use, trickster 4example to change it, no need to reflash
[HTC One S] flar2:
Actually, no. Just the lowest frequency.

The lowest frequency is used the most, so you get the most benefit from undervolting it.

If you want to experiment further, I'd suggest finding a stable undervolt for the highest frequency. The other frequencies aren't used that much (check with CPUSpy) so probably not worth the effort.
[HTC One S] DisruptiveMind:
Button led (bln) app, use this for bln notifications works beautifully and is customisable.

XDA Forum link to app - http://xdaforums.com/showthread.php?t=1958939
[HTC One S] TeHashX:
I know this app but unfortunately is consuming much battery :-[
[HTC One S] DisruptiveMind:
Not a problem I've ever encountered with the app, besides you have control to change how long it flashes the light, so if you set it for five minutes it will switch off therefore saving battery consumption. Anyway each to their own i suppose, I guess its all about how you set it up.

Anyway back on topic not a single issue to report and been running the kernal for a week, smooth as silk and fantastic battery life as a moderate to heavy user. Standby time is outrageously good, lasted an entire day (14 hours) on standby and used 8‰ of the battery power. Fantastic kernel glad I made the switch.
[HTC One S] rrrah:
maybe this question was already here, but why versions 5.1 and 6.0 are only 8mb? *confused*
[HTC One S] gelo01:
They're really that small. But if you're still in doubt, you may redownload it, maybe thrice, just to be sure you don't have a bad download.
[HTC One S] TeHashX:
The problem is when a notification is active the cpu doesn't go to deepsleep.
[HTC One S] punkt:
i have some issue with kernel tuner i think. after booting the phone and going into kernel tuner/cpu always min and max frequency are set to maximum - but the frequency meter at the top shows the cpu is stepping from offline/384 up to 1512. running on intellidemand.
[HTC One S] Insecret:
It is all about MpDecision, google it or search what exactly does here on the forum. Is better to keep it so (MpDecision on) then to controll automatic the min and max values.
[HTC One S] Dimson75:
a bluetooth audio crackling appeared in the sounds. You can either fix it?