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
275 views

Windows 8 does not recognize HUAWEI Y536A1 for debugging

The problem: My device (HUAWEI Y536A1) isn't getting detected in Android Studio The solution: Install the correct usb drivers The problem that arises to the solution: I am not able to...and here are ...
2
votes
1answer
431 views

How to turn off Radio Signal via adb without airplane mode?

As I'm trying to make a script to restart radio signal and I'm not using usb cable for adb, I need to turn off my mobile signal WITHOUT using airplane (because I'm using Wifi Hotspot and Wifi ADB). ...
0
votes
1answer
155 views

How to push gapps via adb to a rooted device

I have a Samsung t355c. A China model of the normal tablet that doesn't have gapps and as far as I get it a locked bootloader. There is no custom recovery for it. Runs 5.0.1 I managed to root it ...
0
votes
0answers
202 views

how to fix permissions on soft bricked phone

I accidentally used root explorer to remove execute permissions from the system folder of my chinese phone (x Tigi A7) android 4.4.4, my phone is stuck in a boot loop, it powers on directly to the ...
0
votes
1answer
140 views

Stuck in fastboot oem unlock (Fly IQ4503)

Trying to install another OS on my Android phone. Fly it isn't so popular phone, so I have lots of problems within installation. Also I used for this my laptop with Ubuntu 15.10. Now I'm trying to ...
1
vote
1answer
64 views

ADB and Fastboot displays different devices

I'm trying to unlock the bootloader of my device, Cherry Mobile Fuze, which is a port of Micromax A96. As seen on the screenshot, is it normal that the ADB displays a device that is different from ...
0
votes
0answers
60 views

Asus Zenfone 2 can't accept RSA confirmation

So, I want to root my Asus Zenfone 2, but there are some problems. I'm trying to use the 'Temporal CWM method' but after I enter 'ACCEPT' in the 'cai_dat'CWM.bat' it throws me this error: I ...
1
vote
1answer
685 views

Wipe /data/ but not /data/media/ through ADB shell or fastboot

I know I can use fastboot -w or fastboot erase userdata, but these erase /data/media/, the internal storage which is located at /data/media/0/..., which I don't want. Is there a way that doesn't ...
0
votes
0answers
269 views

How do I encrypt entire device using ADB only? (4.4.2)

I have a coolpad arise and want to do whole device encryption, the settings way of encrypting does not work and the company has yet to get back to me with anything other than to go to settings, blah ...
0
votes
0answers
164 views

How do I get su binaries installed without access to the system (i.e., using only bootloader- and/or recovery-level operations)?

I am trying to recover my bricked android (lollipop) device. I do not have access to the system. I have sucessfully flashed SuperSU, but I still don't have su binaries installed (I get "su: not found" ...
1
vote
1answer
149 views

Is this the right way to use dd for a full backup?

Sadly my device (sm-g3185) isn't supported by any of the CWM or NANDbackup so I am trying to do a backup manually. I found this thread which tells me to open one terminal (I'm on Arch Linux) and run: ...
0
votes
0answers
180 views

Hot to bypass rsa fingerprint in adb

I have a G3 with a cracked screen/digitizer screen doesn't not work i have twrp installed and phone it rooted and want to connect to it though adb but am not verified with rsa. Is there anyway to ...
-1
votes
1answer
214 views

LG G4 not restarting

My device is rooted. It was working fine for months. But suddenly it struck and now its not restarting back. It struck at LG logo. I have no idea why its happening. Also, it is rebooting again and ...
1
vote
1answer
3k views

How to install Nexus 6 / 5X / 6P Drivers in Windows 7 properly where fastboot can see it?

I have the Nexus 5X drivers installed properly on Win7 64bit and it shows up in my device manager as Nexus 5x. I can verify that it gets detected as I see it in chrome inspect page. But when i try to ...
0
votes
0answers
143 views

Open file using a specific App from ADB Command

