yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] andypig04:
If enable pnpmgr, echo xxxxxx > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq failed, but CPU frequency control worked correctly(echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo intellidemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo intellidemand > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo intellidemand > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor).

If disable pnpmgr (delete that file), echo xxxxxx > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq worked, but CPU frequency control didn't work correctly(Set the governor of CPU1 to intellidemand but still ondemand).

Anyone has any idea ?
[One (M7) Original Android Development] Mikanoshi:
Then your pnpmgr is broken, but you can always argue with the kernel author :laugh:

http://xdaforums.com/showthread.php?p=47864699#post47864699

Actually gpu goes to the max if gpu composition is selected in build.prop.

You can monitor cpu up_threshold while using non-3d apps and if it doesn't drop to 49, then boost is not kicking in.

I use dyn composition and gpu is really always at 200MHz in 2d.
[One (M7) Original Android Development] kazemitsui:
[MENTION=4684315]flar2[/MENTION]

Just flashed the latest firmware and touch works in 10.2 for soft keys. Just an FYI

Thanks!
[One (M7) Original Android Development] Magpir:
Where is the link for 10.2??

---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------

How do u choose different governors for each core??
[One (M7) Original Android Development] CloggieUK:
If you bothered to check a few pages back or use search...

Sent from my HTC One
[One (M7) Original Android Development] andypig04:
You just need to add one command in system/etc/init.d/99elementalx...
[One (M7) Original Android Development] GelullaBarr:
In kernel tuner and trickster mode shows me 200mhz from 531max and cpu up threshold I set it to 50, it is ok?
[One (M7) Original Android Development] Stephan_X:
I set cpu0 and cpu3 to 1728Mhz and cpu1 und cpu2 to 1134Mhz with Aroma.

After i booted my HTC one, i checked the settings with KernelTuner.

It shows me that cpu0, cpu2 and cp3 are set to 1728Mhz, only cpu1 was set correctly to

1134Mhz.

Can i set the max frequency manually?

Thanks
[One (M7) Original Android Development] GelullaBarr:
from elemntalX 10 kenrel tuner don't shows corectly freq, use trickest mode in info section or first page of kernel tuner, not in cpu section
[One (M7) Original Android Development] Mikanoshi:
Yes, almost every ROM now has a persist.hwc.mdpcomp.enable=true in build.prop, that disables gpu-only composition.
[One (M7) Original Android Development] cris.F:
10.2 works great!!!!! :D:D
[One (M7) Original Android Development] Stephan_X:
I am pretty sure that the frequency are not set correctly within the AROMA installer.
[One (M7) Original Android Development] mzebrowski13:
And what's better ?

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Original Android Development] superbellefleche:
Hamdir have shared a little tweak about that,

It greatly improves smoothness, THX Hamdir :

http://xdaforums.com/showthread.php?p=46143853#post46143853
[One (M7) Original Android Development] Mikanoshi:
Both are smooth, GPU composition makes GPU freq ramp up above 200MHz, but has less CPU usage. MDP composition doesn't touch GPU freq, but usually uses 2 cores and raises their freq higher than GPU composition. Just my observations.
[One (M7) Original Android Development] jerrylzy:
I think the conclusion of compositipn types was carried out long long ago. the suggestion is to use mdp compositionn

and using mdp does not mean not ramping up gpu.
[One (M7) Original Android Development] Mikanoshi:
Where are those graphs from?

I have my GPU@200MHz at all times in 2D.

debug.sf.hw=1
debug.composition.type=dyn
persist.hwc.mdpcomp.enable=true
[One (M7) Original Android Development] jerrylzy:
trepn profiler
[One (M7) Original Android Development] sisyphe200:
fixed hw

yeess fixed now my 3 boutons working fine.. tks
[One (M7) Original Android Development] Mikanoshi:
Well, it shows that gpu jumps to max even with persist.hwc.mdpcomp.enable=false and cpu composition set in build.prop :D Trickster doesn't have enough resolution to monitor such spikes.
[One (M7) Original Android Development] Nic2112:
Hi,

I have an interesting problem. I have GPE and the latest kernel, I plugged my phone in a wall outlet and Adroid Tuner was saying "Discharging - AC Plugged in" and the battery went down 2% over 5 minutes of being plugged in. After about 5 minutes, it switched to "Charging - AC" but I'm still losing battery and I closed all apps.

