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

1
vote
1answer
77 views

Is an android 5.1 adb backup incompatible with android 6.0?

I recently loaded Cyanogenmod 13 on my nexus 4. Prior to flashing, I did a full adb backup and an app data backup for com.king.candycrushsaga. The only thing that seems to need restoring is the ...
0
votes
1answer
28 views

Bricked Nexus 7 in Recovery Mode

I have a Nexus 7 2012 grouper in recovery mode (TWRP). I have wiped the /system /cache and /data partitions and believe it has wiped the /boot partition. When I go to file manager, it says the /boot ...
0
votes
1answer
30 views

Showing both “adb status-window” and “adb logcat” on the same terminal

I am attempting to get the adb status-window command to display anything useful, however it appears to be just showing the following: Android Debug Bridge State: device At first, I figured it ...
0
votes
0answers
26 views

How Do I Install Android 4.4 KitKat On A Blank Nexus 7?

I recently upgraded my Nexus 7 tablet to Android 5. The update made my Nexus really slow, and I decided to reinstall Android 4. I downloaded ADB and erased all data on my device. But, then I ...
3
votes
0answers
72 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 ...
1
vote
0answers
37 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 ...
0
votes
1answer
29 views

how to transfer a file from within system partition on android to desktop

background I'm developing an app that downloads files to the device.. some of these files are acting out and to trouble shoot I want to actually transfer these files to my (mac) desktop and go ...
1
vote
0answers
34 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 ...
0
votes
1answer
56 views

How can I unbrick a phone without being able to access recovery?

I have rooted my Zenfone 2 ZE551ML using a method which permanently replaces recovery (I didn't realize it back then). Can I unbrick it using only fastboot? I can't use adb, as I can't open recovery. ...
0
votes
1answer
44 views

How to unbrick phone when both recovery and system are abcent?

I have Lenovo A328 phone, after trying to upgrade to cyanogen it has no system and no recovery, when turning it on there is only loading screen. ADB asks to authorize the phone, but no dialog appears ...
0
votes
1answer
246 views

Run adb command inside the terminal emulator or programmatically without root

Is there a way to run theadb backupcommand on the device itself without using a ᴘᴄ computer ? Of course when I try to do it,adbcomplains the daemon isn’t started and it fails to find a device. ...
0
votes
0answers
22 views

ADB-client stops working when root is turned on

Very strange - I've Cyanogenmod rooted device and cannot use the adb-client from computer when rooting is turned on. In other words i have to go to developer settings, turn off rooting - then I can ...
2
votes
0answers
57 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 ...
0
votes
0answers
18 views

Accessing device via adb on Boxed Windows

On my Mac, I run Windows in Virtual Box. I try to connect my device (Galaxy S5) via USB, but Windows won't recognize it. I downloaded and installed the USB drivers (aswell as ADB and Fastboot) via ...
0
votes
0answers
36 views

Can't make whole memory block backup

I try to make a nandroid backup (whole memory block) following this tutorial's instructions: http://forum.xda-developers.com/showthread.php?t=1818321 But the dumped mmcblk0.raw is 0 bytes. Can ...
1
vote
1answer
137 views

How can I activate UDP forwarding for USB communication between a PC and an Android app

I have an real Android device connected to a computer via USB. I managed to activate TCP port forwarding with adb forward tcp:<port> tcp:<port> and successfully communicate with sockets ...
0
votes
1answer
43 views

How can I get shell access on my almost dead phone

My phone broke, so I have been messing with it and from the errors I can see, it looks like all the system folders are missing. /system /data etc. I saw a YT video where the guy used ADB shell to ...
0
votes
0answers
65 views

Can't get ADB drivers and connect USB device on chrome

I want to use Chrome developer tools on my Samsung Galaxy Note 4 on my Windows 10 (64bit) Acer aspire. I am confident to say I have literally tried every tutorial I could found. On my mobile USB ...
1
vote
1answer
182 views

Uninstall via adb without root

I own an Asus Zenfone Go Z00VD running Android 5.1. It came preinstalled with TrendMicro Dr. Safety, which I absolutely have no use for and do not want running at all. This app starts itself ...
0
votes
0answers
86 views

How to restore a Google Play adb backup to use it with another version of the app (downloaded with another app store)?

I have an adb backup I created when the app was installed via Google Play. Now I want to uninstall this app and switch to the FDroid version of this app. However restoring the "Google Play version" ...
3
votes
2answers
189 views

Making mediaserver immediately scan a file created through ADB

The mediaserver in my stock and rooted Android 6.0.1 (running in Nexus 6) doesn't detect new files created or moved to into /sdcard using adb. It doesn't detect until I do a soft/full reboot which I ...
0
votes
0answers
30 views

Development drivers on MAC

I have a Huawei Y320-U151 and I'm unable to detect it on Android Studio running on Mac. Time ago I've been able to develop for other mobile phones without any issues both in Mac and on Windows -after ...
-1
votes
1answer
98 views

How do I enable a keyboard OTHER than Google Keyboard via ADB?

I have got 2 keyboards in my phone: Google Keyboard and AnySoftKeyboard. Google Keyboard is my primary keyboard. I want to enable AnySoftKeyboard as my primary keyboard via ADB (I use ADB because the ...
0
votes
1answer
125 views

s6 won't fast charge or connect to pc

so i have an at&t s6. suddenly stopped fast charging. and when i say "stopped fast charging," i mean charges slower than molasses now. takes literally about 4hrs to charge from 80% to 100%. ...
1
vote
1answer
49 views

adb backups fail with “Internal exception during full backup”

For a while now, I've not been able to create a full adb backup of my Nexus 4. Now finally I've been able to catch a slightly more useful error report with logcat: D/BackupManagerService( 2061): ...
0
votes
0answers
24 views

Does adb's backup command backup user preferences that are not produced by apps?

Things like "downtime" and priority notifications and such. Also, is adb backup basically like backing up the phone to google's servers, just locally on your own workstation?
2
votes
0answers
19 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 ...
0
votes
1answer
135 views

How do we run *#06# using ADB to get IMEI number?

I want to run *#06# and display the activity/fragment which shows the IMEI numbers using adb. Kindly help. Details of the fragment and activity as show below: #1: DialpadFragment{27576dd7 #1 ...
0
votes
1answer
106 views

Connect through adb to a Nexus 4 with a broken touch screen?

I have a Nexus 4 with a broken touch screen from which I would like to recover some files. adb is a tool often referred for this purpose, as in this guide. I have installed adb and fastbook on my ...
1
vote
0answers
118 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 ...
0
votes
0answers
56 views

Upload multiple files on android using wildcard and command line

I designed my Android application so that it can load CSS files dynamically. I am not working on the design and I copy CSS files on my device every time I make a change. Doing this in explorer is ...
0
votes
0answers
27 views

Old android tablet boot stuck

I have an old Omega mid7002 tab and it is stuck on "android" boot screen. I've tried hard reset with all possible key combination without success. But I'am able to connect via adb, so my pc ...
3
votes
1answer
99 views

ADB pull fails to pull folder that exists

I have a folder I am trying to pull from my G3. Specifically system/etc/wifi/ When I pull that specific folder in adb it gives me an error remote object 'system/etc/wifi' does not exist But yet I ...
0
votes
0answers
61 views

adb vs sideload

i am using Cyanogen Mod 13.x on my nexus 4, I have encrypted it, so i am not able to install updates, Now it can be done through $adb sideload, so i tried $abd, and i got this Android Debug Bridge ...
3
votes
0answers
157 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 ...
4
votes
2answers
409 views

Can I use the adb shell to know that the phone support OTG or not?

Can I use adb shell command to detect the phone support OTG to transmission the files with an USB Flash Drive with OTG function?
3
votes
1answer
208 views

Fail to install CM13 on Oppo Find 7a

I would like to install Cyanogenmod 13 on my Oppo Find 7a. I am following the instructions from CM wiki. I am using a laptop with Linux (LMDE2). I fail to install a TWRP recovery. Fastboot seems to ...
-1
votes
1answer
53 views

Backup all apks from device using adb: why this loop in bash script doesn't work?

You can do adb shell pm list packages, and after reading through the list, do an adb shell pm path "com.yourpackage" to get the full path and do a simply adb pull. Fact is: I want to automate this. I ...
0
votes
0answers
169 views

How do I enable HS-USB Android Diag/Serial/Modem ports for Sony Xperia Z3? to use QXDM?

I am wanting to use an application to read modem signalling (qxdm), but I need the USB ports to be enabled first - HS-USB Android Diag & Serial sa0111 In Device Manager, I see the following: ...
0
votes
0answers
88 views

How to enable usb debugging on android 6?

So I used to have this working on 5, after an update to Android 6 I'm unable to get USB debugging to work. Anyone else run into this? I've enabled USB debugging on the device. I've tried three ...
0
votes
1answer
71 views

Closing a window within an activity using adb shell commands

I have been tinkering around with adb and attempting to control an application and close popup windows using adb shell commands. I trying to close an activity window that I can identify with the ...
3
votes
0answers
166 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
79 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
35 views

How can I find out if the Bootloader is locked or not? [duplicate]

Is there a direct way to find out if the bootloader on a new unrooted device is currently locked or not? I would like to do this without the risk of clearing or bricking the device. I am looking for ...
0
votes
0answers
25 views

adb drivers on Rockchip devices work only with Moborobo

I have a number of Rockchip devices and Windows 7 32 doesn't see them without Moborobo. With moborobo everything works amazing but there's lots of spam from the program and annoying update abound) If ...
0
votes
1answer
60 views

Wiped data, cache and everything on Sony Xperia Neo V MT11i, now it's stuck at Sony Logo!

I'm new to the enter flashing and rooting business. So I would like to get some assistance from you guys regarding this issue of mine... here's what I did: Installed CWM via APK on my Xperia Neo V ...
1
vote
0answers
358 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
68 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 ...
3
votes
1answer
76 views

touch screen and usb not working: any way to remotely control my phone?

I recently had my phone water damaged during my vacation. The phone still boots up but it doesn't respond to any touch input. When connecting to PC, a notification would appear on my PC that the ...
1
vote
0answers
74 views

Trying to enable USB debugging by ADB from my PC [duplicate]

In Device Manager, my phone is connected as portable device. My phone's driver is MTP USB Driver. I checked connected devices by using the command "adb devices" in Command Prompt, there is no device ...