yashsingh1/xdaforums huggingface dataset:
[HTC One X] osama-selo:
[MENTION=1148003]lyapota[/MENTION] This is the best I got using 16 LM, I have some kernel wakelocks... Can u explain why this is happening especially the power key wakelocks
[HTC One X] DJ_Casper:
[Deleted cause]
[HTC One X] osama-selo:
This is my voltage table, I'm on variant 1 uv -75 with no problems (-100 uv stable on regular usage but sometimes random reboot occur)... Not using disable edp limit.
[HTC One X] fjlour:
The problem is with the quad 1500MHz, my phone needs 1175mV and 1150 causes the crash.
[HTC One X] bosas200:
Interactive-row or deadline for everyday use? Or you guys use other settings?
[HTC One X] fjlour:
How can I override the voltage table on boot?

Trickster mod is applying the voltage table too late, so the phone crashes before Trickster can apply the settings.
[HTC One X] -=AsteriX=-:
i am on ViperX 4.07+#17LQ everithing is good
[HTC One X] M@c|-|oR:
[MENTION=1148003]lyapota[/MENTION], mate, I was going to ask you for a while, but now - when I was starting #17 download I remember - why I can not get HOX to act as a USB flash drive (as shown in pictures in OP)?

I mean I SD card is visible, and I can access it, but not as flash drive (I don't know the exact name for it is it MTP, or UMS, or whatever).

Please advise.

EDIT: #17 LM from OP can't be open as archive. :confused:

EDIT 2: How do I turn on MENTION tag in web browser? :o
[HTC One X] lukes91:
Smartmax/row here

Sent from Somewhere Over The Rainbow...

---------- Post added at 09:55 PM ---------- Previous post was at 09:54 PM ----------

Using @ before name :)

Sent from Somewhere Over The Rainbow...
[HTC One X] M@c|-|oR:
+1 Smartmax/Row :)

[MENTION=5402011]lukes91[/MENTION] Thanks for the tip :good:
[HTC One X] lukes91:
I happily see that mentions work now ;) you're welcome mate :)

Sent from Somewhere Over The Rainbow...
[HTC One X] chewu.pg:
I had a freeze, than i set 1165 and i am rock stable, so you can compile it with 1165.
[HTC One X] M@c|-|oR:
I stand corrected for this one:

It downloaded well from Mirror site. :good:
[HTC One X] XeloOw:
Guys, I can't disable S2W and DT2W, from ADB, maybe I don't know using it (i'm sure)

Please guys tell me the correct way to do this

Thanks

I've tried :adb shell echo "0" > /sys/android_touch/s2w_allow_double_tap

and it doesnt work
[HTC One X] M@c|-|oR:
Why don't you just use root explorer and manually change the value?

That's how I am doing it.

Послато са HTC One X уз помоћ Тапатока
[HTC One X] lyapota:
Get file 54voltage from attachment, extract, correct and put into init.d

this is for variant 2 - replace with you voltage chain

The file permissions must be rwxr-xr-x (755)

Or just put after correction to kernel zip into system\etc\init.d and reflash via recovery.
[HTC One X] lukes91:
First start the shell with

adb shell

then, when shell is opened, enter

echo "0" > /sys/android_touch/s2w_allow_double_tap

Should work...

Sent from Somewhere Over The Rainbow...

---------- Post added at 11:05 PM ---------- Previous post was at 11:01 PM ----------

+1, i do the same way but with ES...
[HTC One X] lyapota:
Can you confirm its working for you too? I'll compile common version with 1165 mV for variant 1.
[HTC One X] lyapota:
Connect device via usb, pull down notification bar, tap on the "Select to change USB connection type" notification row and select in opened dialogue Disk drive - it will switch device to UMS mass storage drive. With couple seconds you must have mass storage drive connected to PC. By default virual SD card available through File transfer (MTP) connection protocol.

Some users was have problem with application PCSC.apk becouse system security. It's discussed from start of thread. One of solutions it flash modPack. Here disabled trust sertificate checker for modified system apps.
[HTC One X] M@c|-|oR:
Thank you for the reply, but what you described doesn't work for me.

I'll upload some screenshots tomorrow, to show you what I get.

Послато са HTC One X уз помоћ Тапатока
[HTC One X] lyapota:
If you have normal battery cycle, don't look to wakelocks. Wakelocks it is not evil. It's normal mechanism for prevent system from sleeping when need something to finish before. On the other side so long time power key wakelock it's not normal. It's mean you touch buttons too often or button some time was sticked. The kernel set power_key_lock wake, with the button touching, to decide it screen On key or no. Decide it system framework and system must awake without turn screen on.

Sorry my English.
[HTC One X] fjlour:
1175 should be more safe. And the difference between 1165 and 1175 is very marginal in terms of heat generation.

The more hot the cpu is, the more sensitive it is to lower voltage.

Example: if there is only 1150mV available to quad 1.5GHz then if you have your cpu at 70 degrees, at boot for example when there's a big load. Some of that voltage is being wasted into heat, so the more heat your cpu dissipates, less efficiently it will use the available voltage.
[HTC One X] fjlour:
That worked, thanks :good:
[HTC One X] high_voltage:
And mine variant 2 chip is 100% stable 4cores@1.5GHz with 1100mV. For me there should be one version with the default voltage and one with -50mV. That way everyone who have problems with the extreme UV version can use the default one (even the name "EUV" is not that bad :D).

Edit: Was on #17test1 for half a day and now will flash and test #17 LM seria. F*ck yeah! :)
[HTC One X] chewu.pg:
I ran benchmarks on 1165mv for 1,5 edp limit disabled for 20 mins and it worked perfectly
[HTC One X] lyapota:
Here's no problem with undervolted variant 2. Confirmed only one problem for variant 1 multi cpu mode on the 1.5 Ghz voltage. So it can be one common version counting this nuance.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] bosas200:
Variant 1 here. no edp limit quad 1.5Ghz with 1125mV everything stable
[HTC One X] lyapota:
Ok, if I remove unused LS seria and instead it adds flasheble zip files with corrected voltage table, at moment for variant 1, for who's have problem with EUV:) . Is it normal common decision?

Отправлено с моего HTC One X через Tapatalk
[HTC One X] osama-selo:
Sounds interesting :sly:
[HTC One X] wigankev:
Is there any way to disable DT2W?
[HTC One X] lukes91:
Sure! Read the instructions in the op :)

Sent from Somewhere Over The Rainbow...
[HTC One X] blackbuffalo:
Go to system/etc/int.d open file 55sw2wake and find this

then change value to

then reboot your device
[HTC One X] wigankev:
Thanks. I'll do that once i get back on sense rom, currently testing CM11
[HTC One X] zedrix53:
is the new version stable?like #15
[HTC One X] bosas200:
More stable and better than 15 :)
[HTC One X] kantry123:
yup..!

regards

kantry123
[HTC One X] high_voltage:
[MENTION=1148003]lyapota[/MENTION]

Looks like everything with #17(LM) is just working as it should! I am variant 2 and I use the default kernel settings today... looks like I will hit around 5h screen on(right now I am 2 hours and 10 minutes with 60% battery left... no power savers at all+kinda heavy use(like twitch streams - that's more demanding that typing, internet browsing, etc)). Yesterday I did test with disabled edp and quick oc to 520MHz(gaming governor, row). All benches + little gaming ok! No crash whatsoever, performance good, all good + nothing reset to default after benches! edp stayed off after 3dmark/antutu, turning gpu oc back to 416 worked as it should too. Looks good! Will report more tomorrow! Thanks again mate! You developed this kernel to a really good stage right now!!!
[HTC One X] bosas200:
Awesome!

Are these wakelocks ok? Should i worry about them?
[HTC One X] aleksandar.1:
[MENTION=4126040]high_voltage[/MENTION] and [MENTION=4519980]bosas200[/MENTION] Can u provide info about which rom u use and settings also?
[HTC One X] high_voltage:
Right now all kernel settings default(ondemand@1.5GHz max, noop, 3dscale off, 416MHz gpu, 1100mV for 1.5GHz) + lm seria + viperx 4.0.7

I can get good results with smartmax+row@1.3GHz max too. Will test further, but now I give it a spin with default untouched settings.
[HTC One X] bigpp85:
Haha lol oh :D
[HTC One X] lyapota:
Damn, change another time picture. Realy hard understand what you want say.

I'll fix updater script for s-off user next time. Thanks for point on it.
[HTC One X] lyapota:
Can you flash image from fastboot with clean cach from it? Just for check.
[HTC One X] bigpp85:
Will test it tomorrow...

Edit: is there a difference between the s2w script in v6 and v7 ?
[HTC One X] sheva_xan:
Hi. Just tries to flash #007 (this is my first experience of lyapota kernel prior was on Alex-V) and I've got a problem: after waking up the device using the power button screen does not respond to touches at all, so that I am unable to unlock my phone. Is this a known issue?

I am using "One X One Click" tool to flash the kernel, worked flawlessly for me before.

Otherwise my Viperx 3.0.5 rom seems to be smoother than it was before.

Thank you very for still working on improving our phones when others have been given up.
[HTC One X] Stefan0vic:
If I may ask, What are the differences between ondemand and smartmax on how they behave?
[HTC One X] high_voltage:
The difference is how cores frequency scales(also how many cores will be active for given task). Ondemand is smoother/scales faster to high freqs and drain little bit more battery while smartmax is scalling up slower, scalling down faster and is better for battery while keeping performance in good rates. I hope that gives you general idea. Cheers!
[HTC One X] smokin901:
No difference both bring it up, and give immense satisfaction after working. :silly::D
[HTC One X] p50kombi:
Hi layapota.

Any plans for implementing back light control like in Alex's kernel?

And maybe auto bln?

Thanks mate..

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[HTC One X] harry92008:
I Flashed the Kernel #007. Much better than the stock kernel. Thanks a lot Lyapota. I have one question. When i check in SETCPU i can't find the "smartmax" governer. How to get it ..anyone??
[HTC One X] donkyshot:
It's not supported yet by this kernel.
[HTC One X] harry92008:
Okay. People were talking about it so i thought it has been enabled ..:)
[HTC One X] Eiad Ajam:
excuse me how to disable double tap 2 wake ?
[HTC One X] stathis95194:
/etc/init.d/55sw2wake

echo "1" > /sys/android_touch/s2w_allow_double_tap

change "1" to "0" save and reboot
[HTC One X] freelucos:
I can not edit the file with the ES program
[HTC One X] TAGTRAUM:
Have massive wakelock on this kernel, gone by disabling Wi-Fi, but maybe there another way??? :cyclops:
[HTC One X] stathis95194:
Yes you can...Go to settings, enable root explorer, then Mount R/W and set / and /system to RW. Then you will be able to edit it.
[HTC One X] suljo94:
can't because it's not added to the kernel yet

---------- Post added 31st December 2013 at 12:02 AM ---------- Previous post was 30th December 2013 at 11:57 PM ----------

try going to settings=>data=>mobile providers and search manually for network ooperator do not set to automatic and disable gps this is a tegra 3 issue (we need a developer to fix this problem by doing this or this ) this sould fix the baseband wakelock as for the wifi wakelock use this app to set wifi off when screen is off thank me if it was helpful or you just think I am awesome

note: I am not a developer I just have programming experience and sometimes rewrite apps to suit my needs
[HTC One X] lyapota:
In #008 tomorrow.

Edit: Ups... today as for me.
[HTC One X] lyapota:
who's not sleeping yet, can stat test it with me #008
[HTC One X] bosas200:
SD v2 kernel ionelyx 17 smarmax row 1,4ghz uv -75mV
[HTC One X] arfasyrf:
hi guys. i want to try this kernel. but there is 3 different type in the first page. how do i know which one is good for me? sorry for the noob question.