I tried to open a pdf file using a specific App (let say PDF Viewer X) from ADB command line but it has not been working to date despite searching for the solution in the last 2 days. I used the ...
0
votes
0answers
139 views

how to use adb and fastboot oem to enable debugging?

Unlocked the bootloader, then changed boot animation(installed new logo.bin) and executed the command ADB fastboot OEM lock to re-lock the bootloader(so that the device is in secure mode).I have ...
0
votes
0answers
36 views

Debug phone using ADB from tablet

I have an Acer Iconia TAB (a500) running OTA ICS 4.0.3, rooted using blackthund3r's ICS Root tool (version 7.2.0). I've downloaded the Linux binaries for adb and platform-tools and made sure they were ...
3
votes
1answer
136 views

Can you dump the contents of your phone (os + apps + data) and run that in an emulator/Android Studio?

Is there a way to dump the contents of your phone (OS + apps + data) and run them on a PC in an emulator of some sort? I feel like there are security implications to being able to do this but with ...
0
votes
0answers
63 views

Permission denied

[ASL] gives this error in library installations: %ANDROID%\platform-tools\adb.exe push %NATIVE% /data/local/asl-native --->RUN '/data/local/asl-native':Permission denied How can I overcome this ...
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.
0
votes
1answer
113 views

Titanium restore vs. ADB restore. Which one is better after a system update?

I backed up my phone (HTC ONE M7, Android 4.4.2) with ADB backup -all -apk (one with -nosystem and once without it). I also backed up by Titanium Free (option system + apps). I also copied the media, ...
1
vote
1answer
177 views

How to reset Google Keyboard language using ADB?

So I have to add an automation step wherein the keyboard language needs to be reset in case someone changes it. I have used adb for this and it works well on Samsung phones, but it doesn't work on ...
0
votes
0answers
18 views

Downloaded screen locker failed to work and disabled my tablet to open

I downloaded a screen locker on my tablet, fancy locker to be exact. I made my own design but after activating it, my tablet no longer open. It just stays on screen with the screen lock i designed. ...
0
votes
0answers
391 views

Lenovo A6000 Plus, Rom got crashed while updating to newer version, Stuck with Android System Recovery

I own Lenovo A600 plus and recently while updating from android 4.4 to the newer version it got crashed. Now all I can see is the android system recovery <3e> screen with reboot system now option ...
1
vote
1answer
669 views

Android 6: connect as camera per default

When I connect an Android 6 phone with my pc via USB, it always connects as "USB for charging". I have to set it to "connect as camera" (PTP) manually (for ADB to work) every time. Can I set a ...
0
votes
1answer
57 views

Is it possible to record screens of two android phones connected to a PC?

I am new to Mobile testing, Recently started using Android adb and started recording device screen using adb shell screenrecord command. Just wanted to know if we can record screens of two android ...
0
votes
1answer
210 views

How to skip “Welcome Page” in Chrome using adb

I am trying to open a URL in Google Chrome using adb command line. Have set "--no-first-run" using following command - adb shell 'echo "chrome --no-first-run" > ...
2
votes
1answer
1k views

Android ADB has root access but no SU binary

I recently purchased an Android TV box that claimed to come "pre-rooted", however there is no SuperSU apk or SU binary installed. The interesting thing is that I am automatically logged in as the root ...
0
votes
0answers
24 views

Use a different adbkey

The adb command uses ~/.android/adbkey by default. Is there any way to specify a different key that should be used, either on a per device or per adb instance basis? The functionality I'm looking ...
0
votes
0answers
55 views

ADB push failed to copy, function not implemented

I cross compiled a library for my Android phone, and I keep getting the message when I try to push failed to copy '/home/sanctus/Desktop/native-android-ports/libc-arm/crypt/libcrypt.so.1' to ...
0
votes
1answer
320 views

Bootlooping LG Volt will not connect w/ ADB

Rooted LG Volt is bootlooping after build.prop and cpu setting changes, and I am unable to connect via ADB to restore build.prop or reflash system How can I get the phone to connect via ADB? ...
0
votes
0answers
712 views

