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

0
votes
0answers
30 views

Debug phone using ADB from tablet

I have an Acer Iconia TAB (a500) running OTA ICS 4.0.3, rooted using blackthund3r's ICS Root tool (version 7.2.0). I've downloaded the Linux binaries for adb and platform-tools and made sure they were ...
3
votes
1answer
103 views

Can you dump the contents of your phone (os + apps + data) and run that in an emulator/Android Studio?

Is there a way to dump the contents of your phone (OS + apps + data) and run them on a PC in an emulator of some sort? I feel like there are security implications to being able to do this but with ...
0
votes
0answers
52 views

Permission denied

[ASL] gives this error in library installations: %ANDROID%\platform-tools\adb.exe push %NATIVE% /data/local/asl-native --->RUN '/data/local/asl-native':Permission denied How can I overcome this ...
1
vote
0answers
3k views

adb shell -> su: not found

How can I overcome this problem? Devices: Samsung Galaxy TabS - Android 4.4.2 HTC M8 - Android 5.0.1 The two devices have the same problem.
0
votes
1answer
70 views

Titanium restore vs. ADB restore. Which one is better after a system update?

I backed up my phone (HTC ONE M7, Android 4.4.2) with ADB backup -all -apk (one with -nosystem and once without it). I also backed up by Titanium Free (option system + apps). I also copied the media, ...
1
vote
1answer
137 views

How to reset Google Keyboard language using ADB?

So I have to add an automation step wherein the keyboard language needs to be reset in case someone changes it. I have used adb for this and it works well on Samsung phones, but it doesn't work on ...
0
votes
0answers
18 views

Downloaded screen locker failed to work and disabled my tablet to open

I downloaded a screen locker on my tablet, fancy locker to be exact. I made my own design but after activating it, my tablet no longer open. It just stays on screen with the screen lock i designed. ...
0
votes
0answers
224 views

Lenovo A6000 Plus, Rom got crashed while updating to newer version, Stuck with Android System Recovery

I own Lenovo A600 plus and recently while updating from android 4.4 to the newer version it got crashed. Now all I can see is the android system recovery <3e> screen with reboot system now option ...
1
vote
1answer
468 views

Android 6: connect as camera per default

When I connect an Android 6 phone with my pc via USB, it always connects as "USB for charging". I have to set it to "connect as camera" (PTP) manually (for ADB to work) every time. Can I set a ...
0
votes
1answer
45 views

Is it possible to record screens of two android phones connected to a PC?

I am new to Mobile testing, Recently started using Android adb and started recording device screen using adb shell screenrecord command. Just wanted to know if we can record screens of two android ...
0
votes
1answer
106 views

How to skip “Welcome Page” in Chrome using adb

I am trying to open a URL in Google Chrome using adb command line. Have set "--no-first-run" using following command - adb shell 'echo "chrome --no-first-run" > ...
2
votes
1answer
375 views

Android ADB has root access but no SU binary

I recently purchased an Android TV box that claimed to come "pre-rooted", however there is no SuperSU apk or SU binary installed. The interesting thing is that I am automatically logged in as the root ...
0
votes
0answers
22 views

Use a different adbkey

The adb command uses ~/.android/adbkey by default. Is there any way to specify a different key that should be used, either on a per device or per adb instance basis? The functionality I'm looking ...
0
votes
0answers
39 views

ADB push failed to copy, function not implemented

I cross compiled a library for my Android phone, and I keep getting the message when I try to push failed to copy '/home/sanctus/Desktop/native-android-ports/libc-arm/crypt/libcrypt.so.1' to ...
0
votes
1answer
162 views

Bootlooping LG Volt will not connect w/ ADB

Rooted LG Volt is bootlooping after build.prop and cpu setting changes, and I am unable to connect via ADB to restore build.prop or reflash system How can I get the phone to connect via ADB? ...
0
votes
0answers
404 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 ...
2
votes
0answers
345 views

How do I remove orphaned permissions that are preventing an app reinstalling on Android lollipop

I have a ZTE phone I'm unable to reinstall facebook on using the Google Play Store - I get the notorious -505 unknown error. If I install a downloaded facebook apk using adb I get the following ...
0
votes
1answer
102 views

Retrieve Files From Device in Bootloader

I'm working on an android application. I accidentally turned on a developer option(I'm guessing RTL Layout), and now I get the message "..System UI has stopped working". I tried to clear the cache ...
0
votes
0answers
2k views

Windows 10 ADB driver to debug HTC phone via USB?

I'm trying to test an application on an old HTC Incredible S smartphone (running Android 4.0.4). I've enabled USB debugging on the phone and connected the USB cable, but .\adb devices doesn't detect ...
2
votes
1answer
296 views

Activate Tethering with ADB - Android 5.1

I'm on LINUX, and I've create a simple script to activate : - Data connexion (3G/4G) switch ON - Enable tethering switch ON - Change PC ethernet connexion So I've just have to plug my phone on my ...
0
votes
0answers
443 views

adb sideload Throws error: closed on Nexus 6

I am trying to sideload the Android Marshallow OTA on my Nexus 6 using adb sideload "<android marshmallow OTA>.zip", but the console keeps printing out error: closed with no success. I verified ...
0
votes
0answers
243 views

Configure & connect to Wi-Fi using ADB on Android 5.1.1

I'm using Nexus 4 with Android 5.1.1. I need to connect to Wi-Fi router in my automation. For that I need to use ADB interface. I connected to mobile using ADB. I also configured the ...
1
vote
1answer
206 views

ADB works over USB, but doesn't work over Wifi

I have weird issue with NTT 407 tablet that works on Android 4.1.1. I've switched "USB Debugging" and when I plug USB, adb works fine. But I need it working over Wifi, so I connect to my AP, set ...
0
votes
0answers
72 views

Broken screen get adb connection android 5.1, rooted

Cyanogenmod Galaxy S4. Now the Display broke completly and i need acces to what is on my screen. This would work, with adb and such. But i can't enable ADB, because i need to click onto the screen to ...
0
votes
0answers
177 views

ADB can't find Nexus 7 after bootloading

I am trying to update my (unrooted and unlocked) Nexus 7 2013 wi-fi to Marshmallow via OTA. My Nexus is in USB debug mode and I have installed adb on my system and download the update package file. ...
3
votes
0answers
121 views

su doesn't give root acess

I have an HTC Sensation and I'm using Linux on my workstation. I would like to switch S-Off on this phone. I found documentation, but when I type su in adb I don't have root access: shell@android:/ ...
0
votes
2answers
140 views

How to pull mmcblk0 to a windows pc?

So here is what i want to pull : mmcblk0 whith it's size 15.7 GB. C:\adb>adb shell shell@android:/ $ su su shell@android:/ # fdisk -l /dev/block/mmcblk0 fdisk -l /dev/block/mmcblk0 Disk ...
0
votes
0answers
29 views

Using ROMs made for a specific device

I have a moto x 2013 Dev edition and got the unfortunate news yesterday that Motorola will not be updating my device to marshmallow, which I understand as an older device, but the specs of this phone ...
1
vote
0answers
116 views

Test wired headset detection via software

Since I still don't know whether my problem (call audio doesn't work without headset or speakerphone) is caused by faulty hardware or by software, I'd like to know the following: Is there a way to ...
0
votes
0answers
136 views

How can I install e2fsprogs on my device?

My phone has the "Monkey Test" virus and there is solution in here, but when I try to execute this command: chattr -iaA providerCertificate.apk I receive the error "chattr : not found". I found a ...
0
votes
1answer
650 views

Nexus 6 Not Showing up in “My Computer” or ADB with Debug Mode Enabled

I use my Nexus 6 for the purposes of developing Android apps, and I have been using my laptop along with my phone to write and test the apps. In the past, I have never had any issues with connecting ...
0
votes
1answer
86 views

Issuing adb shell commands with arguments

So I can issue a shell command on my GalaxyS5 device using this: $ adb shell run-as com.steenriver.littlecrane 'sh -c pwd' /data/data/com.steenriver.littlecrane $ adb shell run-as ...
0
votes
0answers
118 views

