Questions tagged [adb]

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.

760 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
110 views

how to restore mount points

i have a bricked device , after 20 hours of flashing and searching , i found that my device lost some mount points here is the the mount points of my device and here is the mount points of a ...
1
vote
0answers
310 views

adb device not found after reboot

I am developing an automated test script to turn off my android device and turn it on back again and then run a few adb commands after the boot is complete. My problem is that when I turn the device ...
1
vote
1answer
458 views

permission denied on files created via adb in recovery

I stumbled upon a strange issue - after installing new ROM (CyanogenMod 12.1), I used adb push (still in TWRP) to copy some backed up directories to internal storage - so far so good. But then in ...
1
vote
0answers
907 views

How to remount to rw?

So recently rooted my phone, after a few days all google related apps have stopped working and I get the "no connection error". I have looked at so many different tutorials and what not and nothing ...
1
vote
1answer
554 views

How to copy the System folder in stock ROM?

I have a Samsung Galaxy Note 3 sm-n900, i copied the 'system' folder from the root directory to my computer, i used the JoelDroid Lollipop Batch Deodexer to deodex my system, now i wiped my original ...
1
vote
0answers
552 views

adb devices -l not showing USB qualifiers?

I've read in several places that calling adb devices -l will return the both the serial numbers and USB qualifiers for the attached devices. However, when I issue the command I only get the ...
1
vote
0answers
319 views

adb version says 1.0.32 but droid-explorer says its 1.0.29 and won't start

Using win7 64bit. I downloaded just the commandline tools from developer.android.com; the zip not the installer. I copied everything to c:\dev\android\sdk\ and ran the SDK Manager and updated ...
1
vote
1answer
739 views

Micromax a104 SP flash not detecting mobile and stuck in bootloop

Device Micromax A104. The phone is not rooted neither the usb debugging mode is on. the phone was fully affected virus or some other bugs. It was hanging and responding very slowly. so i decided to ...
1
vote
0answers
721 views

ADB: how to use it over TCP/IP during USB accessory development

I'm using an evaluation board from Atmel (based on SAM D21 Cortex-M0+ MCU) for developing a custom Android USB accessory and related app. I'm new to Android development, but I understood I need ADB ...
1
vote
0answers
163 views

Why doesn't my computer list Android devices in Device Manager, or detect my Sony Xperia Play (R800)?

I have an ancient Sony Xperia Play that I am trying to root. However, I can't even get it to show up on my computer. It's possible that I accidentally deleted my drivers by running an unroot script. ...
1
vote
0answers
314 views

HTC stuck at logo screen while entering recovery mode

I want to install Kitkat 4.4.2 Rom to my HTC Sensation XL android phone. I followed instructions and I installed CWM (ClockWorkMod) but I can not enter recovery choice. When I click on that there ...
1
vote
0answers
324 views

Can't install TWRP LG Optimus G

This thread of mine is partly copied from XDA. I can't get through following issues. Phone's firmware is full vanilla since the very beginning - only updated from Jelly Bean/ICS to 4.4.2 with OTA. I ...
1
vote
0answers
1k views

Fastboot “waiting for device”

I have an galaxy s4 i33 that I need to have upgraded for work (or buy a new phone.) On both windows and Linux I can type "adb reboot bootloader" to open the bootloader. However, in windows: -Odin ...
1
vote
0answers
886 views

Repair bricked Nexus 9

During an OTA update the tablet went into a boot loop. I let this continue a few times until I was fairly certain it wasn't going to resolve itself. I never had a reason to unlock the tablet or use ...
1
vote
1answer
274 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 ...
1
vote
0answers
101 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
371 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
1k 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
757 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
4k 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, system.new.dat(405.9mb),...
1
vote
0answers
491 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
7k views

How to enable USB debugging on a soft-bricked Huawei phone?

Yesterday, i rooted my phone with KingRoot and downloaded a SoftKey Enabler because i wanted to play Uplink on my Huawei Y560 (a.k.a. Y5). The SoftKey Enabler edited the build.prop file. It restarted ...
1
vote
2answers
4k views

