-
Notifications
You must be signed in to change notification settings - Fork 458
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
pm/cmd is broken in Android 10 #354
Comments
@joshcangit |
I'm not sure if this is fixed because I can still invoke
|
@joshcangit run |
Still getting the same error after testing it.
|
After a
|
You seeing it because it was not fixed. Everything what was done is just a new script was added to termux-tools.
|
Upcoming Android 11 introduced a package visibility which restricts the access to the list of installed applications. That means no workarounds will be possible for non-root users if Android OS version >=11. For Android <=9.0 this is not needed and |
|
What if we just add |
That is planned to be added but issue is not related to it. The error is from some binder selinux denial since like Android 8 or something. I haven't been able to figure out which exactly since its not logged, may need to compile android to figure it out since android source is not being helpful to me. |
Is it possible to define a wrapper function ("decorator") that runs I've tried this function pm() {
printf '%s' "$(pm "$@" 2>&1 < /dev/null)"
} But it doesn't work |
If stuck in loop, then: function pm() {
printf '%s' "$(command pm "$@" 2>&1 < /dev/null)"
} |
Problem description
The
pm
command doesn't work.Steps to reproduce
Additional information
aarch64
10
Linux localhost 4.14.113-18242812 #1 SMP PREEMPT Fri Mar 20 18:30:04 KST 2020 aarch64 Android
samsung
SM-G973F
The text was updated successfully, but these errors were encountered: