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.

Filter by
Sorted by
Tagged with
0
votes
0answers
68 views

ADB Root Grant Root Permission to App or Package

I am having a little trouble with my Development Board it is Orange Pi 4B, running Android 8.1 Currently I have access to ADB root and also can modify the system folder or even place files inside ...
0
votes
1answer
2k views

ADB: device unauthorized on device without screen

I have special device, that have no screen at all. Only 3 buttons: volumes and power. So the problem that I've used hard reset option and after that on all my computers I got error: error: device ...
2
votes
1answer
2k views

How to traverse camera from device via adb to my Ubuntu?

What is the best way to traverse web camera? E.g. there is great number of web servers for android with video translations. How to get access to its via adb? Or wi-fi would be a easiest way?
0
votes
0answers
14 views

Changing Device ID seems not to work [duplicate]

Ive tried several times to change my phone ID with the ADB commands adb shell content delete --uri content://settings/secure --where "name=\'android_id\'" adb shell content insert --uri content://...
5
votes
4answers
9k views

adb push: sync but not copy

adb push seems to push everything into the dest folder regardless of their changed/unchanged states. So it wastes a lot of time. Is it possible to sync rather than copy (i.e. to rsync rather than cp)? ...
2
votes
1answer
2k views

Device freezes after trying to reboot with bootloader

I have been trying to unlock my bootloader as per the instructions found here. I already have installed the drivers from Google USB driver folder that comes in Android SDK "extras" folder. However, ...
0
votes
1answer
997 views

Unable to detect Android device with ADB on Mac but can detect it through Fastboot?

I am unable to view my Android device, an Oppo Find7, with ADB. I can view it with Fastboot. As I use a Mac, I followed this guide to install ADB and Fastboot. More generally, I am having issues ...
0
votes
1answer
4k 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
2answers
8k views

root cannot list files in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir failed,...
0
votes
0answers
6 views

Logcat not showing React Native debug messages [migrated]

I'm currently developing an app using React Native (JavaScript). My client is running logcat through the SDK command like using this command (found on the official wiki): adb logcat *:S ReactNative:V ...
1
vote
1answer
3k views

Issues installing Android apps in Anbox

Anbox doesn't come pre-installed with Google Play Store and there's not even a package installer, so the only way to install applications in Anbozx is through Android Debug Bridge, aka ADB. adb ...
-1
votes
0answers
21 views

Can I install apps in Android with broken screen without touching and without enable USB debugging?

Can I install apps in Android with broken screen without touching and without enable USB debugging? Can I enable usb debugging with any other way with PC and use phone mirroring by Vysor
17
votes
7answers
121k views

How to batch install apks from computer to android without actually touching my android

I want to batch install apks from my desktop directly. Such as I downloaded many apks on desktop and want to install apks without actually touching my android
0
votes
0answers
30 views

How can I semi-permanently disable the Wifi/USB tethering / hotspot feature on my phone?

Obviously there is much more information out there on how to enable hotspot, but not nearly as much on disabling it. I'd like to disable it permanently/semi-permanently. Is there a setting or package ...
3
votes
1answer
540 views

Commands run on terminal but throw errors in shell script

I created a .sh script which sets app permissions on Android devices. If I push the script on /sdcard and run it through adb shell with command sh ./test.sh, the following error occurs on each ...
0
votes
2answers
5k views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
0
votes
2answers
1k 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
1answer
2k views

unable to mount /data, /system and /cache on Android phone (Asus Zenfone 5 (501cg , t00f)

I have Asus Zenfone 5 (t00F) model. It was working fine and suddenly it's UI has stop working. I tried restart couple of times but didn't work for me. I do already have the root and TWRP (2.8.7) ...
0
votes
1answer
1k views

/system/bin/mediaserver and /system/bin/drmserver dont want these but Android disagrees

I used this link Use Adb to disable Media Server hoping to permanenenly disable the battery hogging media server process . It did not work Mediaserver still runs on my Android 4.4 Jiayu S3 phone as /...
4
votes
1answer
112 views

Obtaining app storage details via ADB

TL;DR: On-device, we can navigate to Settings › Apps, and for each app separately can call up details on storage used: by the app itself, by its data, by its cache. Is it possible to obtain those ...
0
votes
0answers
8 views

How to uninstall ADB drivers from Windows 10? [migrated]

If I type "adb devices" to CMD I want it to be unrecognized. Not sure if this question for superuser but it's related to Android. I have installed this automated installation, however it's not ...
0
votes
1answer
37 views

What are the Wi-Fi disconnect reasons on adb dumpsys wifi?

adb dumpsys wifi gives me, among many others, lines like this: Event [IFNAME=wlan0 CTRL-EVENT-DISCONNECTED bssid=X reason=7] What does reason=7 mean? What other reasons are there? If this applies ...
4
votes
1answer
3k 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 ...
1
vote
2answers
8k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
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 ...
0
votes
0answers
83 views

Change Google Play Services notification setting from “allow peeking” to “block all” with adb?

Is there a setting name where I can run: adb shell settings put setting_name value I don't know the setting_name. I can manually navigate there but I need to change this setting with adb. Manually ...
8
votes
2answers
7k views

How to find app based on package name?

I've installed a malicious app that is posting ads over my notification bar, but can't find it. I know the java package name for it: com.letang.game103.en using the command: adb shell dumpsys ...
0
votes
2answers
874 views

Is there any trick to set ADBD to work on TCP/IP on a non-rooted device?

What I want is to control a device from remote: turn display on/off, launch a specified application (clock), open a website. On a rooted device, I've installed a SSHD app, then I logged in to the ...
3
votes
3answers
21k views

Can adb be used to recover SMS messages while in permanent “Safe Mode”?

I have a non-rooted Droid X2 that is in permanent "Safe mode", but I want to recover SMS messages. SMS Backup and Restore will NOT work because safe mode only allows system apps to run. adb shell ...
4
votes
1answer
383 views

Does `adb install` do APK signature verification?

When using adb install something.apk, does the Android Package Manager verify the signature of the APK? adb install seems to bring up nothing up on the phone's screen, so it's hard for me to know if ...
2
votes
3answers
1k views

How to search “My apps” on google play or show a text listing?

I have quiet a number of android devices. Not all of them have the same apps. On Google play it shows a My Apps section that shows a picture with the name of the apps in what appears a random order. ...
0
votes
0answers
18 views

Why won't Minecraft PE register L2 and R2 adb shell keyevents?

So I've recently been trying to create an AFK fish farm on Minecraft PE. The touch screen UI for fishing doesn't allow this for my setup, but I've learned that with gamepad controls the actions are ...
1
vote
1answer
1k views

Backing Up Apps With allowBackup=false

I'm trying to back up the apks and preference data for all of the apps on my device, but it only backs up about a third of them; the remainder all have allowBackup=false in their manifests, which ...
1
vote
1answer
3k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0
votes
1answer
22 views

ADB using USB-C to USB 2.0 cable

Can I use ADB (USB Debugging) with cable that has USB-C connector on phone side and USB 2.0 Type A plug on the computer side? It should be able to transfer data.
8
votes
2answers
6k 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
2answers
5k views

enabling usb debugging when device is off

I am trying to unlock my bootloader, but I am unable to enable usb debugging because my device (xperia t) is not coming on. How do I unlock my bootloader so that I can flash it.
1
vote
1answer
9k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
1
vote
1answer
4k views

Exporting contacts via adb

I have a phone whose screen broke, but I'd like to export its contacts to .vcf so I can import them to another phone. I usually do this with the built-in import/export function in the Contacts app ...
4
votes
1answer
4k 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 ...
0
votes
1answer
80 views

How to use an external sdcard as internal in Android Lolipop 5.1.1?

I have seen option of making external sd card to internal in android 6 mobile phones but i have android lolipop 5.1.1 how can i make it adoptable or get that option is it feasable to get that ...
0
votes
2answers
2k views

Phone stuck in ADB sideload

I recently try to reset my android phone by power off, power on and volume up button. There're several option but once I push volume down once and volume up once, it stuck with alarm sign and android ...
3
votes
2answers
7k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
0
votes
0answers
37 views

Permanently Enable Wi-Fi On a Smartwatch

I bought a children android smartwatch, MyKi Junior, running Android 4.2, which is intended for the specific purposes of parenting. I found out that it has a wifi chip that is usually used for ...
1
vote
1answer
988 views

LG Optimus G fastboot not working

Alright, I have an LG Optimus G that I'm playing around with and trying to install ubuntu on. I'm following this guide I've done everything up to the point where you enter this into the terminal: $ ...
2
votes
1answer
54 views

Phone manufacturer prevents installation of apps signed by third paries, does anyone know a way around this?

I'm trying to put apps on an LG Exalt VN220, which is a flip phone that runs on a limited version of android. Whenever I try to install an apk using adb I get the following message: ...
3
votes
5answers
11k views

ADB not finding device with Galaxy S8 and Windows 7

I'm trying to get my Galaxy S8 to work with unity for gear VR development but I cannot seem to get ADB to find the phone. I've enabled USB debugging in development options and also have the latest ...
1
vote
1answer
1k views

Turn the speakerphone on a call using 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
2answers
3k views

Restore Google Authenticator accounts from ADB backup

About a month ago I accidently dropped my Nexus 4. Altough it dropped from only about half a meter- the screen broke and the multitouch stopped working too. I was lucky (and smart :P) enough to take a ...
0
votes
2answers
1k views

adb sync shows Product directory not specified

I am using android in an emulator integrated with eclipse. I was trying to import my gmail contacts into my emulator. For that purpose, I exported my gmail contacts to a .vcf file (contacts.vcf) from ...

1 2 3 4 5 35