how to unlock screen of samsung s6

Desperate to sort this out, before i do a factory reset! Samsung Service Centre useless, said factory reset is the only option.... Had fingerprint set to lock samsung s6, don't remember ever setting ...
1
vote
2answers
5k views

Is it possible to pull data in ADB sideload mode

My phone is locked, as explained here. Since I can't find the password, I want to backup my data before a reset. I've just installed Android Studio and Samsung USB driver. Boot my phone on "apply ...
1
vote
2answers
775 views

Remove a folder I created in /system/lib

I have root access and am able to remount. I created a folder in /system/lib/ named rfsa, but I don't know why I cannot see or open that folder. When I type ls, it is there. But when I type ls -l, I ...
1
vote
0answers
418 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
349 views

What results in blank net.hostname property on Android device using ADB?

Referring to https://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
213 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
1answer
547 views

Copy contacts to sdcard from android 2.3

how to copy my contacts from my sony ericsson wt19i android 2.3 to sdcard? I tried to do this by adb, but does not work. I do it like this: adb devices adb shell su mount -o rw,remount rootfs / ...
1
vote
0answers
926 views

Cannot use ADB on a bricked phone

I'm trying to unbrick a soft-bricked Android phone, and many tutorials say to use ADB to fix it, but I cannot use ADB or fastboot, since the device is not reconized. It's a Lenovo Zuk Z1, I am running ...
1
vote
0answers
18k views

Windows 10 ADB driver to debug HTC phone via USB?

I'm trying to test an application on an old HTC Incredible S smartphone (running Android 4.0.4). I've enabled USB debugging on the phone and connected the USB cable, but .\adb devices doesn't detect ...
1
vote
1answer
3k views

ADB works over USB, but doesn't work over Wifi

I have weird issue with NTT 407 tablet that works on Android 4.1.1. I've switched "USB Debugging" and when I plug USB, adb works fine. But I need it working over Wifi, so I connect to my AP, set ...
1
vote
0answers
607 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
3k 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
407 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
270 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
2k views

How to simulate keypress event in recovery mode via adb?

I know it's possible to simulate a keypress event in Android via adb using a command like: adb shell input keyevent 24 The command above will trigger a Volume Key Up event, for example. My problem ...
1
vote
0answers
398 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
257 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
172 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
1answer
1k views

turn the speakerphone on a call? ADB Shell

I'm trying to find a command in adb shell that lets me turn on the speakerphone when I start a call. First I make the call adb shell service call phone 1 s16 "" s16 "#####" the call starts and I ...
1
vote
0answers
424 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
1answer
590 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 device"...
1
vote
0answers
4k 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
1answer
869 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
1
vote
0answers
3k views

(adb) How to Backup things from /data/data using a shell terminal emulator on the same device without root?

~ I have Nexus 5 running Android L 5.1.1 ~ I want to backup one App cach from /data/data ~ I don't concider rooting my device ~ I installed a Shell Terminal Emulator from the app store. ~ I've ...
1
vote
0answers
167 views

Nexus 7 - Stuck on boot animation. Fastboot detects device but ADB doesn't

My Nexus 7 (2012, WiFi) is stuck on the boot animation. I can detect it in Fastboot but not with ADB. Is it still possible to backup the data before I wipe it? It's not rooted and the bootloader is ...
1
vote
0answers
5k views

How do i copy the boot.img without rooting phone?

I want to get the boot.img of my android phone (mobile/model doesnt matter i want a general one) without rooting the phone. I have ADB installed and using a linux machine in which i can communicate ...
1
vote
0answers
46 views

adb doesn't find smartphone stuck on Error during encrypting

I have a ZTE unlocked stuck on error during encrypting: It doesn't reboot into recovery mode using the hardware keys combination, it just start up and then reboot into normal mode leading me back ...
1
vote
0answers
897 views

Connect LG G3 Android phone to Linux PC

I just want to access the files on my Verizon LG G3 phone from my Linux PC. I have adb installed and I followed this ArchLinux tutorial but adb devices outputs the following: [grease-lightning]/home/...