Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

9
votes
1answer
2k views

How to tell what arcitecture an APK is intended for

I am writing a script to test a large quantity of apks. Some run on x86 and some run on arm. Is there a way I can tell which apks are intended for which architecture? I have looked through the ...
1
vote
2answers
4k 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
1answer
3k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
-1
votes
0answers
13 views

(fastboot) waiting for any devices

I did in all the ways still it's not working. I was doing with Lenovo K8 note. Even in the device manager, it's proper I looked for almost every tutorial.
1
vote
1answer
5k views

Nexus 5 not detected by ADB

When trying to connect to my Nexus 5 (5.1.1) in Android Studio (1.0.1) my device is not found. I am running Windows 8.1 Pro. In the [SDK]/platform-tools directory I ran the command: adb devices ...
5
votes
3answers
8k 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)? ...
1
vote
1answer
765 views

Can't connect/get computer to recognize android phone (OPO)

I've been trying to root my OPO for two days now and I've continued to have this issue. After installing Android Studio + the SDK, as well as downloading the Google USB Driver, when I connect my phone ...
2
votes
1answer
757 views

adb backup disabled on phone

I am attempting to run an adb backup to my computer from my Samsung Galaxy Nexus, version maguro, v4.2.2 (I guess it's worth mentioning I'm running Windows 7 on my computer). I have tried this with ...
52
votes
2answers
284k views

How to mount /system rewritable or read-only? (RW/RO)

How can I mount the /system directory rewritable or read-only on my Android phone?
0
votes
1answer
20 views

Disable part of a touchscreen from taking phantom touches

I have a 10.Or G android Oreo device ** resolution: 1080x1920 density: 480 ** This question follows up from here I'm having problem with lots of ghost touches in the very top 5 mm bar of the ...
0
votes
0answers
6 views

Cant go in fastboot mode in SM-J400F [duplicate]

I am trying to root my Samsung SM-J400f but I just cant get into fastboot mode. As soon as I type following command :- adb reboot bootloader My device just reboots and doesn't enter into fastboot or ...
0
votes
0answers
14 views

Issue trying to flash lineage OS on Samsung s6 through heimdall on terminal - mac

Trying to flash lineage OS to my Samsung galaxy s6 but for some reason the Mac cannot detect my device.. The only way I can cannot it to transfer data files through USB is by enabling USB debugging in ...
0
votes
1answer
130 views

How to Extract boot.img from Sharp Z3 Fs8009?

I'd like to extract the boot.img from this device in order to root it with Magisk. Is it possible with adb commands? Or another way maybe? The firmware on it is 00WW_1_310 global version, and I can't ...
0
votes
0answers
14 views

What is this permission group?

When I ran adb shell pm list permission-groups one of the groups was: com.google.android.gms.permission.CAR_INFORMATION. I've never seen this before in system settings and I can't find anything ...
0
votes
0answers
22 views

Phantom Vibration from com.android.providers.downloads

I've found the source of roughly 10x phantom vibrations (e.g. vibrations without notification or clear cause) daily. startTime: 9 Apr 2019, 15:20:33, effect: Waveform{mTimings=[0, 100, 150, 100], ...
3
votes
1answer
872 views

Password protecting shell access

We distribute android devices to other developers so that they can develop on our devices. We want them to be able to install / uninstall / debug apps, but we don't want them to be able to run adb ...
1
vote
2answers
7k 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 ...
0
votes
0answers
16 views

pm clear not logout apps like twitter

I'm doing: pm clear com.twitter.android And expecting to be log out from twitter app. But it is not working. I also tried to clear every app package with pm list packages -f, in case twitter store ...
0
votes
1answer
25 views

Would it be theoretically possible to do a block-level backup of /dev/media without root?

I have nothing against root except eFUSE. Whose ever idea eFUSE was . . . As far as I understand: Because of amateur users and clueless minimalists who don't know how to utilise tools that are ...
0
votes
1answer
24 views

Revoking Bluetooth permission from all apps?

I noticed that my phone silently enables bluetooth when screen turns off. When phones remains inactive for few minutes and I click unlock button I can see bluetooth indicator showing up for around 1-2 ...
0
votes
3answers
3k views

fastboot set_active command does not exist

I am trying to root my Xiaom mi a2 phone. But i am stuck on changing the active partition. When i enter "fastboot set_active b" it doesnt execute the command. Instead i get a list off all available ...
0
votes
1answer
1k views

Remove Backup and Factory reset option from Settings app [duplicate]

I want to remove some features from my settings app (device is rooted) I used adb shell pm disable 'com.android.settings/.Settings\$SecuritySettingsActivity' to disable security settings and it ...
2
votes
0answers
73 views

ADB shell input keypress play/pause doesn't work in Netflix/Hulu Android apps?

I'm trying to control my Android Box (running Android 6.0, my guess is a modified version of a phone's os, definitely not the official android tv os) via adb for a home automation project & I'm ...
1
vote
2answers
43 views

Redmi 3 stuck on bootloop with no recovery mode access

I have a Redmi 3 MIUI7 that I recently flashed with MIUI9 using TWRP. Right after flashing, I tried to boot it but it stuck on a bootloop. Since I haven't booted into the ROM and can't do so because ...
0
votes
0answers
15 views

adb shell push image to recent or downloads folders not on sdcard

I want to push images to one of this folders: with shell command. But file only appears on sdcard folder My last tries was: adb push C:\Users\User\Pictures\girl.jpg /data/media/0/Pictures/ adb push ...
0
votes
1answer
772 views

Change UUID of Android Device

I'm trying to change bulk devices UUIDs using DroidExplorer I've opened /data/data/com.android.providers.settings/databases/settings.db selected android_id from table secure to change the value. I ...
2
votes
2answers
3k views

Adb command(s) to get screen state and locked state

Background: I'm using automated tests on many different variants of devices (Samsung tablets and smartphones such as Galaxy A5, S8, S7 etc.) where the devices have different versions of Android (6.0, ...
1
vote
1answer
32 views

Forgot password on Samsung Galaxy S7 Edge, trying to access for Google Authenticator

I never wrote my password down for my old S7 Edge and managed to forget it. Overthinking the security and privacy, I also never signed up for Samsung's service and Google's Find My Phone only ...
0
votes
1answer
5k views

Installing ADB drivers for Micromax A89 Ninja - Windows 8

Micromax does not provide any drivers for its phone - Micromax ninja a89. We are trying to use the phone for development and are unable to install device driver in windows 8. We tried the adb ...
4
votes
2answers
7k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount /dev/block/platform/msm.sdcc.1/...
0
votes
2answers
4k views

Enabling developer mode in reliance lyf?

How to enable developer mode on reliance lyf mobile phones??I looked for all options in settings but haven't found anything to enable developer mode!!!Is developer mode option available on it or not??...
0
votes
1answer
4k views

push and pull command return “push: not found”

I can't seem to pull or push files from my phone. The file exists, and I can get into adb shell. But whether I do the command adb pull or adb shell and then pull, it doesn't work. If I do it via ...
0
votes
1answer
46 views

Copy entire phone to the same device?

I bought second Asus ZS570KL as backup phone since my old one starts to do... weird things. I created full backup using: ./adb backup -apk -all -obb -shared -v -f /backups/phone8.ab And later ...
0
votes
0answers
17 views

Forgot password + broken home button

a friend of mine forgot her Unlock Pattern of her Galaxy A5 (2015). Apperantly the latest stock android version that runs on it is Marshmallow. My idea was to simply put it in recovery to just wipe ...
0
votes
1answer
19 views

How to access PC disk from adb shell?

My emulator can't do adb root. Anyway, I can do adb shell and then do su and get root to do my things. But how to copy some file from my PC to connected device using adb shell? Where can I access my ...
0
votes
2answers
2k views

fastboot stuck on sending 'boot'

I'm trying to flash cm13 boot.img to my phone and it stuck on this for more than 20 minutes: $fastboot flash boot boot.img target didn't report max-download-size sending 'boot' (5760 KB)... and ...
2
votes
1answer
774 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
0
votes
2answers
781 views

Forcing an Android tablet to connect to a wifi from PC

A while ago, I had a tablet (Coby Kyros MID9742), that got shelved when the screen quit (half of the area of the touchscreen won't recognize touches, split among 2 sections). I am trying to repurpose ...
0
votes
1answer
2k views

Fastboot command returns a list of question marks

I am trying to root an Acer Iconia Tab A200 tablet using a script. I have adb working and fastboot works too, however, command fastboot devices returns a list of question marks. Eg: ???????????? ...
-1
votes
1answer
34 views

Android Studios Adb server problems

I formatted the desktop and i'm try to install the Android Studios version 3.2.1 installation setup was completed but when try to run the project .It show error log like this Unable to detect adb ...
8
votes
6answers
44k views

Galaxy S4 does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as "...
2
votes
1answer
41 views

What does the charge counter in battery indicates?

I have used the adb shell dumpsys battery command on my phone. It delivers the following results (posted on the image). Most of the terms, I can understand but not the charge counter. What does it ...
2
votes
1answer
26k views

ADB connect to a device via TCP/IP

I'm trying to use adb connect: connect <host>[:<port>] - connect to a device via TCP/IP Port 5555 is used by default if no port number is specified....
2
votes
2answers
21k views

Disabling “Storage space running out” notification in Status Bar?

Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?
0
votes
0answers
14 views

Charge counter indicates what?

on Nokia 6.1 plus, charge counter value decreases whenever I connect and reconnect. What does the charge counter indicates, what can be done with that information?
0
votes
0answers
2k views

Adoptable storage on Samsung Galaxy J5

I had a Samsung Galaxy J5 device (J500FN) which memory capacity was quite low. So, I bought a 64GB SD card, thinking that it would solve the problem. Well, I was wrong. Turns out that moving apps on ...
0
votes
0answers
28 views

ADB Access in TWRP recovery mode - samsung A3, Linux

I can access my Samsung A3 (a3xelte) in "normal" mode in Linux using adb. Today I installed the TWRP 3.2.3-0 recovery mode and entered it. According to this DroidWiki article(the article is in German),...
0
votes
1answer
796 views

Broken OnePlus One - Data recovery possible?

So I've got a OnePlus One that's been badly smashed up (no screen or digitizer), and I was wondering if there's any hope of trying to rescue some (or even all) of the data off it? Some details: 1 - ...
1
vote
0answers
302 views

ADB backup and restore app data between device and emulator?

** = Edited on 03/31/2018 * = Edited on 03/25/2018 I have an application for which I'd like to transfer the app data from my physical device to an emulator on my PC. *The data consists of a single ....
0
votes
1answer
49 views

How to create a copy of a file immediately when it's created? [duplicate]

I have an Android app that will create a file in /data/ and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file? I have ...