yashsingh1/xdaforums huggingface dataset:
[HTC One S] dragonblade1214:
Could someone provide a example of their settings when installing the kernel? Just wondering how much people have pushed under/overlocking.

I'm currently at 192 / 800 mv underclock / 1.7 ghz overclock and things have been stable for the most part except for one random reboot last night. Battery drain feels kinda bad when surfing the web though.

If I want to possibly maintain the same battery life and increase performance through overclocking, would it be safe to decrease the 800 mv or should I increase it for stability?

So basically, should I:

750-775 mv underclock / 1.8+ ghz overclock

or

825-850 mv underclock / 1.8+ ghz overclock

Thanks everyone!
[HTC One S] flar2:
If you had a random reboot, you should figure out why it rebooted. You shouldn't have any reboots on this kernel. Was the reboot when screen was off? If so, increase your min voltage by 25. If the reboot was while you were using it, reduce your overclock by one step.
[HTC One S] dragonblade1214:
Hmm, gotcha. I believe it rebooted when it was in my pocket so it's most likely when the screen was off unless I accidentally pressed something. So that means I would increase my voltage from 800mv to 825mv. Does this mean my phone can't handle an underclock that low with an overclock at 1.7?

Thanks for the help again, flar.
[HTC One S] rc420head:
Speaking of random reboots when I first install this kernel I started with the lowest settings (basically stock kernel settings) and ran awesome's kernel cleaning script 3 times first and I was getting random reboots nonstop.

So I ran the kernel installer 3 times in a row with the same settings each time and it's been solid since, also ramped it up to 1.7 oc and oc gpu on vanilla, once again running installer 3 times to "burn" it in. Been stable for 2 days on this setup now.

Don't know why it's more stable after 3 installs in a roll but maybe something someone might want to try if having random reboots.

EDIT: FYI I am s-off

Sent from HTC ONE S using anyone of the awesome roms for this phone (changes each week)
[HTC One S] flar2:
You shouldn't have to burn it in. Unless you're s-on and it wasn't installing properly.

If you get reboots, you most likely have to use the vanilla setting. Some phones are very sensitive to undervolting. And anything under 1150 is undervolting on this phone.
[HTC One S] naudmick:
Tension is very stable for me is 900mv for 384mhz
[HTC One S] anant210:
This is 3d only.

I just realised, it's only 800MV.... I didn't undervolt the higher end :o
[HTC One S] Rampage:
[MENTION=4684315]flar2[/MENTION]:

congratulation for becoming a Recognized Developer

haha :D
[HTC One S] dragonblade1214:
So I had to restore my phone today because for some reason, all of my texts got deleted. So restored back to the stock kernel and then reinstalled Elemental at 192 / 800 mv / 1.6 ghz. Just ran some Quadrant tests and my scores are around 5300-5900 which I think is definitely a problem since I ran the tests the other day and got way above 6000, nearly 7000. Not sure if quadrant is prone to inconsistency.

EDIT: Nevermind, I went to Venom Tweaks and saw that the minimum and maximum values were default at 384 and 1512. I changed them to 192 / 1.6 ghz, ran quadrant again, and my scores jumped to 6500 which is great.

--------------------

And if you choose to ignore the above post, can someone clarify the difference between Elemental and Vanilla? Why do some people install Vanilla? It all just stock settings?

Also, should battery drain be so pronounced? I feel like my phone always takes a beating when surfing the Web, which I understand the One S is not so good at when it comes to battery but it feels pretty bad on my phone.
[HTC One S] Sneakyghost:
800mv is definitely too low for many one s phones. It makes stuff run bad, corrupt, fc, reboot. Mine can only run 850 at the very least. 1150 is stock, don't forget that.

Web surfing takes place mainly on white pages, which makes the display eat up a lot of battery. All amoled displays are really power hungry with white. Try to have as many inverted apps as possible.

Difference between vanilla and elemental presets are explained in post one.

mobile post
[HTC One S] Mr.Nigma...:
But i can run perfectly fine with 700mv as this kernel doesnt allow lower. before on ics i could 650mv and was stable. maybe you have a slow cpu variant.
[HTC One S] Sneakyghost:
Most likely.

mobile post
[HTC One S] k1llacanon:
Does this kernal allow running ums and android debugging at the same time?
[HTC One S] sepsep 21:
Hi. Can you show me stock voltage table?

Sent from my awesome One S (S4).
[HTC One S] Sneakyghost:
Sorry i don't have it. I just saw a mention on ShowP's BRICKED Kernel thread that 1150 is supposed to be the stock min voltage. Not even sure thats true because i cant remember having seen that ever. But i am sure Flar2 or some of the other dudes here can tell you.

You could also try to run a RUU and then install Pedja's kernel tuner and actually read the voltages there.
[HTC One S] naudmick:
would be interesting ! And as someone publishes its tension with the stock kernel also !
[HTC One S] flar2:
Stock voltages for each PVS bin

Fast:

1150mV for every frequency

Nominal:

from 384 to 1242MHz: 1150mV

1350MHz = 1175mV

1458MHz = 1187mV

1512MHz = 1200mV

Slow:

from 384 to 1026MHz: 1150mV

1134MHz = 1175mV

1242MHz = 1200mV

1350MHz = 1225mV

1458MHz = 1237.5mV

1512MHz = 1250mV
[HTC One S] dragonblade1214:
Hey Sneakyghost, I read the first post and I still didn't really understand Vanilla. I see that the key word is 'stock' but then I'm wondering how that compares to the stock kernel and also bulletproof.

Thanks.
[HTC One S] flar2:
Vanilla gives you stock voltages and stock l2 frequency or bus bandwidth. I made the Vanilla mode for people who have sensitive chips that can't take much deviation from stock voltages. But you still have to ability to overclock if you want and benefit from other features of the ElementalX kernel.
[HTC One S] TheDrone:
So I was in kernal tuner and decided to look at logcat why do I keep getting these errors?

And sometimes I'll only be using whatsapp or something but my cpu frequency stays at 1.5ghz for ages any help pls?
[HTC One S] psykodali:
great job :)

i had a desire, this is my first day with htc one s, i realy like the phone and this kernel :)

850mv is instable for my device.. 950 is the minimum voltage that i can use to get stable.. is there a way to know the cpu variant of the devices?
[HTC One S] Fofff:
If u can run this kernel you have an S4 lol

Inviato dal mio HTC One S con Tapatalk 2
[HTC One S] psykodali:
Lol

U need to know that in s4 there's many variant..
[HTC One S] Fofff:
Really?! It worths a try to disassemble your phone then! I'm joking I can't help you sorry :D

Inviato dal mio HTC One S con Tapatalk 2
[HTC One S] Mr.Nigma...:
yes just look in proc/last_kmsg

it should be near the begining smth like PVS=fast(or your krait variant)
[HTC One S] CarstenDutch:
Mine runs from 950 to 1075 on Bulletproof without problems. In the beginning I could run much lower on 192 /386 mhz with older roms/kernels.

I changed the battery from the x+ one, 5 hour screen on time easy! No new phone for me for a while, bought the phone from the start btw.

I'm a Happy Camper like this! :thumbup::):beer:

Next Qualcomm snapdragon 800 Tablet!?
[HTC One S] Olympus593:
Memory settings - Kernel Tuner

Hello,

I changed the OOM values on Kernel Tuner and didn't take note of the original values. I need some help, could anybody tell me the original settings or a better set of them?

Thanks for the amazing Kernel!
[HTC One S] :
The OOM values are:

32,

40,

48,

56,

64,

80,
[HTC One S] flar2:
Download:

ElementalX-S-4.3

Changes:

-add doubletap2wake

-add button light notification

-fix fm radio

-remove autogroup: group by current UID

-arm/crypto: Add optimized AES and SHA1 routines
[HTC One S] leald:
Goo.im seems to be down, could you upload this and bulletproof to another site please?
[HTC One S] sepsep 21:
Sry. But I can't download.
[HTC One S] Phantom Pt. II:
Give it some patience. It's really slow here but seems to work after some tries. ;)
[HTC One S] sherry478:
when your download is complete can you upload it to dropbox?
[HTC One S] Sneakyghost:
If Flar2 is counting his downloads, a second link done by someone else would defeat that purpose. He has to give permission for mirrors.
[HTC One S] leald:
Uploading one now, will post if okay with Flar2
[HTC One S] proxuser:
double2wake i saw this today on youtube. its great feature, thx for bringing this to one s kernels! :)
[HTC One S] Mr.Nigma...:
great kernel! best performance ever! but onlyone problem! wifi freezes at turning off! a reboot is required everytime u try to tur it of
[HTC One S] flar2:
I'll have a fix for that later tonight.
[HTC One S] flar2:
Anyone who downloaded 4.3 before the time of this post needs to download it again. There is a bug with the wifi, which I've fixed and reuploaded, but I didn't want to change the version number and all that.

So redownload and reinstall!!
[HTC One S] vido4eva:
the server is really slow. is there another link??
[HTC One S] leald:
Here you go! http://db.tt/p0X42FsP

Hope its okay to post another link, ill remove if needed.
[HTC One S] barjeshjain:
Only Sweep2Sleep is buggy

Only Sweep2Sleep is buggy. it also wake up phone from sleep on swipe.

Thank you for gr8 Kernel :good: ...!!
[HTC One S] rubio90:
when I run the AnTuTu less than 1% and exits back to the desktop application ... someone else happens?

I also passed on the 4.2 ... I have the phone to 1.73 Ghz with stock voltage ...

regards
[HTC One S] flar2:
If you get an FC with Antutu you have too much oc or need more voltage.
[HTC One S] Sneakyghost:
Kernel seems to run fine here. Thanks for the good job mate.

Love the Button LED Notifs! Absolutely cool, was sooo waiting for that!

The Wifi toggling is blazing fast now. Used to be stuck for ages trying to switch on or off (well seemed like ages) and now its just On/Off in an instant.

One thing i had with previous release and never mentioned because i didn't relate it to the kernel for a while is excessive thermal shutdowns when using navigation. I only began to wonder when i read other users mentioning thermal shutdowns.

I had these quite a bit with Navigon, which apparently makes a lot of use of the OC and lets the Device run pretty hot within a 15 minute drive. Those shutdowns also didn't run through clean, they always resulted in quite severe data damage, twice i needed to rebuilt my system completely, some other incidents were fixed by wiping caches.

Not sure if this Info is valuable to you. I'll mention it for the sake of completeness. I am moving on from the Ville to the ONE in a few days anyway.

So, thanks again for a fantastic ride while it lasted!
[HTC One S] rubio90:
I don´t get FC, ​​will run fine but on reaching 1% application crashes to desktop and does not perform the test ...
[HTC One S] flar2:
Same thing, it's a sign that you're not stable at your current frequency/voltage
[HTC One S] hmgurbuz:
Can you give double2wake video link ?
[HTC One S] NQNH:
http://www.youtube.com/watch?v=MhUAGYRHsBQ

works on the capacitve buttons too. default is the homebutton, but you can change the value for back or recent button (look at the op)
[HTC One S] hmgurbuz:
Thanks :)
[HTC One S] flar2:
I made it different on this phone because I didn't implement pocket detection yet. It only works by double tapping one of the buttons (home button is default).
[HTC One S] Fanagoreca:
I switched today to sense just for trying yor kernel. You have done amazing work Sir! Respect!
[HTC One S] flar2:
Thanks, you should enjoy the One, and there is a lot more development over there than there is for the One S.

I considered adding a different thermal throttling method to the kernel, but decided against it. I might reconsider if others feel it's necessary.
[HTC One S] rubio90:
As active as LED notifications in touch pads?

Does not work and I think the installer did not smell nothing comes?

Thanks :good:
[HTC One S] donb123:
bad modules?

I installed the latest and get module errors:

root@android:/system/lib/modules # uname -r

3.4.10-ElementalX-4.3+

root@android:/system/lib/modules # insmod prima_wlan.ko

insmod: init_module 'prima_wlan.ko' failed (Operation not permitted)

255|root@android:/system/lib/modules # whoami

root

Weird. I go back to an older version with similar results:

root@android:/mnt/sdcard/system/lib/modules # uname -r

3.4.10-ElementalX-3.2

root@android:/mnt/sdcard/system/lib/modules # insmod prima_wlan.ko

insmod: init_module 'prima_wlan.ko' failed (Operation not permitted)

BUT

insmod kineto_gan.ko works and lsmod shows it loaded

From the same /system/lib/modules directory from the download zip file!
[HTC One S] flar2:
I think something got lost in translation

The wifi module should load, are you sure it's not already loaded? Try doing lsmod in terminal and see what's listed.

If it's not listed, try to insert the module manually (ie, with insmod) and then immediately grab the dmesg to see what the error is.
[HTC One S] donb123:
I am sure. That's why I said I did an lsmod and saw kineto loaded but not wifi.. and no other modules actually. They all give the same error.
[HTC One S] dragonblade1214:
Hey guys, it could just be me being paranoid, but I feel like my battery recently has been taking a dip. Not sure if that's related to Viper 2.2, Elemental, or just the aging of the battery in the phone.

Can anyone else comment on their Elemental settings and battery life along with it?

I'm pretty stable right now with: 800 mV / 192 Mhz / 1647 Mhz. Not sure if those are the best settings if I want to optimize battery life w/ performance over Stock. I know there's a setting in Viper Tweaks to set a voltages are each frequency but not sure if that helps at all.

The only app. I think that's consuming so much battery life is GoSMS. I'm pretty sure the display when using the app. is what eats up so much battery life, but I'm surprised it's so much recently.

Lastly, is there a way to return to the Stock Kernel to compare to Elemental? I read that it's pretty complicated, so any help is appreciated.

Thanks for bearing with the long post!
[HTC One S] rootrider:
Check this out, mate.

I came about that incidentially, as I was wondering about more battery drain, regardless which kernel I was using. Point is, that this made me change from sense based roms to AOSP, where I experience an excellent battery life on BBB 8 with Bubba kernel atm.

So not a true solution for you, but things don't seem to be kernel related.
[HTC One S] flar2:
Not complicated at all, just do a dirty flash of your Rom and you'll be back to stock.
[HTC One S] Crono88:
which file?

I don't have bln folder but only button-backlight folder

is it enabled default? if yes it's not working on my phone
[HTC One S] Mr.Nigma...:
are your cameras working on this kernel? mine just shows a black screen but the photo is taken ok! it looks like i have a cover on my lens which in fact i havent???

EDIT: I just isolated the problem was in the debug.compositon. i user mdp which caused the malfunctioning camera. NO reason to worry now.
[HTC One S] Crono88:
my camera works fine
[HTC One S] k1llacanon:
BLN for htc devices is quite crap, if you leave the app on multitask or its a recent app and u receive a message say on whatsapp for example when phone is idle the buttons don't light up

They will only light up when u don't have the app running, sane thing with buttonled app

Also flar would you be able to implement double tap home to lock device too? Would be quite sweet

Thank, just a suggestion
[HTC One S] Olympus593:
Thanks!!

My phone is usable again!!! Battery was draining too fast with 4.2 and with 3.4 after it. Somehow 4.3 solved it.

I even forgot how much the battery could last. :victory:
[HTC One S] Meedmo:
Had a problem when alarm set and phone on silent. If I receive a message in the night and notifications flash, alarm will not sound. If I have no message then alarm ok. Back on 4.2 for now. Can't be late again. Not this week anyway :)
[HTC One S] andrewt328:
Anyone having trouble booting this kernel on liquid smooth? I can't get past white HTC screen.
[HTC One S] rc420head:
Really dude! :banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead:

IT'S FOR SENSE BASED ROMS!! :banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead::banghead:

Sent from my HTC VLE_U using Xparent Red Tapatalk 2
[HTC One S] cyonix87:
OMG!!!!!!!!

Kernel working great with Viper 2.2.0 (sense-based :P)

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] donb123:
Modules....

Some more info on my wireless driver modules if anyone could lend a hand...

insmod prima_wlan.ko

