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

1
vote
3answers
4k views

Pulling an apk of paid app from the device

I was pulling the .apk files from the device using the following command: ./adb pull /data/app/com.example.tracker-1.apk When I tried using the same command for the encrypted app as below: ./adb ...
0
votes
1answer
925 views

Identifying an unknown Android tablet through adb/shell without relying on build.prop

I obtained a cheap unbranded tablet from a friend, without a box or anything and I need to figure out what kind of tablet it is, through software. What I've established so far is that the tablet is ...
0
votes
0answers
14 views

adb devices not found error?

hi have accessed the stock recovery on moto e and selected the sideload adb but on minimal adb and fastboot when I typed adb devices it is not showing any device attached ,what to do now help me ...
0
votes
1answer
37 views

Reenable Setting app on rooted Galaxy S 4G

I need to command my partially rooted Samsung Galaxy S 4G on KitKat 4.4.3, to simply re-enable the core app: settings.apk (a.k.a com.android.settings). After flashing a ROM, I found no settings UI ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
0
votes
0answers
9 views

How to find out currently running user name/ID from ADB

I am having Nexus 7 running multiple users. I am trying to find out which is currently running user using ADB. The best I could get so far was to check legacy directory linking which is either linked ...
0
votes
0answers
8 views

Data-Only USB Cable for Android devices [on hold]

It is possible to manufacture a cable that transmits data but doesn't charge my device? I already tried to cut the 5V wire, but after that no data is transmitted (Neither the device is charged). ...
0
votes
0answers
13 views

Reboot does not run at all

I followed this piece of command copied from this site http://forum.cyanogenmod.org/topic/82875-installing-cacert-certificates-on-android-as-system-credentials-without-lockscreen/ importing the ...
0
votes
1answer
1k views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = ...
0
votes
1answer
942 views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
5
votes
1answer
35k views

How can I mount or unmount the SD Card using ADB?

The sdcard can be umounted by using the umount command. unmount /mtn/sdcard/.android_secure how can it be remounted again . I tried using the mount command mount /mnt/sdcard/.android_secure
0
votes
0answers
18 views

iptables configuration file location

Where are the default rules/config of iptables located android. I do not mean source code of iptables (which is external/iptables) but I need the actual configuration file(s) that defines the rules. ...
0
votes
0answers
25 views

Update APK from command line using ADB?

I have a phone running Cyanogenmod, which is an AOSP derivative. It lacks Google Play. I installed Textra as the messaging app some time ago using adb install com.textra.apk. Textra was recently ...
0
votes
0answers
12 views

using usb connection instead of wifi

I own an Allview P5 Quad (Romanian smartphone brand) running Android 4.2.1 and a laptop running Linux Mint. For some time I've been using apps which connect my laptop to my phone, such as Remote ...
0
votes
1answer
15k views

Using ADB with usb debugging disabled, and no root

I have an Android Device running Android 2.3.7 . The device is locked due to exceeding pattern attempts. So now Android is prompting me to enter my gmail id and password. The problem is, the WiFi is ...
1
vote
1answer
3k 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
46 views

Please any ideas for installing settings.apk to system without root on 4.4.3?

I will answer any questions you have for me....but I am just in need of an answer to the question as posted I cannot access the settings on my device, as the settings app is not showing on the ...
2
votes
1answer
1k views

Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked

I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD ...
0
votes
0answers
17 views

rename “Build - Copy.prop” to “Build.prop” in recovery mode

I want to remove the changes i'v made in the "Build.prop" so i deleted it and restarted the Phone but forgot to rename the backup, now my phone is softbricked. Help me please
0
votes
0answers
82 views

Recover photos and/or bypass lock screen on Android 5.0

I have a Samsung Galaxy S5 which I dropped on the ground so the screen broke. I had a swipe lock enabled. To be able to unlock it before it was repaired I locked it through Android Device Manager and ...
0
votes
1answer
458 views

Nexus 5 gives Status 7 error when flashing 5.1 OTA [duplicate]

I've been trying all day to install 5.1 OTA via ADB. In my struggle, I tried installing TWRP to try to get it to work, but it didn't. I since flashed the stock recovery. When trying to flash via ADB, ...
0
votes
1answer
21 views

Cannot get a G2 to connect to anything via USB

I just bought a G2 on craigslist. It came rooted and with custom recovery. Whenever I plug it into my computer (tried my mac and two other PCs) the phone does not recognize it's plugged into a ...
0
votes
0answers
24 views

Update Android on HTC Evo 4G

I have a rooted FreedomPop HTC Evo 4G PC36100 with CyanogenMod 2.6.37.6. My Android version is 2.3.7. Beseband version is 2.15.00.01.15. How can I update Android to the latest version? Is it ...
3
votes
1answer
2k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
0
votes
1answer
16 views

