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.

767 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

How to backup applications' data from second or subsequent user of a currently non-rooted device?

Primary question: given a non-rooted 4.2.2 device which has second user added and used for awhile, is there any way to backup or otherwise safe the application's data of that second (or third etc.) ...
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?
2
votes
0answers
2k views

Obtain the Phone Number through ADB

I have a rooted Android device, and I'm set up with the Android Debug Bridge (ADB). I'm having difficulty finding the phone number of the device through ADB. I'm hoping to eventually automate this ...
2
votes
0answers
542 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
2
votes
2answers
1k views

adb shows devices as offline but system_profiler detects the devices fine

I have several devices (mix of tablets and phones) connected to my mac mini. Some of them are connected directly while some are connected by a good quality hub. $ system_profiler SPUSBDataType | ...
2
votes
0answers
182 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
2
votes
1answer
758 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 ...
2
votes
0answers
340 views

VNC style connection over ADB?

Could I connect to a device over USB ADB, get a shell and then launch a VNC type graphical connection where I can use that device? I have a android device at a customer remote premises and I want to ...
2
votes
0answers
2k views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it reports ...
2
votes
0answers
207 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device manager....
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
2
votes
1answer
12k views

I can't find the boot/recovery partitions on my Android phone for backup - where are they?

I'm trying to back up boot.img, recovery.img, and system.img on my Android phone. I've found several mentions of running this command: cat proc/mtd and then just using dd to copy the listed mount ...
2
votes
1answer
2k views

Installing APK signed with different key possible through adb install -r?

Android will refuse to upgrade a package, if it is signed with a different key, making me to uninstall first (and lose user data) and re-install. If I install the new APK via adb install -r XYZ.apk, ...
2
votes
1answer
2k views

Identifying an unknown Android tablet through adb/shell without relying on build.prop

I obtained a cheap unbranded tablet from a friend, without a box or anything and I need to figure out what kind of tablet it is, through software. What I've established so far is that the tablet is ...
1
vote
1answer
48 views

Missing “Manage root accesses” under developer options in LineageOS 16

My phone is Mi 5s Plus 6GB/128GB. After a clean installation (flashed MIUI 9.6.27 first) of official LineageOS 16.0 Sep 19, 2019 I can't find "Manage root accesses" under developer options. After ...
1
vote
0answers
89 views

Dumpsys Meminfo reporting inconsistent values ((Free Ram + Used Ram + Lost Ram) > Total Ram) Nokia 1

Below is my log as stated in the title the value of Dumpsys Meminfo do not add up to total ram. My device is NOKIA 1 Android 8.1.0 To reproduce these results I opened 10 apps using adb shell monkey ...
1
vote
0answers
23 views

fastboot doesn´t see device but device manager & windows does

I am trying to unlock the bootloader of my Umidigi F1. ADB works, recognizes my phone but once I get into fastboot mode, fastboot devices does not display and devices. I did install all the drivers ...
1
vote
0answers
20 views

inject recorded audio in an in-going call

I need to inject a recorded voice during a live call to test the network, how can I do that? I got a rooted device working on Qualcomm MSM9889 soc.
1
vote
0answers
36 views

fastboot cannot see my phone (moto3g) when adb can

Introduction: My phone is moto3g (bootloader unlocked), my OS is Debian GNU/Linux 10 (buster) and I want to install Debian native on it. To do so, I need root my device, and to do it i have to use ...
1
vote
0answers
47 views

How to switch between APNs using adb?

Is there any adb or shell command available to switch between different APNs?
1
vote
0answers
76 views

How to get IP address from DHCP running on WiFi AP using adb shell?

I am connecting to my WiFi network from adb shell using the following command: iw dev wlan1 connect -w WiFi-AP There is a DHCP server running on the AP as well, but whenever I try to get IP address ...
1
vote
0answers
46 views

Installing a homebrew/linuxbrew formula on an Android device

How would one go about installing a simple homebrew/linuxbrew formula on an Android device via adb? Specifically, I want to install this formula which contains a cli tool called aamath that translates ...
1
vote
1answer
97 views

what in xposed caused this bootloop and how to prevent it from happening again?

My android phone is stuck in a boot loop. To troubleshoot it I was able to boot into TWPR and use adb pull /sys/fs/pstore/console-ramoops to get some boot logs (is that even the right file?). When ...
1
vote
0answers
35 views

What is adb error on Android?

I want to send a file from my PC in Android recovery mode, but I can not get an error. The error is as follows: adb push file.zip *daemon not running; starting now at tcp:5037 could not read ...
1
vote
0answers
27 views

I am unable to enable cam2api on my ZMPM1, what should I do?

I have installed the latest versions of adb and fastboot and qualcomm usb driers for my phone - zenfone max pro m1. I tried running the command - "fastboot devices" and it runs perfectly ( when I have ...
1
vote
0answers
41 views

How to run app with arguments using am start

I want to run the NordVPN app by using am start automatically connects to vpn, on my home screen I have a working shortcut. The shortcut code is: Intent;action=android.intent.action.MAIN;category=com....
1
vote
0answers
53 views

How to “passthrough” a file from PC to Android and back using 'exec-in' and 'exec-out' directives?

I can do this: adb exec-in "gzip > sdcard/test.gz" < C:\test.txt adb exec-out cat sdcard/test.gz > C:\test.gz The question is how to do something like this: adb exec-in "gzip > C:\test....
1
vote
1answer
371 views

TWRP: vendor partition is not existed

I try to flash LineageOS on a OnePlus 5 (cheeseburger). I installed TWRP 3.3.0-0 from here. I repeatedly wiped the partitions. What I cannot manage is to adb sideload LineageOS 16.0. I get this ...
1
vote
0answers
129 views

How to enable usb debugging on bootloop phone(Lenovo tab yoga 8)?

So... I am having a a hard time to pull my file from internal memory on my bootlooped Lenovo tab Yoga 8. I only know that to pull files from adb I need to enable usb debugging. But, because it is ...
1
vote
2answers
156 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 ...
1
vote
1answer
153 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 ...
1
vote
0answers
40 views

Boot Loop with old CyanogenMod: Unable to stat various files

My old One Plus One suddenly refuses to boot without any changes from my side. OS is CyanogenMod 11. The device is rooted and there is TWRP 2.8.0.1 installed on it and debugging is active. The ...
1
vote
0answers
98 views

adb shell input text ignore characters

In android emulator adb shell I send the following command: input text \!\$\#\?\%shelllllllooo And result: All same characters(exclude special like !?#$) been ignored.
1
vote
0answers
208 views

OEM Unlocking Greyed out after Android 8.1 Update. (Lenovo Tab4 10)

I purchased a Lenovo Tab 4 10, I enabled OEM Unlocking, Unlocked the Bootloader to root my tablet, and when I booted back into the Android OS it had an update, so I updated it, rebooted, re-enabled ...
1
vote
0answers
120 views

Prevent app from seeing installed apps

Is there any way, through settings or ADB, to prevent an app (that I installed) from knowing what other apps are installed?
1
vote
0answers
81 views

Cannot reach fastboot from Recovery Mode

Beforehand: Sorry for asking. I was sure this wasn't duplicate. I have made myself a soft brick. The story: used kingoroot or something similar, then was too much in a rush hitting the "yes, please, ...
1
vote
0answers
2k 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 ....
1
vote
1answer
114 views

Accessing device with broken touch sensor and LCD using adb

After a drop, my phone's (Galaxy J3 6v) screen (both LCD and touch sensor) are completely unresponsive. I believe I have USB debugging turned on, but cannot be sure. I have a Linux machine with ...
1
vote
0answers
81 views

Why wont my device run Twrp img for rooting

Okay, happy post Vday. 🍥 💕 So, Im trying to root an unlocked Blu J1, running Marsh. 6.0. I recently reset it, due to perf. issues & now trying to root. My setup is Win7, w/ the latest Usb ...
1
vote
0answers
513 views

Why is adb backup creating a 1KB backup file when backup is permitted for the app?

I am using adb (latest one) from Android SDK Platform Tools. I also installed the adb driver from Intel USB Drivers for Android Devices. All installation done on two computer, one with Windows 8.1, ...
1
vote
0answers
29 views

How can i authorize my PC to my phone that doesn't work properly?

So yesterday I accidentally changed my phone's (Samsung Galaxy Note 4 SM-N910C) dpi from 640 to 140 using Nomone Resolution changer that uses root and that screwed up my whole phone because now it ...
1
vote
0answers
53 views

how to change hotspot auto-off time using ADB command o Root?

Hi guys I'm looking for a solution on how to change the auto-off time of the hotspot with ADB command o Root, defatul is set to 5 minutes: "the hotspot will be turned off if no device will connect ...
1
vote
1answer
44 views

One Plus 5 does not appears in ADB

I wish to install an another OS on my OnePlus 5 phone. At least try... So I follow the various guides on the web, valid developer options, click on "unlock OEM" and "USB debugging". OK. I also ...
1
vote
0answers
55 views

ADB no device Nexus 5

On my Nexus 5 (LineageOS 15.1 / Android 8.1) i can't see my device when typing "adb devices" (manjaro with Android SDK 3.2.1). What I tried: root access: "ADB only" android debugging: "on" revoked ...
1
vote
0answers
61 views

How can i change default user of ADB daemon

When i use adb shell i am logged in as user shell who is in lot of groups and have a lot of permissions. My question is if i can change default user which ADB daemon use to have less permissions. For ...
1
vote
0answers
127 views

Options for recovering user data off of unrooted Motorola Android in boot loop

My phone started to boot loop*. It is a Motorola Droid Turbo (xt1254) running Android 6.0.1, and this is a snippet from the recovery screen: Device is LOCKED. Status Code: 0 Software status: ...
1
vote
0answers
223 views

Installing TWRP on locked Sony Z3 Compact D5803

I was googling that for ages and couldn't find any decent solution. I have locked Sony Z3 Compact [D5803] and I need to install TWRP and backup the current OS. I CAN use flashtool to install custom ...
1
vote
0answers
77 views

Is there a way to show the status bar in Adobe Reader in Reading Mode?

Adobe Reader has a "Reading Mode" that is very nice for reading books and other documents but unfortunately, it hides the status bar on my Essential Phone. This phone has a notch so when the status ...
1
vote
0answers
388 views

Why using ADB command 'settings put global preferred_network_mode' doesn't reflect the changes in Test Settings?

I've been trying to search about changing network mode programmatically which was already answered, but I noticed that when using: settings put global preferred_network_mode x settings put global ...
1
vote
1answer
365 views

How to make adb shell commands wrap single line to multiple lines by default?

Let's say I have this long one-liner command: am force-stop com.example.foo; am force-stop com.example.bar; am force-stop com.example.foo2 am force-stop com.example.bar2; am force-stop com.example....