Tagged Questions

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
1answer
97 views

Serious issue of ADB auto exiting

ADB always exits by itself causing (many times) almost wiping my data folder on PC instead of /data on Android. It does this even while I'm typing commands (!) as if there is a timer that makes it ...
0
votes
0answers
541 views

adb/fastboot can't find device in bootloader, but they can do it when booted

I have worked on building Android from source code for few weeks. It used to be fine to me with my Galaxy Nexus, I can connect to my device via adb and fastboot and flash either the factory ROM or ROM ...
0
votes
1answer
248 views

I have broken screen. Can I root my phone only with downloading mode and recovering mode?

I want to recover my data from my Samsung S Duos. I have broken screen, so I can't do anything, even unlock (because I have a password to enter the phone). I tried to install CWM and connect with ADB, ...
0
votes
0answers
47 views

adb deamon run as root - help

I wanted to get adb daemon executed as root. So I followed following steps. adb shell su (now with root) I mount rootfs / in read write mode. I notice default.prop file and open it using vi. Value of ...
0
votes
1answer
56 views

Fully Wipe Nexus Device

I have a Nexus 7 2013 WiFi-only (flo) device. I rooted it and just generally messed around with it. Now I want to put it back to complete stock everything (bootloader, recovery, ROM, etc) AND ...
1
vote
2answers
1k views

adb pull /data fails

I have rooted my device HTC Evo Design 4G and I try to adb pull /data data and it says "0 files pull 0 file skipped" I was able to pull /System/build.prop. How can I pull root folder. Thank you iua ...
3
votes
0answers
487 views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...
2
votes
2answers
230 views

Interpretting the output of dumpsys telephony.registry

So when I run the command dumpsys telephony.registry | grep -i signalstrength I get the following output: mSignalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 25 -93 -12 300 2147483647 ...
0
votes
0answers
164 views

Nexus 5 backup with ADB 'pull'

Is it possible to back up all the user data on my Nexus 5 (apps, pictures, everything) by running the following command while the device is in recovery (assuming all partitions are unmounted)? adb ...
1
vote
1answer
1k views

ADB device list empty, needed to edit build.prop

adb devices in the command shell gives me an empty list. I know this question is usually solved by: adb kill-server, adb start-server. However it still doesn't work. I had it working before because I ...
0
votes
0answers
352 views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
1
vote
1answer
317 views

ADB not seeing device after update

I just updated the Android SDK Tools to 22.6.4 and the Google USB Driver to Rev. 10 and now ADB cannot see the device. Device: Honeywell Dolphin 70e Black with 4.0.3 Modified the android_winusb.inf ...
1
vote
1answer
269 views

ADB shell: change IME method gives error “Unknown ID: null”

I bought a Chinese Android 4.2.2 smartwatch and discover it does not have a virtual keyboard. There is also no "input" option in Settings (there is "language" only). I installed a third party ...
5
votes
1answer
1k views

ADB shell-ing to wifi connected device when usb device present

I have two devices connected to my workstation simultaneously, one by usb, the other over wifi. C:\>adb devices List of devices attached Cxxxxxxxxxx2 device 192.168.60.69:5555 ...
0
votes
1answer
30 views

Forward console output to computer

Is there a way to forward the console output of your phone (I'm assuming there is some because Linux) to your computer, maybe using ADB? I'm especially interested in how to get the boot time messages, ...
0
votes
1answer
203 views

Oddities Reading boot.img - Way Too Big and Errors In Kernel

This is related to this question but as I've made some progress since and run into some rather different issues that would mean I'd essentially have to rewrite it to be a totally different question ...
0
votes
1answer
76 views

ADB “screenrecord” not working when executed form device

I recently found out about the screenrecord feature of ADB on Android since API19. If I try and execute this from Android Terminal Emulator on my device, I get the response from the device I would ...
0
votes
1answer
2k views

I can't find the boot/recovery partitions on my Android phone for backup - where are they?

I'm trying to back up boot.img, recovery.img, and system.img on my Android phone. I've found several mentions of running this command: cat proc/mtd and then just using dd to copy the listed mount ...
0
votes
1answer
277 views

Recording phone screen and playing the video file

I am very new to the whole world of android. I have been trying to record my phone screen(Nexus 5) through command prompt. I have also downloaded the SDK. I am able to record the screen. For some ...
0
votes
1answer
138 views

ADB Push not keeping file permissions, specifically execute permission

I "inadvertently" wiped system on my tablet with adb. No critique needed. I've already called myself all the names. What I need now is a way to put at least the "sh" program back on using adb or other ...
1
vote
1answer
198 views

Bricked phone due to cut-pasting of apk files

I accidentally cut all the .apk and .odex files from /system/apps/ and pasted onto the SD card instead of copying and pasting them. My phone is totally bricked. Stuck in a boot-loop and factory reset ...
0
votes
0answers
48 views

Upload system directory from rom to system partition

I was updating my HTC Sensation (unlocked, S-OFF) from CM10.2 to CM11. I did standard full wipe, flashed boot.img using fastboot, and then gone to my recovery (twrp) to install the zip (contains ...
0
votes
0answers
294 views

Fastboot command returns a list of question marks

I am trying to root an Acer Iconia Tab A200 tablet using a script. I have adb working and fastboot works too, however, command fastboot devices returns a list of question marks. Eg: ???????????? ...
0
votes
1answer
82 views

What application turn on wifi/GPS?

What application turn on wifi/GPS at specific moment (adb logcat or what tools to use, what strings look for)? What installed application able to turn on wifi/GPS? Or more generally how I can get ...
1
vote
1answer
6k views

adb shell su: permission denied

I was trying to unlock my android phone by adb installed. I tried to followed these steps: adb devices adb shell cd data/system su rm *.key But when I typed and enter su, it's showing permission ...
3
votes
1answer
350 views

How to end call via adb in android 2.2.1?

Im creating small call center like system based on pyadb. I was developing for my phone which has custom SlimKat ROM - kitkat based. To call i do :adb shell am start -a android.intent.action.CALL -d ...
0
votes
1answer
174 views

I move a folder in android root directory to SDcard directory in internal phone memory. Is there a way to restore it back?

The folder was custpack in root directory and the phone will not boot now. I can still access a recovery mode but it only have a stock recovery from the manufacture. No custom recovery available for ...
1
vote
1answer
58 views

ERRORLEVELs in adb push and pull

I need to execute adb commands from DOS batch files, but I need to know if the push and pull commands were successful. Do these commands return an ERRORLEVEL, or some other environment variable to ...
2
votes
1answer
212 views

LG Optimus Zone 2, Kitkat ADB connection problems

I have purchased an lg optimus zone 2 to develop on and I have removed all of the drivers for the phone on my windows 7 machine. I downloaded the OEM driver from LG and disconnected my network. After ...
1
vote
0answers
365 views

adb backup probably fails when trying to backup a single application

Following the advice here http://android.stackexchange.com/a/38277/27533, I am trying to migrate the application from Nexus 7 to ASUS ME302C. (Actually, my daughter desperately needs that -- you know, ...
5
votes
2answers
1k views

Accessing android device via ADB shell with broken touchscreen (can't authenticate)

So, the touchscreen on my Nexus 4 broke this weekend. I have a new device coming in, but in the meantime I need to be able to access the device to use a few different apps and send/receive some SMS ...
1
vote
1answer
529 views

Application not installed (different)

So when I updated my Android to 4.4.2, the default Samsung Gallery app disappeared. Now, I decided to dig into the files of the Android 4.4.2 update and extracted the system.img and found the ...
1
vote
1answer
647 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 ...
0
votes
0answers
11 views

How do I enable USB debugging on my broken digitizer nexus 7? [duplicate]

I dropped my Nexus 7 and the screen is broken (I can still see the background image, but the touch-input is broken. Everything else still seems to be working). I'm a noob at android, but I think I ...
0
votes
0answers
116 views

Measuring rendered frame statistics on Android

I have a 2nd gen Nexus 7. There's a adb shell command that can give the time it takes to render each of it's last 128 frames. adb shell dumpsys gfxinfo <package_name> But I want ...
1
vote
0answers
412 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
74 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
466 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
120 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
392 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 ...
0
votes
2answers
1k 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
16 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
114 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 ...
0
votes
1answer
857 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 ...
0
votes
1answer
395 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
132 views

Factory reset a bricked device on adb

My phone is stuck on android logo. What i want is to factory reset my phone. I can not do anything else than rebooting my phone Recovery is not available What i tried : (My phone is rooted)
0
votes
0answers
115 views

“Windows was unable to install your Nexus 7.” I'm having troubles getting the drivers to work in a way that allows me to run to device

My goal: I want to be able to run to device from an IDE, like eclipse/intellij. My problem: I cannot get the usb drivers to install. I have tried many guides, but they all fail at the step where I ...
0
votes
2answers
2k 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
0answers
71 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
94 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 ...