yashsingh1/xdaforums huggingface dataset:
[HTC One X] lyapota:
Request

I'm bit describe why and what can be wrong in test 2.

And need your help, guys with different CPU variants.

Sadly, but my device with variant 2 do not have any problems with test 1/2 with disabled no_edp_limit and setted max freq.

Ok.

The problem with wakeup from suspend(sleep on lock screen) in booting:

When device wakeup by power key(s2w too), i'm using boost CPU to max freq.

In this moment possible short kick frequence above user scaling limit - i can fix it.

Boot loops problems and problem with unlimited edp:

Up to 1.5 Ghz i'm use stock power table. That why with enabled EDP limit you have no issues. Above 1.5 Ghz i'm trying to pick up voltage. In this place me need your help.

Prepare

1. set no_edp_limit = 0 in init.d scripts.

2. set scaling_max_freq = 1500000 in init.d scripts.

Test

1. after booting set below voltage for 1.54/1.55, 1.6 Hgz

2. try set no_edp_limit = 1 manualy.

if device still works, try set max freq to 1.6 Ghz.

Post cpu variant and working voltage for you.

Voltage:

variant 1

1.6 Ghz - 1225(+-25) mv.

variant 2

1.54/1.55Ghz - 1175(+-25) mv.

1.6 Ghz - 1200(+-25) mv.

variant 3

1.54/1.55Ghz - 1150(+-25) mv.

1.6 Ghz - 1175(+-25) mv.

Thanx advance.
[HTC One X] lukes91:
sorry i haven't got 1.54/1.55 GHz freqs :confused:

edit: well, trickster says i haven't, cpu spy says i have 1.55 but is unused...
[HTC One X] lyapota:
Correct. you mast have using 1.6 Hgz.

Try low down voltage for it.
[HTC One X] lukes91:
ok, i'll test the kernel this way

1) 1.6 @ 1225

2) no_edp

3) push to 1.6

correct?
[HTC One X] a.broken.star:
Thanx a lot..

Trying #15 LM version on my viperX
[HTC One X] stathis95194:
I simply cannot make it to boot.

Installed #016t2

Changed no_edp_limit to 0

set scaling_max_freq = 1500000 in init.d scripts

Rebooted and the phone froze on lock screen.

If i go back to #015 LM everything is fine
[HTC One X] lyapota:
Yep it possible, i'm wrote about boosting. Just wait for test 3.
[HTC One X] a.broken.star:
Mine says 0. Is 0 also a cpu variant ? which test version on #16 can i try for helping out as i read test 1 is for variant 1 and test 2 is for variant 2, something like that ?

#15 is working fine on my device and now i'll stick to this kernel and help in debugging new release for sure...
[HTC One X] lukes91:
yes, 0 is a cpu variant... test 2 should adapt volts table to cpu variant... test 1 is more stable...
[HTC One X] michael-oc:
Used Test1 for two days now. It´s really, really fast and smooth! Battery life: Between 3 and 3,5 hours screen on time. I am very pleased, rock solid with no problems. Using Magio Rom 4.2.2 with default kernel settings. Tried smartmax/eps with noop/row and in terms of battery there is no difference for me while default is a bit faster.
[HTC One X] terrorblade23:
can anyone help me pls....my battery life is AWFULL i 'm using magirom + this kernel #15 and i got from 100% to 45% 1h of screen time (played 40 min of clash of clans) i know it's a game and use a lot of battery but just 40 min? battery life used it's huge:| Some advices? i have tried to use some app to set freq to 900 when i'm playing to slow down battery usage....but same problem I don't understand anymore

SORRY for my english
[HTC One X] Forsaked:
I wonder why all people think that variant 1 needs 1200mV for 1500MHz.

Im running -125mV since the first custom kernel i flashed nearly 2 years ago!
[HTC One X] high_voltage:
Gaming on our phone is like 1 minute = 1 percent battery drop(even slightly more on more demand games). Even the most moderate settings doesn't make it a lot better. Before it was little bit better, but a) the battery was new and b) back then the games didn't demand our CPU/GPU to stay all the time on max freqs/cores, but now they does as our hardware struggles to keep up with the load.
[HTC One X] Thant:
Because it is tested many times from manay peopel and some variant one SOME can UV mor then -75mv other can't and one time I have bug with trickster it is show me I uv more then 200mv and I know this is not tru:)
[HTC One X] Forsaked:
I think when Francos and Faux Kernel Apps reports the same Voltage as Trickster, it should be real!

Was just wondering cause in nearly every Kernel-Threat they are talking about -25 to -50mV for variant 1.

If you remember the ICS table wanted 1237mV for 1500MHz, since JB they reduced it to 1200mV.
[HTC One X] lesscro:
encountered heater issue during y game party yesterday... with 016 LM...

back to LQ 015 who give me very good result...
[HTC One X] p50kombi:
Hi lyapota, do you think it's possible to make a version 15 cpuquiet with swap support?

Seems like v15 is stable for most users, and I personally do like auto bln.

Thanks man, still going to try your 16 test 3 when it comes out though.

**********

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] lyapota:
UI_mv have issue with no apply changed voltage. Fixed on my side.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] lyapota:
I'm removed auto bln cause to often problems with on/off backlight for many people. Personally I'm do not have any issue, but stability on the firs place for me. Do you really use swap for kernel or just want to have this future? Asking because thinking remove swap too for backward close to #015 sources.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] p50kombi:
I use the turbo boost mod. That uses swap, doesn't it? Thanks for considering it man..

**********

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] lesscro:
i use swap too...

Mabe close #015 without swap support then try to add this in future release !

Auto BLN can be removed, finally cause issue when you have CRT screen off and some other stuff...

anyway my gift... spice up your device...
[HTC One X] lukes91:
Nice gift, lesscro! Really beautiful! :)
[HTC One X] snebojsa:
I'm on Project X Revolution v4.0, cpu variant 1.

Was on v015 LQ, now on LM version, LM seems to be little bit more snappier, with almost no chopynes in scrolling. Battery seems to be the same on both version, when don't use phone for a longer period of time, couple of hours, battery drop just couple of percentage (1%/hour), but then when i start to use the phone suddenly drop 4-5% at once, but that is the same with all kernels, at least for me. Don't have any miss-behaviour, freezes or something like that. Didn't change anything in kernel settings, just flash and use.
[HTC One X] fgth90:
Yes, really beautifull...:good:

But 2 posts of you use one page of thread :D:D:D

Just joking, no offense....

See you

Franky
[HTC One X] lukes91:
? 2 posts by me are so long? was you referring to lesscro's ones? :)
[HTC One X] fgth90:
I was...;)
[HTC One X] lukes91:
sorry, i misunderstood as you quoted me :)
[HTC One X] fgth90:
Don't have to, I commit the mistake :)
[HTC One X] zuco1989:
Same problem, Cannot unmount, It just stall at unmounting
[HTC One X] lukes91:
try this https://play.google.com/store/apps/details?id=com.skidmrk.umswatcherotg

i've not tried it with this kernel yet, but in other kernels it worked fawlessly :)
[HTC One X] fgth90:
Does it work with other kernel?
[HTC One X] lukes91:
i've had that issue with all the kernels i tried but lyapota's one (as i haven't tried yet :)) but with the app i linked before everything was fine... the only kernel i tried where the phone freezes when usb drive is connected is Alex's 2.7 (all versions)...
[HTC One X] fgth90:
Maybe just trying to untick/tick usb debugging?

It looks like a pc driver problem (to upgrade or so....)
[HTC One X] lukes91:
wait, we were talking about USB flash drives to be read by phone, so USB OTG, not UMS... no pc here, only phone and usb drives (ad maybe also mice and keyboards :))
[HTC One X] DeeZZ_NuuZZ:
flash modules and if u just flashed modules also you need the boot.img and erase cache in fastboot
[HTC One X] lyapota:
No, something wrong. Links temporary removed.
[HTC One X] DeeZZ_NuuZZ:
oh ok .... ah yea also a question...i use your rom and your kernel ...problem is if i want to use UMS it won't mount in windows ...i also re-installed a necessary drivers...but it isn't able to mount...but MTP is still on...
[HTC One X] Stefan0vic:
Fixed thr media battery problem :) but now no longer receiving notifications unless I open the app itself.

