Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
3answers
9k views

How to remove the SIM Toolkit from my phone? (Without root or flashing any ROM)

This application is sending a lot of spam to my phone recently, two or three times a day. I deactivated broadcast messages, tried converting USSD pop-ups into notifications to avoid being interrupted (...
2
votes
1answer
1k views

How to bypass/authorize ADB RSA key with broken touch AND screen?

First of all, I tried a lot of hours with everything I could find on the internet and mostly on StackOverflow. Something I've already tried with no avail: https://stackoverflow.com/questions/...
1
vote
0answers
14 views

ADB no device Nexus 5

On my Nexus 5 (LineageOS 15.1 / Android 8.1) i can't see my device when typing "adb devices" (manjaro with Android SDK 3.2.1). What I tried: root access: "ADB only" android debugging: "on" revoked ...
1
vote
2answers
2k views

Some app is causing bootloop

It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" ...
1
vote
1answer
58 views

How to AutoRotate in LineageOS With ADB?

I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly? I added these to my build.prob ...
1
vote
2answers
5k views

Installing TWRP on a Samsung device, no fastboot (using ADB or other ways)

My device (Samsung Galaxy S3 I9300) is not detected by fastboot in Download Mode, but it is detected properly by adb. I want to install TWRP as my device recovery. Is there any way to install it using ...
0
votes
1answer
2k views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
0
votes
1answer
792 views

Find app causing: Sending non-protected broadcast android.intent.action.SU_SESSION_CHANGED from system

I'm trying to find out what is responsible for constantly causing the following messages to be printed to logcat. 10-08 11:28:30.919 5258 5273 E ActivityManager: Sending non-protected broadcast ...
0
votes
1answer
2k views

ADB: device unauthorized on device without screen

I have special device, that have no screen at all. Only 3 buttons: volumes and power. So the problem that I've used hard reset option and after that on all my computers I got error: error: device ...
1
vote
0answers
17 views

How can i change default user of ADB daemon

When i use adb shell i am logged in as user shell who is in lot of groups and have a lot of permissions. My question is if i can change default user which ADB daemon use to have less permissions. For ...
1
vote
3answers
2k views

Is it possible to adb connect android via wifi without configuring port on android?

I can connect via wifi by typing these codes in android terminal - setprop service.adb.tcp.port 5555 stop adbd start adbd and connect ip:port on PC adb .. it is connected .. Is there any ...
0
votes
1answer
2k views

disconnect adb of device connected over TCP does not work

I run the following command to connect device over TCP ; adb connect 192.168.56.102:5555 I am not able now to disconnect it I even made two attempts : adb disconnect 192.168.56.102:5555 The ...
1
vote
1answer
3k views

Enabling USB Debugging on locked (FRP) android phone

I have a Samsung J5 Prime (SM-G570F/DS) that has been factory reset and now asking for Google account. I've read this can be bypassed if ADB is enable. So I would like to know a way to do so. As I ...
1
vote
1answer
2k views

Cannot access adb shell on emulated x86 phone

Trying to get access to a phone on Android emulator via adb. Error message returned: C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell error: device unauthorized. This adb ...
5
votes
1answer
2k views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
0
votes
0answers
25 views

Xperia L not booting to TWRP

I installed TWRP in my rooted Sony Xperia L using the TWRP Official App. The app said that the flashing was successful. Then, when I give adb reboot recovery command, it boots into the stock recovery. ...
8
votes
9answers
28k views

Why doesn't Huawei provide just the USB driver to use ADB?

I'd like to use the MyPhoneExplorer application to sync my Android smartphone with Windows over USB. This requires first installing a driver for the phone and the ADB application. However, the ...
9
votes
2answers
49k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
0
votes
0answers
22 views

How can I send fake accelerometer data to my phone?

I want to have my phone read some fake accelerometer data on a loop so that I can have apps use my loop instead of the real accelerometer. I have a rooted Galaxy A8 2018. Preferably through a terminal ...
0
votes
2answers
4k views

enabling usb debugging when device is off

I am trying to unlock my bootloader, but I am unable to enable usb debugging because my device (xperia t) is not coming on. How do I unlock my bootloader so that I can flash it.
7
votes
1answer
4k views

Setting Default applications through ADB

I have an android device (Android 4.4) with two launchers. One comes with the device and the other one is home made. I have the following questions regarding this scenario: How can I set the default ...
1
vote
1answer
3k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0
votes
0answers
20 views

Adb works in “computer's” command prompt but not in “Android Studio's” Terminal

When I type "Adb" on computer's command prompt the correct format follows.(Indicating that the environment variable path is correct). When I type "Adb" in Android Studio's Terminal it says " 'adb' is ...
1
vote
2answers
4k views

how to unlock screen of samsung s6

Desperate to sort this out, before i do a factory reset! Samsung Service Centre useless, said factory reset is the only option.... Had fingerprint set to lock samsung s6, don't remember ever setting ...
0
votes
1answer
3k views

'adb backup -apk -shared -all -f "D:\backup.ab' initiates backup, completes, but produces a file that is only 1kb

I'm attempting to backup my old Android device, a Samsung Galaxy S3, so that I can lend it to my friend while his is away at repairs, then restore it when he's done with it. I have the Samsung USB ...
0
votes
2answers
5k views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
1
vote
2answers
3k views

How can I get the last dialled number and call duration via adb?

I'm creating a computer system for telemarketing. I'm using adb commands to dial numbers Link Is it possible to get last dialled number and call duration via adb? If it is, how?
1
vote
0answers
56 views

Options for recovering user data off of unrooted Motorola Android in boot loop

My phone started to boot loop*. It is a Motorola Droid Turbo (xt1254) running Android 6.0.1, and this is a snippet from the recovery screen: Device is LOCKED. Status Code: 0 Software status: ...
29
votes
5answers
43k views

Is there a way to see the device's screen *live* on PC, through ADB?

I am a vlogger and after getting HTC Desire HD, found out its camera was all I ever needed. However, I usually have to see myself while recording video, to control my facial expressions, and with a ...
0
votes
1answer
3k views

How can I root my Lava A97 Android 6.0 stock

I have tried all the rooting apps including desktops one but none of them able to root my device. I also tried to go through adb but not able to get '#' access in order to move files into intended ...
16
votes
4answers
26k views

Android Read recent SMS messages from command line

I have recently broken my Android's screen. (Again) Its a T-Mobile G2 Trying to keep up with my busy technology related life is hard enough without losing my link with everyone. I have rooted the ...
0
votes
0answers
8k views

How unbrick Qualcomm devices (Huawei Ascend G630-U20)

I have a problem with a Huawei Ascend G630. This smartphone showed on the display: "Recovery image verify failed! Please update to the authorized images”. I solved this problem after finding the ...
-1
votes
0answers
45 views

Recovering Deleted Text Messages S9

my goal is to recover text messages that have been deleted from my S9. I have not rooted my phone because all the guides I have found said that my model is not compatible with one of the programs used ...
1
vote
1answer
8k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
2
votes
4answers
8k views

ADB not finding device with Galaxy S8 and Windows 7

I'm trying to get my Galaxy S8 to work with unity for gear VR development but I cannot seem to get ADB to find the phone. I've enabled USB debugging in development options and also have the latest ...
0
votes
2answers
3k views

How to Clear Caches in LG G2 Running Lollipop 5.0.2

The Lollipop update for AT&T LG G2 has pretty much destroyed my phone. I'm hoping clearing out every sort of cache might help. But I can't clear the caches the usual ways because (1) the ...
0
votes
0answers
12 views

Phone stuck in Safe Mode (Volume Keys not functioning)

Recently my Samsung Galaxy E7 entered into Safe Mode. My volume keys are non functional. Can someone please suggest a way to get out of Safe Mode using ADB.
6
votes
1answer
17k views

Entering safe mode from adb shell

My question is similar to this one, but I don't necessarily have a powered off device. How can I enter Android' safe mode (or make it boot into safe mode the next time) from within my recovery image? ...
3
votes
2answers
11k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
0
votes
0answers
10 views

Troubles making ADB work on Neffos C5s

Help please! I have this phone, the Neffos C5s, with the SOC MTK6735 and Android 7.0, but I can't make the ADB command line work. I already installed all the drivers on my OS (W7 x64), ADB and the ...
0
votes
1answer
113 views

Redmi Note 4. ADB pm uninstall some packages, Stuck in Reboot

So I wanted to remove some apps pre installed. I connected to my Redmi Note 4 ( Nougat ) via adb shell. Used pm uninstall -k --user 0 <name of package> Removed the following packages. com....
3
votes
2answers
4k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
1
vote
1answer
118 views

How to take full image backup of eMMC?

I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like dd for any partition, so I can inspect the ...
3
votes
2answers
5k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
2
votes
1answer
95 views

Galaxy S7 Edge - Change USB Mode in Phone that Will Not Boot

I've done a few hours worth of research and have been unable to find a clear answer. Hoping something in the community here might be able to help: Verizon Galaxy S7 Edge (Oreo with latest Verizon ...
1
vote
1answer
62 views

Show adb backup manual

How do I show the help text/manual for adb backup? When I run adb help I see ... backup/restore:     to show usage run "adb shell bu help" ... When I run adb shell bu ...
0
votes
1answer
79 views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
6
votes
2answers
2k views

Why is my Android not restoring the app data from its Google Drive backup?

I'm testing a new version of our app that now supports Android Auto Backup (by targeting API over 23). I've managed to get the system to back up the app's data by leaving it overnight (two nights), ...
4
votes
1answer
3k views

I/O errors opening files in data partition

I'm trying to repair a Moto G (XT1008, unlocked) device. When booting normally, the motorola splash finishes and the android desktop shows up for one second, then a bunch of pop ups show up informing ...
1
vote
1answer
3k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...