Skip to main content

Questions tagged [adb]

For issues specific to the Android Debug Bridge (adb), a command-line tool to interact with Android devices and emulator instances. See the full tag wiki for details and hints.

0 votes
0 answers
20 views

How do I bypass ADB Error Message and/or delete OEMs

I have a TCL Android phone. I keep getting error messages when attempting to use ADB to debloat my phone. I would love to know why my commands aren't working and what the correct ones to enter are. I ...
TiredTechy's user avatar
1 vote
0 answers
33 views

Force Android to use mobile data even if other network sources are available?

I have an Android device that's used for mobile testing. This device has cell connectivity and is separately connected to an ethernet cable (used for ADB). How can I configure the Android device so ...
David Chouinard's user avatar
0 votes
0 answers
14 views

ADB command expanded notifications

I am inquiring about potential methods to execute specific ADB commands that would facilitate the automatic expansion or collapse of all incoming notifications in the status bar, thereby eliminating ...
Ja sam I sta's user avatar
1 vote
0 answers
21 views

Is there any way to unlock my Private Safe on my Oneplus device via the use of adb?

I'm using Private Safe on my Oneplus device. I need to unlock my private safe as I have forgotten both the password and the privacy question that I had previously set. I have already tried out adb ...
Raunak Seth's user avatar
1 vote
1 answer
70 views

Is there a way to delete from /data/local without root access?

I copied a file to my phone with this command: adb push large.zip /data/local/ It took a few minutes and copied successfully, but then I realised that I couldn't find it on my phone. I copied it ...
Josh Friedlander's user avatar
1 vote
1 answer
390 views

'adb help' for 'root' says "restart adbd with root permissions", but 'adb root' says "adbd cannot run as root in production builds"

Can't make sense of two 'messages': .\adb root adbd cannot run as root in production builds another one .\adb --help root restart adbd with root permissions seems unrelated to one ...
patrick ciancioni's user avatar
0 votes
0 answers
32 views

Is `mv` in adb shell limited in moving a directory?

I enter a shell on Android by sudo adb shell Now I want to move a directory (of files) in Android into another, but why does it fail $ mv english/ ../mydata/ ...
Tim's user avatar
  • 503
0 votes
1 answer
57 views

ADB SU root inputs location

Simply, where do I enter the commands for SU abilities and root access or settings? No, I'm not doing this for any reason and I don't need to throw an explanation at all. I'm just tooling around and ...
W K. Omni's user avatar
1 vote
1 answer
66 views

How does the Android Studio transfer a folder to device?

When I use adb shell "run-as com.example.myapplication push C:\\Users\\x00879271\\Desktop\\ttest /data/data/com.example.myapplication" I get run-as: exec failed for push: Permission denied. ...
xia hongfu's user avatar
2 votes
0 answers
35 views

Is there a way to see when developer options were enabled?

One of my phones has had the developer options enabled and I don’t remember doing it. It’s not rooted and does not have bootloader enabled. I’m wondering if this happened when someone else had ...
seamux's user avatar
  • 21
1 vote
1 answer
60 views

How to tell an Android device that only has ADB connectivity about an NTP server?

In a comment on this question Robert asked: Have you tried to provide an NTP server in your local network and announce it via DHCP? How can I do that, please? I have several development devices ...
John Dallman's user avatar
  • 1,507
1 vote
0 answers
47 views

A way to set time on Android phone with unaccessible settings through ADB or another way?

I'm trying to set the time on an Android phone with inaccessible date & time settings, and the automatic date and time is on along with the GPS. I've read most of the threads here and on other ...
Alpha Ray's user avatar
1 vote
0 answers
13 views

How to successfully erase cache during the flashing process of a stock Android ROM?

Following Google's guide for flashing/restoring the stock Android ROM, and initially using the default flash-all.sh shell script to flash the stock Android ROM to my device, I noticed that I am not ...
jimjamz's user avatar
  • 11
1 vote
0 answers
27 views

Android Phone Won't Turn On

I just recently had an issue with my phone. It's a Samsung Galaxy A51 (not the 5G, SM-A515U) from Xfinity Mobile (Android 13). Unfortunately, the screen is cracked. It still was functioning properly ...
Chris's user avatar
  • 11
3 votes
2 answers
88 views

How to exit the adb sideload?

I accidentally chose to apply a package with adb sideload. How to exit the adb sideload? I have tried pressing the power button and volume up. But it's not working in my tablet.
Tarin's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
158