Send ADB Script on a device ?
- 18 October 2019
- SOTI MobiControl - Android
9 Answers- 0 Upvote
- 1 Follower
9 Answers
As far as I know, what you ask is not possible.
Raymond, thank you for your answer.
At SOTI Sync this year they showed off an updated version of Assist that touts adb access. I'm not sure if they present access to the adb logcat stream or if it will support full adb commands. Also, in the current legacy version of Remote Control there is a limited shell through which you can execute some basic commands. Unfortunately it is limited, so adb is not supported.
Hi Matt, thank you for the info and for your answer.
Hello, any update on this point ? Maybe with the version 15 ?
Many thanks.
Best regards
Hello Yoan,
I don't know your use case, but in the past I release a new operation of 200 devices and my team made the enroll proccess as a service for the customer, we prepared the device with some apps to accept remote ADB and remote shell with certificates, that was a critical operation in the customer.
https://play.google.com/store/apps/details?id=com.cgutman.androidremotedebugger&hl=pt_BR&gl=US
You can access the device with RC to configure the application if you any another out!
Let me know more information about your use case to provide a better help with this issue.
Jorge Hussni Innovation Manager Soluções & Tecnologia Gestão de Mobilidade Corporativa, Telecom & TI Rua Alvorada, 1289 conj. 404 - Vila Olímpia São Paulo - SP - CEP: 04550-004 T: (11) 4328-7378 C: (11) 975 721 349 E: jhussni@safirast.com Novo Email! www.safirast.com Novo Site!
Hello Jorge,
Many thanks for your answer and for your advice ! We will give a try to this solution.
Regarding the use case, my devteam would like to be able to send the following commands :
adb bugreport
adb shell dumpsys batterystats
adb shell dumpsys batterystats --reset
These are commands used by the Battery Historian tool, which is based on logs retrieved continuously by default on Android devices.
https://developer.android.com/topic/performance/power/setup-battery-historian
Best regards,
Yoan
H Yoan,
I don't know whether device security is critical in your use case. Depending on the device firmware and how to do it, if you allow ADB command and your USB ADB is enabled and not properly protected, then your device may be hacked easily - from access of any data on the device, to installation of malware, or even complete removal of MobiControl device agent and all of its MDM policies.
Hello,
I am happy to have helped find a way out, the traditional paths do not always work in all projects.
Send news!
Regards
Jorge Hussni Innovation Manager Soluções & Tecnologia Gestão de Mobilidade Corporativa, Telecom & TI Rua Alvorada, 1289 conj. 404 - Vila Olímpia São Paulo - SP - CEP: 04550-004 T: (11) 4328-7378 C: (11) 975 721 349 E: jhussni@safirast.com Novo Email! www.safirast.com Novo Site!