I really like Google Edition but there seems to be battery weirdness.
[One (M7) Original Android Development] Dangermous79:
I had same thing few months back and it was the charger itself changed to a different one and was perfect. I have even had it where the lead has been faulty might be worth trying that first if you have another one to hand.
[One (M7) Original Android Development] iElvis:
This seems to be an issue with KitKat. I've had problems with slow charging on my N7, though my One has been fine.
[One (M7) Original Android Development] VistaX:
If I flash this (I'm running ARHD KitKat Sense 5.5), do I have to wipe data/cache?
[One (M7) Original Android Development] Ktan188:
Only if you get stuck at 0% in the installation page
[One (M7) Original Android Development] NiGHTsC:
How's this? ViperOne3.1.0rc2+ElementalX 8.1 with AT&T One

PS. no OC
[One (M7) Original Android Development] Cristianop:
How that should be? Do u use ur phone at all ? After 13h just 30min screen on xD

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] gjlowe:
So if I flash InsertCoin and leave the stock kernel, my Tapatalk app does not get the Nexus style soft buttons. But when I install ElementalX 10.2 afterwards, I get those buttons...
[One (M7) Original Android Development] nashshafrulrezza:
It happen when you choose logo2menu..
[One (M7) Original Android Development] gjlowe:
Right, so I don't understand why this is an HTC thing and not a kernel thing... Please explain.

UPDATE: Installed latest svn of InsertCoin and then ElementalX 10.2 and no more soft buttons. OK then :)
[One (M7) Original Android Development] Thijssie909:
Hi flar, I'm on GPE with EX 9.0.1 and have a small finding. When I'm on a call, sometimes the screen turns on with a small vibrate.

I have pocket detection disabled. Can it have something to do with DT2W which is on the whole screen now?

Can we have an option to have it only on the bottom of the screen? Because it wakes quiet often... Thnx!
[One (M7) Original Android Development] Magpir:
I flashed 10.2 and disabled pnpmgr , the gpu does not seem to be moving up or down. It's always at 200 mHz. Why??
[One (M7) Original Android Development] Bellitsch89:
Can you please add 2tap to sleep for android 4.3 sense 5.5 too?

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Original Android Development] cesco73:
[MENTION=4684315]flar2[/MENTION] i love this kernel <3
[One (M7) Original Android Development] J-Hop2o6:
Coming from a GNex I like them. But since the HTC already has "hard" nav buttons (with a missing recent apps button--hopefully fixed on the HTC "Two"), no use.
[One (M7) Original Android Development] gordonpn:
I just started using DT2W and S2W yesterday, but sometimes it doesn't wake or takes multiple tries to wake the screen, is this a known thing already, or just me?
[One (M7) Original Android Development] Stephan_X:
[MENTION=4684315]flar2[/MENTION] the max CPU freq for cpu2 is set wrong in Aroma installer. It is set to 1728 even i set it to 1134.

Can i change that manually by editing init.d?
[One (M7) Original Android Development] Artc0re:
which is the default read ahead?

I changed it but forgot the default one..
[One (M7) Original Android Development] J-Hop2o6:
What's the difference between dyn(amic) and gpu for debug.composition.type? Mines is currently on gpu.
[One (M7) Original Android Development] Mikanoshi:
Who knows :) Snapdragon developers maybe... You could also ask about difference between mdp and c2p composition.

I just tried them all and kept dyn because it's smooth and has reasonable CPU and GPU utilization/battery drain while in 2D.

Someone also thinks that persist.hwc.mdpcomp.enable=true forces MDP composition anyway.
[One (M7) Original Android Development] gordonpn:
I think it's 128 in Sense and 256 in GPe, because I never changed mine and it's been like that.
[One (M7) Original Android Development] J-Hop2o6:
Thanks. Will try dyn once I flash the new ViperROM 3.5

I've heard that 2MB/3MB is good, which i'm using now. But what does R.A.B. really do? And how big of a difference is between 128/256KB vs 2MB/3MB?
[One (M7) Original Android Development] gordonpn:
I actually have no idea, but flar has suggested in the past to only use low numbers because it's better.
[One (M7) Original Android Development] iElvis:
flar explained it a while back:

IOW, bigger isn't necessarily better.
[One (M7) Original Android Development] J-Hop2o6:
Thanks you guys! I looked online awhile ago, but could never get a definitive answer. But I did see a test where the increased R.A.B. increased sd card transfer speed. Not sure if it effects anything else.
[One (M7) Original Android Development] rbrandser:
Ok, i love this kernel.

But I had to disable doubletap2sleep. It went to sleep very often when it wad not supposed to.

I also try to set individual max freq on each core but cpu 1&2 has their own will. I use perfmon to monitor. 0&3 is correct though, and since most apps only utilize those, I guess it's no problem.
[One (M7) Original Android Development] AKZam:
I second this, no loss though, swipe to sleep is awesome :)
[One (M7) Original Android Development] Magpir:
Disabling the pnpmgr does it save batrery life
[One (M7) Original Android Development] flar2:
Download:

ElementalX-m7-10.3

Changes:

-remove doubletap2sleep option

-battery saving tweaks

-fix max cpu setting
[One (M7) Original Android Development] Ktan188:
Cool, thanks a lot. What are the battery saving tweaks if you don't mind me asking?

Report: after first boot my capacitive buttons stopped working. After second reflash, it worked again.
[One (M7) Original Android Development] Johnny424:
Hey flar have you had time to take a look at tbaldens solution/fix for the three dot menu bar yet?
[One (M7) Original Android Development] nukeman239:
[MENTION=1144067]hamdir[/MENTION] has mentioned that 4.4 kernel breaks the gaming boost in this kernel. So gamers need to use his new script for better performance.
[One (M7) Original Android Development] jerrylzy:
elementalx 10.2 and later uses older version of ondemand. and there's no need to use script on elementalx. u can simply enable flar's graphics boost to achieve the same thing.
[One (M7) Original Android Development] Magpir:
So what are the battery saving tweaks
[One (M7) Original Android Development] nukeman239:
Could you help me squeeze the best battery off my phone without comprising performance? I've read about undervolting and setting different clocks for different cores on this thread but I'm unable to get a head-start.
[One (M7) Original Android Development] Magpir:
Battery is usually cool on ver 10.3
[One (M7) Original Android Development] Magpir:
In aroma under clock core 2 and 3 . Disable pnpmgr, disable graphics boost .choose run cool or coolest .
[One (M7) Original Android Development] faisaldante:
Any chance this is coming to d Google edition I'm a gamer so need a good kernel or should I just move over to sense 4.4
[One (M7) Original Android Development] cesco73:
[MENTION=4684315]flar2[/MENTION] after first boot my capacitive buttons home for visualize multitasking working, after reboot dont'work, with other kernels do not have these problems
[One (M7) Original Android Development] Magpir:
It seems to me that disabling the pnpmgr seems to save battery even though I underclocked 2 cores, the UI is still smooth If I am right gpu seems to drain battery on this phone . Cos mine is still in 200 m Hz and it's not moving
[One (M7) Original Android Development] andypig04:
Hi, flar2. Can you add what something new in ElementalX v10 to old version kernel(ElementalX 8.1 Android 4.3 and Sense 5.5)?
[One (M7) Original Android Development] peri25:
I miss pres logo long to sleep ?

---------- Post added at 11:06 AM ---------- Previous post was at 11:03 AM ----------

By 8.1
[One (M7) Original Android Development] nukeman239:
Thanks. What about Fsync? Do I leave it enabled?
[One (M7) Original Android Development] Magpir:
Can disable it too
[One (M7) Original Android Development] nukeman239:
[MENTION=4684315]flar2[/MENTION] Is the gaming boost still working as I don't see a difference when it is enabled? I tested GTA 3 with it.
[One (M7) Original Android Development] tbalden:
if i were, i would always have it enabled. :) can lead to some headaches if kernel hard reboots.

it gives you some speed (it won't sync the filesystem changes promptly) if fsync is disabled.

But since Async FS was introduced, i wouldn't bother with it tho'...
[One (M7) Original Android Development] hamdir:
its the same thing only if simple governor for the GPU is being used and they can still benefit from a performance governor script anyway ;)

i am still convinced like Jerry the KK ondemand governor should be brought back and we should use performance governor for boost

anyway my new scripts are for stock KK kernel, we need to make an EX specific version in order to use the GPU clocks
[One (M7) Original Android Development] nukeman239:
Does the gaming boost from this kernel work for you with 4.4?

Also, here is my kernel config. Is this fine for gaming and battery balance?

Core0: Stock

Core1: 1536MHz

Core2: 1536Mhz

Core3: Stock

UV: -50

GPU: 450Mhz

Thermal: Cool

PnP Manager: Disabled

Game Boost: Enabled

Screen off Max Frequency: Enabled
[One (M7) Original Android Development] sinosuke:
Sir flar2,can you make an update for ElementalX 8.1 that fixed the "Active cmdline oberflow..." I has just returned to Renovate 7 but still on lasted Hboot and very miss UV-OC,run cool :)

Sent from my HTC One
[One (M7) Original Android Development] mobileman88:
How to re-enable pnpmgr after disabling it?
[One (M7) Original Android Development] Magpir:
Reflash the kernel
[One (M7) Original Android Development] jerrylzy:
gaming boost works fine in 10.2 and 10.3, the ones with older ondemand.

well for battery I'd suggest you to enable pnpmgr and then powersaver, and leave gpu at 409mhz or 320mhz.

does the official kernel support async fs?
[One (M7) Original Android Development] nukeman239:
[MENTION=2841310]jerrylzy[/MENTION] But from what I've read pnmgr is bad for battery. Also, wouldn't underclocking the GPU lead to bad game performance.
[One (M7) Original Android Development] jerrylzy:
disabling pnpmgr = less smoothness+slightly better battery=powersaver not fully functional

I always keep powersaver on unless I wanna play rr3; it's way better than changing frequencies in an app.

u can change gpu frequency pretty easily. uc to 320mhz is very battery friendly.

no IMO will be holding a phone on games for a whole day.
[One (M7) Original Android Development] Magpir:
I share the same opinion. Without pnpmgr hi is still smooth. The only time I t may matter is if u play games. Unfortunately I don't .
[One (M7) Original Android Development] nukeman239:
Disabling pnmgr didn't slow down my phone one bit. i do a lot of heavy gaming on my phone so I am looking for a good balance between battery and gaming.
[One (M7) Original Android Development] jerrylzy:
if so, the only time when pnpmgr is effective is when you open a benchmark app I guess. but it does its magic to smoothness. if pnpmgr is disabled u can definitely feel micro stutters when continuously pressing app drawer button.

and I don't see anything pnpmgr does for gaming.

it is good to keep pnpmgr on. it has built-in optimized profiles for many apps and it helps make a fully functional powersaver: u can simply enable/disable powersaver to change your max cpu freq.

pnpmgr doesn't "speed up" ur phone either. it contributes to smoothness, the thing I love and pursue.

and according to my analysis, pefromance of 1.7g dual core is not sufficient for adreno 320 at400mhz, let alone 450mhz. if u r playing nfs17/rr3/riptide gp 2, I'd suggest you to set ur cpu0 and cpu3 to 1890 and gpu to 490; others, 1566/1242 and 400 is good enough.
[One (M7) Original Android Development] tbalden:
yes, that's how htc released the m7 defconfig
[One (M7) Original Android Development] Mikanoshi:
A little offtop :) Question to kernel makers: is there such thing as flashlight limitations while screen is off?

Because my mod that turns on flashlight on power button works only when USB is pluggied in. While on battery, flashlight is active only for 10 seconds and then it is disabled completely until you turn the screen on. It even keeps 127 value in /sys/class/leds/flashlight/brightness after switching off. Maybe kernel forces such behaviour without even notifying OS?
[One (M7) Original Android Development] Magpir:
surprisingly though it seems that gpu rendering seems to slow things down in some apps . there was a particular app i i always use . With pnpmgr enabled and it used to show micro lags and stutter. But after disabling the pnpmgr, the micro lags were gone i believe the gpu peaking and throttling may contribute to peaks in battery consumption and lags because the gpu may take over the rendering when pnpmgr enabled i am referring to everyday apps though , not games ...i have seen this penomenon on a windows based PC too . example is opera browser . it doesnt support hardware rendering thats the reason why its smooth o older computers with intel graphics accelerator becaus eit can make use of the power of cpu . since older computers video hardware card like intel accelerator are often mediocre as compared to specialized branded 1GB graphics cards

---------- Post added at 05:57 PM ---------- Previous post was at 05:50 PM ----------

pnpmgr may just be an assumption that it makes things smoother, thats is under heavy graphics intensive scenario.
[One (M7) Original Android Development] dupel:
as always supremely good kernel. Nothing to add)
[One (M7) Original Android Development] flar2:
Eventually, I'm working non stop updating kernels the last couple weeks

I don't do anything different, and I've never had this problem

It should still be there but it's not enabled by default

I'm going to work on fixing the kk ondemand. I haven't even looked at the code yet. I've been swamped with updating all my kernels the last couple weeks, I haven't done any actual development, it's all boring stuff like patching, updating installers, updating posts and fixing annoying bugs.
[One (M7) Original Android Development] alandd86:
which gaming boost apk u talking about plz ?
[One (M7) Original Android Development] gordonpn:
I think he might be talking about graphics boost.
[One (M7) Original Android Development] jerrylzy:
if u have stutters u can switch back to ex 10.1 and u'll defintely understand the need of kk ondemand and pnpmgr. I am not sure about gpu rendering, but pnpmgr does force quad core online when u r scorling in the ui. It defintely makes things smoother.
[One (M7) Original Android Development] hamdir:
looking forward to it, if you find any stock value which can boost this governor, let me know please so that I update my scripts

pretty weird how smooth it is in UI and how HTC dead on insists on ignoring gaming optimizations!
[One (M7) Original Android Development] flar2:
I just had a look at the new ondemand, and it looks like it uses two up_threshold values, neither of which are exposed in sysfs.

I'm going to test changing them sometime today, and if successfull, will adapt gboost, and perhaps expose them in sysfs for custimization
[One (M7) Original Android Development] HTC_Phone:
What font are you using?? It looks great! Sorry for the OT.

10.3 working beautifully and not sudden reboots that plagued me before!
[One (M7) Original Android Development] Magpir:
it is "wp8 wider " fonts. These are similar to the fonts found in Windows phone keyboard.

Flash in recovery

https://dl.dropboxusercontent.com/s...AHuitPFFkuzzanllN6Ss632WZ4QcaartSDsdclBR5uzOg
[One (M7) Original Android Development] alandd86:
And how !!??
[One (M7) Original Android Development] gordonpn:
Did you just spam next in kernel aroma setup?

It's an option to disable it, it's also in the description OP.

You probably left it enabled if you're this confused lol
[One (M7) Original Android Development] Nightf0x_007:
i am on ex 8.1 and viperone 4.3 updated my frimware to latest of 4.4 got active cmdline overflow error .... so can i flash 10.3 where this issue is fixed ?
[One (M7) Original Android Development] alandd86:
I left everything as default !!LOL

BTW flare..how the double tap to sleep work :D:confused:
[One (M7) Original Android Development] eyosen:
Gone to never never land, read the change log.
[One (M7) Original Android Development] alandd86:
But the option still exist in 10.3 aroma thats why i asked :p
[One (M7) Original Android Development] Tabtoub:
+1

Would be curious to know this too, it's a problem with all "flasglight on power button" tweaks in all roms.

Thanks

Sent from my Black HTC One
[One (M7) Original Android Development] peri25:
It should still be there but it's not enabled by default

how to enable this? and I still have a problem with the proximity sensor while the call, the display turns on and stays on well. The problem I have with this kernel? Not with another!!
[One (M7) Original Android Development] flar2:
Proximity works perfectly for me on sense kitkat
[One (M7) Original Android Development] peri25:
It's not a really problem, but with the teamseven kernel I not have this problem.

---------- Post added at 09:40 PM ---------- Previous post was at 09:37 PM ----------

And long pres logo to sleep? How enabled? ?
[One (M7) Original Android Development] hamdir:
Personally I've been using 10.1 and switched to performance governor in my boost scripts

But it does get quiet a bit hotter, so now I'm using 10.3

Looking forward Ur tweaks

Sigh, typical HTC catch 22 :)
[One (M7) Original Android Development] fcjan:
10.3 works perfectly on ARHD 40.3, it's much faster, cooler and battery life is about 20% better, buttons works, no black screen in TWRP after installing.. it's just perfect in every way! thank you flar2, you rock! :highfive:
[One (M7) Original Android Development] mettleh3d:
I'm getting a failed instalation 7 error installing 10.3
[One (M7) Original Android Development] Mikanoshi:
Well, the answer was found at last :) It needs a partial wakelock to stay active, will be fixed in next Sense 5 Toolbox release.

But I still think there is something in kernel that turns flashlight off during sleep, mabe some powersaving feature.
[One (M7) Original Android Development] federico rotundi:
In the previous version, v10, when i try to flash it through twrp 2.6.3.3, it stucks. But it can be flashed without a problem via twrp 2.6.3.0 . Since i'm using twrp 2.6.3.3 to flash Sense Kitkat and everytime i update boot image updates and returns to stock, i have to change the recovery so often. Does this problem remain with the latest V10.3?
[One (M7) Original Android Development] CloudTown3:
The vibration is not working on the HTC menu button. Using v 8.1 on ViperRom 3.5
[One (M7) Original Android Development] federico rotundi:
Search in the viper thread, it is said that vibration is a known problem for viper roms.
[One (M7) Original Android Development] fcjan:
delete
[One (M7) Original Android Development] sinosuke:
Just reboot into recovery again,wipe cache/davik then wait about :) 20s then install ElementalX but do not choose anything in Sleep/wake option except doubletap status bar 2 wake ( if you like ) . Work fine for me with this way :)

Sent from my HTC One
[One (M7) Original Android Development] Nekromantik:
What are the best settings for battery savings?
[One (M7) Original Android Development] sinosuke:
http://xdaforums.com/showthread.php?t=

May be this one :)

Sent from my HTC One