2022 Developer Survey is open! Take survey.

New answers tagged

3 votes

How do I get the temperature of my phone via ADB?

This is simple, on Android 10 or later, once you find out how. adb shell dumpsys thermalservice On my Samsung A52 5G with Android 12, this produces, with values apparently in Celsius. IsStatusOverride:...
user avatar
0 votes

How to set WIFI proxy via adb shell?

for removing the proxy, adb shell settings put global http_proxy :0. i struggled with my android phone after setting the wrong proxy. not sure if there's any default settings via GUI in the android ...
user avatar
  • 101
0 votes

How do you record the first time setup of an Android device without USB Debugging enabled?

Robert's suggestion of taking a screenshot helped. I used screenshot key combination Power + Volume down button wherever I needed to take screenshots during device setup. Those screenshtos were saved ...
user avatar
  • 11
1 vote

How can I do adb backup without a visible screen?

(For later Android versions) You may want to try ways to mirror the screen. (Method 2 involves mirroring over WiFi) Or narrate the screen. With a totally blank screen, you can: # enable USB debugging (...
user avatar
0 votes
Accepted

MTP changes with Android 12 update on Pixel 5?

While this doesn't explain why jmtpfs is having trouble or how to fix them, let's for a moment assume that's an XY problem and tackle the real one: How can you properly mount your phone so it is ...
user avatar
  • 88.9k
7 votes

"media: inaccessible or not found" error when attempting to control device volume via ADB

In Android 11 and Android 12, media utility no longer exists. That's why you got the error since your shell could not find the utility in locations mentioned in its PATH. That utility's commands have ...
user avatar
  • 23.3k
1 vote
Accepted

Can Sensors Off (developer options) be controlled via ADB? [Q or above]

First of all, thanks to @irfan-latif for providing the right answer to this question in the comments column. But apparently, this will be allowed. So, I will help complete the answer. On Android 10: ...
user avatar
2 votes
Accepted

Difference between adb shell [command] and interactive adb shell

It turns out that running adb shell [command] does not source /etc/mkshrc. Setting the required env variables before the command solves my issue.
user avatar
  • 131
0 votes

Where in a smartphone with Android are deleted and cleaned the files that are visible when testing with "root integrity check"?

Android System Recovery "root integrity check" will check your read-only system partition for modifications. If anything is reported, flash memory is either corrupt or something (or someone) ...
user avatar
  • 3,130

Top 50 recent answers are included