-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Add --root functionality for secure displays above A11
#6518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
|
Thank you for the PR. Just for my own understanding, how does it differ from #4127? There were also changes related to audio, and the package name used in |
The difference here is that I didn't touch audio handling; I'm just letting it continue with stock audio support (A11+ only) instead of trying to hack in root-enabled audio on older devices. Edit 2: I reverted |
…o include poll method Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
|
I'm setting this as a draft until we can figure out what we need to do in order to get bidirectional clipboard functionality working. Also, I'm considering adding in a check in the client implementation to detect whether |
--root functionality for secure displays above A11--root functionality for secure displays above A11
…k if root is not available or not needed Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
|
Okay, I've got it figured out for real this time; clipboard is truly bidirectional by bypassing the usual Java package checks we obey and pass while |
--root functionality for secure displays above A11--root functionality for secure displays above A11
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
Signed-off-by: Giantvince1 <giantvince1@protonmail.com>
|
Please do not put any merge commit in a pull request. Btw, you could squash all the commits from this PR into a single one here (since your current commits are just chronological changes). |
|
Sorry about that; I'm still trying to figure out getting the clipboard to work. Even using the raw Binder interface via Parcel is returning empty data on reads, and it also refuses to let me instantiate a listener, which made me resort to polling. The only thing I can think of doing to get clipboard access working is to make it a stub sub-helper that talks to the main Java process; otherwise device to PC clipboard sync will just be broken when it runs as UID 1000. |
|
After endless trial and error, I cannot get the clipboard to work bidirectionally. The only option we have is to spawn two processes in this path: one that's spawned without an |
|
Would we potentially be able to implement this in some form, or would you rather make the |
This pull request is designed to implement a new
--rootflag without affecting the original functionality of the project; I have tested it myself, and it is fully supported to the best of my knowledge. If you have any suggestions, please provide them; I know I'm not the only one that would benefit from being able to utilize root access to gain a proper secure display on devices running Android 12 or greater.