yashsingh1/xdaforums huggingface dataset:
[HTC One X] fgth90:
Maybe you can test this one https://play.google.com/store/apps/details?id=com.incredicontrol.ProxSensorCalibrator&hl=fr

Sometimes between different HOX or same HOX with different light (morning, night...), proximity sensor need to be fixed.

Best regards

Franck
[HTC One X] chihliouma:
Hi lyapota, I've just tested #15, and so far so good, but it seems the low freq cannot go down to 51MHz which I've preset, but the lowest one I can see is 340MHz. Is that right ?
[HTC One X] lyapota:
No, 340 most of used low freq. The Iowest 51, but cpu can't work with this freq long time and always return to 340.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] fjlour:
Does this #015 uses the Low Power Core, with mpdecision?

Also, my Frequency usage seems normal, using 51Mhz alot.
[HTC One X] fgth90:
#014 LQ is really great ! Seems to be more responsive and better battery life than LM.

Did not test LS version.

Thanks

Franck
[HTC One X] smokin901:
My observation

I get better battery life with LQ than LM. also phone temp is lot cooler with LQ version than LM.

Variant 2

max clock to 1.3

currently running Build #15

phone is responsive no SODs

only problem is with LM version phone gets hot.
[HTC One X] TAGTRAUM:
LM version good for winter, your One X will be nice heater :cyclops:
[HTC One X] lukes91:
lol :highfive:
[HTC One X] smokin901:
:good::good::good::good::good:good idea

besides you forgot one more use. it also can be used to please self when horny.

[YOUTUBE]HCtWszlMj58[/YOUTUBE]
[HTC One X] high_voltage:
Yes it does. Low power core goes up to 475MHz stock. :)
[HTC One X] Husky34:
Sorry guys a little op...il proc/cpuinfo under the line cpu variant i have 0x2 which means i have variant 0?:) i want to try some undervolting with this awersome kernel :D
[HTC One X] lyapota:
Ver #015

Ver #015

Completed LM, LQ & LS serias post #2

Changelog in OP.
[HTC One X] *elmo*:
Any chance for blnk Lyapota?
[HTC One X] osama-selo:
What does it mean "blnk"?
[HTC One X] Mr Hofs:
Think he means backlight notification.
[HTC One X] omondisingh:
I think he ment to say Blink light notification (BLN)
[HTC One X] smeejaytee:
Had this problem to phone would hang up a call when my face would touch the phone I disabled calibration control in venom tweaks seems to be ok now but I don't know how to disable it on other roms
[HTC One X] a.broken.star:
yes it happens.. i had the same problem with alex kernel also.. the problem was with the old s2w version.. the new s2w version didnt had this problem. so i used new s2w version of alex kernel and disabled dt2w as i didnt needed that. and it fixed the problem..

maybe laypota's kernel is similar to alex's old s2w kernel ?
[HTC One X] d1n0x:
"GPU 3D Scaling" option in Trickster MOD doesn't stick and resets every time you enter the app.
[HTC One X] smeejaytee:
Delete pnpmgr in system/bin fixed that problem for me and all personal settings stick
[HTC One X] lyapota:
No, this kernel with fixed s2w, but with active dt2w you can emulate double tab by cheek. Here was some requests for limite dt2w area. Seems time to do it.
[HTC One X] parkentosh:
I think pocket protection would fix this issue. :)
[HTC One X] freelucos:
For me I think is double tape posing problem!

That is to say when the phone goes out on a call, it would have the double tap is turned off! as it is not if my face touches the screen several times then he wakes up! CQFD!
[HTC One X] fjlour:
I'm patiently waiting for the gpu oc 520Mhz and the quad 1.5GHz cpu feature. It's essential for gaming. :)
[HTC One X] a.broken.star:
Yes, lyapota also confirmed that its based on the new s2w . and the dt2w is causing the problem during phone calls.
[HTC One X] suljo94:
love the kernel but there is a powerdrain caused by "baseband_xmm_power" "rx_wake" and the mediascanner btw I compared it to alex v 2.6 pa3 so it could be caused by the official sense 5 kernel files and is there a possibility to release the zImage file before you compiled it so that I could add some governors an I/O schedualers I promise not not to share your files with anyone :cowboy:
[HTC One X] high_voltage:
We all know mate and I am sure it will be here with all the other sense4+ kernels goodies(as UV, gpu oc even more, cpu oc, governors, i/o schedulers and so on). It's just the beginning of the development.

Give it a few days. All kernels at first drains a lot while caching/doing background stuffs. Cheers!
[HTC One X] suljo94:
yeah I know that the stuff between "..." is supposed to drain but the media scanner is realy bugging me tried it with rescan media but as a music junkie I don't want to be constantly starting and stoping that app When I add new music :rolleyes:
[HTC One X] high_voltage:
At first the media scanner consumes a lot(especially if you got a lot of media files), but that's normal when flashing new kernel. As I said: give it a few days till the kernel settles and finish caching, etc. ;)
[HTC One X] lyapota:
Ver 006

CHANGE LOG

Ver 006

+s2w Added pocket protection

/sys/android_touch/pocket_detect, enabled by default in 55sw2wake

+dt2w Added dead area, in points from top of screen

/sys/android_touch/s2w_double_tap_dead_area, 0 by default in 55sw2wake (whole screen with vk)

put 1780 for dt2w works only on virtual keya area

Seems s2w fully completed.
[HTC One X] suljo94:
wow I wish that everyone gave support like you :laugh:

---------- Post added at 11:00 PM ---------- Previous post was at 10:57 PM ----------

never mind 006 fixed it
[HTC One X] snebojsa:
Just flashed 006, no wifi (error in settings), on 005 was ok.
[HTC One X] high_voltage:
The LM #15 is stable, performs well+wifi is working good(connects fast and not drops etc). Too early for battery life observations as that needs atleast 2-3 days to became better. Cheers mate! The development progress is good! :)
[HTC One X] apple-part:
LQ #015 runs smooth and stable on ViperX 4.0.6 on Variant 1 CPU! :)

LM #015 is also very stable but less smooth than LQ series.

In the next days I can investigate the battery-friendlier one of the two versions.

can you or someone please describe more detailed the following 3 configurations (advantages/disadvantages when turned on/off)?

echo "1" > /sys/module/cpu_tegra/parameters/perf_early_suspend;

echo "0" > /sys/module/cpu_tegra/parameters/no_edp_limit;

#echo "0" > /sys/module/cpu_tegra/parameters/disable_lp_mode_on_resume;

many thx to lyapota!
[HTC One X] DeeZZ_NuuZZ:
Yea can confirm LQ. 15 is insanely smooth *_* really fine :)

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] oddyZR:
LM #15 on ViperX 4.0.6 Variant 1 everything seems ok! No heating in games at all on interactiv and performance govs. With stock EDP Antutu 16100, without EDP 17300.

Very good job Lyapota ;)

BTW, i have flashed without repacking...
[HTC One X] Husky34:
Flashed #15 LQ on lonelyx Rom, kernel works without problems except for sweep2wake and dt2wake that reboot my device :( I flashed the zip with philz cwm and the boot.omg via pc(on linux) anyone facing this issues?

Ps: I noticed that the UV value are pre-setted on the kernel...seems I have variant3 with 1.5gz at1.125
[HTC One X] fgth90:
Hi,

Gonna test #015 now.

On OP post 2, still indicate #014, but link is ok for #015.

Default Download section

ver #014

LS seria

stock HTC best trade hotplug

See you

Franky
[HTC One X] lesscro:
Tried #015 with Nvidia_CPU_quiet version...

Always same config but added auto-bln feature...

You know what, it work like first time i tried it on my HOx...

On X mister (latest build) and Alex-V, an hell on HoX to make it work with various mod...

Anyway about kernel, seems to be responsive... animation seems to be more smooth, visual sensation...

test with a Game... GTA SA crash always because mission is bugged "like story mission name : Uncle"... i m ored... no game on Hox, no game on XO...

i play with my smart TV... :crying:

Lyapota, kernel is very clean actually... you make a short road to give us a new kernel stuff...

i will send you a prez gift to support your work... maybe coffe is much better ?? :D
[HTC One X] freelucos:
I install the LQ version # 15 the backlight key illuminates when I plug the charger!

Is this normal?
[HTC One X] guiltyundertaker:
I'd like to give #015 a try with a repack for Viper 4.0.6, but the online repacker has been knackered for some time. Can anyone point me towards an offline repacker? Search as I might I can't seem to find one...
[HTC One X] lukes91:
search in my tutorial! http://xdaforums.com/showthread.php?t=2627995

there are the link to the tool thread and a simple guide to repack :)
[HTC One X] lyapota:
It something new. Describe bit more how it happens. Reboot when you try awake device with s2w/dt2w?

Can you post last_kmsg immediately after reboot?

Have you working backlight key brightness? I mean brightness works and problems only with vk keys light? Or brightness not work? And do you change keys in /sys/class/leds/button-backlight manually comparison to default?
[HTC One X] Husky34:
HERE you are, hope it help, i'v taken it after reboot with terminal emulator :)

i've lock the device with sweep to wake and then it doesent unlock, after pressing power button (only 1 click) it reboot..same thing with dt2w
[HTC One X] apple-part:
there is no repack needed for viperx! works without any problems.
[HTC One X] drivenby:
You should make an aosp version :D
[HTC One X] oddyZR:
Can someone tell me what does this means: "disable_lp_mode_on_resume" ?

I have LQ seria nvidia cpuquiet hotplug right now, so what should I put here, 1 or 0?
[HTC One X] apple-part:
if you enable this with 1, then your low-power core sticks at 475Mhz in standby instead of 51Mhz. This option consumes much battery and i recommend you to turn it off with 0.

---------- Post added at 08:19 PM ---------- Previous post was at 08:14 PM ----------

Here my suggested settings:

#!/system/bin/sh
# ==========================================
# init.d script for lONElyX LS/LM/LQ kernels
# ==========================================
# Created by lyapota

######S2W Configs#########
##Turn on
echo "1" > /sys/android_touch/sweep2wake;

##10 points to lock keyboard panel
echo "10" > /sys/android_touch/s2w_register_threshold;

##725points min distance to on/off screen
echo "725" > /sys/android_touch/s2w_min_distance;

##Direction dependent to right on, to left off
echo "0" > /sys/android_touch/s2w_allow_stroke;

##Enable pocket protection
echo "1" > /sys/android_touch/pocket_detect

##DoubleTap2Wake Configs##
##Turn on
echo "0" > /sys/android_touch/s2w_allow_double_tap;

##500ms between double taps
echo "250" > /sys/android_touch/s2w_double_tap_threshold;

##150ms one press
echo "150" > /sys/android_touch/s2w_double_tap_duration;

##0 points dead area
##put 1780 for dt2w works only on virtual keya area
echo "1780" > /sys/android_touch/s2w_double_tap_barrier_y;

##Fast Charge##
##Turn off by default
echo "1" > /sys/devices/platform/htc_battery/fast_charge;

##Disable CPU freq limit in early suspend mode
echo "1" > /sys/module/cpu_tegra/parameters/perf_early_suspend;

##Disable EDP limit
echo "1" > /sys/module/cpu_tegra/parameters/no_edp_limit;

##Backlight button brightness (0-255)
echo "10" > /sys/class/leds/button-backlight/button_brightness;

##Blink VK with events
echo "0" > /sys/class/leds/button-backlight/auto_bln;

#Actual anly for cpuquiet LQ seria
echo "0" > /sys/module/cpu_tegra/parameters/disable_lp_mode_on_resume;
[HTC One X] danct2005:
I installed version 15 LQ and what you recommend to use rq_stats or load_stats for battery friendly?
[HTC One X] lyapota:
As i'm promised, added short explanation at the top of post #2
[HTC One X] sheva_xan:
Have just installed kernel #015. The phone feels super smooth. So far I have noticed two flaws: Internet pass-through does not work anymore, also external card is not shown on PC while connected as MTP. Will be testing more and report later. I am on Viperx 4.0.6.
[HTC One X] lyapota:
On your decision. My deal make it possible.
[HTC One X] lyapota:
Just tested. Internet pass-through working. I am on lONLy X. What is external card? Cartrider throgh OTG?
[HTC One X] lyapota:
It's means how to called. Normally device go to suspend mode with power off and move cpu into LP mode. With resume cpu stay in LP mode and moves into G mode with governor. When you set disable_lp_mode_on_resume to 1, cpu boosted to G mode immediately on the early resume mode.
[HTC One X] DeeZZ_NuuZZ:
He meant the internal as card can't be mounted ....it's often a driver problem and Many ppl don't know how to fix it on their own :/

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] Brds7t7:
Working fine on viper here. Just unplug the phone and replug back in and it should work. Relock and unlock the phone again. And try the latest drivers version 4.10

Sent from My Calculator!
[HTC One X] sheva_xan:
When I choose Internet pass-through after couple of minutes of stugling the phone displays the following message: "Either you do not have the latest version of HTC Sync installed on your PC, or another phone is already using internet pass-through on your PC". It could be the HTC Sync Manager problem as I have updated it while switching the kernel.

As for MTP, please accept my apologies, it indeed fully works.
[HTC One X] fjlour:
In 015 setting the no EDP limit in the initd file does not work. After reboot the value goes back to 0 in the sys module can tegra file.
[HTC One X] fgth90:
+1

Another question: how can I remove the "fix for proximity sensor with not enough light". I use proximity screen off to screen off and DT2W to screen on.

Since #015, my proximity sensor does not react as usual. My hand needs to be very proach of screen to be detect.

I know I can modify this value in system, but as post from [MENTION=1928688]fjlour[/MENTION], this value return to home after reboot.

Thanks for responding

Best regards

Franky
[HTC One X] lyapota:
Ok, i'll recheck again no_edp_limit. About fix from proximity sensor, seems it no need. I'll revert it back.
[HTC One X] high_voltage:
The proximity sensor fix is turned off by default. :)

---------- Post added at 11:05 AM ---------- Previous post was at 11:04 AM ----------

Indeed, never happened to me again in the last few days so better leave it as it was for now. Cheers!
[HTC One X] lyapota:
Can some of you PM me packed full init.d dir with modified no_edp_limit?
[HTC One X] fgth90:
I'm outside but will do when I'll be back.

Thanks again

Franky
[HTC One X] fjlour:
[MENTION=1148003]lyapota[/MENTION] here's the init.d folder.
[HTC One X] fgth90:
Here's mine.

Plus modified 55sw2wake file that I put in original LQ #015.zip version before I flash it.

What I did: DL LQ version, extracted 55sw2wake file from zip, modified it, put this modified zip in original.zip, then flahed it by CWM.

What's strange:

55sw2wake programs

##Enable EDP limit echo "1" > /sys/module/cpu_tegra/parameters/no_edp_limit

BUT it keeps value "0" after reboot.

I tried also to remove command for fix proximity sensor (deleted line ##Backlight button brightness (0-255)

echo "60" > /sys/class/leds/button-backlight/button_brightness) but dunno if it's the good method.

Hope you understand what I did cause my english is so bad ;)

Thanks in advance

Franky

How stupid I am. just too much in hurry.
[HTC One X] elsworth1983:
Had a few black screens of death since I flashed #15 lq seria hopefully my kmsg will help https://docs.google.com/file/d/0BwzZ3SnQUfuubXVURlFCa3Fiem8/edit?usp=docslist_api

Try this link instead of gdrive :)

https://www.dropbox.com/s/oh53is4lxblgno5/last_kmsg.txt

Sent from my Nokia 3510
[HTC One X] Husky34:
[MENTION=1148003]lyapota[/MENTION] man, did you take a look of my kmsg? :)
[HTC One X] amibumping:
Every time I try to set GPU 3D Scaling ON on Trickstermod after some time it's OFF again, is it normal? which is the more stock value for that? on or off?