'adb backup -apk -shared -all -f "D:\backup.ab' initiates backup, completes, but produces a file that is only 1kb

I'm attempting to backup my old Android device, a Samsung Galaxy S3, so that I can lend it to my friend while his is away at repairs, then restore it when he's done with it. I have the Samsung USB ...
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 ...
0
votes
1answer
143 views

Retrieve Files From Device in Bootloader

I'm working on an android application. I accidentally turned on a developer option(I'm guessing RTL Layout), and now I get the message "..System UI has stopped working". I tried to clear the cache ...
0
votes
0answers
5k 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 ...
2
votes
1answer
522 views

Activate Tethering with ADB - Android 5.1

I'm on LINUX, and I've create a simple script to activate : - Data connexion (3G/4G) switch ON - Enable tethering switch ON - Change PC ethernet connexion So I've just have to plug my phone on my ...
0
votes
0answers
1k views

adb sideload Throws error: closed on Nexus 6

I am trying to sideload the Android Marshallow OTA on my Nexus 6 using adb sideload "<android marshmallow OTA>.zip", but the console keeps printing out error: closed with no success. I verified ...
0
votes
0answers
354 views

Configure & connect to Wi-Fi using ADB on Android 5.1.1

I'm using Nexus 4 with Android 5.1.1. I need to connect to Wi-Fi router in my automation. For that I need to use ADB interface. I connected to mobile using ADB. I also configured the ...
1
vote
1answer
287 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 ...
0
votes
0answers
106 views

Broken screen get adb connection android 5.1, rooted

Cyanogenmod Galaxy S4. Now the Display broke completly and i need acces to what is on my screen. This would work, with adb and such. But i can't enable ADB, because i need to click onto the screen to ...
0
votes
0answers
247 views

ADB can't find Nexus 7 after bootloading

I am trying to update my (unrooted and unlocked) Nexus 7 2013 wi-fi to Marshmallow via OTA. My Nexus is in USB debug mode and I have installed adb on my system and download the update package file. ...
3
votes
0answers
216 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:/ ...
0
votes
2answers
403 views

How to pull mmcblk0 to a windows pc?

So here is what i want to pull : mmcblk0 whith it's size 15.7 GB. C:\adb>adb shell shell@android:/ $ su su shell@android:/ # fdisk -l /dev/block/mmcblk0 fdisk -l /dev/block/mmcblk0 Disk ...
0
votes
0answers
30 views

Using ROMs made for a specific device

I have a moto x 2013 Dev edition and got the unfortunate news yesterday that Motorola will not be updating my device to marshmallow, which I understand as an older device, but the specs of this phone ...
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 ...
0
votes
0answers
196 views

How can I install e2fsprogs on my device?

My phone has the "Monkey Test" virus and there is solution in here, but when I try to execute this command: chattr -iaA providerCertificate.apk I receive the error "chattr : not found". I found a ...
0
votes
1answer
996 views

Nexus 6 Not Showing up in “My Computer” or ADB with Debug Mode Enabled

I use my Nexus 6 for the purposes of developing Android apps, and I have been using my laptop along with my phone to write and test the apps. In the past, I have never had any issues with connecting ...
0
votes
1answer
128 views

Issuing adb shell commands with arguments

So I can issue a shell command on my GalaxyS5 device using this: $ adb shell run-as com.steenriver.littlecrane 'sh -c pwd' /data/data/com.steenriver.littlecrane $ adb shell run-as ...
0
votes
0answers
138 views

Replace internal memory in LG G4 H815T

One moment the phone was working and then it's not. It stayed on the boot animation and wouldn't go anywhere. I had someone replaced the memory chip but I am not sure where to go from there. I have ...
0
votes
1answer
394 views

ADB sideload doesn't work, no drivers

Sometimes on my Nexus 9 (LMY48M)ADB sideload doesn't work as the device doesn't have a driver. This is true for both stock and TWRP. However, ADB from booted Android works perfectly. I have ADB ...