edit : it's ok. already found it. gonna try it now :)
[HTC One X] lyapota:
aroma installer for #017

aroma installer for #017

image files into ZIP file by path

- kernel/lm/boot.img - LM seria (mpdecision)

- kernel/lq/boot.img - LQ seria (cpuquiet)

even if you have already installed #017, you can play with kernel options from aroma.

allow:

turn on/off S2W

S2W direction dependent

S2W three/two buttons distance

pocket protection on/off

turn on/off DT2W

DT2W only on the VK board

usb fast charge on/off

VK button low/high brightness

GPU OC 416, 484, 520

boost CPU on resume

disable EDP limitation

disable LP mode on resume

rescue voltage tables, ...

HERE and HERE

if all good with it, tomorrow i'll change download section - post #2

EDIT: today
[HTC One X] rkuijpers:
Hi Lyapota,

Thanks for your work on this wonderful kernel.

I'm very pleased with it, as it is fast, smooth and very easy on batteryjuice as well! Great work :thumbup:

Only one problem I seem to have:

Frandom isn't working, I think?

Look at these screenshots please, and tell me what you think?

Entropy drops fast and takes long time to go back up, and only to around 3500.

Normally, using Crossbreeder, entropy stays around 4000 and rarely goes down.

In these screenshots you can see the script is in place, and you can also see the frandom module is in place:

https://www.dropbox.com/sc/mconcriz751rp0c/mcxJUhbfcC

I haven't touched the installed script for frandom, and haven't moved anything by hand.

Still it looks like frandom isn't working?

Can you (or anyone else) please tell if I did something wrong here, or if something more needs to be done for frandom to work on ViperX 4.0.7?

Thanks!
[HTC One X] lyapota:
It is possible. I have not paid too much attention this question yet. Had only include frandom code to kernel sources and make script file. Hope together we finish it on the working state.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] chewu.pg:
I completely agree that this is wonderful kernel... For the first time i see 4 hours of screen on time! Now i am afraid to change my phone not to lose this battery life. And btw [MENTION=1148003]lyapota[/MENTION] i think that it would be fair, after you implement everything you want in this kernel, to compile it for AOSP so other users can see this magic ;) what do you think...
[HTC One X] lyapota:
It is possible in principle, but i do not own details that need to change in the kernel for compatibility with AOSP. As far as i know the only change settings kernel build and maybe ramdisk. If someone knows a link to an explanation of the necessary settings, i can try.
[HTC One X] audahadi:
Now much... just change to this in config

# CONFIG_SENSE_4_PLUS is not set

Then pack with cm @ other aosp ramdisk.
[HTC One X] fgth90:
Great idea this aroma installer.:good:

I tested it with LS version and now can set fastcharge, s2w and dt2w.

All is working.

Brilliant.

Best regards

Franky
[HTC One X] chihliouma:
Hi there, Ijust flash #17, and it workd great basically, but I also found that the 3 hardware LED is not working (no light at all) after resume from lockscreen. I've tried both LQ and LM version, but all the same symptom. Is that right ?
[HTC One X] Thant:
Hardware LED on the nuttons right? Change the level in 55sw2wake to 255 and they will work again. Other thing is use latest version with Aroma and set them there.
[HTC One X] chihliouma:
Yes, i am talking about 3 button led, and it doesn't relate to the level inside 55sw2wake at all because sometimes it will turn ON after a while from lockscreen, but sometimes it won't at all, and the problem is you never know when it will be ON or OFF. I flash the Aroma version and I do choose the right one I want.
[HTC One X] lesscro:
Aroma is very great solution...

i have pimped a bit look a like...

i will share with Lyapota after some test and fix...
[HTC One X] pisc3s1203:
hi lyapota, i'm using your kernel, and it's fast and stable, but i can't make ums work. every time i choose ums mode, the phone quick reboot itself, do you know why?
[HTC One X] lyapota:
Hmmm. You are sure it needs to change CONFIG_SENSE_4_PLUS ?

As i see in code, this option only add to use "MTP,UMS(mass_storage),ADB" function with USB connection.

It was not working in early thаn 4+ sense ROMs because of ICS MTP supports error, but as i know all currently ROMs - Sense,AOSP,AOKP,CM,etc... not only support this function and must use it as default since they JB or KitKat.
[HTC One X] lyapota:
May be you have fast charge enabled?
[HTC One X] pisc3s1203:
no i haven't, i don't charge with usb much so i don't turn it on :)
[HTC One X] lyapota:
Strange. Testing it now, there are no problem at all.
[HTC One X] NITRO_100:
Running your latest LM kernel on variant 0. So far no issues, everything runs perfect ;)
[HTC One X] audahadi:
Not know for sure. Never try build with that option set for aosp. But that the only config unset in my config for aosp. It didn't boot?
[HTC One X] lyapota:
I am not tried yet. Just looking source and don't understood why need to disable it. Your answer - newer build with this option confirmed my questions.

Seems it outdated rule, just need to checking.
[HTC One X] audahadi:
https://github.com/thoemy/android_kernel_htc_endeavoru/commit/25978261d78f3768dc72d2ff86e4a2c121e62dd9

To clear thing..even I missing his ;) I'm using cm config and go from there.
[HTC One X] lyapota:
>>SENSE_4_PLUS adds an additional mtp/ums/adb USB interface but that does not

>>seem to give us any additional features.

lol, too poor argument to have two config files and make two compilation process :D
[HTC One X] Golf_4711:
;(

I tried all 3 kernels LM, LS, LQ and if I switch off energiesave (1500MHz)

my device goes in a boot-loop ;(

Any ideas?

Thanks & Regards

Golf :cool:
[HTC One X] M@c|-|oR:
[MENTION=1393993]Golf_4711[/MENTION], try increasing the voltage level.
[HTC One X] lyapota:
If your CPU is variant 1, flash aroma installer with rescue voltage

option.
[HTC One X] lyapota:
Ok, remembered your Variant 2. So try upvolt only 1.5 Ghz +25 mV.

If it solve your problem, i'll add one more rescue voltage to aroma installer.

PS: very strange, you only one who have problem with var 2.
[HTC One X] oddyZR:
I have variant 1 and i have tried 1175mV and I have bootloops... :(

EDIT: LQ with default EDP is running all fine without repacked boot.img on ViperX 4.0.6
[HTC One X] rkuijpers:
Ok, I understand :)

I'm no dev, I don't even understand this code, but I tried something and this might just work, at least it looks like it's working now, as the numbers for me are way higher for random entropy...

In audahadi's thread someone posted an initd file for getting frandom to work on that kernel.

It looked a little like your initd file, but some things were different.

I only changed the other file a little so it could work on your kernel as well. I think. Maybe. :p

Again, I really don't know what I'm doing here, but it seems to work.

I first disabled your frandom initd file and put this one in.

Let me know what you think, make it better, make it work, I dunno :D

Let me see if I can add it here.

Just move it to the initd folder, and don't forget to disable 056frandom!

Here it is: https://www.dropbox.com/s/sxdxlhriy3sq9xi/01frandom

If it doesn't work or it simply can't work like this, let me know and I'll delete the link, ok?
[HTC One X] bosas200:
Variant 1 trying 1100mV so far stable
[HTC One X] blackbuffalo:
This script in your link same with lyapota but perm set difference. I changed 666 to 644 and ORIG to ORI and flash and it work like you said, thanks
[HTC One X] lyapota:
The first variant - you copy file to init.d and not set properly permission to 01frandom.

In this case you got stock google random generator.

The second variant - you set properly permission and it means the script is working.

I'm thinking you not set properly permission, because not see any difference in logic 56frandom and 01frandom except litle other realisation.

In this case my script was working and algorithm calc every random value on the fly, even it faster, give way stock pool using.
[HTC One X] lyapota:
So, after change permissions you got it working and it faster then stock?
[HTC One X] haamza21:
Hey dude,How is on screen time from viper With #16 or #17?

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] DeeZZ_NuuZZ:
Flash let it settle for 2 days and you will see how the on screen time is

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] blackbuffalo:
No, I don't see difference

