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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
0answers
9 views

(How) can I open the emulator using and adb connection?

Is it possible to connect the Android emulator on my PC to work with the and adb I connected to via an IP address? If so, how can I do that?
3
votes
0answers
48 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
23 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 ...
0
votes
0answers
14 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.
-3
votes
0answers
30 views

How can this app be hidden?

I always get challenges from by friends and brothers, they are difficult but I at the end,I solve it. But now it's impossible for me. I am stuck at here for days. Some apps can be seen in the ...
0
votes
0answers
15 views

How do i verify a code modification I have made in the Activitymanager service without rebuilding the whole AOSP [closed]

I am trying to verify a modification I have in ActivityStarter.java file which is the Activity manager service package. I have built my source file by doing a module make (mm) inside the package path ...
0
votes
0answers
21 views

How to grant permissions to adb?

It's a challenge from my Sir, I can use adb while in recovery(TWRP) so to use it normally i followed this page https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd to enable usb debugging. ...
0
votes
1answer
47 views

No internet access on tethering to 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
49 views

How to set an alarm via ADB?

I want to set an alarm using ADB. So as adviced by this documentation, I try to use this command to invoke google voice action intents using adb: adb shell am start -a android.intent.action.SET_ALARM ...
0
votes
0answers
16 views

PIT file and real partition size

I'm looking for a method how to calculate partition size like USERDATA using only PIT file dumped form Heimdall. I'm trying to create empty USERDATA image and flash using Heimdall, but to do this I ...
0
votes
0answers
25 views

Parse passkey while bluetooth pairing request

I would like to know if there is a way to parse the passkey which appears on device while there is a bluetooth pairing request from another device. Maybe with some adb commands ? Or with an app, which ...
0
votes
0answers
15 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 ...
1
vote
1answer
101 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
19 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
23 views

Is it possible to enable and use USB debugging with an Android device turned off?

I heard about the procedure: Connect the device to the computer by USB holding the UP button; I tried and did not see results. I need something more detailed. I have a Philco tablet that looks like ...
0
votes
0answers
6 views

Le Eco LePro3 Android Device Frozen with stuck LED

I have no way to turn it on, I'd try ADB if I could but other than that I can't use the phone whatsoever. The screen is stuck on a blackscreen and there is just a constant white LED. Does anybody ...
0
votes
0answers
23 views

Can we prevent Android from automatically restarting at the fail point of a bootloop?

My Goal: Recover data from the internal built in sdcard. Scenario: Samsung Galaxy s6 Edge, running stock Android 6.0.1 (No Mods/Rooting) Stuck in a bootloop, suspected failed update. ADB connects ...
0
votes
0answers
33 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
37 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
0answers
23 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
0answers
58 views

Full backup & restore of rooted Android device

I'm new to Android. I'm trying to achieve the same thing on a rooted Android as using Acronis True Image on PC. I want to have a tool to create the system backup and restore it at any given time. ...
0
votes
1answer
63 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
27 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:...
0
votes
1answer
56 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
20 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
44 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
0answers
16 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 ...
0
votes
0answers
40 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, ...
1
vote
0answers
144 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
34 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
49 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
74 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
10 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
87 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 ./...
0
votes
1answer
52 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
53 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
0answers
28 views

Nexus 7 2012: No OS, adb not working, can I fix using twrp?

So I accidentally wiped the OS from ASUS Nexus 7 WIFI 2012 Tablet. Right now: -No OS installed, -only boots as far as Google logo -still have TWRP -can't mount OTG in TWRP -all computers and cords I'...
0
votes
1answer
29 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
27 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 ...
0
votes
0answers
94 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
27 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
31 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
74 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
58 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
0answers
47 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
22 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
31 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
20 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
55 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
67 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 ...