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.

learn more… | top users | synonyms

3
votes
5answers
7k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...
-1
votes
0answers
28 views

How to rebuild a modified backup.ab?

The process for extracting abackup.abfile is well‑known. However once the modified data has been repacked as a tar file, what are the steps in order to rebuild abackup.absuitable foradb restore?
1
vote
1answer
2k 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
1answer
1k views

Failed updating and uninstalling app with ADB

I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app. Now ...
0
votes
1answer
2k views

How to set WIFI proxy via adb shell?

Genymotion 2.2 & Android 4.0 I want to set a global HTTP proxy in Android, and all Apps will go through this proxy. Now I can only do this in GUI as following way: Wi-Fi -> WiredSSID -> Modify ...
3
votes
3answers
8k views

How do I take a full image backup of an Android device? [duplicate]

I am trying to do a full system image backup of a Samsung Galaxy Tab 4. It is unrooted at present, and is running Android Kitkat 4.4.2 . I have no desire of rooting it as of now. I have tried ...
1
vote
1answer
60 views

How can I activate UDP forwarding for USB communication between a PC and an Android app

I have an real Android device connected to a computer via USB. I managed to activate TCP port forwarding with adb forward tcp:<port> tcp:<port> and successfully communicate with sockets ...
3
votes
2answers
4k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
2
votes
2answers
3k views

How do i recover my wifi pass from android using adb?

I'm connected to a wifi spot with my android, but i'd like to connect with my laptop aswell. I don't want to root my phone (warranty and stuffs) nor reset the router, as it has complex settings on it. ...
6
votes
7answers
142k views

fastboot doesn't see device

I've read a lot of articles about this problem but I can't resolve it. I decided to install my developer application on phone using wifi. To do this I need to do some things with my phone. The first ...
3
votes
3answers
45k views

Why is my Galaxy S4 still not appearing as a device in Mac OS X

I am trying to solve the problem of having an empty list of devices when running adb devices. Why is it not appearing? I have tried the following to no avail: Installed Kies and ran Tools > Install ...
0
votes
0answers
31 views

Can't make whole memory block backup

I try to make a nandroid backup (whole memory block) following this tutorial's instructions: http://forum.xda-developers.com/showthread.php?t=1818321 But the dumped mmcblk0.raw is 0 bytes. Can ...
2
votes
0answers
44 views

ADB Debugging over wifi not connecting

So I am trying to connect my device to adb over wifi. I have been following this tutorial http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/ I have been doing this adb ...
0
votes
0answers
11 views

Accessing device via adb on Boxed Windows

On my Mac, I run Windows in Virtual Box. I try to connect my device (Galaxy S5) via USB, but Windows won't recognize it. I downloaded and installed the USB drivers (aswell as ADB and Fastboot) via ...
1
vote
2answers
1k 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?
2
votes
2answers
342 views

How to check where an app is sending data over internet on Android?

How to check where an app is sending data and making requests over the internet on Android? Is this possible with ADB or something else? I want to monitor an app for data it is sending over the ...
1
vote
2answers
5k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
3
votes
2answers
150 views

Making mediaserver immediately scan a file created through ADB

The mediaserver in my stock and rooted Android 6.0.1 (running in Nexus 6) doesn't detect new files created or moved to into /sdcard using adb. It doesn't detect until I do a soft/full reboot which I ...
3
votes
1answer
3k views

adb pull - copy whole folder to computer

How do I copy a folder from my android device to a certain folder of my computer? if I use this command: adb pull efs It copies the contents of the efs folder to my computers root directory. I ...
0
votes
1answer
29 views

How can I get shell access on my almost dead phone

My phone broke, so I have been messing with it and from the errors I can see, it looks like all the system folders are missing. /system /data etc. I saw a YT video where the guy used ADB shell to ...
3
votes
2answers
3k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
2
votes
1answer
5k 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): ...
-1
votes
0answers
69 views

ADB SHell last command is not working for bypass google account verification

I want to Bypass Google Account verification, adb devices and adb shell works fine but next command (am start -a android.intent.action.MAIN -n com.android.settings/.Settings) doesn't work it says ...
30
votes
4answers
44k views

How I shutdown Android phone with adb command?

How do I halt an android phone using adb command? I can reboot, but I don't know how to halt. I tried shutdown -k wait command, but it did not work.
1
vote
1answer
85 views

Uninstall via adb without root

I own an Asus Zenfone Go Z00VD running Android 5.1. It came preinstalled with TrendMicro Dr. Safety, which I absolutely have no use for and do not want running at all. This app starts itself ...
1
vote
1answer
2k views

Android ADB unable connect with IP address

I have successfully installed Android OS in Oracle virtual box, but I have one problem: I cannot connect to ADB in the Android OS virtual box. In my Network settings in virtual box: When I select ...
0
votes
0answers
53 views

Can't get ADB drivers and connect USB device on chrome

I want to use Chrome developer tools on my Samsung Galaxy Note 4 on my Windows 10 (64bit) Acer aspire. I am confident to say I have literally tried every tutorial I could found. On my mobile USB ...
7
votes
1answer
1k views

Why do Linux commands not work properly on Android?

> adb shell sh-4.1$ ls -F -F: No such file or directory -F switch works fine on my Ubuntu. Why doesn't it work on Android? Is there a way to make it work?
0
votes
0answers
77 views

How to restore a Google Play adb backup to use it with another version of the app (downloaded with another app store)?

I have an adb backup I created when the app was installed via Google Play. Now I want to uninstall this app and switch to the FDroid version of this app. However restoring the "Google Play version" ...
0
votes
1answer
3k views

Fix Soft Bricked Samsung Galaxy S4 SCH-I545

I am new to all of this, and I am having trouble with my Verizon Samsung Galaxy S4 SCH-I545. I am on a mac, but also can run windows 7 in vmware fusion. A couple days ago, I successfully rooted my ...
-1
votes
1answer
64 views

How do I enable a keyboard OTHER than Google Keyboard via ADB?

I have got 2 keyboards in my phone: Google Keyboard and AnySoftKeyboard. Google Keyboard is my primary keyboard. I want to enable AnySoftKeyboard as my primary keyboard via ADB (I use ADB because the ...
0
votes
2answers
5k views

Restore/recover Supersonic Matrix SC-91JB Android tablet

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
4
votes
1answer
4k views

How to backup data on a non-booting, unrooted phone?

I have a Samsung Galaxy S3 (SGH-I747 for AT&T) that is not rooted. Recently it started shutting down in the middle of use and not start up again. At first, plugging it into the charger would get ...
0
votes
0answers
33 views

Cant boot Android tab

I have a android tablet. Touchmate TM-MID 722N I tried installing Chainfire 3d and it was not bootable now. I can boot only to recovery. and adb sideload and flashing zips from sdcard is working. ...
2
votes
3answers
3k views

Can I update the adb shell's environment variables?

I wanted to update the PATH environment variable permanently in the adb shell. I guessed the shell was mksh for I've found /system/bin/sh pointing to /system/bin/mksh. Then I tried Making a new file ...
4
votes
1answer
2k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
0
votes
0answers
29 views

Development drivers on MAC

I have a Huawei Y320-U151 and I'm unable to detect it on Android Studio running on Mac. Time ago I've been able to develop for other mobile phones without any issues both in Mac and on Windows -after ...
6
votes
3answers
53k views

Control Android with broken screen from PC

My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work ...
1
vote
1answer
40 views

adb backups fail with “Internal exception during full backup”

For a while now, I've not been able to create a full adb backup of my Nexus 4. Now finally I've been able to catch a slightly more useful error report with logcat: D/BackupManagerService( 2061): ...
2
votes
1answer
13k views

Samsung USB Driver for Windows 10 - Android Studio

I've got an issue setting up the AVD in my Android Studio as Intel HAXM is not working with my Windows 10. So, I am trying to debug and run my projects with my Android device. However, after trying to ...
1
vote
1answer
3k views

How to install Nexus 6 / 5X / 6P Drivers in Windows 7 properly where fastboot can see it?

I have the Nexus 5X drivers installed properly on Win7 64bit and it shows up in my device manager as Nexus 5x. I can verify that it gets detected as I see it in chrome inspect page. But when i try to ...
0
votes
0answers
22 views

Does adb's backup command backup user preferences that are not produced by apps?

Things like "downtime" and priority notifications and such. Also, is adb backup basically like backing up the phone to google's servers, just locally on your own workstation?
0
votes
1answer
94 views

How do we run *#06# using ADB to get IMEI number?

I want to run *#06# and display the activity/fragment which shows the IMEI numbers using adb. Kindly help. Details of the fragment and activity as show below: #1: DialpadFragment{27576dd7 #1 ...
1
vote
2answers
4k views

root cannot list filed in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir ...
2
votes
0answers
17 views

Why not autostart PPP?

In the adb docs, under PPP it says "Note that you should not automatically start a PPP connection." Anybody know why this is discouraged? I'd like to do exactly that when I plug my tablet into my ...
0
votes
1answer
80 views

Connect through adb to a Nexus 4 with a broken touch screen?

I have a Nexus 4 with a broken touch screen from which I would like to recover some files. adb is a tool often referred for this purpose, as in this guide. I have installed adb and fastbook on my ...
1
vote
2answers
5k views

Galaxy S4 does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as ...
5
votes
2answers
13k views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
4
votes
3answers
702 views

How to check for root access via ADB? [duplicate]

Is there a way to check root status via ADB? Like a command for it or something? So far I've tried pushing some bash scripts that try to mount the system partition and return "Yes" if they succeed, ...
3
votes
4answers
4k views

Does adb backup include contacts?

Does the command: adb backup -all -f backup.ab include contacts in the backup?