PS: You are right, when i don't open app in background, it the same but when i open app, your script generator entropy more than script in link above!
[HTC One X] Thant:
[MENTION=1148003]lyapota[/MENTION] perfect kernel Variant 0 No_EDP_Limit GPU at 520 and more -75mV and now on 1500MHz I have 1112mV and the phone is cold and good. I have only one request if it posible this with Aroma is good decision but I can't disable button backlight I have option low brightness and max light but will be good if you choise low brightness to have option like GPU(choice between 484 and 520) to choice value from 0 to 255. In any case the kernel is perfect no problem for me to edit 55sw2wake if the request is so big:good:
[HTC One X] pisc3s1203:
i think i have the worst one x ever, i can't uv 50 even i'm variant 1, i can only uv to 25 :(
[HTC One X] Thant:
And default -50mV from Lyapota you have at all -75mV
[HTC One X] a.broken.star:
I am variant 0

Testing ver#17 test 1

Governor : Smartmax

Scheduler : Row

Max Freq: 1500

Min Freq : 51

Undervolted so freq tables is like this :

1 Mhz -> 725

550 Mhz -> 750

1040 Mhz -> 925

1200 Mhz -> 1000

1320 Mhz -> 1075

1360 Mhz -> 1100

1500 Mhz -> 1100

No lags , No problems. Will report battery performance later on.
[HTC One X] jeyml:
Hello,sorry for putting stupid questions,but never done this before. If i put this kernel,will i be still able to use my stock rom? And how do i know which kernel to download LS/LM/LQ?
[HTC One X] a.broken.star:
Yes, this kernel works with stock sense rom also.

Try LS/LM/LQ according to your requirements. You can find the diffrence between the three in the OP. I prefer LM though..

[Edit : I hope your phone is rooted :P ]
[HTC One X] M@c|-|oR:
It's sufficient to have unlocked bootloader for flashing kernels ;)
[HTC One X] a.broken.star:
woooppss.... i thought rooting is necessary also.. sorry...
[HTC One X] M@c|-|oR:
:)

No worries, mate. :good:
[HTC One X] chewu.pg:
Time to test it on aosp. Yeeeyyy all hail Lyapota heheh :)
[HTC One X] lyapota:
Ver 017 (renew)

Ver 017 (renew)

* undervolted -50mV for all freq table from the box

* enhanced gpu_quick_oc to three position. 0 - 416 Mhz(default), 1 - 484 Mhz, 2 - 520 Mhz

* no_edp_limit reworked and renamed to disable_edp_limit. Now applied values from init.d without losing after.

+ added gaming governor

+ compiled with linaro 4.7 Cortex A9 toolchain with appropriated compiler options

+ added frandom and erandom char devices

56frandom script replace random with frandom and urandom with erandom.

* installation via aroma installer

+ LM kernel repacked with AISP and CM ramdisks (tnx @audahadi)

Not sure it working - need check.
[HTC One X] lyapota:
Done.
[HTC One X] lyapota:
Waiting feedback... I do not have ready AOSP ROM backup.
[HTC One X] chewu.pg:
I will install cm and report back tonight late, so drink a coffee ;)
[HTC One X] high_voltage:
[MENTION=1148003]lyapota[/MENTION]

Nothing more to say. Default settings with #17 LM (variant 2, ondemand, noop, 1.5GHz@1100mV, 416MHz gpu, viperx 4.0.7, no powersaving, 3g on). A lot of viber, internet, facebook, little youtube, twitch, 2hours on 3g outside my home, auto brightness. Not bad at all mate, not bad at all.

The only strange thing is that my phone lasted screen on 42 minutes on 3% battery level! I mean it drop normally till it end up on 3% and 4 hours 53mins and then it stayed 42 more till it drop to 2%. Not a biggie, but was going to be good to be like that on higher percentage. :)