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
0
votes
1answer
1k views

Error in connecting Samsung A3 to Ubuntu 14 (USB); adb unauthorized (no pop up on device too)

I have a Samsung A3 with Android 4.4.2 (not rooted) and a computer running Ubuntu 14. I am trying to connect my device to my computer through USB to be able to perform some tests on it. I have ...
1
vote
2answers
3k views

How can I get the last dialled number and call duration via adb?

I'm creating a computer system for telemarketing. I'm using adb commands to dial numbers Link Is it possible to get last dialled number and call duration via adb? If it is, how?
1
vote
0answers
23 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....
2
votes
3answers
6k 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 ...
2
votes
1answer
101 views

Why “adb root” does nothing?

I have a OnePlus 6T. It is rooted by TWRP and Magisk. I have set ro.debuggable to 1. But when I type adb root it does this: I cannot even use adb pull on system files.
0
votes
1answer
260 views

Unable to modify file permissions.xml, get error Read-only file system

I have a rooted Galaxy S5 SM-G900V, lineage_klte, ARMv7 Processor rev 1 (v71), Kernel: 3.4.113-lineageos #1 SMP, Oreo 8.1 that a friend asked me to modify. I need to modify the platform.xml file to ...
7
votes
0answers
20k views

Device boots normally, but cannot enter recovery or fastboot

I have secondhand Vodafone Smart Tab 4G. It seems to me that previous owner messed something up. The device boots normally but I cannot enter either bootloader, fastboot, or recovery. I have tried HW ...
8
votes
0answers
387 views

How to stop apps from doubling overscan?

For some reason a chunk of the digitizer broke on the bottom of my phone. I tried to use adb shell wm overscan 0,54,0,324 to resize my screen smaller until I can get a new phone, but it's giving bad ...
0
votes
0answers
36 views

How to back up app data from system applications? (e.g. YouTube search history)

In 2018, YouTube triggered their kill switch / time bomb for older versions of their Android application. Their more recent versions of their app limits the search history to 50 items, which means ...
1
vote
1answer
2k views

How to skip “Welcome Page” in Chrome using adb

I am trying to open a URL in Google Chrome using adb command line. Have set "--no-first-run" using following command - adb shell 'echo "chrome --no-first-run" > /data/local/tmp/chrome-command-line'...
3
votes
3answers
25k views

ADB status offline when trying to root Kindle Fire

I'm trying to root Kindle Fire but it always show "ADB status: Offline" when I start "run.bat". Could you help me out of this problem? :( I tried to plug, unplug, connect, disconnect the Kindle many ...
0
votes
0answers
54 views

Unable to flash LineageOS or TWRP on OnePlus 5T

I'm trying to flash LineageOS on a new OnePlus 5T. I have unlocked the bootloader from fastboot, but nothing else is working. I booted into the stock OnePlus recovery mode and tried to flash ...
5
votes
0answers
1k views

`adb shell wm overscan` makes apps leave blank spaces on top

I've been following the instructions given here. Basically I just ran: adb shell wm overscan 0,320,0,0 to fix a broken touchscreen issue on my Sony Z3 Xperia Compact with Android 6.0.1 Now some ...
0
votes
1answer
2k views

can't connect to wifi using lineage os LG g3s (jagnm)

i recently updated lineage os to 14.1-20171206 on my LG g3s (jagnm) and there are several issues: 1) can't connect to wifi. Apparently it's because wifi mac address got switched to all zeroes (00:00:...
2
votes
1answer
68 views

Adb pull - access denied

I want copy all files(including system files), but when I enter adb pull / i get this: I tried entering adb root but that does nothing. Is there any fix to this? Else any other way to copy all ...
8
votes
2answers
29k views

How can I enable adbd during boot on Cyanogenmod?

I am stuck during the boot process, at first before entering the passphrase for /data and now at the SIM PIN screen. At this point, adb is inaccessible (normally adbd would start up after unlocking /...
0
votes
0answers
27 views

Copy files from Nexus 5 Hammerhead via Recoverymode to a PC (Win 7)

i wanted to reuse my old Nexus 5 Hammerhead, but i forgot my android PIN. So i thought, just to reinstall a new Lineage OS. But i want to save my data before hand. I can see the data when i boot into ...
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?
1
vote
1answer
3k views

ADB works over USB, but doesn't work over Wifi

I have weird issue with NTT 407 tablet that works on Android 4.1.1. I've switched "USB Debugging" and when I plug USB, adb works fine. But I need it working over Wifi, so I connect to my AP, set ...
0
votes
0answers
26 views

Unlocking oem via fastboot says command failed [duplicate]

I use Android on i.MX 7ULP development kit. I planned to unlock oem via fastboot. I downloaded the latest adroid platform-tools (r28.0.3) and Run the following commands on a device while its dev ...
0
votes
0answers
24 views

How to flash a custom rom solely with a PC

So long story short, I have a old Samsung S Duos. It fall from some height. Its screen is broken. After giving up on it and almost a year after that, I decided to charge it and unlike last (year) time,...
0
votes
0answers
102 views

Put GApps file on Android bsp for nxp development board

I have an embedded system development board nxp MCIMX7ULP-EVK with Android BSP (Android 8.1) installed on it (link). The board by default does not have google play service on it. I downloaded ...
4
votes
2answers
2k views

Install OpenGApps in Android Studio Emulator (Marshmallow)

I wanted to install OpenGApps in an Android emulator (created in Android Studio). The emulator is running with Marshmallow. There is enough storage space available, so this is not the problem. I tried ...
1
vote
1answer
24 views

what is the meaning of the output of the users list command

I'm using the cmd user list command and this is the output I'm getting from the shell. UserInfo{0:Owner:13} UserInfo{23:shalevM:20} what does the last variable means? the first one is ...
5
votes
1answer
30k views

adb push not working on /system, read only

I can do adb push to /sdcard/ location but not /system on my android device. sudo adb push lib/audio.primary.gmin.so system/lib/hw/ failed to copy 'lib/audio.primary.gmin.so' to 'system/lib/hw/audio....
0
votes
1answer
21 views

Mac Fails to recognize my Android phone through USB

I installed ADB via homebrew but running adb devices returns an empty list. I also tried system_profiler SPUSBDataType but I still fail to find my device here. I don't have EasyUSBTethering issues on ...
0
votes
1answer
27 views

ADB does not recognize device (LG X Charge)

I am not able to get adb to recognize my device. Here is my setup: USB debugging is enabled under Developer Options Use USB Connection for File Transfer (Transfer Documents and media files to the ...
4
votes
4answers
7k views

ADB commands to get the adb version of mobile phone

This might sound stupid, but after reading this post (which seem complete) I still dont see how to get the "abd version" of my android, the output I expect is something like this Android Debug Bridge ...
1
vote
1answer
5k views

Can not boot into TWRP recovery - Black screen

I am trying to flash TWRP onto a Redmi Note 4X I have the device's bootloader unlocked. I tried the following: Boot into fastboot mode on the Redmi (Vol Down + Power). Then type fastboot flash ...
0
votes
0answers
44 views

I have unlocked my bootloader but ADB doesn't detect my phone so I cant get into my bootloader mode to install TWRP

I have a Huawei P10 lite and I wanted to root my phone, so I had unlocked my bootloader after much effort, and now I'm trying to install TWRP but every time i try to enter my bootloader mode it doesn'...
1
vote
2answers
7k views

root cannot list files in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir failed,...
2
votes
2answers
4k views

Android Composite ADB Interface Windows 8 driver for iRulu U2?

I downloaded and installed via Android SDK Manager (rev 24.2) the latest Google USB Driver (rev 11). adb devices works well with my Nexus S G4 (Android 4.1.2) and is able to list it without any ...
0
votes
0answers
268 views

How to fix “fastboot FAILED (command write failed (No such file or directory))” error?

I was trying to flash TWRP recovery image in my MI 8 SE on my windows 10 laptop. I can detect my device in fastboot mode, but when i try to flash the image i get this error target didn't report max-...
5
votes
3answers
9k views

How to use adb over Mobile AP (Portable wifi hotspot)

First : I know about abdWireless app. But my problem is different. I am using my Android mobile as Mobile AP (Portable WiFi hotspot) for using internet on my computer. I want to use adb in wireless ...
0
votes
2answers
3k views

push entire folder with ADB

By mistake I deleted the .EXT folder (which contains a file "su") from the system/bin folder of my Android device. Is it possible to use ADB to replace this folder? I have a copy of the Bin folder and ...
0
votes
0answers
125 views

Convert system app to a user app without root

Is there any way to make a system app a user app using adb and without root?
1
vote
0answers
157 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 ...
0
votes
1answer
20 views

ADB issue while connecting through WiFi

I am running adb port forwarding from computer to mobile with this command: adb forward tcp:6401 tcp:50000 which is working completely fine (accessing 127.0.0.1) when I am accessing it through the ...
1
vote
1answer
10k 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 ...
0
votes
1answer
2k views

unable to mount /data, /system and /cache on Android phone (Asus Zenfone 5 (501cg , t00f)

I have Asus Zenfone 5 (t00F) model. It was working fine and suddenly it's UI has stop working. I tried restart couple of times but didn't work for me. I do already have the root and TWRP (2.8.7) ...
0
votes
0answers
24 views

Installing fsmon onto Galaxy S8 phone

I am using a Galaxy S8 phone, and I am trying to install fsmon to monitor the phone's File System. When i entered the following command (while using adb shell: dreamlte:/ $ make android NDK_ARCH=...
0
votes
0answers
12 views

getRssnr() Get reference signal signal-to-noise ratio using ADB shell

Using Andriod Q API. Need to get android.telephony.CellSignalStrengthLte.getRssnr() using ADB shell , is it possible ?
1
vote
2answers
2k views

Some app is causing bootloop

It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" ...
2
votes
1answer
2k views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
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
1answer
2k views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
4
votes
1answer
3k views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
1
vote
1answer
84 views

How do I install OS in Andriod phone without using fastboot and TWRP?

I've tried to upgrade the rom in MOTO G4 Plus using TWRP version of 3.2.1.0 and during installation process I wiped out the existing android 7.0.1 without backup(understood the cost of backups now). ...
0
votes
0answers
41 views

stuck on“Downloading… Do not turn off target!” when trying to boot via adb

I wish to flash a custom ROM on my galaxy tab a. To do this I downloaded ADB and twrp-3.2.3-0. when U run the command adb reboot bootloader my tab gets stuck on downloading... do not turn off target. ...
0
votes
1answer
808 views

Unable to detect Android device with ADB on Mac but can detect it through Fastboot?

I am unable to view my Android device, an Oppo Find7, with ADB. I can view it with Fastboot. As I use a Mac, I followed this guide to install ADB and Fastboot. More generally, I am having issues ...