For instance when I open whatsapp I get all the messages of the previous day that haven't been received yet in sleep mode
[HTC One X] suljo94:
[/COLOR]

are you using greenify or something and which rom are you on

edit: could the reason be that you had no wifi connection?
[HTC One X] lyapota:
Ok, link restored. Sorry for this. Who is downloaded #006 before this post, please redownload new one and reflesh.
[HTC One X] lyapota:
In #006 dt2w dead area setted to 1780pt. It full screen without virtual keys panel. So dt2w will work only on the vk panel.

pocket protection not works as expected, but dead are works in phone call too.
[HTC One X] Stefan0vic:
Whatsapp not greenified, wifi on and not getting notifications. On viper Rom 4.0.5 atm
[HTC One X] lyapota:
It strange... i'm use UMS mass storage under windows. But it start mounting drive only if i unlock phone. Don't know why yet.
[HTC One X] DeeZZ_NuuZZ:
now did the same what you do....lol after locking and unlocking phone it mounts it...hm really strange...will try to provide tomorrow also a logcat if you need
[HTC One X] lyapota:
What kernel version you use?
[HTC One X] suljo94:
pocket protection works pretty good here when covering the prox sensor the only swipe action that gets recognized is the one that does the screen off
[HTC One X] Stefan0vic:
005
[HTC One X] stathis95194:
lyapota i guess my request was lost in the previous posts so i'm reposting.

Can you please consider in a future version the option to be able to remove the UMS notification from the notification bar.

Also after flashing #006 i lost the Connect to PC icon. On #005 it was visible.

Thanks in advance!!
[HTC One X] lyapota:
Maybe you right, but it can do something not expected in phone call mode. So dt2w not completed and need review.
[HTC One X] suljo94:
try deleting whatsapp cache and also upgrade to new version maybe the problem fixed itself and when you flash boot.img try typing the following command fastboot erase cache
[HTC One X] Stefan0vic:
How can j delete cash? I always erase the cache. Thanks , will flash newest version! Love this kernel :)
[HTC One X] lyapota:
Not lost. I'm remember your request. It's in app, i'll return to this question after make stable kernel with stated capabilities.

Now need time break to review code and thinking.
[HTC One X] Stefan0vic:
Btw battery life is godlike with this kernel, somehow I always got 2 hrs 15 min with srock viper kernel and now I'm getting 3 1/2 to 4 hrs screen time
[HTC One X] suljo94:
if you like battery life now you wil go crazy as soon as more governors and schedualers become available
[HTC One X] fgth90:
Sorry, I took the bandwagon...

& language frontier...

Are we talking about that ? http://code.google.com/p/seek-for-android/wiki/Pcscdroid
[HTC One X] lukes91:
no worries :) i've never read about that PCSC project before...
[HTC One X] fgth90:
Now it's done :D

I saw some lines about this pb, but too many threads, can't remember where.:confused:
[HTC One X] steveman29:
Test version 16 is crashing during antutu cpu float testing at 1600 Mhz. Tried to raise the voltage to 1250 but then it won't go up more than 1500 Mhz.
[HTC One X] meat_hooligan:
GPU 520 always? Or minimum frequency 247 and is increased under load to 520?

520 492 484 380 247 - so?
[HTC One X] zuco1989:
Ok, so i tried this app and realize that superuser wasnt working so I installed super su and it worked, also I used Otg Helper app instead of this.

But it would be nice to make it work without apps if posibble
[HTC One X] lukes91:
nice! :)

i had some issues with otg helper when unmounting usb drive, so i linked the other...

yes, it would be nice to have i working whithout apps, but unfortunately it doesn't :(
[HTC One X] zuco1989:
Does anyone have problem with proximity sensor on #15, i just reflashed #14 and its all working fine but in #15 it dosent?
[HTC One X] lyapota:
LM #016 test 3

LM #016 test3

+cifs and uhid modules (auto loading disabled)

+XZ compression (now kernel compressed with xz)

+thumbee

+swap support

-reworked to stock variant button backlight - removed blink virtual key supports, button_brightness stay here.

+cpu OCed to 1.6 Ghz (max freq scale by default set to 1.5 Ghz). To get max 1.6 Ghz you mast manually set max freq scale to 1.6Ghz and disable EDP limitation.

+reworked ramdisk - removed htc ondemand gov settings, changed no_edp_limit file owner to "system", etc.

+little changed init.d/55sw2wake

+reworked min scale frequnce like in max

+compiled with linaro 4.7

* fixed not applied CPU voltage

HERE and HERE

In attachments my benchmark with this kerne.

Disabled edp limit and freq set to 1.6 Ghz, all others options leave default.
[HTC One X] lukes91:
this time everything is fine with no_edp_limit set to 0 and cpu max [MENTION=1247388]1.6[/MENTION]... nice job, [MENTION=1148003]lyapota[/MENTION]! :good::highfive:
[HTC One X] lyapota:
Previous benchmark bit not correct. Forgot to disable something in developers setting. Here true result.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] elsworth1983:
Benchmarks mean nothing to me, I just enjoy the battery life your kernel gives my hox thanks again for all your time and work you have put into giving us the community a great kernel (my opinion)

Sent from my Nokia 3510
[HTC One X] chewu.pg:
I cannot gwt u to run on 1.6 i set no_edp_limit to 1 and it wont go higher than 1.5ghz... And my antutu score is 16600 :) [MENTION=1148003]lyapota[/MENTION] can you tell me your configuration or help me with frequency scaling :D
[HTC One X] high_voltage:
tbh the real life performance of the kernel is quite good too! :)

---------- Post added at 12:26 AM ---------- Previous post was at 12:25 AM ----------

You should use trickster mod(playstore) to set up the max frequency and other parameters like governors/3d scalling and so on. :)
[HTC One X] chewu.pg:
I do use trickster but no help.
[HTC One X] mido.fayad:
[MENTION=1148003]lyapota[/MENTION]

Can u please provide us with LQ version as it makes the device very very cool without overheating at all and smooth :)

tested the latest version test3 and still bootloob after disablind edp_limit :(
[HTC One X] fjlour:
After setting the initd file with my settings, such as no EDP limit and the 1600 max, after reboot the edp is not changed and about the cpu max freq is applied in the file correctly, when setting trickster to 1600 and editing the edp file to 1, max frequency is only 1500 on all cores.
[HTC One X] stathis95194:
init.d values don't stick for for neither for no_edp_limit nor for max cpu 1600. If i apply the change manually and set no_edp_limit to 1 and change max freq from trickster to 1600 then i get the desired result and all for cores max to 1600.

Of course with every restart of the phone we need to re-apply the changes.
[HTC One X] chihliouma:
It's very strange for me because even I config the max freq at 1600 with Trikersmod, the max freq Ican reach is always at 1400. Any idea ?
[HTC One X] stathis95194:
Did you change this to 1?

/sys/module/cpu_tegra/parameters/no_edp_limit

Not from init.d as it seems not to be working, but straight open that file and change the value to 1
[HTC One X] chihliouma:
Ya, but it will return back to 0 after re-boot. and lock my max freq at 1400. I give up and reurn back to #15.
[HTC One X] stathis95194:
So i've been running #016b3 since last night and it's running very stable.

I'm variant 3 OC at 1600 and UV -25

no_edp_limit doesn't stick after reboot and reverts to 0

If changed manually everything works fine and all 4 cores clock at 1600

Battery is normal for my use.

Swap is working fine.
[HTC One X] chewu.pg:
Strange... Than i cant think of a reason why my cpu wont go beyond 1.5ghz... I set no edp limit to 1 and max freq to 1600000...i am out of ideas. I am on variant 1.
[HTC One X] lyapota:
Look at /sys/module/cpu_tegra/parameters/cpu_user_cap

Отправлено с моего HTC One X через Tapatalk
[HTC One X] chewu.pg:
Its 1600000. Thats ok i suppose

---------- Post added at 10:35 AM ---------- Previous post was at 10:25 AM ----------

Maybe try to reflash with repack... Will repacking cause problems with this kernel... I am on ARHD 33.1 btw :D. Just to mention that my phone went super smooth since i moved to this kernel. Ty so much for your work :)
[HTC One X] stathis95194:
No problem...I'm on ARHD 33.1 and i always repack
[HTC One X] Husky34:
Mmm i don't think you need 2repack..ahdr is with stock sense 5 kernel and the lyapota one is based on it :)
[HTC One X] p50kombi:
What's the cpu cap value supposed to be, as I got a 0 there.

