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

10
votes
1answer
10k views

What all does ADB backup and how do I restore part of it?

I am soon going to unlock bootloader and root my Nexus 5, but I didn't wanted to wipe all the data so I thought of using the ADB backup function to restore after rooting is done. adb backup [-f ...
1
vote
1answer
797 views

How to setup a PPP connection between an Android smartphone and a Linux computer?

For testing purposes, I need to connect an Android smartphone to my Linux desktop computer to enable communication between the phone and some servers on the LAN. I can't use Wi-Fi so I'm stuck with IP ...
0
votes
1answer
188 views

Transfer file securely android to pc via LAN

I need a file transfer from android device to pc server.Both of them is in same network.First i tried file transfer via adb.But adb is not secure connection. How do i securely transfer between ...
0
votes
2answers
2k views

Is it possible to cat a file to an android phone and dd to /dev/xxx on the fly with just adb shell?

adb shell dd if=/dev/block/mmcblk0p7 > backup.bin works to backup android phone partition to computer but when I want to restore using cat backup.bin | adb shell dd of=/dev/block/mmcblk0p7 ...
0
votes
0answers
179 views

adb push very slow in virtualbox

I am running Ubuntu 14 in a vm and when I use adb push to transfer a rom to my sdcard the average speed is 60B/s :) Has anyone a idea how to speed things up?
0
votes
1answer
622 views

Mount /system/app/ using adb (non rooted phone)

Is it possible to mount /system/app/ or to push an apk file to /system/app/ using adb on a non rooted phone? I am trying to use adb push to push an apk file to the aforementioned directory but it ...
9
votes
2answers
41k views

How to start root shell with Android Studio?

I just installed Android Studio. How do I get into root shell on my phone? Or do I have to download ADB separately?
0
votes
0answers
17 views

How to access data remotely in android [duplicate]

Hi I need a bit help of you. My android phone display and Touch screen had broken. i want to recover my all data. Unfortunately My USB debugging is OFF so I can not use adb shell and access my device. ...
0
votes
1answer
168 views

Samsung Galaxy Player 5.0 won't turn on after messing with build.prop

I went to mess with my build.prop to do some stuff and then my device wouldnt turn on. I tried looking everywhere for ways to fix it but none will work because it keeps ending with when im in cmd with ...
1
vote
1answer
2k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
1
vote
1answer
1k 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
2answers
3k views

Htc one m7 International not recognized in adb mode

I have an htc one m7 running bootloader hboot 1.56. I unlocked the bootloader via htcdev.com The bootloader now shows Unlocked My phone is recognized in adb when the phone is turned on. But when i go ...
0
votes
1answer
120 views

Rooting Unknown Device

Actually i want to root not-branded tablet. That table is running Android Jelly bean 4.2.2, Kernel 3.0.8+. Current my status: From the start i have root access in adb shell I managed update su ...
0
votes
1answer
269 views

Restore app data from a copied 'com.company.appname' folder

Before wiping my 2012 Nexus 7 I created an app backup using the Backup function of the Nexus Root Toolkit (v1.8.2). This produced a large .ab file. I want to restore a single app to the newly ...
-1
votes
1answer
103 views

CLI commands in android?

Since Android is linux, cant i use standard linux commands inside android? I know there are applications that allow for a "Command Line Interface" (CLI). I also imagine that adb would provide access ...
0
votes
1answer
2k views

Sending intents with adb with ACTION_VIEW, setData, and putExtra?

How do I convert the following java code to an adb command? Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("com.glass.videoglass://")); intent.putExtra("startFromWS", true); ...
2
votes
0answers
4k views

Enable usb debugging mode from adb under clockworkmode “Broken digitizer” [duplicate]

My friend brought me a Xtreamer Q mobile phone with broken screen, clockworkmode is working, but USB debugging mode is disabled, I found some posts about how to enable it from adb i tried them and ...
1
vote
2answers
659 views

Is it possible to adb connect android via wifi without configuring port on android?

I can connect via wifi by typing these codes in android terminal - setprop service.adb.tcp.port 5555 stop adbd start adbd and connect ip:port on PC adb .. it is connected .. Is there any ...
2
votes
2answers
2k views

ADB backup is not working

I just tried to make a backup from my Nexus 5 (before installing CM 11) It is unlocked but not rooted. On PC side I'm working with Ubuntu 13.10. When I type adb backup –all -apk -nosystem –f ...
1
vote
1answer
809 views

How can I syncronize android time with machine via ADB

How can I update android time via ADB? I know I can run this comand via windows cmd: adb shell date -s 20140414.130000 But I need to synchronize the time with my windows machine. Is this possible ...
13
votes
1answer
15k views

Manually switch from ART to Dalvik

I wanted to try out the new ART runtime, but didn't realize my custom ROM doesn't support it. So now I am getting recurring Force Closed messages after booting, and can't get through to the settings ...
0
votes
2answers
623 views

How can I manage “desktop” icons

I want to remove all the icons on the desktop, (and also in the bottom bar) and place new ones via ADB. My script already removes all the apps, but icons/shortcuts remanin there! Is there any command ...
1
vote
1answer
7k views

What does the command `adb sideload FILE` do?

I am reading a tutorial on the sideload command at link. It contains the steps of rebooting into recovery mode and using adb sideload [file].zip. My question is that what does sideload actually do ...
0
votes
4answers
26k views

How can I enable USB debugging on my HTC One with Android 4.4?

I have recently updated my HTC One from the stock 4.3 firmware it came with to the stock 4.4 firmware via an OTA update. Since this update occured, I am no longer able to connect to the device with ...
0
votes
1answer
2k views

Uninstall app without deleting data

I am building an app that receives updates from a server. So at the beginning of the app, a download occurs. However, this thing is getting a bit annoying since whenever I want to test a new build, I ...
1
vote
3answers
19k views

adb sideload does not transfer data

Just to clarify, it's my first time trying to unlock and root my phone, so I'm not very knowledgeable in this matter. I basically followed the steps to unlock the bootloader. Everything worked ...
0
votes
0answers
204 views

How to traverse camera from device via adb to my Ubuntu?

What is the best way to traverse web camera? E.g. there is great number of web servers for android with video translations. How to get access to its via adb? Or wi-fi would be a easiest way?
1
vote
0answers
443 views

Help with this ADB REVERSE Tethering Script?

I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am ...
2
votes
1answer
60 views

Please explain this weird response to adb command

127|root@android:/ # find / -iname "aaengine" find: /proc/19619: No such file or directory I dont know why I got told about some file I never known about when ...
0
votes
1answer
8k views

Go to recovery mode on device without volume key

Is there a universal way to enter recovery mode on an Android device with only one turn on/off button? I have a tablet (Navon Raptor 7) like this and I can't figure it out. An other problem is that ...
2
votes
1answer
458 views

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
1
vote
1answer
181 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
11k views

ADB not recognizing Moto G

I've recently acquired a Motorola Moto G, and I plan to use it for development. I downloaded ADT, updated the SDK tools and the KitKat platform, but Eclipse still doesn't recognise my device. I'm ...
1
vote
0answers
1k views

No confirm prompt when trying to use adb backup

I'm trying to do an adb backup of my Galaxy S3 (i747m), but after receiving the "Now unlock your device and confirm the backup operation" order from adb, I never receive the prompt on the device. It ...
3
votes
1answer
12k views

Stuck in Fastboot?! Help please!

I tried to get CM11 on my LG G2 on Bell Canada's network and I really messed it up. I can no longer get into recovery, adb doesn't see my phone, but download mode works (though I have no idea how to ...
0
votes
1answer
2k 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 ...
2
votes
2answers
2k views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
0
votes
1answer
4k views

crashes on CM11 and mysterious low space issues

I have several crashes (eg. can't start whatsapp, google play) sometimes clearing cache work. it's seems there is a race on storage the app that gets first cache works others did not. I tried to ...
0
votes
1answer
1k views

Why the file path the phone tells me ,I couldn't find in 'adb shell'?

I used my new Moto X phone, then I encountered a basic problem. It's running Android 4.4.2. I take a photo, and want to send it to my PC. The Gallery app tells me the photo is at ...
1
vote
0answers
733 views

ZTE Nubia Z5 Problem?

I have a Zte Nubia Z5 ("2nd Hand") with a software camera problem (I think is a software problem because the camera works sometimes) The phone has Android 4.1.2. I tried to hard reset the phone but I ...
0
votes
0answers
407 views

No OS and no recovery mode

My OS wasn't working anymore for some reason so I tried to restore it using recovery mode. I had TWRP and after trying a few roms and having it tell me every single time that it failed to install ...
0
votes
1answer
146 views

LG Optimus P500 system essential apps deleted accidentally

I recently rooted my LG P500 successfully. But after that, in removing some bloatware I deleted some of my system apps. After that my notifications area is visible but my home screen and apps screen ...
1
vote
0answers
298 views

Access encrypted internal storage without touch

Is there a way to access the encrypted internal storage without using the display? I damaged the display of my nexus 4 (Android 4.4, cm-11-20140104-SNAPSHOT-M2-mako) and need to access the encrypted ...
0
votes
2answers
20k 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 ...
0
votes
1answer
2k views

How to batch install apks from computer to android without actually touching my android

I want to batch install apks from my desktop directly. Such as I downloaded many apks on desktop and want to install apks without actually touching my android
1
vote
0answers
496 views

How to recover data via adb?

My phone is huawei u8800 and it keeps restarting as soon as opened. Now it is closed and in adb, I tried adb backup -all but it gave the error now unlock your device and confirm the backup ...
0
votes
1answer
158 views

adb blind backup

I need to repair my Android phone (it is Jiayu G4 with Os 4.0.2) since display is not working. Yet touches are being handled. Could anyone with Android devtools installed at their PC instruct me which ...
0
votes
1answer
101 views

Does adb root command survive reboots?

I am little confused by the behavior of my device recently. I tried to push a file into my unrooted device and it did throw "Permission denied on me". i did adb root and then tried to push the file ...
0
votes
1answer
2k views

How to execute a file via adb command line?

I am trying to root my Motorola Xoom. Root checker pro currently tells me that "Executing this file can grant root access!" So I want to try that. the file is located in system/bin and is called su. ...
1
vote
1answer
4k views

Run native executable in Android

When I install FaceNiff on Bluestack and try to run the executable file from adb shell by ./FaceNiff I get the error: /system/bin/sh: ./FaceNiff: not executable: magic 7F45 I have rooted the ...