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
32 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
362 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
195 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
117 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
339 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
230 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
688 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
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. ...
0
votes
0answers
40 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
38 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
1k 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
124 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
94 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
83 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
64 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 ...
0
votes
1answer
164 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
44 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 ...
1
vote
0answers
127 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
45 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
229 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
56 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
54 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
18 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
74 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
118 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
291 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
115 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
71 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
791 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
240 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 ...
2
votes
1answer
98 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 / ...
5
votes
1answer
659 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 ...
4
votes
3answers
734 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, ...
-1
votes
1answer
103 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 ...
1
vote
1answer
434 views

Unbrick Lenovo ZUK Z1, after every partition was formatted

Bricked my phone trying to install Cyanogenmod on it. Formatted every partition, including /boot and /recovery. The phone can't: Boot into home screen. Be reached by ADB. Have it's bootloader ...
0
votes
0answers
94 views

xperia z5 broken screen locked need data

I had a sony xperia z5 compact for about 2 weeks until i smashed the screen. I have searched online to find some help to recover my photos and videos taken with the device. I didnt have any cloud set ...
0
votes
1answer
126 views

Recovering files in Android phone, phone stuck in boot loop

My phone is currently stuck in a boot loop. I tried using minimal adb and fastboot but I can't seem to do it. I have also read in some forums that usb debugging should be enable and the phone should ...
3
votes
0answers
68 views

Cannot remove/rename/move build.prop, new insights

I've already asked this question before but I haven't gotten any progress, but did note some things. First the problem again. I soft bricked my phone by editing a line in build.prop, specifically ...
0
votes
0answers
135 views

Cannot remove/rename/move build.prop

I soft bricked my phone by editing a line in build.prop, specifically this one. ro.config.hwtheme=1 to ro.config.hwtheme=0 My phone didn't like that apparantly. It supposedly fixes the xposed ...
1
vote
1answer
36 views

Fully reseting android system on XCover 2

My brother yesterday tried to install some cracked apps and let a virus in his XCover 2 and i'm afraid that he gave it root permissions. It seems like that virus has removed those permissions or ...
2
votes
1answer
1k 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? ...
0
votes
0answers
177 views

Execute APK in /data/local/tmp?

I built an APK using Apache's Ant. I also used Ant to install it on a Cyanogenmod device: $ cd Android-PRNG Android-PRNG$ ant debug install ... install: [echo] Installing ...
0
votes
1answer
95 views

ADB Backup does not work for Skype App

I have a Nexus 5 with Android 6. The ROM is stock and not rooted. My bootloader is locked too. When I try to save the Skype data files (chats, messages...) nothing will be saved. adb backup -noapk ...
0
votes
0answers
69 views

Keyboard not shown completely after resizing screen for dead zone

I have a dead touch zone on my phone screen just what OP had in this question: "Resize screen for Dead touch zone" I've managed to reduce screen height successfully but unfortunately part of the ...
0
votes
0answers
50 views

ubuntu fastboot devices not returning anything

I have tried the following for Note 3 running kitkat 4.4.2 Downloaded android sdk and hence using the latest fastboot (adb can see device) Added myself to plugdev grp and setup udev mentioned below. ...
0
votes
0answers
247 views

Cannot use ADB on a bricked phone

I'm trying to unbrick a soft-bricked Android phone, and many tutorials say to use ADB to fix it, but I cannot use ADB or fastboot, since the device is not reconized. It's a Lenovo Zuk Z1, I am running ...
5
votes
2answers
191 views

Pattern-locked Samsung Galaxy with SuperSU and no internet

Some months ago, I rooted my Samsung Galaxy and installed SuperSU. Stupidly, I'd had believed that the only thing that happens when you enter the pattern wrong too many times is that you have to wait ...
0
votes
1answer
170 views

ADB Drivers: Installation and Use

There is very little documentation available for the ADB driver. I started off trying to install the official thing. No clue on if you are supposed to install the driver listed on the same page ...
0
votes
0answers
202 views

Can I control android through adb ? cannot accept an RSA key through device(broken digitizer)

Hello Fellow android enthusiasts, Happy holidays! I have a rooted LG G2 running android 4.4 with a unresponsive screen, luckily USB debugging was enabled but sadly I cant accept the dialog asking ...