yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] Rayekk:
No, it's just what I showed in the post, some things have been disabled, but nothing was added that was not originally there, the module is safe.
[OnePlus 9 Pro] Kenkool12:
I'm using chrome and 112 with this module installed.
[OnePlus 9 Pro] Dielahn:
Installing the module broke android auto for me. Had to remove to get it working again. Can anyone try it out or if its just me.
[OnePlus 9 Pro] LuK1337:
Not sure why would one bother patching services jar when you can just do "chmod 000 /sys/module/tpd/parameters/tpd_*"...

At least that'd survive OTA updates.
[OnePlus 9 Pro] Rayekk:
Yes, that actually sounds like a better idea, but how can you undo these changes? I'm not sure what command this can be done
[OnePlus 9 Pro] LuK1337:
chmod them back to whatever they were before that...or just reboot.
[OnePlus 9 Pro] samwhiteUK:
Survives an OTA but not a reboot? Lol. This sounds like a PITA
[OnePlus 9 Pro] LuK1337:
The method survives changes that OTA can potentially introduce. The way you apply it is up to you.
[OnePlus 9 Pro] Dashwood Foxe:
Could just.. disable the module, reboot, then OTA?

Normally before every major OTA, it's common practice to disable all your module Incase a conflicting module throws you into a boot loop. Sides with the current track records of timely OTAs from OnePlus, We can all agree it's about as inconsistent as waiting for the next blue moon. I'm sure a few extra steps and 2 minutes of your time won't eat into your fragging session in PUBG/Fortnite or whatever people are into these days.
[OnePlus 9 Pro] thirtythr33:
did op take down the module? (not seeing download in thread)
[OnePlus 9 Pro] fdgfgd:
Disabling TPD only solves part of the problem. If the OPPerf service is running and is able to retrieve configs from OPOnlineConfig then it'll throttle CPU core frequencies in certain apps such as Chrome.

Speedometer scores in Chrome:

Throttling: ~15-20

TPD disabled: ~70

TPD/OPPerf disabled: ~110 (Full 888 potential)
[OnePlus 9 Pro] Mar-cel:
how do you disable OPPerf ?
[OnePlus 9 Pro] fdgfgd:
Well that Magisk module did that, other way that I know of is to get rid of OPOnlineConfig
[OnePlus 9 Pro] Haunt3r:
For those that use tasker I created a TPD off and a TPD on task, you can set them as widget shortcuts on your home screen or however you want to run them. Obviously requires root.

Edit:

Added the profile for on boot TPD off event.
[OnePlus 9 Pro] thirtythr33:
so to be clear, I can use this to disable the throttling or do I also need to disable opperf (via titanium backup)?
[OnePlus 9 Pro] aNGERY:
we have to do this every time?
[OnePlus 9 Pro] Haunt3r:
According to what LuK1337 said, yes a reboot will remove the chmod on the files, which is why I mentioned the autorun at boot for tasker. I don't have a need for it to be done at boot, so I can just switch it on when I want that extra little bit of speed, or turn it off for better battery life.
[OnePlus 9 Pro] Haunt3r:
For those wanting the TDP disabled on boot, in tasker create a new profile for event>system>device boot and link the TDP off task that you imported.

Edit: I've attached a profile you can import if you don't want to set it up yourself. I think you need to make sure to import the tasks first though.
[OnePlus 9 Pro] Mar-cel:
I now get 83.3 with your profiles in Browserbench
[OnePlus 9 Pro] Haunt3r:
That's about what I get as well, better than stock, but not better than when OP perf is disabled. I haven't noticed a huge hit to battery or anything with these profiles either, but I've only been using them today, so I'll know more as the week goes on.
[OnePlus 9 Pro] Trekster:
I've been using the TDP disabled Omega kernel since it was out. Battery life is worsened but not a lot. And the phone charges so fast that it's worth the sacrifice. This means i can flash the newest kernel, run TDP disabled during the day and enable it for lower battery drain during the night.
[OnePlus 9 Pro] xxspark89xx:
@xls654 Dude, I installed your module and it fixed my connection problems - wifi (internet) would stop working after a period of time and I'd have to restart the phone in order to get it to work again.

