Send ADB Script on a device ?

Send ADB Script on a device ?

Hello, is there a way to send ADB scripts to a device via the management console ? Thank you 

9 Answers

Order By:   Standard | Newest | Votes
Raymond Chan | posted this 18 October 2019

As far as I know, what you ask is not possible.

  • 0
  • 0
Yoan R | posted this 18 October 2019

Raymond, thank you for your answer.

  • 0
  • 0
Matt Dermody | posted this 18 October 2019

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. 

  • 0
  • 0
Yoan R | posted this 18 October 2019

Hi Matt, thank you for the info and for your answer.

  • 0
  • 0
Yoan R | posted this 21 January 2021

Hello, any update on this point ? Maybe with the version 15 ?

Many thanks.

Best regards

  • 0
  • 0
Jorge Hussni - SAFIRA Telecom | posted this 22 January 2021

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!

  • 0
  • 0
Yoan R | posted this 27 January 2021

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

  • 0
  • 0
Raymond Chan | posted this 27 January 2021

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.

 

  • 0
  • 0
Jorge Hussni - SAFIRA Telecom | posted this 27 January 2021

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!

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback