yashsingh1/xdaforums huggingface dataset:
[HTC One X] asp2010:
As the name suggests, calibration control is supposed to improve multitouch and finger detection accuracy. However, to some people it causes the 'end call' bug I described in my previous post. I believe it is on by default. Personally, I have never had any issue with it, regardless of the kernel. If you're not facing the problem, you should leave it on. Otherwise, disabling it should be the fix.

You can quickly check and set the gpu max frequency through the Trickster Mod app or through the sysfs interface. If you frequently play games, 520 MHz is nice. Otherwise, you might want to consider a little underclock, though some people are skeptical as to how much power this saves. :good:
[HTC One X] NeolioN:
Vibration driver fom tripnraver

Dear Alex, can you do another 4 versions of your great kernel with vibration driver fom tripnraver, because I like it so much! Thank you a lot for your work!
[HTC One X] pisc3s1203:
thanks, there are so much things i don't understand, but with you guys' help, i know a lot:)
[HTC One X] 04kiran:
Noob question

Please some one tell me how to enable DT2W in viper 3.7
[HTC One X] dmt-300:
Venom Tweak ;)

HOX+Viperx+Alex(V) = revolution
[HTC One X] 04kiran:
Can you tell me where exactly.. coz viper has huge set of tweaks.. :)

I can see S2w setting but there is no DT2w

edit 1 : ok my understanding if i enable s2w by default DT2w also enables, but for me only S2w works..im on viper x 3.7.1
[HTC One X] Alex-V:
Only works if you flash new s2w version
[HTC One X] Alex-V:
I see a lot of tests and reports..thx guys :)
[HTC One X] caravanquello:
Had a lot of reboots in the last hours. maybe 1700Mhz isnt stable for my phone. Im testing 1500 now.
[HTC One X] Grgur:
I read several lastest pages of this topic and I got lost in all these versions and subversions.

Could someone tell me please: which combination of kernel and calibration setting is supposed to fix BOTH the incoming and end call bugs?
[HTC One X] Alex-V:
for sure 1700 mhz is not stable..lol..max stable is 1550-1600mhz

hehe..can understand but no...the best combi is the one that work perfect for you and you can try the versions very eays...as you just need to flash the modules once..not again and again...and just flash the kernel over fastboot..takes 1 min...

i think we never get the absolute solution as the phones and hboots are to different from each other..maybe on sense 5 ..i hope
[HTC One X] P4ULM4C:
Everything work perfect fast and smooth thanx Alex

Viperx 3.7.1 Alex v kernel :thumbup:
[HTC One X] Alex-V:
Yeah..thx :)
[HTC One X] Alex-V:
Will make the old s2w again with calibration enabled..will fix the incoming again but can destroy the end call again...lol....anyway i think its better for s2w wake..after some trys in the past i think it will be wake better

Anyway this should be the last 1.5 test kernel before 1.6 :)
[HTC One X] rkuijpers:
Kernel with new s2w and auto bln working beautifully here Alex, thanks!!! :)

Btw, did you implement the old smart max and pmc governors on purpose? Noticed some differences in settings for those governors between your kernel and latest xm / n3o for example?

I thought maxwen updated them for more smoothness + better battery life?

Am not complaining though, your kernel flies over here, with nice battery life until now on first use running pmc governor! :beer:
[HTC One X] luis4ever:
Can i use this for AOSP?
[HTC One X] pisc3s1203:
nope, sense only
[HTC One X] NeolioN:
1.5 Test Kernel 3 with new s2w with auto bln

1.5 Test Kernel 3 with new s2w with auto bln - no any problems here :good: But I hate the original vibration driver - it is too strong on my HOX and gives me many misspelling and/or incorrect grammar and misprints when I typing Russian - because of too many letters in Russian keyboard - it's 33 there and they are small ;) Can I add something myself to the kernel to enable vibration driver from tripnraver? Thanks guys for your help.
[HTC One X] Monk2000:
Version 1.5 is not stable for me. When I play the game RR3, my phone suddenly reboots.
[HTC One X] Alex-V:
Thx..the gov are from 188 xm kernel as it stated as stable..but its on my list

thx and maybe :)

OC..?
[HTC One X] fario78:
Will take in the future some AOSP rom and kernel for aopk?
[HTC One X] Alex-V:
Sorry, but i don't think so :confused:
[HTC One X] mohsenking:
I couldn't do "thanks" with my app, it says deny

So Thank you for help me man
[HTC One X] Alex-V:
ok...lol :)

1.5_Test_kernel_3_old_s2w_Changelog

-again calibration enabled (as on old s2w it can only be changed in source)

-added a extra version for trips vibration driver

-no need to flash if you dont want the 2 options (all the rest is the same as before) :)

http://sourceforge.net/projects/ale..._1.5_old_s2w_cali_enabled_Test_3.zip/download

with kind regards
[HTC One X] mohsenking:
I'm on 1.5 test3 with new s2w,but I have problem with incoming call...
[HTC One X] Alex-V:
you should make calibration enable...look to sys/android_touch ...use a terminal or a init.d script for that (direct change should not work)

if that will not work try the latest old s2w kernel with automatic enabled :)

with kind regards
[HTC One X] Alex-V:
just quote for new site :) :)
[HTC One X] mohsenking:
I must change 0 to 1 in sys/android touch/calibration control ?
[HTC One X] Alex-V:
yes...but you should echo this value

it should look like this

su (if you use a terminal)

echo 1 > /sys/android_touch/calibration_control
[HTC One X] Monk2000:
No, standard settings.
[HTC One X] 7OOKA:
by "fixed call" do u mean the touch screen freeze while receiving calls bug?

which i think a common problem in HOX
[HTC One X] NeolioN:
So great from you, Alex! Cheers! Thank you a lot! May be another one 1.5 Test kernel 3 with NEW s2w for us? :o Please, please!
[HTC One X] caravanquello:
Tested this one also with my end call problem. Old s2w and calibration enabled = end call problem. The touchscreen doesnt work until i press power to lock and unlock. So everything points to the calibration option.

I also saw the post with the incoming problem and calibration disabled.

Maybe the best solution for all is new s2w and calibration enabled by default and everyone like me can change it with init.d to 0.
[HTC One X] Grgur:
OK, so I tested 1.5 Test Kernel 3 and I answer myself: none of these versions works. :(

new sw, cc=0: incoming call bug

new sw, cc=1: end call bug

old_sw: incoming call bug (cc can't be changed)

I didn't test BLN versions, they should make no difference.

Each s2w patch is buggy and breaks something. I lost hope for fixing this, the only solution would be a kernel without s2w at all (I don't use it anyway as it drains battery significantly).

Are there any other system settings that may affect this, such as 3 finger gesture, etc?
[HTC One X] asp2010:
That's quite strange. HTC's 3-finger gestures should be disabled and it should be fine with calibration control on.

s2w drains battery? The touch sensor and capacitive buttons stay on all the time, even when the display is off. s2w doesn't keep them awake on purpose; it is possible that they are used to wake the device because they are already on, which means no extra battery consumption...
[HTC One X] Grgur:
HTC's 3-finger gestures are disabled in my phone. Screen freezes on call end with caibration on.

If I understand this correctly, every touch on buttons has to be processed by the s2w proceure in order to check whether the sweep was completed. If I have the phone in my pocket, screen touches are constantly registered. Anyway, I observed a massive number of wakelocks when s2w was activated and which disappeared after disabling s2w.
[HTC One X] asp2010:
Yes, of course they have to be processed, but the actual processing is very light and should use a negligible amount of power compared to the touch screen, which is being supplied current anyway. So think it like this, instead of wasting all the power eaten by the touch screen when the display is off (which you can do nothing about), you give a little more power so that you can use s2w.

I've never tried a kernel without s2w, so I'm not saying in any way you are wrong. If it really saves battery for you and you like it that way, it's great :good:
[HTC One X] Grgur:
Yes, but whatever light this processing is, the wakelock is already done and deep sleep is prevented, which drains battery. But we are going off topic so no need to discuss this here. Thanks for explaining this.
[HTC One X] Alex-V:
I will make a test version in next days without s2w ..so you can test..ok :)
[HTC One X] asp2010:
Thanks, Alex. Although I won't have a lot of time during the next couple of weeks, I actually want to see if there's any improvement in battery on my phone, so I'll test this. But I got a feeling I won't get much more battery life, so I won't let s2w go :D
[HTC One X] snebojsa:
How can I see which variant of cpu I have, tried Cpuz but could not see it?
[HTC One X] rkuijpers:
Flash Kozmik or XM kernel, it's explained in the OP of both kernels :)
[HTC One X] snebojsa:
Ok, thanks.
[HTC One X] rkuijpers:
Don't think Alex's kernel shows this information by itself. Oops,wrong button :D
[HTC One X] Alex-V:
Hehe..its in..as you know i use koz cpu patches :)

/sys/kernel/debug/t3_variant

cpu_process_id

Mine is 1
[HTC One X] snebojsa:
Don't have /t3_variant anywhere, i'm on viperx, kernel v0.8, rooted, have looked with es file explorer and root browser.
[HTC One X] Alex-V:
Flash 1.5 ..lol..i think i added it in 1.0 ..but it was not so important for me..as i did know in that time what variant i have.. ;)
[HTC One X] snebojsa:
Ok, i will, thanks, just wait things to "settle down" for latest kernel. :)
[HTC One X] Pundy:
With 1.5 test3 + s2w new bln I have incoming call bug.
[HTC One X] snebojsa:
Mine is 1, too.
[HTC One X] Alex-V:
Calibration disabled..?
[HTC One X] Pundy:
No, but I'll try and edit this post here
[HTC One X] Alex-V:
ok...here´s the test version... :)

Changelog

-complete without s2w

=means i used original unpatched source files for touchscreen and touch keys

-the rest is the same as test3 1.5 its for asp2010 and Grgur and maybe if you dont need s2w btw as another test for call´s

Download

http://sourceforge.net/projects/ale...Alex-V_SE_1.5_test_3_without_s2w.zip/download

with kind regards

no need to flash if all is ok :) its just a test
[HTC One X] asp2010:
Man, seriously, you shouldn't have bothered building just for me o.O

As soon as my phone is off the charger, I'm flashing this, and making statistics over the next few days :good:

Thanks, Alex, you're super cool, man :good::cool:
[HTC One X] Alex-V:
hehe..now i get a red head ^ :) lol ... and its also for Grgur :)
[HTC One X] Grgur:
Alex, thank you very much. I flashed the kernel and from the first tests, no call bugs at all. This confirms my conclusion that s2w patch is the source of all evil :D.

One issue: venom tweaks crash when going to lockscreen tab. Is it because of a missing sys file which controls sw2? I will try to find it in logcat.

I will test it for some days and let you know if there are some issues.
[HTC One X] asp2010:
No call bug here, as well, but then again I had never had it.

The battery is also decent, as usual with your kernel. I will see during the following days if there is an improvement over the s2w version, because it's still too early.

Great work, Alex :good:
[HTC One X] Alex-V:
Yeah..the fc is because of the s2w thing i can upload a fixed venom tweaks if you want..i think its the same fc like i get with old s2w

Thx to both for feedback...so we must look on s2w ;)
[HTC One X] mushages:
Vpn works for like 40secs to 1min then dies
[HTC One X] trongthuan0311:
No call problem. Its so fantastic for me at ARHD 21. 0. Eelvdrything is stable
[HTC One X] mohsenking:
Sense didn't work for me as well after 3.7.3 ota update. (ViperX) and then flash Alex 1.5 test3

When I unlock the phone with ring so anything on sense didn't work !

After click to wait or close it works but next time.....
[HTC One X] D-SHEL:
Ok, finally! No call bugs, really no. Also will test incoming call later (when any calls come, lol). S2W - hell :D Only thing I missed is capacitive button brightness slider.

Thank you, Alex!

P.S. I sent logcat with Venom Tweaks lockscreen tab FC to Rich :)
[HTC One X] asp2010:
I think it's a ROM issue, not a kernel one.

It's not clear from your post if it is the case, but if you had the issue even before flashing this kernel, it's quite obvious.
[HTC One X] mohsenking:
I think so, but I have Problem with 1.5 test 3 and I have Issue with Incoming Call
[HTC One X] Alex-V:
Its nice that we know now what causes the error..next step is to find the thing in s2w sources..which is not easy for me as i did not really have problems and second is you know i m not good coder..
[HTC One X] Alex-V:
Its not a kernel problem but also not really Rom..i have also viper..i think make a clean install and you are done
[HTC One X] D-SHEL:
Not a problem, do what you want and know how to ;)

My choise is kernel without S2W and with capacitive button brightness slider support.
[HTC One X] brunoavrocha:
what's the difference betwwen old and new s2w?
[HTC One X] asp2010:
Different implementations. Some say the new one could use a bit more battery on some phones. I will test this in the following days.

Now, regarding my test of the no-s2w kernel, I'm having the same amount of wakelocks and standby battery drain as with the s2w-enabled one. I think I'll keep it one more day, 'cause I don't have time to tweak tonight, so I'll post again tomorrow evening. I'll be switching to a new ROM and trying to see if there are any differences between the new and old s2w :good:

I have to say, thanks again for you work, Alex, it's really an awesome kernel, and every day with it just proves more. I'll be sticking with it for quite some time from now on :good:
[HTC One X] vaykossil:
V3 is all fine here, just one thing

How can I change the s2w 3 buttons to 2buttons ?
[HTC One X] asp2010:
Hi! I have the non-s2w version installed atm, so I can't be sure this is the exact file, but could you try to look if there is a s2w_min_distance file in /sys/android_touch? If there is, set the value to something lower (I believe 500 is half the width of the screen, so do something like 400).
[HTC One X] Alex-V:
mmhh..i never tried (as i dont need vpn) and did not patched anything...but will have a look...
[HTC One X] Alex-V:
nice thx for helping :) :)

with kind regards
[HTC One X] vaykossil:
Thanks, but there is not such a file in that path, maybe Alex will add it in next release :thumbup:
[HTC One X] Alex-V:
so here it is:

1.5_Test3_without_s2w_with_auto-bln

(just the boot.img...modules are the same as before)

Download

http://sourceforge.net/projects/ale...boot_1.5_t3_without_s2w_with_bln.img/download

and also here hopefully the viper tweaks 3.7.3 fc fixed

(its my version for old s2w..in which fc is fixed but i did not tried it with the no s2w kernel)

this fix is from a pm of richmondo...he told me what i must change in smalli files)

Download:

http://sourceforge.net/projects/ale...s/kernels/viper_tweaks_3.7.3_fix.zip/download

[MENTION=535343]all[/MENTION]

after some days now without flashing kernel and some loading cycles battery life is again much better...i put it off at 7am now its 9 pm and with some usage i still have 80% ... :)
[HTC One X] Alex-V:
will only work with new way s2w :)
[HTC One X] asp2010:
That was gonna be my next thought :D

Thanks for this, I actually thought of asking for bln in no-s2w. I'm flashing right now :D. I hope it won't need to settle again, so it won't affect my battery test :laugh::good:

Anyway, tomorrow I'm back to s2w. Only when you don't have it do you realise how useful it actually is :D
[HTC One X] Alex-V:
the fc fix old s2w (hopefully no s2w) for viper 3.7.4

(a bit strange that i got the fc as changelog from 3.7.4 says fixed..mmhh..anyway)

Download

http://sourceforge.net/projects/ale...viper_tweaks_3.7.4_fc_fix_olds2w.zip/download

with kind regards
[HTC One X] mohsenking:
I always perform a full wipe before flashing rom , 1.5 test 3 didn't work for me I don't know why :(

tomorrow I flash 3.7.4 and the flash 3.7.4 with new s2w with auto bln again

Thanks Alex

I have 2 question :

1 - for flashing kernel (for example new s2w ) after flashing boot.img I must remove 3 other .img in ZIP modules and then flash with recovery or not ?

2 - what is FC on lock screen ?
[HTC One X] rkuijpers:
1) no, those .img you need to flash with fastboot. No need to delete the other boot.img's from the zip if you're S-On.

Recovery can't flash those img. files without S-Off anyway, only the modules included in the zip.

2) fc means force close. So it's an error you will see on display, when on your unlocking lockscreen I guess ?
[HTC One X] Sadman Khan:
Hey alex, i'm using the non-s2w 1.5 version and i must admit that i am very impressed :D i haven't had any issues so far and it is very stable..thanks man! :)

Sent from my Revolutionary Htc One X HD :D
[HTC One X] aseferfan:
just had 2 questions.. :)

1.do i directly flash zip in recovery to install modules?

2.i only take one boot.img out of the zip and flash it via fastboot right?

Edit : okay 2 is answered already...my bad :D
[HTC One X] asp2010:
1. yes, the boot.img files won't be flashed by recovery, because it's not allowed to do so by S-ON, so they'll practically be ignored.

2. yes, choose the one you want :good:
[HTC One X] Alex-V:
Nice to see that everyone help each other..that is like i want to see on xda :)
[HTC One X] asp2010:
Hi!

Just wanted to confirm on my last day without s2w I didn't notice any difference in standby drain, so all is well.

I've flashed the old s2w version from the OP and it's working flawlessly. No call bug and the battery life is great. Unfortunately, I don't think I'll have time to flash a new ROM and test all the versions this week-end, like I said I would, but I will report if I run into any issues.

Thank you again for your get kernel, Alex! :good:
[HTC One X] Alex-V:
Thx for good feedback :)
[HTC One X] axl30:
viper rom 3.7.4 with alex 1.5 test without s2w with 3.7.3fix crash in the

viper tweak menu-lockscreen:crying:
[HTC One X] asp2010:
So, Alex, what do you think this call bug is related to? The touchscreen model, the chip variant, the ROM...? It seems strange some people have it and some don't with the same settings. And then, some have it with calibration control on, others with it off...
[HTC One X] Alex-V:
Thx..as i said i made this for old s2w..will have a look
[HTC One X] Alex-V:
Yeah that's fuxxing strange..i m one of those who hardly can reproduce the incoming and don't have end call problems..will have a look to the s2w things
[HTC One X] axl30:
without 373fix crash costantly

---------- Post added at 08:08 PM ---------- Previous post was at 08:06 PM ----------

1 flash version without s2w(here is one boot.img)

2 FC= force close on vipertweak submenu lockscreen

---------- Post added at 08:18 PM ---------- Previous post was at 08:08 PM ----------

now is all ok thanks :laugh:
[HTC One X] Alex-V:
hehe great :)
[HTC One X] scatman25:
MHL does not work...phone freez :(
[HTC One X] Alex-V:
Yes i know ..i had a pm about that..will look into..i did not tried this no cable..lol
[HTC One X] joewong1991:
Same happens on trips kernel mite be with the t4 drivers I see if I can get a logcat

Log from your v1.5 kernel

https://docs.google.com/file/d/0BzI-HsxvD5kjdXFqbXRjYkoybnM/edit?usp=docslist_api
[HTC One X] Alex-V:
Wow..thx..now we know what cause this..will revert that patches...i thougt about that but i can't believe..lol
[HTC One X] joewong1991:
Tbh do you even see a difference? No games even support tegra 4 yet and I see no performance gain from it but there is something in trips kernel that is awsome for gaming been testing your kernel vs his yours is way more stable but his is scorein 4 fps more in epic citadel maybe his memory bandwidth is worth looking into
[HTC One X] Alex-V:
Yeah same thinking..i saw some posts on trips thread about to much heat...maybe i will make a test with trips in hotplug.............
[HTC One X] joewong1991:
I think that's from bad repacks I had no problems with heat only when charging and playing

Nice sounds interesting worth a test :D
[HTC One X] csec:
I updated my guide to kernel features/parameters (here). Some more features are added (Like Core Control) and some parts are updated. :cool:
[HTC One X] mohsenking:
I'm On 0.8

Versions uper than 0.8 - 1.5 didn't work for me
[HTC One X] beanbean50:
[MENTION=218102]Alex[/MENTION]

could this be added to the kernel or not :)