Thank you!
[OnePlus 9 Pro] xxspark89xx:
Seems like (I'm guessing) the changes to WIFI fixed my wifi issue where my internet connection would stop even when I was still connected to my wifi. Reconnecting to my wifi wouldn't fix my issue or toggling airplane mode, only a restart would fix it. This was getting so annoying as I'd have to restart my phone multiple times a day. Now with the module installed, it works without an issue. So I think whatever was done inadvertently fixed my problem. 😅
[OnePlus 9 Pro] GHOST1010:
Anyone knows were the list of apps that are throttled is stored ?
[OnePlus 9 Pro] Burt Squirtz:
Oh man. Your module was amazing. Would you possibly reload a new one for the new 8.8 update by chance?

There's no need to remove the module bro. It works so damn well and it makes it very easy for so many users.
[OnePlus 9 Pro] Luu123:
I tried the magisk module with blu_spark and it work well!
[OnePlus 9 Pro] Burt Squirtz:
A bit of a silly question, but how exactly do you add these profiles to tasker? It's asking me for a whole bunch of choices like application, event Etc.

Does anyone know the EXACT steps to add these profiles?
[OnePlus 9 Pro] Haunt3r:
In tasker, long press on the Home icon, choose import project, and browse to the .tsk.xml file
[OnePlus 9 Pro] Burt Squirtz:
Okay this worked to install tpd off on boot. But for some reason I can't figure out how to import tpd immediately off, or tpd on. I'm a smart guy and I can't believe tasker's is this freaking hard to figure out. Those files simply won't import as it says those files don't exist. (I even put them in the projects folder in Tasker.

What's the path these two specific XML files go to? It's not device boot anymore, is it?

It's giving me this BS message when I try and import it:
[OnePlus 9 Pro] Haunt3r:
I believe you need to be on the tasks header to import the tasks.
[OnePlus 9 Pro] Burt Squirtz:
I still don't understand how to get on or off to work immediately with a shortcut. What exact steps do I need to do? I can't believe this requires an engineering degree to get to work.
[OnePlus 9 Pro] Haunt3r:
Long press on your homescreen, add widget, add tasker task (may need to reopen tasker and close it), choose the tasks you're wanting to run when you place the widget.
[OnePlus 9 Pro] Burt Squirtz:
This is excellent advice and you've been a lifesaver. Okay I got it working.

But now it keeps vibrating with it on even when I set the vibration to the absolute lowest setting. It won't stop vibrating even when I turn notifications off.
[OnePlus 9 Pro] Haunt3r:
It should only vibrate once, to notify you that the task completed.. If you don't want it to vibrate at all go into the task and delete the vibrate line, this can be done by clicking on the task>long press on vibrate>then use the scissors icon to cut it out, then click the arrow in the upper left hand corner to return to the tasks window.
[OnePlus 9 Pro] toolhas4degrees:
You can also make it a qs toggle
[OnePlus 9 Pro] Walhalla:
for those that also want to disable OPPerf again.

Based on the findings of @xls654 (digging in the oneplus-services.jar) and the idea of @LuK1337 to disable access to the tpd files of the kernel module, I created a new magisk module, after I found a build.prop variable in the code to disable OPPerf.

The module chmods the system writeable files of the tpd kernel module:

chmod 000 /sys/module/tpd/parameters/tpd_cmds
chmod 000 /sys/module/tpd/parameters/tpd_dynamic
chmod 000 /sys/module/tpd/parameters/tpd_enable
chmod 000 /sys/module/tpd/parameters/tpd_id

and sets a build.prop variable to disable OPPerf:

persist.sys.opperf.enable=false

Be informed that this module doesn't modify any system files so its universal and working on upcoming OOS versions. If you disable or uninstall the module and reboot all is reverted.

If you don't want to use a magisk module you can also set and revert the build.prop variable via terminal, but it is only read once on boot, when the OPPerf service starts, so you need to reboot after setting or removing the variable.

disable OPPerf:

su -c "setprop persist.sys.opperf.enable false"

revert:

su -c "resetprop -p --delete persist.sys.opperf.enable"
[OnePlus 9 Pro] shremi:
Well I just tried the module .... Definitely not a placebo the difference is there wondering how it will affect battery life
[OnePlus 9 Pro] massaquah:
Thank you for this module.

With this module activated and using Omega kernel (not the latest but the previous version), I get 87 points in Browserbench.

Am I missing something?
[OnePlus 9 Pro] Libra420T:
That's funny, I lose call audio when mod installed and on wifi calling....
[OnePlus 9 Pro] Mar-cel:
Warp Charge is noticeably slower with perf off
[OnePlus 9 Pro] Dashwood Foxe:
Module breaks power button locking on 8.8
[OnePlus 9 Pro] Walhalla:
Its probably better to find the JSON config and disable the optimizations there instead of disabling whole OPPerf or settle on just disabling TPD. Completely uncapped me device really gets pretty warm. 😅
[OnePlus 9 Pro] Burt Squirtz:
It doesn't at all. I'm running it without any sort of problems on 8.8 DA.

However, the caveat is that I noticed that Tasker does that. When I had my tasker profile set to what the previous poster uploaded, it borked the power button, whereas one brief click would simply bring up the power menu instead of sleeping the device.
[OnePlus 9 Pro] Bunecarera:
Please elaborate...

I notice no difference.
[OnePlus 9 Pro] Dashwood Foxe:
I'm still using the original op magisk module.
[OnePlus 9 Pro] Burt Squirtz:
Maybe a conflict from using two of those modules. Delete the original module and use the newest that was uploaded.
[OnePlus 9 Pro] Dashwood Foxe:
That did the trick. Thanks.
[OnePlus 9 Pro] GolovaRaoul:
I ran it and the speedometer gave me 40. How can I disable this command, if I want to help battery life?
[OnePlus 9 Pro] tathagatab:
Just restart the phone. This has already been asked and answered.
[OnePlus 9 Pro] galaxys:
Fyi: https://www.androidauthority.com/oneplus-performance-toggle-1648020/
[OnePlus 9 Pro] thirtythr33:
well at least they are addressing it and bringing the toggle to A12
[OnePlus 9 Pro] Libra420T:
great combo 😊 👍
[OnePlus 9 Pro] Burt Squirtz:
Could you kindly PM me or upload that GMS module you have listed right above the tpd disabler? I've been scouring the web for it and couldn't find it. Again I'm not looking for the normal GMS magisk module, but the one you're using.
[OnePlus 9 Pro] observingi:
What's the difference between Universal Doze GMS and the one you are using?

Thanks
[OnePlus 9 Pro] HessNL:
I have random crashes after this one and some games don't work at all and when I play some other games it randomly crashes so this module is no good
[OnePlus 9 Pro] Libra420T:
Either or both, gms doesn't wake up as nearly as much as it did.
[OnePlus 9 Pro] Dashwood Foxe:
Doesn't work, no ability to toggle play store to be optimized, recommend to use universal gms doze as the one made from onteneiru hasn't been updated since late 2019.
[OnePlus 9 Pro] observingi:
Thanks for the heads-up.

Anyway, notifications are broken when play services(with universal GMS Doze) is set to optimized :( especially whatsapp!
[OnePlus 9 Pro] Libra420T:
naw, not affected by this. maybe check optimizations from the apps your using.
[OnePlus 9 Pro] luckylui:
Either I'm blind or I'm blind.. where can I find the TPD module?
[OnePlus 9 Pro] brmbjn:
Are there way for unroot device
[OnePlus 9 Pro] goodburner:
I can confirm that the difference with OPPERF disable module and the Tasker profiles to disable TPD makes a HUGE difference. This is the phone I paid for. Thank you
[OnePlus 9 Pro] phr0zen:
Sorry if I'm confused. Should I use both?
[OnePlus 9 Pro] aNGERY:
I might be a blind idiot but where are you guys getting the module
[OnePlus 9 Pro] Mar-cel:
Post in thread '[Bounty) TPD App Throttling Disablement' https://xdaforums.com/t/bounty-tpd-app-throttling-disablement.4306357/post-85354181
[OnePlus 9 Pro] aNGERY:
Thanks pimp. You're a good egg
[OnePlus 9 Pro] chrmica:
Hi,

Is it possible to temp ROOT Onplus 9 Pro without unlocking bootloader and set the commands to disable OPPerf and TDP through terminal, will the changes remain on reboot or lost. Thanks
[OnePlus 9 Pro] goodburner:
there is no such thing.
[OnePlus 9 Pro] samwhiteUK:
The closest you can come is to use adb and run

adb shell pm disable com.oneplus.config

This won't disable the OPPerf, but it will remove the config for it - meaning the phone won't know what apps to limit and will run all the cores at full speed.

However, the TPD module will still be in place, and therefore thread placement will still occur (I think)
[OnePlus 9 Pro] chrmica:
Thanks for the tip will check it out
[OnePlus 9 Pro] DarkLord_OP:
I used the module and both are disabled but chrome cant seem to go past 84. So what kernel are you using and what version of OOS? Also would you mind sharing some battery stats with both disabled?
[OnePlus 9 Pro] chrmica:
tried it but fails to disable so I assume phone still needs to be rooted
[OnePlus 9 Pro] samwhiteUK:
Try

adb shell disable-user --user 0 com.oneplus.config
[OnePlus 9 Pro] chrmica:
no use its inaccessible, will leave as is it seems not possible without root
[OnePlus 9 Pro] samwhiteUK:
It's not impossible, I did it. I just obviously have the command wrong, sorry. It's

adb shell pm disable-user --user 0 com.oneplus.config

( I forgot the "pm")
[OnePlus 9 Pro] chrmica:
Thanks command worked , restarted and ran speedometer in Chrome twice and seems nothing changed got a 30 and 24 point score, will test a bit more but seems this method does not work. I also checked after restart that package was still disabled and it was.
[OnePlus 9 Pro] samwhiteUK:
Admittedly, this command will only help with clock speeds. In the case of Chrome, it's the TPD you need to disable - the TPD prevents Chrome using the prime cores, so it doesn't matter how fast they're running
[OnePlus 9 Pro] jcribbs67@gmail.com:
Which magisk module is it?
[OnePlus 9 Pro] jcribbs67@gmail.com:
Thanks
[OnePlus 9 Pro] phr0zen:
I think I remember seeing the OOS hack on another thread, but no one said what it does?

Well, either it, or a combination of it and something else borks my power button.

YMMV
[OnePlus 9 Pro] lexx.ps:
So on my own kernel I have almost all coresight features disabled and everything works just fine. Never understood why anyone should include it since it's just messing with the scheduler and other things. Also that's the only thing I don't like at oneplus.
[OnePlus 9 Pro] phr0zen:
You bringing Neuron to OP9P?
[OnePlus 9 Pro] davyleggend:
I don't have "persis.sys.opperf.enable" in my build.prop and I can't add it. What can I do?
[OnePlus 9 Pro] Ripthulhu:
Same here dude, it breaks the power button after the latest OOS update. You can't lock the screen anymore because it goes straight into the power menu
[OnePlus 9 Pro] lexx.ps:
Only for my private use since I don't like stock kernels. It will never become public due to specific reasons.
[OnePlus 9 Pro] Burt Squirtz:
I'm more than happy to be a 'private' tester ✨
[OnePlus 9 Pro] Noob9496:
This work on oneplus 8 pro?
[OnePlus 9 Pro] ps000000:
Did "App Throttling" happen in OnePlus 9 Pro Custom ROMs ?
[OnePlus 9 Pro] gwolfu:
no
[OnePlus 9 Pro] RicardoDimm:
This works great, but takes a big hit on the battery.
[OnePlus 9 Pro] Buslova:
Which is why 1+ implemented the throttle in OOS for apps that don't need full power.
[OnePlus 9 Pro] kiran8631:
I want to be a private tester
[OnePlus 9 Pro] harpin14789:
I would also like to be a private tester 😁
[OnePlus 9 Pro] Abhinav2005:
Custom ROM
[OnePlus 9 Pro] Warrkill:
How did you manage to achieve such numbers?
[OnePlus 9 Pro] Abhinav2005:
I really didn't do anything, no module,no tweaks, nothing, except it is on a custom rom(evolution x)

Even I was surprised to see such a cracked score.
[OnePlus 9 Pro] EtherealRemnant:
Has anyone by chance investigated this for ColorOS? It doesn't seem to have TPD but it's still only scoring 60-65 and toggling performance mode in settings kicks it up to 100-105. It's way more performance than OOS had stock when I tested it but it seems to affect Vivaldi, Opera, Opera GX, and Edge Beta too which means it's likely a system-wide setting somewhere.

I would honestly prefer to stick with COS because it gets faster updates and feels smoother than OOS despite the bloat it comes with but I have gone looking and I don't see TPD files when looking in a root file explorer nor do I see any apps that look like they could be related to OPPerf.
[OnePlus 9 Pro] AndyC76:
Fully stock c48, normal and then high performance mode.

91.76 vs 117, is that what's expected?
[OnePlus 9 Pro] EtherealRemnant:
That's full stock, not even a custom kernel or a custom browser? That's way higher than it should be if the TPD is at work so congrats if so.
[OnePlus 9 Pro] AndyC76:
Yup can confirm it's fully stock, no modifications at all. It's wild how much snappier/faster the phone is while playing the game "Hitman Sniper: TS" !

You can see the performance mode is activated by looking at the second screenshot, a speedometer dial appears next to the alarm clock.
[OnePlus 9 Pro] EtherealRemnant:
I don't know how you have that at stock. I just flashed back to C.48 NA and it's definitely still throttling lol.
[OnePlus 9 Pro] EtherealRemnant:
Hmm... C.48 on my OP9 has way worse than stock performance with this module:

Stock:

EDIT: Seems that TPD has been removed. I pulled up adb shell to do this manually. The files don't exist. And now disabling OPPerf actually throttles the device hard. Yikes.
[OnePlus 9 Pro] AndyC76:
It seems that the phone needs to work out when to allocate more resources to an appt

Screen shots in order

The last 2 screenshot show the first run and then the second run ( immediately after the previous)
[OnePlus 9 Pro] EtherealRemnant:
All I can say is you're very lucky. My device was idle, put in high performance, and ran it.

Absolutely pathetic.
[OnePlus 9 Pro] AndyC76:
Would you consider running 2 in a row? Meaning run it once, then immediately run it again
[OnePlus 9 Pro] EtherealRemnant:
That's what I did with the two earlier. I mean it is what it is at this point. I'll have to do some more testing when C.60 comes.
[OnePlus 9 Pro] EtherealRemnant:
I'm losing my mind with this piece of crap device. I went back to 11.2.10.10 and the module doesn't work completely either. I get around 60 with the module. Around 40 without it. At least my Geekbench single core score is not 800 anymore but ugh.

I get ~80 in Vivaldi and ~60 in Chrome, DuckDuckGo, and Opera GX, even with arter97's kernel.
[OnePlus 9 Pro] Vladgabriel3:
this is mine. op9
[OnePlus 9 Pro] Vladgabriel3:
i did a cpu throttle test and it still throttles to 80 percent.

with the flashed module
[OnePlus 9 Pro] JohnTheFarm3r:
That's called thermal throttling, not specific app throttle. And you can't disable thermal throttling, it's built in the hardware to protect it from basically frying itself. The hardware throttle is usually set up to 95 Celsius degrees.
[OnePlus 9 Pro] EtherealRemnant:
What exact software are you running? I can't get anything near that on the builds I have tried unless I use performance mode.
[OnePlus 9 Pro] EtherealRemnant:
Throttling happens way sooner than that on mobile SoCs to protect the other components in the device. You can generally see it starting to happen around 50-55C and then it crashes hard between 60-70C.

That said though, you are correct that the app throttle is different. It also only shows itself on certain apps in OOS11 and typically benchmark apps weren’t subjected to it so it’s unlikely that this app was affected either way.
[OnePlus 9 Pro] samwhiteUK:
I used to know a fair bit about this but over the last year I totally forgot about it. I'm wondering if anyone can help me out. I'm on the latest OOS 11 and the latest Arter97 kernel. In Firefox, I'm getting a score of 62 on Speedometer 2.0. I've done the chmod to the /sys/module/tpd/parameter/tpd* files, and I've used the adb command to disable opconfig. What am I doing wrong?
[OnePlus 9 Pro] JohnTheFarm3r:
It solely depends on what kind of throttling is the phone relying on. If it's software throttling (OS) then it throttles earlier, but if it's hardware-based throttling by Qualcomm then it's 95 Celsius. And SD888 for example is hitting 95 celsius a LOT of times (the X1 CPU core), so, no, it's not being throttled at 60-70 already but later. Regarding the other components, the only important component which doesn't like the heat is the battery. And OOS has battery based thermal throttling, which means, regardless at what temperatures is the SOC at, if the battery reaches about 45 Celsius, it will hard throttle both the CPU and GPU.

P.S. operating temperature of the SD888 are up to 95 celsius, and it's completely safe if the phone is hitting above 90 Celsius on the CPU or GPU. (Qualcomm data).
[OnePlus 9 Pro] EtherealRemnant:
Stock kernel + the posted Magisk module on 11.2.10.10.

I cannot find anywhere that Qualcomm discloses maximum temperatures beyond saying the operating temperature is -150C to 150C but I can't see any manufacturer letting a phone get that hot. All that heat has to go somewhere and that phone would be way to hot to handle... Literally. I know my phone isn't hitting anywhere near 95C before it starts to throttle hard. In fact I tested it yesterday and noted a huge drop at 77C and the battery was at 43C. This isn't really the appropriate thread to continue to argue that point though.
[OnePlus 9 Pro] JohnTheFarm3r:
SD888 hits 95 on daily basis under stress tools. Seems like you're not completely aware of what Hardware thermal throttling is compared to software-based thermal throttling (OS).

Also, the OnePlus 9 Pro:

Here, measured temps while playing Genshin (CPU).

Tell me now that it throttles that soon at that it doesn't hit the 95 or more.

4.5W average power consumption. Average temp. 78 Celsius degrees.
[OnePlus 9 Pro] EtherealRemnant:
Again, this isn't the thread for this discussion.
[OnePlus 9 Pro] JohnTheFarm3r:
IDC.
[OnePlus 9 Pro] bubobih:
So does anything work on amdroid 12 latest update c48. I try every module all seems same for me.
[OnePlus 9 Pro] EtherealRemnant:
No, it does not. TPD doesn't exist and when OPPerf is disabled, it actually hurts performance. OnePlus changed from a selective throttle to a universal one at some point with OOS12, you can see this by the single core Geekbench score dropping 20+/-%. A new patch will need to be found.
[OnePlus 9 Pro] Mayabee:
Can anyone please explain me ? What is work of this "tpd and opperf disable module"

And how does it work .

Thanks in advance
[OnePlus 9 Pro] EtherealRemnant:
It's a moot point as it doesn't work anymore unless you're on OOS11.
[OnePlus 9 Pro] Sergykm:
Sadly. Any solution for OOS12? I'm with magisk.
[OnePlus 9 Pro] Sergykm:
any news?
[Touch Diamond, MDA Compact IV General] kaos_king:
Is there any way to have the device auto lock once it goes into sleep mode so that i have to unlock it when i wake it up?
[Touch Diamond, MDA Compact IV General] tuem:
how about searching first? http://xdaforums.com/search.php

if you did, you would find a ton of info, like changing the registry setting for that, or using advanced config / diamondtweaks to do that or using a program like sensorlock...
[Touch Diamond, MDA Compact IV General] kaos_king:
I did search before posting this, however, it was only in the diamond section - dont know what i was thinking :confused:

Am a newbie to WM, but already have advanced config (and i did look in there but evidentally not hard enough) - found it now, so thanks for the input tuem.

I will search the full forum in future.

For reference, if anyone wants this, its in Advanced Configuration Tool under Screen >> Auto Device Lock
[Touch Diamond, MDA Compact IV General] RAF_SHC:
sensor lock

I think i know what you mean. try sensorlock. what this will do is lock your device as soon as it goes to standby or the screen is locked. hope this helps.