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

4
votes
0answers
239 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
191 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, ...
3
votes
0answers
44 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 ...
3
votes
0answers
118 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:/ ...
3
votes
0answers
2k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
3
votes
0answers
461 views

Is it possible to clear-default of an app using an ADB command?

Not sure if that's the place to ask this (maybe stackOverflow is better), but here we go: Background There are plenty of possible commands that you can perform by using ADB. I use many of them on my ...
3
votes
0answers
932 views

Rooting/unlocking Android Nexus One with broken power button using Linux terminal tools

I am attempting to get Cyanogenmod onto my Nexus One, but am running into far more problems than expected. The information on rooting Android devices seems heavily fragmented across the web and the ...
3
votes
0answers
614 views

Error: “reloc_library cannot locate 'fdatasync'”

I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb ...
2
votes
0answers
341 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 ...
2
votes
0answers
334 views

setting mock location remotely

for testing purpose I need to fake my GPS location on a real Android device. Now I know about the possibility of Android Emulator and setting their GPS location via telnet. I dont really have a clue ...
2
votes
0answers
121 views

Enable bluetooth tethering via command line

Is there a way to activate the bluetooth tethering mode in Lollipop using the command line? You can do it for usb tethering by running the command service call connectivity 30 i32 1 Is there a similar ...
2
votes
0answers
318 views

File copied to /system/bin keeps disappearing

After copying Sqlite3 to by /system/bin folder, the file disappears. I can successfully change the folder to rw and modify the file properties on sqlite3. However, as soon as I remount my /system as ...
2
votes
0answers
171 views

ADB authorization prompt missing in Sony Xperia Z3 Compact (D5803)

I just bought a Sony Xperia Z3 Compact (D5803) and I'm trying to root it. I'm following this link for instructions, but I got stuck at the "Rooting with exploit" step as I can't authorize the ...
2
votes
0answers
649 views

BOOTLOADER - USB Device Not Recognized

I am currently using a ROOTED "Huawei MediaPad 7 Lite" tablet and am having issues entering the bootloader. When powered on and connected to a PC, the device is seen in adb using the command adb ...
2
votes
0answers
206 views

ADB Screen Record with Audio

I have prototype hardware and an application that produces sound. I would like to use ADB to record, the screen, audio out and audio in, all at the same time. Is there a way to do this? Note: Because ...
2
votes
0answers
90 views

White screen while charging when phone is off

I'm using my phone (Lenovo A660) since more than two years. Usually, I do not boot the phone to often (approximately once a month). However, I recently realized when I turned of the phone, that the ...
2
votes
0answers
540 views

Will installing Google Play services to SD Card Mess my phone up? + Google play app info uninstall updates button GONE

Okay, So i am running a Sony Xperia E1. It is not rooted or anything like that. Here is a load of information about it: - Free space on Internal: 2GB (Enough to update GP Services, but if you read ...
2
votes
0answers
87 views

adb v backup & restore

Two ways to back up apps are adb (for example, adb -apk -noshared -all) and backup/restore (settings - backup % reset - Backup my data, also known as google backup). What's the difference? Is one ...
2
votes
0answers
92 views

extSD card does not work after adb push to /mtn/extSdCard

After I run adb push cm-11-20141115-SNAPSHOT-M12-i9300.zip /mnt/extSdCard the command replied me 3949 KB/s (223217798 bytes in 55.194s). After that my micro SD-card is not detected neither by device ...
2
votes
0answers
509 views

I can't see new files throught windows explorer

i can't see my new(!) files on android throught windows explorer while i can do it by ES explorer or adb shell. Is there any way to fix it?
2
votes
0answers
402 views

Asus Transformer Tab tf300t stuck on asus screen. No ADB, no fastboot, no recovery, no os

I'm very happy with cm11 on my Galaxy s3 so i wanted to try it on my tf300t. First i unlocked the bootloader which i succeeded in doing. Then i flashed clockworkmod recovery via adb. However, when i ...
2
votes
0answers
3k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
2
votes
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 ...
2
votes
0answers
408 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
2
votes
0answers
157 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
2
votes
0answers
1k views

adb input swipe to unlock slide screen lock and open notifications

When I use the command adb input swipe, the slider slides all the way to the right, but does not 'click', so the screen does not unlock. I calculate the coordinates based on the (not visible) 'swipe ...
2
votes
0answers
168 views

VNC style connection over ADB?

Could I connect to a device over USB ADB, get a shell and then launch a VNC type graphical connection where I can use that device? I have a android device at a customer remote premises and I want to ...
2
votes
0answers
1k views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it ...
2
votes
0answers
195 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device ...
2
votes
0answers
595 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
1
vote
0answers
38 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
25 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 ...
1
vote
0answers
54 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 ...
1
vote
0answers
77 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 ...
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.
1
vote
0answers
114 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 ...
1
vote
0answers
955 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 ...
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 ...
1
vote
0answers
333 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: ...
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 ...
1
vote
0answers
270 views

adb backup gives “Bus error: 10”

I have just installed the latest version of the Android Studio. I now have adb and fastboot available through the platform-tools. When I run adb backup -all I get a "Bus error: 10". What's wrong ...
1
vote
0answers
173 views

How to fix emmc memory showing 0mb?

Yesterday actually I messed my Xolo Q700. Actually I wanted to install a custom ROM "experia final" on it. But I didn't installed any custom recovery previously. So I installed TWRP recovery using ...
1
vote
0answers
60 views

set pr_set_dumpable value to any apk on android device

I am trying to debug sigsegv errors in different apk files and found that many apps disable dumping the logs by setting prctl(pr_set_dumpable,0). Is there any way to get around this and get the ...
1
vote
0answers
455 views

Error: package x.x.x is unknown, for “run-as (classname)” command on Samsung Galaxy Note 10.1 running Android 4.4.2

I'm using a Samsung Galaxy Note 10.1 tablet, Android 4.4.2. As a developer, I need to be able to see my files in /data/data/(classname), but I don't want to root my tablet. Found out one can read ...
1
vote
0answers
91 views

How to backup media without logging into the phone?

The screen of my phone is not responding. I tried to restart the phone but this didn't correct the problem. Now, I can't access it, and log in to my phone, so I probably need to take the phone to the ...
1
vote
0answers
134 views

Cannot install Google Camera on Nexus 5 running CM 12, neither from Play Store, nor with ADB

I need to reinstall Google Camera, and I tried to remove it via Settings -> Applications. Everything went fine, but when I tried to install it back via Play Store, it said: Unknown error code ...
1
vote
0answers
216 views

Cannot connect Nexus 7 to computer to see internal storage after flashing Cyanogenmod

I've managed to flash Cyanogenmod 12.1 onto my Nexus 7 2012 to give it a new lease on life, but now I can't connect it to my PC to view it as a storage device! The Nexus 7 shows up as a "media ...
1
vote
0answers
628 views

How to delete SU binaries without root?

My Android device used to be properly rooted, I had root access to things, but the root manager (old version of vRoot, no computer) was a virus. So, I deleted the root program and I was gonna root ...
1
vote
0answers
43 views

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...