osense, which are known to consume high amounts of CPU resources. This helps optimize battery life and enhance overall system performance.
Having a rooted OnePlus 12, I noticed executing the top command sometimes showed a constant 40-100% usage from the system_server main process. I therefore executed top -H to see what specific thread was causing the high CPU usage, and it turned out to be a thread called osense.compress, which according to the very little information I found, is a OnePlus process related to memory compression and processes management. I was able to stop the process by rebooting or killing system_server (Which of course triggered a System UI restart), but after a while, the CPU usage was back to 40-100%.
Simple, it modifies the init.rc file under /system/etc/init/hw/, commenting the lines that start the osense process. I still need some testing to be sure it's actually managing to stop the process. So far, I haven't seen it start again, and the CPU usage has been normal (Closer to 12%) when idle.
-
Installation:
- Download the latest version of the
OnePlus.12.System.Server.Modsmodule zip file from the releases section. - Open Magisk Manager and navigate to the Modules section.
- Tap Install from storage and select the
OnePlus.12.System.Server.Mods.zipfile.
- Download the latest version of the
-
Effect:
- Once installed, the module will disable resource-heavy system server threads to reduce CPU usage, helping to save battery and improve device responsiveness.
-
Further Configuration:
- No additional configuration is required after installation. The module is designed to work out of the box.
Contributions are welcome! Feel free to submit issues or pull requests.
This module is intended for use with the OnePlus 12 and may not work properly on other devices. Use it at your own risk.