Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
14 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
1answer
58 views

How to AutoRotate in LineageOS With ADB?

I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly? I added these to my build.prob ...
1
vote
0answers
17 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 ...
0
votes
0answers
25 views

Xperia L not booting to TWRP

I installed TWRP in my rooted Sony Xperia L using the TWRP Official App. The app said that the flashing was successful. Then, when I give adb reboot recovery command, it boots into the stock recovery. ...
0
votes
0answers
22 views

How can I send fake accelerometer data to my phone?

I want to have my phone read some fake accelerometer data on a loop so that I can have apps use my loop instead of the real accelerometer. I have a rooted Galaxy A8 2018. Preferably through a terminal ...
0
votes
0answers
20 views

Adb works in “computer's” command prompt but not in “Android Studio's” Terminal

When I type "Adb" on computer's command prompt the correct format follows.(Indicating that the environment variable path is correct). When I type "Adb" in Android Studio's Terminal it says " 'adb' is ...
1
vote
0answers
56 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
votes
0answers
45 views

Recovering Deleted Text Messages S9

my goal is to recover text messages that have been deleted from my S9. I have not rooted my phone because all the guides I have found said that my model is not compatible with one of the programs used ...
0
votes
0answers
12 views

Phone stuck in Safe Mode (Volume Keys not functioning)

Recently my Samsung Galaxy E7 entered into Safe Mode. My volume keys are non functional. Can someone please suggest a way to get out of Safe Mode using ADB.
0
votes
0answers
10 views

Troubles making ADB work on Neffos C5s

Help please! I have this phone, the Neffos C5s, with the SOC MTK6735 and Android 7.0, but I can't make the ADB command line work. I already installed all the drivers on my OS (W7 x64), ADB and the ...
0
votes
1answer
79 views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
2
votes
1answer
95 views

Galaxy S7 Edge - Change USB Mode in Phone that Will Not Boot

I've done a few hours worth of research and have been unable to find a clear answer. Hoping something in the community here might be able to help: Verizon Galaxy S7 Edge (Oreo with latest Verizon ...
0
votes
0answers
37 views

adb install command installs app to work profile as well

When installing app via adb install the app will be installed to work profile as well, the same thing happens when using installing apps by root method in Yalp Store. Is there any parameter to ...
1
vote
1answer
62 views

Show adb backup manual

How do I show the help text/manual for adb backup? When I run adb help I see ... backup/restore:     to show usage run "adb shell bu help" ... When I run adb shell bu ...
1
vote
0answers
59 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
1answer
31 views

Nextbit robin recognised on fastboot but not adb shell

In the process of rooting my Nextbit Rboin, I unlocked the bootloader, and wiped it so I only have TWRP on it. I have an LOS zip ready but I dont know how to get it on the device. I have installed ...
-1
votes
1answer
78 views

I am trying to change my device's Mac address from adb shell but

I tried to change the Mac address of my non-rooted Samsung Galaxy J5 2016 (running Android 7.1.1) from adb shell. But the command ip link set wlan0 [...........] returns permission denied. Any ...
-1
votes
0answers
18 views

WHY DOES MY GPS ON SAMSUNG S6 LIE ABOUT MY LOCATION? [duplicate]

I have a Samsung Galaxy S6 Active and it has Google Maps downloaded on it as well as other Google apps. My husband went through my phone and in the Google Maps app, under timeline, apparently it ...
0
votes
0answers
25 views

Getevent very laggy under EMUI 5

I have a Huawei P9 Plus smartphone. Android 6 with EMUI 4.1.1 was preinstalled. I'm using adb shell getevent -t /dev/input/event5 to show all the touch events. On Android 6 with EMUI 4.1.1 this works ...
-1
votes
0answers
40 views

Setting global proxy with user/pass and edit it via ADB

I need to automate changing the global proxy (so it affects all applications), but the usual method via adb I’ve seen don’t allow for a username and password for authentication. Surely this is ...
1
vote
0answers
36 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 ...
0
votes
1answer
43 views

How do I enable SEANDROID ENFORCING over adb inside TWRP?

When I boot into TWRP Recovery, it says, RECOVERY IS NOT SEANDROID ENFORCING but when I run sestatus, it tells me SELinux status: enabled SELinuxfs mount: /sys/fs/...
1
vote
0answers
25 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 ...
0
votes
0answers
31 views

Set ownerinfo with adb

I need an ADB command which sets the ownerinfo(little textbox on lock screen) of my Android device. I couldn't find any cmdlets that works while searching. My device has Android 7
0
votes
1answer
46 views

How to downgrade Google search app in recovery?

For some reason, I would like to downgrade the Google search app (com.google.android.quicksearchbox) to a older version, and upgrade later, on a MI 8 running Android Oreo. But when /system is mounted ...
0
votes
1answer
72 views

ADB Shell Input text unicode value gives permission error

I am running below command on Ubuntu with connected devices adb shell input text "तणणररथ" but it gives me permission denied error and start dumping state of the device sh: resetreason: can't ...
0
votes
1answer
129 views

how to succesfully boot into bootloader/fastboot mode on alcatel 5049z smartphone

I am having issues( i am a "novice" when it comes to unlocking a30 android bootloader with a PC...) with booting into bootloader/fastboot mode on my stock rom--android 7--Alcatel a30(non rooted 5049z?)...
2
votes
0answers
51 views

Removing multiple files using ADB

This is what I tried: $ adb -e exec-out run-as com.awesomeproject rm *.jpg rm: *.jpg: No such file or directory After that I tried using find $ adb -e exec-out run-as com.awesomeproject ls ...
-1
votes
0answers
59 views

How to open pattern locked phone and backup with adb?

I am running android KitKat stock ROM with a broken display and touchscreen. I have USB debugging enabled. My pattern is 3214789 (3*3 pattern top-right to top-left then to down-left to down-right). I ...
0
votes
0answers
88 views

ADB: Emulator avd exited with code null, signal SIGABRT

We have Appimum tests running on a virtual device. But the problem is that the emulator's device won't start. I'm pretty sure it's something with Android or Qt or Ubuntu itself. In Appimu's output ...
1
vote
0answers
88 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 ...
0
votes
0answers
25 views

Nexus 6p stuck in recovery - not visible in adb or lsusb

I've got a Nexus 6P which used to run LineageOS and Twrp. When upgrading to the latest vendor image I accidentally downloaded and flashed a complete factory image. As a result the phone is stuck on ...
2
votes
1answer
382 views

How to enable/disable apps using ADB (Android 8.x)?

I cannot get apps enabled or disabled using ADB. Android: 8.0.0 Device: Samsung Galaxy A520 (SM-A520F) I don't have root access to my device. To get the list of the disabled packages I use: $ adb ...
1
vote
1answer
26 views

Why did my phone reboot after copying an so file to the system/lib folder?

I ran the following command and the phone automatically rebooted after copying. Why? Was it because the so file was in use? $ adb shell 'mount -o rw,remount /system && cp /sdcard/libfoo.so /...
-1
votes
0answers
52 views

nokia 3 'fastboot devices' command gives nothing

I have downloaded platform tools and adb-setup.exe which installs adb and fastboot i think,further on opening cmd after clicking shift + right click in platform tools i open cmd and here i typed ...
1
vote
0answers
84 views

Display bound manipulation on an android device, to avoid faulty touchscreen area

I have a Oneplus 3T on which, the digitizer would not register a touch on the bottom 1cm of the display. I tried the adb shell wm overscan 0,0,0,100 command to set display margins, and it breaks a lot ...
1
vote
1answer
118 views

How to take full image backup of eMMC?

I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like dd for any partition, so I can inspect the ...
2
votes
1answer
442 views

Is there a way to give root privileges to an app through the ADB?

The Android Debug Bridge (ADB) itself has root access (after executing the adb root command). Can that be used to give the same privileges to apps on the device? Is there a file somewhere in the ...
1
vote
1answer
80 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
votes
0answers
28 views

Phone problem change the density/reduction and freeze

in the past last week I've read this: Resize screen for Dead touch zone an old interesting post, and I try to use adb commands to change the density/reduction in a broken screen, on my phone (Haier ...
-1
votes
1answer
42 views

How to backup the entire device from a computer and mount any of the bakup partitions in Linux?

I am looking for some tutorial or help to be able to make a backup of all Android partitions directly on my computer and be able to mount each of them from Linux to view them.
-1
votes
0answers
37 views

How to unbrick lenovo k6 power?

My phone just got bricked. I was trying to flash a new ROM but due to low battery my phone got shut down. My phone is Lenovo K6 Power, powered by SoC 430. I need help with resolving this matter.
1
vote
0answers
35 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
votes
0answers
21 views

Adb pull /system/bin/mpdecision: Remote permission denied

So i'm trying to pull some files out of /system/bin for lineageos to compile and even though i'm root, it still fails. The / and /system directorys are read/write so its not a filesystem problem. Also ...
-1
votes
0answers
52 views

Install apk via adb on native booted android

I found that I can't install apk files. But it can be done by 3rd party apps. I can't even download from play store. I found a solution on internet to use adb. But I am not using vbox. So how can I ...
1
vote
2answers
106 views

Android Studio unable to see any connected targets, neither hardware nor virtual

In Android Studio, I can successfully do a clean build, but every time I try Run, I see the "Select Deployment Target" window say Initializing ADB, but then in Connected Devices I see . I can ...
0
votes
2answers
50 views

Make a “adb shell” batch file?

Is a way I can make a batch file that'll run "adb shell twrp decrypt 0000" and go all the way to 9999?
0
votes
1answer
47 views

Doing the equivalent of “adb pull”, but initiated from the Android device, not via adb

I have a rooted Oreo Android device, and I can use "adb pull" from my linux machine to retrieve copies of files and directories from my device. However, I want to get a full copy of each and every ...
0
votes
0answers
43 views

How to properly modify build.prop (for production sake)?

OK, this is going to be a question SIMILAR but NOT IDENTICAL to a lot of the questions asked here. This is what I want to accomplish: modify build.prop whilst still be able to properly boot into the ...
0
votes
1answer
267 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 ...