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

3
votes
0answers
29 views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
3
votes
0answers
44 views

Setting Default applications through ADB

I have an android device (Android 4.4) with two launchers. One comes with the device and the other one is home made. I have the following questions regarding this scenario: How can I set the default ...
3
votes
0answers
96 views

I/O errors opening files in data partition

I'm trying to repair a Moto G (XT1008, unlocked) device. When booting normally, the motorola splash finishes and the android desktop shows up for one second, then a bunch of pop ups show up informing ...
3
votes
0answers
65 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
217 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
598 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?
3
votes
0answers
586 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
2k 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
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 ...
3
votes
0answers
952 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
622 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
44 views

ADB Debugging over wifi not connecting

So I am trying to connect my device to adb over wifi. I have been following this tutorial http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/ I have been doing this adb ...
2
votes
0answers
17 views

Why not autostart PPP?

In the adb docs, under PPP it says "Note that you should not automatically start a PPP connection." Anybody know why this is discouraged? I'd like to do exactly that when I plug my tablet into my ...
2
votes
0answers
495 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
472 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
146 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
434 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
202 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
977 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
322 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
123 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
1k 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
95 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
106 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
283 views

How to root from adb?

I have a tablet called General Mobile E-Tab 4. I bricked it. It stays on load animation. I can reach recovery but there are 3 options: reboot device wipe data/factory reset wipe cache partition I ...
2
votes
0answers
452 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
422 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
159 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
175 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
198 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
614 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
49 views

Creating a backup with adb results in 41 byte file

I have an old droid RAZR Maxx (4.1.2) that I decided I want to root, but I want to make a backup first just in case. I've followed instructions from this site: ...
1
vote
0answers
27 views

Nexus 5 on recovery mode but power button isn't working

I have a Nexus 5 phone with a bad power button (completely not working). The phone was off for a while, and when I powered it on (using fastboot) it asked for cyanogenmod update - downloaded and ...
1
vote
0answers
23 views

my device shows briefly under adb devices then disappears

I got a (rooted) nexus 5 (with twrp custom recovery), and I develop on it using android studio 2.0. Recently when I type in adb devices, it shows my device for a couple of seconds then it vanishes! ie ...
1
vote
0answers
73 views

Flashing Zenfone 6 (A6001g): stuck at E: unknown volume “/spare”

I need help with my zenfone 6 (a6001g). Issue Origin: I was trying to flash my zf6 (trying to downgrade from to ww-2.22.44 so I could upgrade to 3.23 (lollipop). I used Asus Flash tool latest version ...
1
vote
0answers
114 views

Nexus 6 automatically remounting system read-only, deleted files returning

tl;dr I mount system rw I try to copy/update/write /system/xposed.prop System is auto-remounted ro, causing the write to fail (applicable to a variety of workarounds) Moving/renaming/deleting files ...
1
vote
0answers
62 views

Tesco Hudl adb sideload Gets error “installation aborted”

I have a Tesco Hudl HT7S3 which was rooted and i corrupted a file in the system and it is stuck in a bootloop. All i can use is adb sideload. I found the stock image and have sent it to the device ...
1
vote
0answers
196 views

Android : How to load a custom ROM without SD-card

I have an Asus TF-201(rooted), on which I would like to install Android. I have downloaded the Cyanogenmod ROM/OS, which is in a ZIP file(200Mb), contains files like boot.blob, ...
1
vote
0answers
54 views

Cannot mount mtdblock partition

I'm trying to mount the boot partition of a tablet with MTD partitions. This is the output of cat /proc/mtd: root@android:/ # cat /proc/mtd dev: size erasesize name mtd0: 00400000 00004000 ...
1
vote
0answers
64 views

How do I check bad sector on my android with ADB recovery mode?

I am finally able to install CWM on my asus. I suspected the asus didn't do well and there could be too many bad blocks on it's NAND. So Now that I can do fast boot and recovery and adb, I think I ...
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 ...
1
vote
0answers
114 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
227 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
6k 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
144 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
1k 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 ...