http://xdaforums.com/showthread.php?t=841580
[HTC One X] asp2010:
It's strange. I'm using the latest version and it's great, both for performance and battery. Never had a single issue.

Last time I checked, this was not a GB Kernel for bravo, and is says there other kernels are not affected ;)
[HTC One X] nbicho:
Hey guys, I looking for a kernel for my gf's HOX running 3.20 base, I would like the stock one only with s2w feature in it. What should I flash? I was looking on Alex's other thread, but it seems to me that it's for earlier bases...

Can someone point me in the right direction?

Thanks

Enviado do meu HTC One
[HTC One X] asp2010:
It's good for 3.20. I'm running it right now with great battery life and performance. Flash the new s2w if you want customisation options or want double tap to wake (dt2w). Otherwise, go with the old one, it may use a bit less battery :good:
[HTC One X] nbicho:
By old one, are you referring to this one?

Which one are you using?

Do you experiencing any kind of reboots?

Because she's using other kernel that have a reboot now and then and she's always nagging about it...

Enviado do meu HTC One
[HTC One X] Alex-V:
No..just use from this thread one of the 1.5 versions...

@ all not much time atm ..my wifes mother have her 60 years birthday
[HTC One X] joewong1991:
Family first pal have a good night :D
[HTC One X] D-SHEL:
Ok, a little bit of todays feedback :)

After days of testing I found test3 without S2W and with BLN rocky stable. No call bugs or any others (don't know about MHL). Only bug is that settings like BLN, NVIDIA SmartDimmer, buttons brightness etc doesn't saves after a reboot but I think it caused by test version.

P.S. I fresh installed ViperX 3.7.4 with this hotfix on this kernel and had only one FC after first boot. After - no FC's.

Thanks for attention.
[HTC One X] max_3000:
Anyone tried this with the official cm10.1 stable? How does it affect battery life/performance? (it's kinda crappy on that rom)
[HTC One X] asp2010:
Correct me if I'm wrong, but Alex's kernel is for Sense only and CM is AOSP-based. If you're feeling adventurous, though, make a backup, try it and post your results here :D

---------- Post added at 06:03 PM ---------- Previous post was at 06:02 PM ----------

I'm not using the Viper ROM, so I'll ask. How do you set your settings? They should stick if you use an init.d script regardless of the ROM, though...
[HTC One X] slebit:
Thanks for this stable and fast kernel. Using 1.5 test3 with old_s2w. Working nice so far!
[HTC One X] X46X:
Hi! Is there anyone who tell me diferrence between:

= old s2w

= old s2w with auto bln

= new s2w

= new s2w with auto bln

Thank you!
[HTC One X] asp2010:
This here is your answer:

It was just a matter of a simple search ;)
[HTC One X] blackbuffalo:
I'm on Alex V kernel v1.5 but i've one question. This kernel don't support two way call recorder? I using Call Recorder. I can recorder my call but i can't hear anythings
[HTC One X] bluehunter9:
Tried both old and new versions with auto bln and it seems that both times when I activate bln, the bln just constantly flashes even when there are no notifications. Anyone else?
[HTC One X] asp2010:
Did you clear the dalvik cache when installing? It does sometimes get stuck until you open your notification bar, but it only happened to me like 2 times in a week (it's kind of a known issue).
[HTC One X] X46X:
Another question is (because in OP is not any guide for flashing) I must flash boot.img via adb and after that I must flash kernel.zip in recovery, right? I forgot something? Thank you! This my first flash kernel on HOX, before that I have Sensation which is S-Off (so i flashed kernel just in recovery).