from dmesg:

<4>[ 407.757362] WARNING: at /home/aa/Project/Evita_Telus_WWE_JB_CRC_Stable_299781/kernel/../vendor/qcom/proprietary/wlan/prima/CORE/HDD/src/../../VOSS/src/vos_api.c:365 vos_open+0x24c/0x50c [prima_wlan]()

<1>[ 407.757393] Modules linked in: prima_wlan(PO+) test_iosched spidev scsi_wait_scan qcrypto qcedev qce40 lcd gspca_main evbug bluetooth_power radio_iris_transport ansi_cprng kineto_gan

<1>[ 407.757515] [<c0016bac>] (unwind_backtrace+0x0/0x138) from [<c009b1b8>] (warn_slowpath_null+0x38/0xa8)

<1>[ 407.757820] [<c009b1b8>] (warn_slowpath_null+0x38/0xa8) from [<bf66e88c>] (vos_open+0x24c/0x50c [prima_wlan])

<1>[ 407.758614] [<bf66e88c>] (vos_open+0x24c/0x50c [prima_wlan]) from [<bf72bac4>] (hdd_wlan_startup+0x2c0/0xa90 [prima_wlan])

<1>[ 407.759377] [<bf72bac4>] (hdd_wlan_startup+0x2c0/0xa90 [prima_wlan]) from [<bf11c0b8>] (hdd_module_init+0xb8/0x214 [prima_wlan])

<1>[ 407.759682] [<bf11c0b8>] (hdd_module_init+0xb8/0x214 [prima_wlan]) from [<c00088f0>] (do_one_initcall+0x10c/0x170)

<1>[ 407.759713] [<c00088f0>] (do_one_initcall+0x10c/0x170) from [<c00f9190>] (sys_init_module+0xad8/0x17a4)

<1>[ 407.759743] [<c00f9190>] (sys_init_module+0xad8/0x17a4) from [<c000f860>] (ret_fast_syscall+0x0/0x30)

<4>[ 407.759743] ---[ end trace 3d62df4cc805c0dc ]---

<6>[ 407.760323] [WLAN] [0:4500:F :HDD] hdd_wlan_startup: vos_open failed

<6>[ 407.760353] [WLAN] [0:4500:E :VOS] vos_watchdog_close: vos_watchdog closing now

<6>[ 407.762704] [WLAN] [0:4500:F :HDD] hdd_module_init: WLAN Driver Initialization failed

<6>[ 407.762704] [WLAN] vos_preClose

<3>[ 407.762734] [WLAN] prima_wlan: driver load failure

<1>[ 407.762734] [WLAN] before finishing init+

<1>[ 407.762734] [WLAN] after finishing init+
[HTC One S] :
I have to questions

How long is bln active? I mean how long do I see flashing button lights? (Notification bar led is 5 minutes)

I enabled only s2s but s2w is enabled too even though it should be disabled
[HTC One S] ippon:
how long is the installation supposed to take?

after flashing in recovery, my phone has been on the boot screen for the past 6 minutes.

---------- Post added at 04:29 PM ---------- Previous post was at 03:35 PM ----------

well, that was a weird ride.

was stuck on boot screen for about 30 min, so, went back to twrp and flashed the kernel again, then at that point, flashing was stuck at 60% for about 30 min.

at that point, i just forced reboot, and bam, it looks like it's flashed.
[HTC One S] ippon:
i had to reflash my rom again, and tried to flash ElementalX, but it's stuck at 60% again, and unlike last time, it doesn't seem to be completing, because it's making the phone to boot loop.
[HTC One S] Oxious119:
Try flashing the boot.img via fastboot, clear caches and reboot.
[HTC One S] ippon:
flashed the rom again, and stock kernel as well.

but, starting about a week ago, i was having some problems with wifi disconnecting, bluetooth not activating, and random reboots, so just now, i decided to do a clean clean install from the top again, including deleting storage and all. hopefully this will cure all the ails.
[HTC One S] Marcel_87:
[MENTION=4684315]flar2[/MENTION]

Just flashed your kernel to my TrickDroid5 ROM (Sense 5 - 4.1.2)

