Stack Exchange Network

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

0
votes
1answer
130 views

how to ignore folder when using adb push

I like to copy development files (ie a git repo) from my local machine to my android using adb push (I still couldn't find a reliable git client application on android). However, I also need to ...
1
vote
0answers
253 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 ...
0
votes
0answers
537 views

Unable to use Systrace

I am using a Galaxy S2 i9100 with working LineageOS, Android 7.1.2 build from Jun 23 09:39:38 CEST 2018. In some rare cases, the phone hangs and apps crash. I would like to see this effect in a ...
0
votes
0answers
87 views

Asus Fonepad 7 bootloader is lost

Trying to flash my tablet (K012 Fonepad 7 fe170cg) I ran this commad fastboot flash fastboot boot.img and now the bootloader is lost and just a splashscreen is shown after I turn the tablet on. So ...
0
votes
0answers
693 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
198 views

Recover files from a Pixel 2 stuck in bootloop

My Pixel 2 is stuck in the boot loop. I will send it for a replacement but I would like to recover some files that weren't backed up in the cloud. I can see the phone using adb devices and I was ...
0
votes
0answers
485 views

Change USB connection mode using ADB only (broken screen)

I am trying to use Vysor to control my Moto G5 which has a broken screen (completely black). It appears to be working otherwise (rings when called etc). However, I cannot connect to my PC using USB ...
0
votes
1answer
115 views

ADB over wifi goes away after unplugging usb

connect the usb to your phone open the cmd and type: adb devices Huawie Mate 8 device and it gives something like this. This is the device connected over usb.Now type adb tcpip ...
0
votes
0answers
100 views

Accept RSA key on no touch android device

Pulling my hair out at this point. I have a client's android device (Alcatel idol 3) and I'm trying to pull data from the device. I enabled USB debugging via an OTG and mouse setup, but I've now run ...
1
vote
0answers
715 views

NOTE: 'pm list' commands have moved! Run 'adb shell cmd package'

When I tried: adb shell 'pm list packages -f' I got long list of options with: NOTE: 'pm list' commands have moved! Run 'adb shell cmd package' What is cmd and is it new place for Android's ...
0
votes
1answer
30 views

Android phone display stuck and restart not working

My Android phone's display is stuck and none of the three buttons volume up/down and lock are working. I tried calling myself from the Android device manager, which didn't work. I connected the phone ...
0
votes
1answer
96 views

Connect OnePlus One through adb keep disconnecting

I'm trying to switch my OnePlus One from CyanogenMod to LineageOS, and to do so I need to use adb adn fastboot. I use Fedora 28 as OS on my PC, with the latest Gnome as DE. The usual "data" ...
1
vote
1answer
136 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 ...
0
votes
0answers
262 views

Trying to perform ADB Backup but it prompts for a password

I am trying to perform an ADB backup but I got stuck at the step where the phone receives the request of backup from the computer (the command I used on ADB was adb backup -apk -shared -all -f F:\...
0
votes
1answer
331 views

Reduce space between icons on home screen without changing icon size

I would like to reduce the space between the app-icons on my home screen without changing their size, so that I could fit more icons on one screen. The size of text or buttons in menus should not be ...
1
vote
0answers
36 views

Android 6 - cannot enter recovery mode

I'm hoping someone can save my sanity here.... I'm trying to install a new firmware on my daughter's old Android device - a wonderful Doogee X5 Pro. I really want to install some new firmware as this ...
0
votes
0answers
135 views

Clear/Wipe Samsung with broken screen and Stock ROM

I have a broken Samsung Note II GT-N7100 and want to wipe it before dumping it. The point is: The Screen is broken and I can't see anything on the screen. I'm not sure whether USB debugging is turned ...
0
votes
0answers
29 views

process runs in spite of disabling the app

I have two apps installed on a rooted Sony Xperia z3 ( Marshmallow ) app 2 SD and disable service. both these apps require root . one will disable complete app and the other will disable specific ...
0
votes
0answers
217 views

Driver for HTC U11 cannot be installed on Windows 10 Pro N 64-bit

Recently I bought an HTC U11. I thought to once plugged I would have expected Windows to get it installed but it didn't. Actually I have about 0 experience on android and it got me pretty hours to ...
0
votes
0answers
185 views

does adb backup save the sqlite databases/game data

I want to do a fresh install of my device and I know that there is some android backup software available.However, the software that I'm using does not save my game data. This has lead me to believe ...
0
votes
1answer
503 views

Nexus 5x Won't Turn On

My Nexus 5x started bootloading but now it won't turn on at all. I noticed the battery was bulging so I replaced it with a new battery I bought on Amazon. I charged it all night, but it still won't ...
0
votes
1answer
59 views

i cant enter recovery mode; how do i install my ADB driver?

Here is my issue. I have an LG g Stylo 3 Plus, (T-mobile). I can't get into recovery. Here's the situation: my screen is broken and I have a semi picture. However its unresponsive. I had no need to ...
0
votes
0answers
50 views

Encrypt phone remotely

I need to mass-encrypt the whole SDCard in some Android smartphones through a tcp/ip connection. While I'm fairly new to Android scripting I was wondering whether it is possibile to execute the ...
2
votes
0answers
753 views

Backup strategy for non-rooted phone

With apologies for my naivete: I want, insofar as possible, to periodically back up the data on my non-rooted Samsung Galaxy S8. To this end I do two things: 1) I periodically do adb backups ...
-2
votes
1answer
52 views

DB of GPS Point in APK, is there any way?

I want to extract DB of GPS location in APK. I decompiled the APK and open DBM.Java File as follows: public DBM open() { return open(this.databasePath); } public DBM open(String path) { ...
0
votes
0answers
214 views

How to fix ADB logcat error?

I want to save logs contains to file: adb -s xxxxxx logcat -b main > /paths/to/log/file.log /system/bin/sh: can't create /home/dpi/Desktop/Folder/main.log: No such file or directory
-1
votes
0answers
223 views

How to open the bootloader for Acer DA220HQL?

Got this DA220HQL from my mom, it was plugged in like once before, and is about 9 years old. I plugged it in, started it up, and it had the glaringly bad ui of Android v4 something. I nearly hurled, ...
1
vote
0answers
180 views

Recover phone data from encrypted Android phone with broken screen (still being online)

my phone's touchscreen (OnePlus 3) got broken entirely yesterday (black, unresponsive, cracked => total damage!). Considering investing in a screen repair I'd really would like to know if there's any ...
0
votes
0answers
334 views

after changing rw on system, still I got “read-only system”. what would be the problem?

Experts. looking for your experience and wisdom here. Once I rooted my Android phone ( Galaxy S6 software 7.0 ), I tried to make tmp folder but failed with "mkdir: '/tmp': Read-only file system". I ...
1
vote
0answers
141 views

Asus max 5.5 adb won't recognize device after unlock bootloader

Hey guys so I have encountered this problem multiple times. Followed this thread for unlocking bootloader and initiating root: http://www.symbianize.com/showthread.php?t=1411778 so far I went up to ...
0
votes
1answer
1k views

Is it possible to install a ROM from TWRP ADB shell?

Let's say I place a rom in /sdcard/. Can I install in the ADB shell through TWRP. For instance, if I Start up in recovery of TWRP Type in on the host adb shell Is there anyway to install /sdcard/...
0
votes
1answer
1k views

Pushing to TWRP, adb shows “adb: error: connect failed: no devices/emulators found”

When I try to push my rom to /sdcard/ with TWRP, I get adb push myRom.zip /sdcard/ * daemon not running. starting it now on port 5037 * * daemon started successfully * adb: error: connect failed: no ...
0
votes
2answers
286 views

Phone won't boot/start after successful flashing through QFIL

My phone was bricked, so I decided to flash my phone LYF f1s with the stock ROM through QFIL, but after after successful flashing it won't start !! Nothing happens, no matter which combination of ...
1
vote
0answers
122 views

ADB shell change camera mode

I am playing around with the ADB shell to control a Samsung Galaxy S9 remotely. I can do most of the things I wanted to but I struggle finding a way to switch / toggle the camera modes. I searched ...
0
votes
0answers
30 views

ADB cutting off most of my input

I am writing a shell program that pulls a bunch of text off the web and then enters it onto an android emulator: adb shell input text <some_useful_text> followed by this to simulate enter: ...
0
votes
0answers
11 views

adb backup without settings [duplicate]

I know how to use adb backup, but is there a way to only copy app data and not settings. adb backup -all works, but I think that that carries over settings, and I don't want to mess up rom switching
0
votes
0answers
142 views

Phone is either bricked or stuck in bootloop, can't access recovery mode

I was flashing a custom Rom onto my phone LYF F1s, that's when it automatically switched off !! It doesn't start anymore. Pressing power button plus volume down only brings up the boot logo screen. I ...
0
votes
1answer
531 views

Change adb permissions to rw? [duplicate]

I have LineageOS on my phone. I'm looking to edit some files in /system. I'm using root permission for adb devices from Developers Options. When I request to move file into /system, I get the message ...
1
vote
0answers
226 views

How to backup and restore APN setting via ADB?

How to backup and restore APN setting via ADB? I'm on Android 6.0 without root.
0
votes
1answer
58 views

Device is showing in device manager but not in Android ADB Interface?

Hi I am Having some problems while using adb on my computer. I connected tab to my laptop with a usb cable. And This is the device manager. Here you see that my lenovo tab is connected but not ...
2
votes
0answers
136 views

Can I use ADB with USB Network Gate?

I have a colleague who cannot obtain the kind of Android device we need for our project. He would like to own such a device to test our project with adb and similar tools, but to reiterate, his ...
1
vote
0answers
3k views

How to Factory Reset Device using Adb Command?

I am trying to do Factory Reset Device without any Recovery as i need to wipe complete data from device. I have tried many Commands but none of them work. Some are as Follows:- adb shell am ...
0
votes
0answers
90 views

How to restore userdata image?

To save image to PC I used adb pull /dev/block/bootdevice/by-name/userdata userdata How to restore that image? "fastboot flash userdata userdata" doesn't help.
0
votes
0answers
25 views

PC (randomly?) stops seeing Samsung Galaxy S7 until reboot

Two months ago I opened a similar thread (click) but now the problem's gotten worse. Please bear with me, I know there are a lot of threads about the same problem but I've tried everything suggested ...
0
votes
0answers
34 views

Where is the “enable developer option” written to?

When enabling "developer option" on device, then the serial number of device becomes known when connecting device to PC, and booting into bootloader. adb devices List of devices attached ...
0
votes
0answers
67 views

Send email using adb

How can I send an email with an attached file using adb? I looked here https://stackoverflow.com/questions/18972591/android-how-to-send-email-through-adb-shell?rq=1 but the procedure is not working ...
0
votes
0answers
490 views

How to run TWRP recovery headless?

I have samsung s5 having damaged screen. Its screen is blank and touch is not working. I have checked USB debugging by connecting to tv via hdmi to enable adb and flashed twrp ecovery twrp-3.2.1-0-...
0
votes
0answers
18 views

Dealing with buggy Firefox os

I am trying to flash my ZTE ufire with Firefox os. The moment I try to enable debugging from the settings it gets off automatically, so adb cannot read it. Further whenever I try to get in recovery ...
0
votes
1answer
195 views

Adb does not list LG G3 phone after Lollipop update on OS X

I know a few questions have been asked about this, but I have not found a solution (particularly for OS X). I updated my LG G3 to Lollipop and now adb devices does not list the device. USB debugging ...
0
votes
1answer
676 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 ...