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
13k 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 ...
6
votes
0answers
2k views

Connecting WiFi via ADB Shell (Oreo 8.1 - LineageOS)

I've tried all publicly discussed methods I could find to connect to WiFi via ADB on a phone with a broken screen (no display/no touch). The closest I have got is via wpa_cli using the method #1 ...
0
votes
0answers
3k views

Adb says “Error: Device offline” everytime

Please see this question for background information. Problem: Whenever I run adb devices it says Error: device offline - This appears even when no device is connected at all. It won't even let me ...
-1
votes
1answer
255 views

How to revoke root permission to an app in adb?

I think I have got a scam app in my device. I granted it root access and then whenever I open an app it,the scame app closes the app. Please help me I am stuck in here. Aah my head is aching.
0
votes
1answer
483 views

How to grant permissions to ADB?

I can use ADB while in recovery mode (TWRP) so to use it normally, I followed Android - Enable ADB from recovery to enable USB debugging. There is always an error while switching users, granting ...
1
vote
1answer
4k views

No internet access using USB tethering on Android phone

I used to access the internet on my notebook by tethering it to my android mobile phone. However recently this stopped working. Even though the notebook was tethered to the phone there was no internet ...
0
votes
0answers
262 views

phone stuck in recovery and blank screen

so i have a condor plume L1 the the default rom was full of bloatware every 30 sec i get an add so i used adb to install twrp and wanted to install a custom rom but i had a problem with /data couldnt ...
2
votes
1answer
5k views

Is there a way to run adb as host on android without root?

I have an android phone and an android tablet. Both not rooted. I want to use adb as host on the tablet and as client on the phone, using an USB-OTG adapter. I downloaded connectbot as terminal ...
1
vote
1answer
121 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 ...
0
votes
0answers
166 views

Change user name which I see in adb

./adb shell pm list users Users: UserInfo{0:*********:13} running UserInfo{999:XSpace:800010} ./adb shell dumpsys user Users: UserInfo{0:*********:13} serialNo=0 Created: &...
1
vote
0answers
565 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 ...
0
votes
1answer
237 views

Redmi Note 4. ADB pm uninstall some packages, Stuck in Reboot

So I wanted to remove some apps pre installed. I connected to my Redmi Note 4 ( Nougat ) via adb shell. Used pm uninstall -k --user 0 <name of package> Removed the following packages. com....
0
votes
1answer
309 views

What are physical partitions on Android device?

I'm new to Android system. I'm trying to understand how it is installed to internal memory to eventually have it fully backed up and capable to be restored. To accomplish it I need to know what to ...
0
votes
1answer
206 views

Showing make not found on adb shell, How to install make on Android

While installing a wifi usb driver on android, I run a shell command (sh install.sh) on adb shell but getting the following error sush: make: not found Authentication requested [root] for make driver:...
4
votes
1answer
3k views

How to wipe data on a bootloader-locked, broken screen, Nexus 6P

I want to sell my Nexus 6P for parts, but I want to wipe it first. The screen of my Nexus 6P broke (internally, the touchscreen MIGHT be fine, idk). The phone is full-disk encrypted with a PIN and the ...
0
votes
0answers
321 views

can't install google usb driver 'cos it won't accept the driver

I tried https://developer.android.com/studio/run/win-usb I also tried https://droidusb.com/download-lana-download/adb/ but that seems to be the same thing and the google page tells me to go to ...
0
votes
2answers
2k views

adb shell error: device not found (Ubuntu)

I am complete novice on adb. When it comes to Android I could be classified as "dumb user" - trying however to get one level up, hence playing with adb: $ ./adb shell error: device not found $ ./adb ...
0
votes
1answer
153 views

Using emulator as a monitor to my phone?

The screen of my Google Pixel burned out the other day. The phone still works, but the screen doesn't turn on. Is it possible to connect to my phone via adb and use an emulator to see what the phone ...
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, ...
2
votes
1answer
3k views

How to bypass/authorize ADB RSA key with broken touch AND screen?

First of all, I tried a lot of hours with everything I could find on the internet and mostly on StackOverflow. Something I've already tried with no avail: https://stackoverflow.com/questions/...
0
votes
1answer
194 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
358 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
772 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 ...
1
vote
0answers
883 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
241 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
816 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
306 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
178 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 ...
3
votes
0answers
1k 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
32 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
136 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
178 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
445 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
565 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
37 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
187 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 ...
1
vote
1answer
619 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
62 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 ...
2
votes
0answers
1k 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
57 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
326 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
vote
0answers
234 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
415 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
171 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 ...
2
votes
1answer
3k 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
2k 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
3answers
381 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
177 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
1answer
751 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
297 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.