yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
Is the switch instant?

Or does it require a reboot..

Ie if I play a heavy game, I can set it to 2,then set out back to 1 after without rebooting?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
It's instant luckily, you can change anytime without reboot :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
That is pretty awesome really. Great work.

Now all we need is a widget.. Hehe
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] c19932:
Is there any way to turn off "long press home --> Google now"? I remapped long press home to taking screenshot using gravitybox, but the Google Now launch circle still pops up. I did not encounter this when I was using elementalX kernel, so I am suspecting that maybe the google now prompt is hardcoded into the kernel? Is there any way to turn that off?

Also, since I do not use double tap home to sleep, is there any way to remove that single press latency/delay?

Thank you, any input is appreciated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yep. Use ice configurator or leedroid tweak to disable double tap sleep, then it's supposed to work like ex mod where button can be remapped.

You can also do it in a script, check second post. fpf sysfs needs to be set to 1 instead of the default 2. (That's what these apps can do for you)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Actually a good idea. I switch between tweak app and game to test different levels of it, but widget would be awesome for many such settings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, videos playing like a sleeping baby for the GPU even on highest gpu boost profile only 133mhz lowest freq when showing busy value... Testing more, but a good start for my previously drafted plan... :) Adrenoboost v2 marching towards v2.1 keeping 2d load even more checked on high tweak app settings.. check screen shot watching video with gpu freq even on highest adreno boost level kept 133
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] marvi0:
Hmm great kernel fast and stable. Am about to latest build but on previous build when using ice configurator there is an option to disable pulse notification. However my notification led still flashes when I get new notifications. I have even disabled this under settings notifications but I still get notifications. The reason I always turn this off is because I get way too many notifications so it doesn't really serve much purpose for me. How do I permanently turn off the notification led please?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Pulse led is not related to that: it's about changing the default very short upper LED blinks to nicer fading pulsating notification color.

You can turn off LED only for a few types of notifications in the settings / sounds and notifications on stock rom.

If there's a demand I can add such a setting easily tho.

More people wanting such a feature, or knows a way to do it without kernel modification already? I can see some value in this, as there's really no switch for that anywhere in the system, except snooze notifications but that block them fully, out from the notification area as well
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] marvi0:
Buddy if you found some time to add that setting that will be most most appreciated cause I get too many notifications. The inbuilt switch to turn the led of is useless thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
if there will be popular demand I'll add it sometime, till then Try the LED intensity set to 20 and switch off pulse mode. It's going to be mostly unnoticeable blinking.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update - 1.5.1 -

​

Changes from 1.5.0

- Adrenoboost version 2.1 - smooth gaming, battery friendly, - further enhancements:

-- Low demand situation like 2D will stay on battery friendly frequencies on each Adrenoboost level: battery friendly video playback and browsing even meanwhile you leave the adrenoboost high levels on 2 or 3. (Level 1 remains the same battery friendly as before, so don't need to worry about this feature on default level: good gaming, and nice battery life)

-- More aggressive ramp up on Level 3 GPU boost level at high demand

DOWNLOAD 1.5.1 stable:

Normal/WWE editions (for base 1.80/1.90, non-sprint / non-verizon-locked-to-rom-1.19 installer):

https://www.androidfilehost.com/?fid=24591000424952383

SPRINT version (for base 1.80/1.90)

https://www.androidfilehost.com/?fid=24591000424952384

VERIZON version (for ROM base VZW 1.19)

https://www.androidfilehost.com/?fid=24588232905722399

Video playback / 2d now staying on low freqs on higher adrenoboost settings:

Gamebench framerate of Suicuide Squad on highest detail level and different Adrenoboost levels (off/1/2/3):

Screenshot of the game where the Framerate chart taken:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
Awesome work mate... Well done
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] duowing:
I posted in Elemental thread. I switch back and forth, but I was wondering of there's any advantage to using the PNP mod from ivicask along with your kernel and the mods you're doing with adrenoboost, or might these interfere with one another? I see how at least with EX Manager I can disable PNP. So I wasn't sure if these both work separate of one another or not
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
There's no problem with using any additional mods over this kernel as far as I've tried and noted. I'm using ivicasks and Freak07's mod as well, with or without it doesn't really matter imho. I'm not sure about disabling pnp mgr , I read in [MENTION=1792279]ivicask[/MENTION] 's thread that it's not a good thing to do along with his mod as pnp mgr is quite tied into the performance management of the system, but maybe that isn't a big deal. I'm not really counting on pnp mgr or no pnp mgr so it's up to your experience. If you have any feedback on that I'm curious. [MENTION=7203633]ElementRn[/MENTION] did some tests without pnp with some impressive results iirc, so it might even help your gaming experience in some cases
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Double post eek
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Which app do you use for the hovering cpu gpu frequencies as seen in your screenshots?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Gamebench , once I saw it on [MENTION=1144067]hamdir[/MENTION] 's screenshot and this is the best app I've seen for this purpose. Tho it's free for a period of benchmarking per month, since a few months, and it needs license to use it over that time, but [MENTION=5884381]gamebenchjake[/MENTION] was kind and gave me some credits for my XDA development and he plans on adding XDA promo code in September. It's totally understandable that gamebench is using this licensing, because it's primary audience is game developers.

But mind that [MENTION=4684315]flar2[/MENTION] is planning on adding an on screen fps counter later in dev check (probably the pro version), when, as he detailed, dev check will become root needing app as Android nougat is nearing .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
I can't see the toggle for hovering frequencies in gamebench. Where is it located? Or is it some paid feature?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Sorry I totally misunderstood your question then. So the correct answer is: It's in devcheck app pro (paid) version by flar2.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
On the first page it's mentioned : "Adrenoboost version 2.1 - smooth gaming".

Would this kernel improve performance (framerate) in games like GTA Vice City, GTA LCS or some other games?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black_Eyes:
Yes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Got devcheck app and noticed my GPU idling at 214Mhz. Its only goes to 133Mhz while scrolling.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yep. It's ok. It's working like that on stock kernel too. Actually the gpu is in idle state and showing the default value for some mysterious reason on all snapdragon 820 phones. Actually it doesn't mean it's going on that frequency, or that the governor asks for that frequency. It's actually just the gpu telling the init level freq value when it goes idle, instead of the real one where it was commanded by the governor. I could change that, but my theory is that then the gpu would lose the possibility to start at a higher level when suddenly user touches the screen or a game goes on rendering. I was discussing this with [MENTION=4684315]flar2[/MENTION] and I am still not sure if it really matters to have it lowered to show 133, would it have a real benefit. I tried both and I couldn't see pro or con a hands on difference so I stayed with stock approach in this regard.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
Okay, thats great. I suppose if I install this kernel with sideload (no TWRP), I still won`t be able to download 1.90 OTA when it comes ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
You won't be able to flash this kernel with stock recovery as it's detailed in the original post.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
I am trying to create a shortcut to change the GPU boost quickly without going into a kernel manager app.

I am using automagic, but I'm sure tasker will work also.

Does anyone know how to chage the value of /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost using a root command?

I am not a linux expert so I wouldn't know how to change that to 3 and then create another shortcut changing it back to 1.

Call it a gaming boost shortcut ;)

Even thinking of writing a short automagic flow that changes it to 3 whilst gaming an then automatically changes it back to 1 once done...

Any help would be greatly appreciated.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
echo "3" > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost

echo "1" > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
Works a treat.. thanks a million...

Have now got it set automatically to 3 on certain games and back to 1 when exiting...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
On Flar's kernel thread...

http://xdaforums.com/showpost.php?p=68095283&postcount=1391

Some patches coming up? :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
thanks for the pointer... i'll check them how they can apply.

I'm relentlessly trying to find a point in the Adreno kernel driver where I can determine if it's a complex 3d game running or a normal 2D app, but so far what i've found is not helpful (like there's a adreno_context which is being switched, but there's not enough info in kernel side to determine rendered context's complexity). I'd like to find this so adrenoboost could be totally be skipped in normal usage, and only be on while gaming.

The automation you mentioned is a great idea for this, because in userspace it can be automated based on process name...

but I'd like to see some monitoring info about rendered scene complexity that would be good enough to differentiate between those. Unfortunately I cannot see yet in kernel where this info can be extracted (tho' i'm sure it can be, just not too obvious for me).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
I really wish I could help but at the moment most of what you just said is still gobbledegook to me...

After more than ten years at XDA I am still learning about these android devices every day...

Maybe some day I can make a more sensible contribution than just creating an automagic script (which works an absolute treat btw.)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
Installed this kernel (running 1.90), downloaded Ice configurator to toggle adrenoboost, but the app crashes when I click kernel. I suppose I need root for IceConfig app?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, root is needed for that, tho adrenoboost is on by default in the kernel, on level 1. If you need more than that level you'll need root access
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ibrokemypie:
[MENTION=3088420]tbalden[/MENTION] asked in the leedroid thread, but still un answered, is there any way to disable the charging led entirely like on viper10?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
looks like you're looking for a ROM mod of Viper. I don't know of such mod on kernel side. So basically there's no kernel support for that, my tip is that it is a ROM framework side modification.

How do you find moving LED intensity to 20 in the tweak app? It should be charging with quite a low light level that might not bother you even at night.

You're the second one asking about something related, tho the other question was to make possible to disable notifcation blinks (not charging), but the idea was that setting the light so dim (20 intensity dampening) should be very similar. What's your thought?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
I've always heard Lightflow was a good suggestion for "fixes" like this but I myself, couldnt get it to work properly with the 10. Even went through the dev's personal suggestions. The saga continues.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
yes, indeed, as you said, that's first thing one tries... also i've reported it not working just at release time of 10. They said it should. But no...this led driver is so different from the m9, it's really hard to comprehend and sync it with their app I would think...

if there's really strong demand regarding two options to switch off notification blinks and to switch off single color led state, i could add it at some point, but it will be just another sysfs for the tweak app, besides the Dimming possibility with LED intensity lowering with values 0-20, where 20 is really just hard to notice if one doesn't look directly at the led
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, my idea is, to make this a simple choice.

Next cleanslate: if intensity will be set to 20, no LED light will show at all, while 19 will work as before, so no new sysfs, but using 20 will mean no light on LED at all (notifiction + charging unpresent)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update - 1.5.2 -

​

Changes

- Adrenoboost version 2.2 - smooth gaming, battery friendly, - further enhancements:

-- Corrected leveling mechanism to achieve a bit more agile freq switching on higher levels, fixing first boot value, and the idle (out of governor control) freq drop problem (freq stuck problem)

-- finally settling with 133MHz init/idle freq, does not affect real-life performance, slightly better battery life

- Security fixes: CVE-2016-2504, CVE-2016-2503 (link)

- LED mod: LED fully off - -- if intensity set to 20 on the 0 to 20 scale will turn of RGB LED fully. Use Tweak apps to achieve that, set to 20, LED will stop lighting

DOWNLOAD 1.5.2 stable:

Normal/WWE editions (for base 1.80/1.90, non-sprint / non-verizon-locked-to-rom-1.19 installer):

https://www.androidfilehost.com/?fid=24591000424953460

SPRINT version (for base 1.80/1.90)

https://www.androidfilehost.com/?fid=24591000424953459

VERIZON version (for ROM base VZW 1.19)

https://www.androidfilehost.com/?fid=24591000424953461
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TeroZ:
Some user(including me) have a performance issue that affect the smoothness of the device. Once no user interaction on the screen for a moment the gpu will lock the fps at 50, causing lag. http://xdaforums.com/htc-10/help/htc-10-varying-50-60-fps-t3435554

Would you please tell me that if this is a kernel-side thing? (With adrenoboost this problem still persists.)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Hi buddy,

Just installed the latest update, thanks for all your hard work.

For reference, I have checked on the Quadrooter app by checkpoint (app installed from play store), I still have vulnerability to the two following:

https://www.codeaurora.org/use-afte...tions-kgsl-module-cve-2016-2504-cve-2016-2503

https://www.codeaurora.org/invalid-path-check-ashmem-memory-file-cve-2016-5340

Before the update I think I was vunerable to about 3 or 4 so making progress :)

Thanks again for all your hard work!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks. I've checked this and indeed one of them is rather strange cause I applied both patches that fix the race condition vulnerability and it should be OK. One of them I got too nowI thought was not present in stock kernel but unfortunately it is. The last one it gave me as issue in quadrooter just now was not linked with 3.18 patch available in the ticket (ashmem issue) but later I'll check what can be done.:) Thanks for the feedback
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
No problem buddy, this is the great thing about community development. See an issue and have it fixed in days rather than months.

My work phone is a HTC Desire 510... That is still on kitkat so no hope of ever getting these patches!?!?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
One question. Is it possible to add the "skip track" option in a kernel ? I mean like, when you hold volume up or down button, the song changes in any music player.

So far enjoying the kernel, adrenoboost really makes the performance better, like it should have been in the first place.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LeeDroid:
Not sure this can be done at kernel level, said mod is already in several ROMs, mine included
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] marvi0:
"LED mod: LED fully off - -- if intensity set to 20 on the 0 to 20 scale will turn of RGB LED fully. Use Tweak apps to achieve that, set to 20, LED will stop lighting" donation incoming when am done work many thanks for this buddy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andy010101:
I would also like to know about this.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
As you detail, it's on ROM side, kernel didn't need extra patch to let such a ROM mod work. But on stock rom it's not possible to achieve just with kernel modification, indeed
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is this happening in specific applications or anywhere?

This can be more than just gpu as the CPU can be involved in application lagginess.

Btw 50 frames per sec is normally fluid for the eye. Above 30-40 it's hard to notice drops, human eye is for around 30fps
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andy010101:
Its not so much that the application is lagging because the phone can't handle it, its because HTC seems to have some sort of power saving feature where the display becomes locked at 50fps, but still 60Hz. It happens in all apps, the framerate will go up if you touch the screen. To test it could you or someone else running the kernel download an app called fps test which has an orange circle for an icon and report the results back?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I had a look at this, seems like its indeed related to some kind of gpu idling, probably can be mended to around 55fps with a slight tuning but I'm not sure yet. That's the max I think can be feasible without much frequency boosting. This app seems a good testing, so I'll check stuff with it. I can definitely see something cheesy is going on with the gpu driver on the 10 not just in games. Maybe they limited deliberately to seemingly good freqs and fps , but the bad thing is it really backfired and it's certainly not continuous 50fps but drops well below at some slight moments. Continuous 50fps should be fluid looking not laggy, so it's not really 50 continuously
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bud Horn:
I just tolk the test, mate... The result was 57....

/Bud

Sendt fra min HTC 10 med Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andy010101:
Thanks, I really appreciate you taking the time to look at this.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
Inbound for Tbalden fixing this 50 fps nonsense with a new upgraded kernel :)

I wonder if animations in the homescreen/settings/app screen are 60 fps, cause they should be since android lollipop version
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Well well, I tried all I could, but it seems the 50 fps thingy (or rather a kind of non consistent framerate when not touching the screen), is not as easy to fix as apparently it first seemed.

I've spent last 3 days looking a kgsl /adreno kernel gpu driver logs, and tried to fix it mainly by preventing the GPU from entering so called NAP and SLUMBER kgsl states.

But that didn't pan out well... tho in theory it is prevented, and it supposedly behaves like when the touchscreen touch event is happening and keeps GPU active, yet the Framerate is so inconsistent that I cannot call it a working patch, even if it works a bit better in some of the test runs...

Animations and all is supposedly 50-60 FPS, but what I have learnt, that the Snapdragon GPU driver is smart and keeping the drawn frames as low as it's meaningful. So when there's no changes on the screen it does not generate new frames , like when looking at a 2D image... and in that case it changes between ACTIVE / NAP/ DEEP NAP/SLUMBER and other powerstates to conserve energy.

I'd need to have another SD820 device to experiment and learn how it is tuned by other manufacturers. Seems like in 2D, HTC 10's rendering suffers from slight lags when screen is not touched.... and no matter how deep I dug into this one, no solution for that.

For what it's worth, I've created a branch on my kernel sources and committed the patch what I've done so far (very crude patch, but it was just a proof of concept, if keeping NAP/SLUMBER away helps. but it did not help consistently): https://github.com/tbalden/htc-kernel-pmewlvzw/commit/9522ddeccf950a4103005c3975dfb8e54328a3d1

I'll be away for a one week vacation soon, so most probably i'll issue a last kernel update tomorrow before the one week hiatus, with some very minor changes, and fix for a security bulletin issue I left out yet from April.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, i'm preparing for a little update before going on vacation!

Also please retweet this tweet if you can, which is about asking the official Kernel of sources from HTC for the released 1.90 update: https://twitter.com/illespal/status/764343371645259776

the sooner we have, the sooner we have custom kernels fully updated for the 1.90 base level... 1.80 kernel sources work okay, but I'm sure it would be great or even better to have 1.90 very soon :cowboy:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update - 1.5.3 -

Changes

- Security fix: CVE-2016-2059

On this change's sidenote, if you see in QuadRooter app CVE-2016-2503 and CVE-2016-5340 these seem to be false alarm as the first one's patch was applied on kernel and the second one doesn't apply on 3.18 kernel line so it doesn't need patch, as far as I see this Ashmem module. I've commented the false alarms on QuadRooter app's Playstore, and saw that others reported this as well. (Hope they fix the app, maybe they just check phone model and firmware/ROM version in these cases, or check a wrong, unpresent function.)

DOWNLOAD 1.5.3 stable:

Normal/WWE editions (for base 1.80/1.90, non-sprint / non-verizon-locked-to-rom-1.19 installer):

https://www.androidfilehost.com/?fid=24671318762848932

SPRINT version (for base 1.80/1.90)

https://www.androidfilehost.com/?fid=24671318762848930

VERIZON version (for ROM base VZW 1.19)

https://www.androidfilehost.com/?fid=24671318762848931

Also please retweet this tweet if you can, which is about asking the official Kernel of sources from HTC for the released 1.90 update: https://twitter.com/illespal/status/764343371645259776