**********

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] stathis95194:
You are probably right, but as i said i always repack just to be on the safe side and never had any problems.

Anyway from my experience the standard practice is flash without repack. If you have lags or slowdowns or reboots try with repack
[HTC One X] chewu.pg:
Repacked, reflashed but no help... Cant go over 1,5 ghz... If this can be fixed this would be an epic kernel.
[HTC One X] fjlour:
Same here,

all cpu related files, like Max Freq and cpu Cap, are 1600MHz, and EDP limit is off, but still can't go past the 1500MHz, although in Trickster I've set the 1600MHz max.

Must be locking the 1500MHz somewhere else.
[HTC One X] 3498BoyZ:
Testing latest LM beta #16

Works very good (and for me the best Kernel for Sense)
[HTC One X] infectedtr:
testing.. LM #16 beta is great now
[HTC One X] high_voltage:
LM #16 test3 running really great for now! All 4 cores @1.5GHz works just fine this time(even with UV -50mV). No reboots, etc. Will try little bit later how 1.6GHz is behaving as too much reports that the cpu won't scale to it. :)
[HTC One X] lukes91:
very nice kernel! fast, stable and cold phone! :)
[HTC One X] lyapota:
Lesscro gift magic?

Отправлено с моего HTC One X через Tapatalk
[HTC One X] p50kombi:
Yep, the cpu definitely did not seem to scale to 1.6 ghz.

**********

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] crunchyHTC:
For those who are testing #16b3, any comments on what the battery life is like? Trying to find the most battery life out of the my HOX. Cheers guys
[HTC One X] chewu.pg:
Pretty good here but cant get more than 2:20 min screen on time
[HTC One X] high_voltage:
[MENTION=1148003]lyapota[/MENTION]

1. This time no reboots with edp limit turned off and all cores @ 1.5GHz!

2. The problem with frequency reset to 1.5GHz from the set 1.3GHz is here again. Can be avoided with frequency lock on in trickster as workaround.

3. For me if 1.6GHz is set it scales to it, but the cpu is unstable even with +50mV from my stable voltage for it from other kernels. Maybe the voltage for that frequency isn't set right? Will be cool if you take a look on it.

4. Sometimes setting governor doesn't stick. Rarely, but it happened to me few times(trickster)
[HTC One X] cphkelvin:
Op, I upgraded my hboot from 1.36 to now 1.73 and I get installation error of your Rom. It says in aroma that can't recognize my phone as endeavor. Want to tried your new kernel!!!!!!! Thx
[HTC One X] lukes91:
Might be a recovery issue... Which is yours?
[HTC One X] lyapota:
Try this recovery, must works.

If it's working pls hit thanks. pquinqu did hard work for it.
[HTC One X] fgth90:
+1

edp value "1"

Trickster set on 1.6Ghz, scaling from 0.51 ti 1.5Ghz only.

Variant 1

On Demand - sio - 51Mhz - 1.6Ghz (only reach 1.5Ghz)

1.4Ghz: 1175mV

1.5Ghz: 1175mV

1.55Ghz: 1187mV

1.6Ghz: 1200mv

No reboots with edp on "1".

Best regards

