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
4 views

Custom ROM - easiest way to default to functional adb

When building a custom ROM (or for that matter, modifying existing) - what's the best way to make sure that the OS starts up with adb-USB enabled, and with the host's key already accepted?
0
votes
0answers
8 views

trying to adb backup but dialog doesn't show

I have sony xperia P device and I want to flash its ROM to get Marshmallow(I currently have android 4.0.4). I want to do full backup of my phone before doing this, I knew about adb backup command, ...
1
vote
1answer
30 views

Wondering if i can debloat some google apps from unrooted lg phone for my father?

My father being older does not want to modify his phone, however he has a LG L70 and no sd card, and doesn't use some unnecessary Google apps, such as play, books, and whatever else. My question is ...
0
votes
0answers
37 views

Nexus 10 + Cyanogenmod 13 with Android 6.0.1 + TWRP 2.8.7.0 ---> ADB Recovery device was not found

Hello to every Android lover. I'm trying to "Create Nandroid Backup w/Custom Recovery" as shown on the attached pic called "2016-02-02_14-12-02.png" with the "Nexus Root Toolkit 2.1.4". The process ...
3
votes
2answers
63 views

My phone is soft-bricked after ADB update

This is the problem: I always connect my phone to computer, to charge it, but I tried to execute ADB shell into recovery mode. 1- I've entered into recovery mode 2- I tried to go to "Apply update ...
-1
votes
0answers
21 views

ADB backup will include file system to?

Will adb backup include the file system to? I mean folders like lib,etc,framework,vendor...or just the app and private app?Thank you?
0
votes
0answers
33 views

Is it possible to pull data in ADB sideload mode

My phone is locked, as explained here. Since I can't find the password, I want to backup my data before a reset. I've just installed Android Studio and Samsung USB driver. Boot my phone on "apply ...
-1
votes
1answer
29 views

ADB failed to detect Nexus 5 running Android Marshmallow

File transfer is working properly. Latest drivers are installed. Settings -> Developer options (Enabled) Android Debugging (Enabled) (ADB Detects my phone when it is in Recovery mode) So probably ...
0
votes
0answers
44 views

Is it possible to use adb to push to the extSdCard (Samsung S3, getting permission denied error)?

I am trying to push a media file to a rooted Samsung S3 running Samsung's stock Android 4.3. I have tried $ adb push file /storage/extSdCard failed to copy file to '/storage/extSdCard/file`: ...
-1
votes
0answers
43 views

Run ADB commands without using a computer

I want to use adb without a computer to install apps in all accounts and gain unrestricted (Terminal emulator is restricted by app permissions but adb shell is not) shell and create adb backups .I ...
0
votes
1answer
37 views

Can't use chmod to alter permissions on emulated phone

So, I'm trying to make an app in android studio and I need to reference a particular file in the app, cascade.xml. I've pushed it onto the emulated phone no problem using adb (it's in the ...
4
votes
2answers
112 views

Lockscreen is missing, can I reinstall the lockscreen somehow?

On boot my mobile phone goes to the lockscreen background but doesn't show the unlock symbol. I've tried dragging the button blind but it's not just that it's not visible, it's not there. Neither ...
0
votes
1answer
62 views

Backup/flash system and data without unlocking bootloader?

I was wondering if I can make a full backup of my system partition via fastboot or adb and re-apply the backup to a different phone of the exact same model? Or is this only possible if the bootloader ...
0
votes
1answer
23 views

I flashed recoveries with Odin, why doesn't my phone boot bow?

Samsung S3 Android phone, not rooted, stock firmware. In chronological order: I turned on USB debugging, although could not use fastboot. I used Odin to flash multiple recoveries, but I don't think I ...
0
votes
1answer
26 views

How can I connect to ADB on my Galaxy S3 without connecting with USB at all? [duplicate]

So my Galaxy S3's microUSB port is broken and it won't connect to PC. It doesn't have root. I tried rooting it but none of the methods shown on the internet gave me results (I installed the newest ...
1
vote
2answers
126 views

How to add contacts using adb without user interaction?

Following this I found out how to add a contact using adb. The only thing that's bugging me is that the user has to okay/cancel the action, because a create-contact dialog appears on the screen. What ...
0
votes
0answers
43 views

Xiaomi Redmi Note 3 on Android Studio doesn't work

Need some help installing Xiaomi Drivers on Windows 10! I tried to install drivers from this question, but it didn't work. Could anyone help me with this problem? Thanks in advance!
1
vote
2answers
53 views

Remove a folder I created in /system/lib

I have root access and am able to remount. I created a folder in /system/lib/ named rfsa, but I don't know why I cannot see or open that folder. When I type ls, it is there. But when I type ls -l, I ...
3
votes
1answer
103 views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
1
vote
1answer
70 views

How do I install missing command line tools onto an Android device?

Android installations do not always have all the tools one would expect to have on a Unix-like system. For example, right now I have a problematic device which doesn't have find CLI utility. I mean, ...
1
vote
1answer
88 views

Installing USB driver for XIAOMI Android Studio

I read the Using Hardware Devices page that describes how to connect your device to Android Studio that allows you to install and run your apps on your device. But I have a Xiaomi RedMi 2, and the ...
0
votes
0answers
26 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. ...
0
votes
0answers
31 views

Cant run adb through TCP on kitkat

On a Samsung Galaxy Tab 3 7" Wifi (SM-T210) Jelly Bean 4.1 I used to be able to use permanently ADB through TCP just by turning on Developer Mode, activating ADB, setting the property ...
0
votes
0answers
28 views

Send Multi-touch/Sensor from one phone to another

Hey folks I'm trying to connect two Android devices. I want to send the Multi-touch/Sensors from one device into another device for testing (long story to why :) it's for testing my apps). DO any of ...
3
votes
3answers
89 views

ADB command to wipe data the phone?

I have 200 Russian Phones to flash with UK Firmware. Now when i flash the UK firmware through Odin, it works fine but Russian firmware is still on it, however it does become UK if i factory reset the ...
0
votes
0answers
66 views

My phone storage is empty when connected to pc

I need to back up all data and media on my phone but every time i connect it to pc everything is fine and my pc recongize the phone but not every time i need to plug and unplug phone several times to ...
0
votes
0answers
61 views

Can't update samsung galaxy s4 to lollipop

So i recently bought a phone from an independent seller. When trying to update the phone from kitkat to lollipop i'm getting "Registering device" which is then followed by the error message ...
0
votes
0answers
40 views

can't connect to my lan with my ethernet cable?

hi everybody this is my first post and i hope i might answer here my phone model is huawei y625 (rooted) and I bought this adapter and when i connect this adapter to my phone is gives me nothing so ...
-1
votes
1answer
58 views

Can a hacker simply copy shared prefs from one device to another to hijack a user session/state?

I'm an Android apps developer. I'm trying to address a security concern in one of my apps. I need to test a scenario in which someone will try to copy the shared prefs file (or files) from one ...
-1
votes
1answer
62 views

How to enable adb in bootloader mode?

Is it possible to enable adb in bootloader mode? I've already managed to enable it at boot following this, but couldn't figure out yet how to enable it in bootloader mode (if it is even possible?). ...
0
votes
0answers
29 views

LinuxMint not detecting Nexus 5

I'm trying to test a custom ROM for my Nexus 5 however I can't get started because my computer can't detect my phone. I've switched on USB debugging and downloaded adb/fastboot however my adb devices ...
-2
votes
0answers
87 views

Enable USB debugging from PC

I accidentally broke my Nexus 6 display. Now all I get is a black screen. I cant see anything on the screen though everything else is perfectly fine. Touch is also working. Unfortunately, my USB ...
1
vote
0answers
36 views

Xperia Z5 Compact not visible in adb

I got two android devices: Nexus 7 and Xperia Z5 Compact. Both of them are easily find by adb on my local computer, but I usually work on my notebook, and here comes the problem. Both my devices ...
1
vote
0answers
24 views

What results in blank net.hostname property on Android device using ADB?

Referring to http://superuser.com/questions/408539/how-to-set-friendly-network-name-of-android-computer/1022739#1022739 You can check the device's hostname with net.hostname property (no root needed ...
0
votes
0answers
76 views

How to restore SMS from adb backup file without root

Similar question to this one: I have an ANDROID BACKUP file containing SMS history, produced from phone A using adb. That phone is gone, and this file is the only record I have of that history. I ...
0
votes
1answer
38 views

Transfer image after completely wiping Nexus device

I've completely wiped my Google Nexus device. I still have Team Win Recovery Project. But, seems that the device isn't detecting USB. Executing adb shell returns error: no devices found. Executing ...
0
votes
1answer
35 views

How to Run a script or get adb devices from machine 1 to mobile device which is connected machine 2?

I am attempting to run a Script from Machine 1. [Script would be calabash or Appium]. In machine 1 i didnt connected any device and In machine 2 I have connected 2 Android devices. Machine 1 and ...
0
votes
0answers
14 views

Unsuccessful unlock prevents data wipe

My phone is in a difficult state right now: Can't boot normally (tries to complete unlock). Can't make use of adb (because it is not fully unlocked or locked yet). All I can seemingly get to is the ...
0
votes
0answers
38 views

Grant permissions app Android to avoid root

I want to use an app on Android to modify dpi of mi device. It needs root but i want to avoid It. I have already grant permissions to an app to change the localization of apps that are installed on. ...
0
votes
0answers
15 views

adb command to disable Headsup notification in Android 5.1 [duplicate]

Is there an adb command to turn off the headsup notification at the top of the screen? I get loads of notifications throughout the day, but everytime it popsup I have to wait for it before I can press ...
0
votes
1answer
35 views

push entire folder with ADB

By mistake I deleted the .EXT folder (which contains a file "su") from the system/bin folder of my Android device. Is it possible to use ADB to replace this folder? I have a copy of the Bin folder and ...
1
vote
1answer
99 views

Device boots normally, but cannot enter recovery or fastboot

I have secondhand Vodafone Smart Tab 4G. It seems to me that previous owner messed something up. The device boots normally but I cannot enter either bootloader, fastboot, or recovery. I have tried HW ...
1
vote
0answers
50 views

Need direction on best course of action with an lg16c with Kitkat

I have recently started teaching myself Android systems, and I'm not sure if I bricked or what happened. Now I could seriously use some direction as to the best course of action. Somewhere in the ...
0
votes
1answer
52 views

After OTA update all my data are in shell folder

I have Acer Z530 with Lollipop 5.1, kernel 3.10.65+. I have the 16GB version, without external SD Card. Today I have received an OTA update and after the restart all my data were gone as well as some ...
0
votes
0answers
135 views

adb>shell returns “error: closed” - how to “open” adb shell access through adb sideload

my device got broken but i am still able to connect usb in the stock recovery mode. if i try to start a shell via adb while the device is in recovery mode, i fail. my terminal echos the line: "error: ...
1
vote
0answers
75 views

What is the command to encrypt Android rooted phone directly from the command prompt?

I want to encrypt my Android phone which has an engineering/userdebug binary. Generally it takes around 1 hour, but I heard it can be directly encrypted it with the adb command-line tool. So how do ...
3
votes
1answer
76 views

Copy contacts to sdcard from android 2.3

how to copy my contacts from my sony ericsson wt19i android 2.3 to sdcard? I tried to do this by adb, but does not work. I do it like this: adb devices adb shell su mount -o rw,remount rootfs / ...
4
votes
0answers
215 views

Can't get adb on Macbook to see Pixel C

I'm trying to connect my 2014 Macbook pro to a Pixel C tablet. The tablet has developer settings enabled, usb debugging enabled and unknown sources enabled. 'adb devices' shows nothing and there is ...
3
votes
0answers
166 views

How to check for root access via ADB?

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, ...
-1
votes
1answer
52 views

partition on flash storage via ADB shell

I want to make a FAT 32 partition on unmontable flash because I did something wrong that I can get mount agaim the internal SD of my tablet. So I start with (in ubuntu environment) adb shell cd ...