Unsure if 'adb push' has completed correctly in recovery mode

I did everything that the CyanogenMod wiki told me to, and I think I might be done, and I got this alert on my computer. But I'm not getting any alerts on ClockWorkMod.... I'm using the ...
0
votes
1answer
30 views

How to Uninstall the lollipop app [duplicate]

Could you please tell me how to go back to my old android? I have a Samsung S5 and I tried the factory reset and that did not work. I hate this new android version
0
votes
0answers
49 views

USB Debugging not working on CyanogenMod 12

I have the very latest nightly build of CyanogenMod 12 (March 21st, 2015) installed on a Nexus 4. For about a month I haven't been able to connect my phone to my computer. I have the latest USB/ADB ...
0
votes
0answers
7 views

Resized display because the touchscreen in the top 20% is unresponsive but it's sitting in the center, can I move it down?

Title says it all. the display resolution was set lower using an app that puts a few ADB commands downrange. Now the display sits in the center. Can I move it down?
0
votes
1answer
1k 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 ...
1
vote
0answers
24 views

Changing DPI with adb

I have a HTC Evo 3D and i want to change the DPI. I am not rooted but I know that using adb and putting the command adb shell wm density 200 I will be able to change my DPI. But i am getting this ...
2
votes
2answers
5k 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
vote
1answer
47 views

Setting up of multiple tablets from out the box

I have the task of setting up 50+ tablets (Binatone Homesurf 744, Yes cheap & cheerful!), which all need the same App installed and same wireless settings entered but require different ...
7
votes
1answer
12k views

How to Retrieve SD Card Files via fastboot or recovery?

I have a Nexus 4 (LG E960) running rooted stock 4.2.2/JDQ39. The phone fell from a foot high and the screen cracked. The touchscreen no longer works. I have a full Nandroid (TWRP type) backup under ...
0
votes
0answers
101 views

Unlock phone with dead screen locked through Android Device Manager

My screen is dead and I want to unlock my phone so I can access it through Kies to backup my pictures. I locked the phone through Android Device Manager setting an easy password (was hoping for an ...
2
votes
1answer
3k 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 ...
0
votes
0answers
100 views

Can't install .apk via adb to SD Card

Alright, so I've made an Android app that runs fine on the emulator from Eclipse, but I can't get it to install on my actual device. I connect my phone to my PC via USB(USB Debugging enabled), I've ...
5
votes
2answers
8k 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 ...
3
votes
3answers
12k views

fastboot flash bootloader = FAILED (remote: (InvalidState))

I'm trying to flash bootloader on my Nexus 7 (2012) and getting FAILED: mbp:nakasi-lrx21p alexus$ fastboot flash bootloader bootloader-grouper-4.23.img sending 'bootloader' (2100 KB)... OKAY [ ...
17
votes
3answers
25k views

Is there a minimal installation of ADB?

When it comes to troubleshooting, I often read recommendations like "Use adb logcat to find some more details". Looking for a good way to backup all my apps including their data, Full Backup of ...
0
votes
2answers
1k 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 ...
1
vote
0answers
23 views

Connect to ADB without USB-debugging enabled? (broken screen) [not a duplicate] [duplicate]

I have an Motorola Droid Razr M with a totally broken LCD and slightly broken touch screen. I've been trying to connect it to ADB via usb, but it's not being found and I'm assuming this is because I ...
6
votes
2answers
28k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
0
votes
1answer
45 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
0
votes
0answers
174 views

Is is possible to make a non-rooted Huawei U8110 (T-Mobile Pulse Mini) recognisable by the `adb devices` command on OS X?

Currently, on OS X 10.6.8 Snow Leopard, this is all I get, even with USB debugging enabled on the phone: $ ./adb devices List of devices attached $ The phone shows up under About This Mac, and ...
0
votes
0answers
36 views

adb v backup & restore

Two ways to back up apps are adb (for example, adb -apk -noshared -all) and backup/restore (settings - backup % reset - Backup my data, also known as google backup). What's the difference? Is one ...
0
votes
1answer
89 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 ...
3
votes
0answers
24 views

command on adb waits forever

I can successfully execute ADB commands, but if the command has no output the command line just waits there and does not let me enter a new command until I press ctrl-c, the commands do work however. ...
1
vote
1answer
4k 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 ...
0
votes
0answers
37 views

adb backup non-rooted before changing android version

I am planning to change from Lollipop to KitKat on my non-rooted Nexus 5. I'd like to keep as much data and settings as possible. I've used adb to back up my sdcard. I'd like to use adb to backup ...