Thanks :good:
[HTC One X] DeeZZ_NuuZZ:
already known...everyone has this problem...somehow it wont stick
[HTC One X] danct2005:
I don't have this problem. GPU 3d scaling is on always.

Viperx 4.0.6 and kernel 15 LQ

---------- Post added at 03:30 PM ---------- Previous post was at 03:30 PM ----------

And always use trickster
[HTC One X] fgth90:
Again......
[HTC One X] DeeZZ_NuuZZ:
that min freq should be already fixed in #15....or what do you want to know?

---------- Post added at 02:50 PM ---------- Previous post was at 02:48 PM ----------

hm ok..... really strange that some have problems with that and some not...but i can't set it too with any app...with all it is going back to scaling off...
[HTC One X] fgth90:
Yes, really strange.

My question is: really strange that some have problems with that and some not so I wonder if trickster version won't be the source of pb...

Forget...

If you can't set it with some different apps, pb is here and not in trickster version.

Did not notice that.
[HTC One X] DeeZZ_NuuZZ:
yea tried xm kernel etc works fine there...sometimes it worked with lyapotas kernel in some version too...but forgot which...but with next kernel it was broken again :eek: ...hm
[HTC One X] fgth90:
That's it. sometimes it worked with lyapotas kernel in some version too...but forgot which...:silly::p So do I :D
[HTC One X] fjlour:
I think that the fact that pnpmgr is enabled the user no longer controls the CPU max/min and the GPU scaling, pnpmgr makes this management.

In ViperX in Venom tweaks there's an option to disable pnpmgr.
[HTC One X] lyapota:
Yep, try with disabled pocket_detect.
[HTC One X] lyapota:
No, in #015 i was change max freq, but not too hard make some thing with min freq.
[HTC One X] DeeZZ_NuuZZ:
hm okay because #15 fixed the min freq problem i never got then any problems with it...always stick at that what i choosed...only gpu scaling and maybe edp makes problems all other things are working well
[HTC One X] Husky34:
Now it work like a charm, btw it's strange, why my device behave in such a way and the other ones not?:)
[HTC One X] fgth90:
Hummm,

Thing is that no_edp_limit can't be changed without creation of .bak file which is restored after reboot. And I cannot find this created bak file:confused:

I tried to remove this file by root explorer but does not want to do that.

Tried to set its permissions but nothing to do.

How can this file be protected like that?
[HTC One X] reneftw:
How is the baseband_xmm_power wakelock on this kernel? I am now on alexv's 2.6 pa3 and it really kills my battery, I have to charge the phone 2 times a day to get to a total of 4 hrs screen on.

What version should I use for the best battery? I am on Viperx 4.0.6
[HTC One X] elsworth1983:
Have a read through the pages & if you don't know what is what choose one and flash it and let it settle for a few days & go from there

Sent from my Nokia 3510
[HTC One X] d1n0x:
To all the people having problems with min freq and 3d scaling not sticking - try deleting pnpmgr from system/bin and reboot.
[HTC One X] reneftw:
All the downloads for #15 gets me to the LQ in the name of the file I download. Is this a mistake and although it says LQ, it could be a LM version?
[HTC One X] lumar1986:
Hy,

Could you/ is it possible to post one more, stabile version of your kernel for every day use with lack of options that still have bugs for those ones that don't want to explore and adjust kernel.

I'm rooted on stock rom looking for some kernel to optimize my battery life. I'm impressed with some options in kernel, good work
[HTC One X] d1n0x:
The main problems are with s2w/dt2w and the easiest way to fix them is to delete the lines of code in 55sw2wake in /system/etc/init.d that correspond to each feature. I always delete everything to do with dt2w, since I think it's pretty useless and buggy.

Use a root browser to edit the file or do it on your pc with Notepad++ before flashing the kernel zip.
[HTC One X] Salim.Keady:
What about battery life for the LQ and LM #15...
[HTC One X] d1n0x:
Nobody is going to be able to answer that for you...

It depends on your usage and background services. Also in CPU clock, governor, UV etc...