Kernel seems to run fine so far. But Wifi will not work. Can you confirm the kernel is not compatible with 4.1.2? Or have I maybe made a mistake in flashing?!
[HTC One S] flar2:
Can you try loading the wifi module manually?

in terminal or adb shell (as root):

insmod /system/lib/modules/prima_wlan.ko
[HTC One S] ryanshew:
Dirty flash the ROM, then install the elemental boot.img only. That is the only way I could keep wifi working on that ROM using this kernel. If I flashed the full zip, it would break wifi. Either use fastboot or flash image gui.

HTC_One_S | S-OFF | ViperOneS_2.2.0 | Black&Blue_Inverted_Sense | Bulletproof_1.4

Inverted Sense _4+_and_5_click me
[HTC One S] ippon:
for some reason, i flashing EX kernel is making my ville to boot loop.

my phone was acting up since flashing a walkman music mod, (i've found out since that music mod is not recommended for the rom) so i did a clean install, and since then, the phone boots up with a clean install of viperom 2.1 with stock kernel, but refuses to boot up whenever i try to flash EX.

i can't figure out what's going on, because i had EX flashed and working before, but now it just won't take...

flashing bullet proof works though, but i'd really like underclocking and undervolting.
[HTC One S] clsmn:
mh i guess someone already asked that, but i havnt found it ... so sorry if there is already that question!

is it possible to use that kernel on a cm or aosp based rom?
[HTC One S] unbenannt:
I want to install this on my HOS with Trickdroid10.2.7 (Sense5 4.1.2) just to enable USB OTG. Can anyone confirm, that this feature is included and works? Thanks..

and btw: How can i do a "dirty flash" ? copy/paste the folders manually? Where to?
[HTC One S] NQNH:
dirty flash means, just flash the zip over your existing system and boot.

without any wipes
[HTC One S] unbenannt:
Ah OK thanks..

so i flash the zip via twrp recovery, then i flash the boot.img from the zip via fastboot. am i right? and no wiping.
[HTC One S] NQNH:
yes, this would be the way I would dirty flash (except of flashing boot.img because Im on s-off)
[HTC One S] unbenannt:
OK, now i have flashed this, but WIFI does not work. It keeps saying that it's turning on.

How can i fix this? Thanks..

EDIT: nevermind i fixed it with Terminal and the command "insmod /system/lib/modules/prima_wlan.ko", after i copied the "prima_wlan.ko" file from stock kernel and replaced it.

but i still can't manage to do USB OTG. it does not recognize the USB drive (no-name 8gb)..

EDIT2: i just plugged in my wireless notebook mouse and it worked. the usb drive is faulty i think..
[HTC One S] ippon:
i was able to flash EX using 'Flash Image GUI' app, but since the flash is done outside recovery, i don't have access to Aroma installation steps.

how can i change the settings of the kernel after flashing?

i read the OP and it says settings can be changed in the file; '/etc/elementalx.conf'

BUT, i don't see this file in my device anywhere.
[HTC One S] ryanshew:
Don't dirty flash the ROM again unless you have already broke your wifi by flashing the elemental zip on trick 10. That is just to get your wifi working again before flashing the boot.img only.

Basically, with a working trick 10, to use this kernel, only flash the boot.img, nothing else.

HTC_One_S | S-OFF | ViperOneS_2.2.0 | Black&Blue_Inverted_Sense | Bulletproof_1.4

Inverted Sense _4+_and_5_click me
[HTC One S] unbenannt:
i have managed to install the kernel with no problems at all (and fixed the wifi via terminal), but now i have the problem, that the quick-toggles in the notifications-shade (trickdroid 10 has this) are gone. is this because i've installed this kernel?

EDIT: just now i've noticed my wifi got broke again after a restart. :/ i think i have to reinstall all again.
[HTC One S] donb123:
If doing a manual insmod of the wifi module worked last time then adding insmod to an init script would solve the problem without a flash.
[HTC One S] flar2:
just add "insmod /system/lib/modules/prima_wlan.ko" to the bottom of /etc/init.qcom.post_boot.sh