Franky
[HTC One X] high_voltage:
variant 2(doesn't matter, really...)

interactive - row up to 1.6GHz

1.5GHz: 1100mV

1.55GHz: 1125mV

1.6GHz: 1150mV

Should be stable as it is with alexv kernel/xm 4.1 kernels/etc all kernels I tested except this one. Here if I put the cpu under heavy load - either freezing or shuting down. I tried with default voltage with is 1200mV for 1.6GHz 1175 for 1.55GHz and no go - same.
[HTC One X] fgth90:
Gonna try your values and report my friend.

Best regards

Franky

EDIT 01:

Hum, freezing, it seems to be too much UV, try to test higher values now.
[HTC One X] high_voltage:
I did try with 1200mV for 1.6GHz. The problem is not too much UV I can assure you(atleast for me). For me I know that even 1150mV is rock solid for that frequency. Every chip is different so I don't know what voltage is enough for yours. Cheers. :)

Worth mention that I am on sense version(viperx 4.0.6).
[HTC One X] lyapota:
Seems it gpu oc problem.

With nextversion, I'm bit lower same freq.

Отправлено с моего HTC One X через Tapatalk
[HTC One X] p50kombi:
So any idea why on some devices it does not scale to 1.6 Ghz?
[HTC One X] fgth90:
Seems you're right but your sets causes freeze on my hox.

1.5/1150 - 1.55/1162 - 1.6/1175 is ok now without reboot on Skydragon.
[HTC One X] lesscro:
@ Lyapota....

hae you read this news ?

http://xdaforums.com/showthread.php?t=2098133

i m not a dev but it seems to be interesting for optimize a bit kernel and maybe your rom... all speed up can be cool !
[HTC One X] Salim.Keady:
One x is A9 right ?
[HTC One X] lesscro:
Cortex A-9... right buddy !
[HTC One X] high_voltage:
520MHz is stable for me and it always was even with -50mV to all default uv freqs. If I keep the default UV values(1150mV for 1.5GHz) my gpu is stable even with 560-580MHz. TBH if you think to set the gpu to lower value than 520MHz so we can raise the cpu to 1.6GHz - just don't. The gpu is more obsolete than the cpu and we need more power there. :)

My chip is quite good at undervolting. 1150 for 1.5GHz is not that bad too. Also the diff in battery life isn't that big.
[HTC One X] fgth90:
Agree...

And I think I can't say it's ok for 1.6Ghz frequency cause it seems not to be active for now on test 3 version...

It's stange cause on test 1 or 2 on #016 (or maybe #015 can't remember which one), I seem to have seen this enabled 1.6Ghz frequency...
[HTC One X] lyapota:
Yep, i saw it trhread early, but my kubuntu 32 bit.

I'm not about GPU highest freq, the low and middle freq bit higher then in others kernel.
[HTC One X] lyapota:
Not, yet. I'm looking for it...
[HTC One X] Diddy555:
Hey lyapota!

I tried many versions of your kernel, but at the moment v12 mpdecision is still the best for me. Smooth, fast and good battery. Sometimes the freqs lock @ 1300 Mhz and I have to reset with trickster mod to minfreq 51Mhz. I know that is fixed in newer versions, can I fix it manually for v12?

Thanks a lot!
[HTC One X] lyapota:
The variant matters. Can cpu go over stock freq or not it's chip dependent.

But if can, that, than higher variant then less voltage must be set for it freq.

And how to high can be freq, it again chip dependent.

In stock it's look like:

725mv........................................1235mv

0---475Mhz--------------------------1500Mhz

1---475Mhz----------------------1500Mhz

2---475Mhz--------------------1500Mhz

3---475Mhz------------------1500Mhz
[HTC One X] high_voltage:
Yes and no. Yes, because if we take average from every variant we will see what you describe. And no, because there are better/worse chips in every batch and in that way some exclusions happens(like crappy variant 3 or really good variant 0, etc).

In my case my cpu is between var2 and 3. Really great UV and stable as rock up to 1624MHz. 1700MHz is troublesome for me. In that matter there is not obvious reason why in your kernel my OC won't be stable. Will wait for your next release and test it. Cheers and thanks for the development! :)
[HTC One X] fgth90:
Hello all,

Surely a noob question, but could you tell me about:

sys/devices/system/cpu/cpu0/cpufreq/ and "scaling_max_freq" file?

Its value is 1500000 on my hox

Is it the reason why on #016 test 3 all cores can only go to 1.5Ghz when edp_limit is "1" :confused:

Thanks in advance

Franky