Try it yourself for a good 4 days and make up your mind.
[HTC One X] Killer1desireZ:
Is this supposed to work on stock 4.2.2 rom? I'm new to hox and it gets stuck in airplane mode when i flash this, radio doesn't work with this kernel.
[HTC One X] drivenby:
Did you read the first post?

You need to flash the boot. Img manually and also flash the modules with the zip.
[HTC One X] Killer1desireZ:
Yes i did, didn't work... Will try again later, maybe a bad download.
[HTC One X] Eiad Ajam:
excuse me guys but why i don't have UMS software installed ? also i do't have the choice to it !
[HTC One X] d1n0x:
The apps get installed automatically when you flash the modules zip.
[HTC One X] Eiad Ajam:
ya i did flash the modules.zip i use LQ#15 :|
[HTC One X] lumar1986:
Can someone post screenshot of default CPU voltages. Thanks
[HTC One X] d1n0x:
Can't be... look in the zip if there are 2 files in /system/app called PCPS (or something like that) and some other file
[HTC One X] Eiad Ajam:
ya i found them but why when i flash them nothing happen !

why is that :(
[HTC One X] lyapota:
Отправлено с моего HTC One X через Tapatalk
[HTC One X] lyapota:
Your ROM with enabled certificates checker.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] d1n0x:
What recovery are you using? Could be a problem, I've had similar experiences with the modpack.

---------- Post added at 03:03 AM ---------- Previous post was at 03:02 AM ----------

My default voltages are all 50mV higher..
[HTC One X] athulele:
You must have cpu variant 1 or 0.

1150mV @ 1500Mhz is normal for variant 2.

Sent from my One X
[HTC One X] reneftw:
Ridiculous battery life with #15 LM. Am I the only one that has this problem? I guess baseband_xmm_power kills all my battery and I don't know what tot do about it. Viperx 4.0.6
[HTC One X] IceFe:
The back light keys do not always go off with the screen off.

Ridiculous battery life with #15 LS.

This my S2W Configs#########

#!/system/bin/sh

sleep 60

echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc

##S2W

##Turn off

echo "0" > /sys/android_touch/sweep2wake

##Enable pocket protection

##Turn off

echo "0" > /sys/android_touch/pocket_detect

##Fast Charge##

##Turn on

echo "1" > /sys/devices/platform/htc_battery/fast_charge

##Max freq

echo 1300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

##Min freq

echo 51000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

##User Cap

echo 1300000 > /sys/module/cpu_tegra/parameters/cpu_user_cap

##Governor

echo smartmax_epa > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

##I/O Scheduler

echo deadline > /sys/block/mmcblk0/queue/scheduler

##Enable HTC power save mode

##Turn off

echo 1 > /sys/htc/power_save

##Smartdimmer

##Turn on

echo 1 > /sys/devices/tegradc.0/smartdimmer/enable

##Smartdimmer aggressiveness

echo # > /sys/devices/tegradc.0/smartdimmer/aggressiveness

##CPU freq limit in early suspend mode

##Turn off

echo "0" > /sys/module/cpu_tegra/parameters/perf_early_suspend

##EDP limit

##Turn on

echo "0" > /sys/module/cpu_tegra/parameters/no_edp_limit

##Backlight button brightness (0-255)

echo "15" > /sys/class/leds/button-backlight/button_brightness

##Blink VK with events

echo "0" > /sys/class/leds/button-backlight/auto_bln

##Actual only for cpuquiet LQ seria

#echo "0" > /sys/module/cpu_tegra/parameters/disable_lp_mode_on_resume
[HTC One X] Eiad Ajam:
i'm using Alex modified touch recovery

http://xdaforums.com/showthread.php?t=2482376
[HTC One X] P1nGu1n_:
Now running #10, and I want to upgrade to #15. I don't know which version to choose however, LS, LM or LQ.

Does anyone have an explanation what these three mean for your battery life and performance?

Which one is the best compromise between battery and perormance? Sorry if it has been asked before, I searched the thread.
[HTC One X] lukes91:
well, i have best batttery life with mpdec, but you may try them all to decice which gives you best performances/battery life, as everyone uses his/her phone in a different way :)