This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: Introduce oneplus_brain_service control
Based on concepts introduced in: kerneltoast/android_kernel_google_wahoo@6ac69d0 Demon000/kernel_xiaomi_sm8150@cf07606 This provides an in-kernel mechanism to control the execution of vendor.oneplus.hardware.brain@1.0-service. Disabling this process may be useful in a variety of situations to prevent undesirable behavior when userspace expectations are not met. This alternative approach allows us to exercise control over the process without relying on ramdisk manipulation or other root-based solutions. Co-authored-by: Yaroslav Furman <yaro330@gmail.com> [@0ctobot: Rework and contextualize to handle oneplus_brain_service] Co-authored-by: Adam W. Willis <return.of.octobot@gmail.com>
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters