Skip to content
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

Can i import profile via ADB shell #1776

Open
samuel1003 opened this issue Dec 7, 2024 · 3 comments
Open

Can i import profile via ADB shell #1776

samuel1003 opened this issue Dec 7, 2024 · 3 comments

Comments

@samuel1003
Copy link

I already have to connect, but i am needing to add profile first via ADB shell.
Is there any solution for this?

@schwabe
Copy link
Owner

schwabe commented Dec 8, 2024

you can propably do an intent to a file like with a normal API. There is also an ADIL to import profile but I never looked if you can do AIDL from adb shell. It is a debug shell, so I never thought of a need to automate profile via that. All "proper" needs for automations can already be done via the MDM (restricitons) API or via another app (AIDL).

@samuel1003
Copy link
Author

you can propably do an intent to a file like with a normal API. There is also an ADIL to import profile but I never looked if you can do AIDL from adb shell. It is a debug shell, so I never thought of a need to automate profile via that. All "proper" needs for automations can already be done via the MDM (restricitons) API or via another app (AIDL).

would you mind take a look for me and test? i didnt understand well your answer :(

@schwabe
Copy link
Owner

schwabe commented Dec 10, 2024

I don't get your use case for importing a profile from the adb shell. I am saying that all use cases should be covered. You can probably do the same stuff that other apps do also from the adb shell but I never looked into that since I never had a use case that required that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants