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.

748 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
330 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
206 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
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
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

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
0answers
20 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
46 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
9 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
25 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
25 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
0answers
59 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
92 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
98 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
36 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
58 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
160 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
73 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
1k 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
101 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
71 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
347 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
27 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
50 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
37 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
46 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
43 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
101 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
395 views

How to enable TalkBack through ADB in Android P?

I've got the Oneplus 6 with unofficial mod (OmniRom Treskmod) installed on it. The issue is that the mod probably uses its own setup programme, and the accessibility gesture is partially broken. ...
1
vote
0answers
179 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
62 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
337 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
261 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....
1
vote
0answers
61 views

Create a private folder in Android: set the SELinux attribute of a folder in external storage

There are quite a few apps that require read and write access to the external storage, which gives them access to the whole /sdcard directory. But since that is also the only storage the user ...
1
vote
0answers
146 views

xt1527 in boot loop with usb debugging disabled

a couple days ago my xt1527 started acting weird. Gapps started to crash out of nowhere. Today, every app that I tried to open crashed 2 seconds after, so I turned my device off to reboot and see what ...
1
vote
0answers
1k views

Clear all apps user data with ADB without factory reset

I'm trying to achieve the goal of clearing all app data using Git Bash on Windows, but I don't know exactly if this approach is wrong, because it shows FAILED on every line. adb shell 'pm list ...
1
vote
0answers
146 views

ADB permission failure since upgrading to LineageOS

I just upgraded my Samsung Galaxy S5 from Android 6 to LineageOS 15.1, and now ADB does not want to access my phone any more. All I get is: % adb shell error: insufficient permissions for device: ...
1
vote
0answers
29 views

How to reuse phone board without casing, screen

I have galaxy j7 2016 board with this rom installed. I have a lot of knowledge about hardware but my question is how to access shell without screen if usb debugging is not enabled? I basically want to ...
1
vote
1answer
102 views

Micromax-P701 bricked, MT6735

Micromax-P701-MT6735, Deleted All Partiton, also bricked recovery and fastboot, All MTK Drivers are installed but its continues connecting and disconnecting(the device manager is flashing but not ...
1
vote
1answer
11k views

Chrome taking up lots of space on my Android device

I have an OnePlus 5T running Oxygen 5.1.4 (which is based on Android Oreo 8.1.6). According to the app DiskUsage, Google Chrome is using almost 15 GB of data. (Click image to enlarge it) Apart from ...
1
vote
1answer
104 views

My Moto Z is stuck in a bootloader mode AND will not communicate with my Windows 10 PC

Before it became problematic, the bootloader on my Moto Z was unlocked, developer options were on and so was USB Debugging. Then a friend tried to root it and that's when my problems began. Now, when ...
1
vote
0answers
528 views

Oreo 8.1 - Trouble enabling ADB for system by modifying /system/build.prop in TWRP adb shell

I've followed https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd and have doublechecked that the build.prop is indeed modified i.e. system was mounted in read-write mode. Unfortunately ...
1
vote
1answer
1k views

How to boot from download mode into recovery mode

Two days ago when I was going to use my Galaxy Note 8.0 GT-N5100 tablet I noticed it was off, but minutes before it was on and working, so I tried pressing the power button and nothing happened, ...
1
vote
0answers
325 views

How to get memory dumps, when internal memory (/data partition) is damaged?

(Sorry for my english) My phone, Samsung galaxy S3 16 GB wasn't rooted and installed custom recovery. Someday, it appears on the screen that "internal storage is damaged". So I want to backup internal ...
1
vote
0answers
836 views

Terminal stuck on “<waiting for any device>” after /fastboot oem unlock command

I have been trying to unlock my phone's (Samsung Galaxy J5) bootloader with almost no success. I used adb for the process but it always gets stuck at waiting for device, after fastboot command ./...
1
vote
1answer
164 views

cannot recover data from or unlock my phone Lenovo Z2 plus

I needed some data from my old phone Lenovo Zuk Z2 plus (Z2132) but I have forgotten the lock screen PIN. I tried a lot of recovery software, but all of them had a pre-requisite to either have the ...