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
3
votes
1answer
855 views

Does adb backup store all applications?

On my non-rooted phone first I did adb backup -all -apk -obb -f lenovo.ab and bit later adb restore lenovo.ab (both commands had no errors). Surprisingly I did not find quite a lot of apps after the ...
0
votes
0answers
37 views

Can't use adb after phone startup until unplug/replug USB cable on Galaxy S3

I am doing some Android kernel development and would like to be able to quickly flash a kernel and reboot my phone to test my changes. Unfortunately, whenever my phone starts up, I can't access the ...
0
votes
0answers
15 views

What is the difference between adb backup and TWRP backup? [duplicate]

TWRP backup is more robust? As I understand I can restore from TWRP if system is not bootable - this is all differences? I have Lineage 14 (NightOwl, Android 7) rooted Samsung Galaxy Note N7000.
0
votes
0answers
255 views

adb error type 3 Activity class {com.android.launcher3/com.android.launcher3.WallpaperCropActivity} does not exist

I tried to change my wallpaper via adb. As I'm new to Android and don't know much about its activities, launcher etc. I don't know where my mistake is. I have found following adb command: adb shell ...
0
votes
1answer
120 views

How can I install / debug applications on nanopi m4 Android board?

I have a nanopi m4 Android board, usb type c port for charging and data (and debugging maybe), four usb 3.0 ports, Android 8.1 I need to use adb, what I have tried use the charging / data port (usb ...
0
votes
0answers
61 views

Create lock screen shortcut to direct dial a contact number

I’ve seen several articles like this, that show how to create a lock screen shortcut on my version of Android (8.1 Oreo), but I can’t seem to figure out how to create one that replicates behaviour of ...
1
vote
1answer
836 views

Send an SMS from an Android 8.0 using adb

A lot of docs are explaining how to send an SMS from an Android using adb command line, but none of these work for the newer Android version 8. I am eager to know where are the docs for service ...
0
votes
0answers
56 views

How to change default Location Accuracy in Andriod 8.0.0 (Samsung J7 V)?

I usually keep Location services off, but occasionally I turn it on. I am only interested in GPS location, not wifi or cell network. I use it either for driving navigation or logging hikes, so wifi/...
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
40 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 ...
0
votes
0answers
206 views

USB MTP/PTP/Tethering/Midi Not Working

I have a Samsung Galaxy Tab 4 T235Y LTE 7.0". I have ported and flashed rom and it went wrong. Then I flashed stock rom. Now it's not detecting usb on pc (not showing usb options in tablet like mtp/...
2
votes
1answer
102 views

Galaxy S7 - How to back-up stored email mailboxes with ADB?

I've been through several threads on Stackexchange / XDA to find a solution that yet eludes me for the following task : As we all know, when we create and email account with our android devise and ...
1
vote
1answer
255 views

How can I find preinstalled apps via adb?

Is there a way to find for example a preinstalled WhatsApp? So before I delete WhatsApp I can check if for example Samsung has a pre-version installed on the device (and so I can’t fully remove it)? ...
0
votes
0answers
408 views

ADB command to send an android intent

I need to convert the following java code to an adb command to trigger scanner on a Zebra Android Scanner (not camera) mobile device. I found the code on the the Zebar site as follwos, Intent i = ...
1
vote
1answer
103 views

What are the differences between these adb and fastboot packages?

In my Bash shell, I have the packages: adb vs android-tools-adb as well as fastboot vs android-tools-fastboot. For reference I am trying to root my device, and later use these tools to learn about ...
0
votes
1answer
1k views

How to grant write access to external SDcard using ADB in Android tv?

I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" ...
0
votes
0answers
605 views

Is there a way to pull stock rom from android using adb and a non-rooted android device?

I know that in a lot of cases adb can be powerful, but adb requires root access under certain circumstances, so my question is, if i wanted to pull my stock rom or firmware from my device, can i do it ...
0
votes
2answers
564 views

ADB/Fastboot not detecting Android stuck in bootloader

I tried to flash the most recent android pie update to my pixel 2 only for it to fail writing partitions even though I followed a recent guide to my best ability. Now, the phone is stuck in the ...
1
vote
0answers
51 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
2answers
333 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
48 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
111 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
244 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
143 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
116 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: ...
0
votes
1answer
295 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
20 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 ...
1
vote
1answer
1k views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
2
votes
1answer
605 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 ...
1
vote
1answer
608 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
463 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
57 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
738 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 ...
0
votes
0answers
38 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
vote
0answers
195 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
199 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
64 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
1answer
134 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
402 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 ...
1
vote
1answer
2k 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
155 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
vote
0answers
357 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 ...
2
votes
1answer
3k 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
47 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 /...
2
votes
0answers
487 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
1k 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
1k 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
293 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
1answer
132 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.
2
votes
0answers
106 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 ...