Replace internal memory in LG G4 H815T

One moment the phone was working and then it's not. It stayed on the boot animation and wouldn't go anywhere. I had someone replaced the memory chip but I am not sure where to go from there. I have ...
1
vote
1answer
298 views

ADB sideload doesn't work, no drivers

Sometimes on my Nexus 9 (LMY48M)ADB sideload doesn't work as the device doesn't have a driver. This is true for both stock and TWRP. However, ADB from booted Android works perfectly. I have ADB ...
0
votes
1answer
150 views

Automating adb commands

is there a way to run adb shell commands via windows? I would like to run a batch script such as this adb shell mount -o rw,remount /system exit Currently when i run the batch script it only ...
-1
votes
1answer
844 views

Does “fastboot flash recovery <recovery-file.img>” command work with any android device? [duplicate]

The command is used to flash a recovery. Do you have to use odin like tools to flash it or you can just use adb? Thank you
0
votes
0answers
135 views

ADB version of these terminal emulator instructions?

I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install. They recommend performing the following commands in adb if that's ...
1
vote
1answer
1k views

Authorize adb in recovery mode

I need to authorize adb in recovery mode on my Galaxy S3 I9300 (international edition) in order to make a backup of my files. The problem is that I cannot boot the cyanogenmod which is install on the ...
1
vote
0answers
971 views

Protocol fault (no status) or Device not found error when sideloading

I'm using the Moto G 1st gen, mfastboot and Cyanogenmod. I've turned off MTP, enabled usb debugging and have set the android device to use the motorola adb interface in device manager. If i kill the ...
0
votes
1answer
210 views

Getting “???” and no permissions when using 'adb devices' on Linux

I am new to Android and ADB. This is my first time trying to install Linux on an Android device. I have been stepping though this tutorial. I am at step 5, where the tutorial claims I will need to ...
1
vote
0answers
154 views

Whatsapp folder in /data/ parition gone

I was reflashing CM10.2 on my GT-i9300. (Also did a backup with CWM 6 but the data partition was not backuped, which I did not noticed..) I booted the new Rom and installed Titanium Backup to recover ...
0
votes
1answer
58 views

Fastboot command not working as expected

When I connect my android phone in fastboot mode and enter fastboot devices ,I get no output at terminal ,but when I enter fastboot -i 0x1ebf devices I get an output.I need -i option with every other ...
1
vote
0answers
335 views

Android: Google Play - App Will Not Install - Why?

Hello everybody I face annoying error when, whenever I try to install this app I face many errors. Ok, per usual, I tried installing it through Google Play store but whenever I do so I get this error: ...
3
votes
1answer
2k 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
0answers
43 views

How to flash device with ADB key already accepted

I have a few Nexus devices I flash to different versions frequently for development purposes. It would be nice if the ADB key and so forth was pre-accepted after flashing. An idea I had to do this ...
0
votes
0answers
418 views

Unlock Galaxy S5 - freez at: downloading do not turn off target

Before everything I request do not link to irrelevant questions such as this. What I want to do: I want to install Ubuntu Touch on samsung galaxy S5. I use ubuntu on my laptop. What I have done: I ...
2
votes
1answer
261 views

Root vs USB ADB

As root is triggering knox, I would like to ask: Can I do everything root does through USB and ADB terminal? What are the things I won't be able to do that root gives me?
1
vote
0answers
42 views

access files of app and run-as command alternative for debugging

I try to access data\data folder without root because I want to access some downloaded files by the app and I have realized the files download in data directory. I have tried to pull to sdcard but as ...
0
votes
0answers
181 views

How to access internal memory of android device with a broken display and without root permission?

My Samsung Galaxy Grand has a broken display. I need to access my media files( Photos and Videos ) from the internal memory of the device. What I have tried - Tried with Samsung KIES. tried to ...
0
votes
0answers
80 views

Y300-0100 Hard Brik

I Have Huawei Y300-0100. And i cant go to recovery. Just fast boot and adb. And update screen (boot loader). I unlocked it before and now i cant lock it because i got invade key or image ...