Skip to content Skip to sidebar Skip to footer
Showing posts with the label Shell

What Does The Adb Command Do Within An Android Device's Shell?

I was connected to my Android device's shell (by doing adb shell in my computer's shell) an… Read more What Does The Adb Command Do Within An Android Device's Shell?

How To Send A Command To Android And Then Get Its Answer?

I want to write echo -e 'AT\r' > /dev/smd0 in the shell and then get its response. The r… Read more How To Send A Command To Android And Then Get Its Answer?

Copying Files In Adb Shell With Run-as

Is there a way to write a script that will copy files from an ADB shell using run-as? The only way … Read more Copying Files In Adb Shell With Run-as

Could Not Connect To Tcp:5037: Cannot Connect To 127.0.0.1:5037: No Connection Could Be Made Because The Target Machine Actively Refused It. (10061)

Hi I am new to android I am not able to run adb.exe it gives me below error: ==>adb start-server… Read more Could Not Connect To Tcp:5037: Cannot Connect To 127.0.0.1:5037: No Connection Could Be Made Because The Target Machine Actively Refused It. (10061)

How To Pass A Password With Quotes And Single Quotes In Terminal?

I created a .keystore for my Android application, generating a random password. It contains quotes … Read more How To Pass A Password With Quotes And Single Quotes In Terminal?

Run A Shell Command As Root On Android?

I thought it would be cool to turn the hardware button lights on when my application needs user att… Read more Run A Shell Command As Root On Android?

How To Not Overwrite Previous Terminal Contents

I'm not sure if this is a duplicate, but I have no clue what to search for if it is, as I don&#… Read more How To Not Overwrite Previous Terminal Contents

Adding A Custom Tool To The Android Adb Shell

Answers for this question should be ideally non-rooted. I am looking at re-writing one of the adb t… Read more Adding A Custom Tool To The Android Adb Shell

Get Result Code Of Adb Shell Command

How should I get $? of adb shell ? I would like to check the result of adb shell mkdir /xxx. I exec… Read more Get Result Code Of Adb Shell Command

How To Measure Time From Adb Shell With Milliseconds Resolution?

How can I measure time from adb shell with milliseconds or nanoseconds resolution? Usingdate +%.%N … Read more How To Measure Time From Adb Shell With Milliseconds Resolution?

Execute Script On Boot Android Things

I am developing with raspberry pi3 on Android Things. I am trying to execute a Script on boot, modi… Read more Execute Script On Boot Android Things