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

Reboot or recover data from blocked android using fastboot or ADB toolkit

Reboot or backup blocked android using fastboot or adb toolkit I used adb toolkit to uninstall proprietary android packages, but as I was removing apps something went wrong and my device got blocked. ...
0
votes
0answers
21 views

is there a way to dump android user gesture to adb console?

I am trying to dump android user gesture such as touch screen (x,y) sweep screen (x1,y1,x2,y2) to adb console? per doc, adb shell dumpsys could be used for this. this command adb shell dumpsys ...
0
votes
1answer
640 views

TWRP unable to wipe or format `Failed to mount '/system' (Device or resource busy)`

I'm trying to install LineageOS and then GAPPS on my Pixel XL from TWRP recovery. I'll try to Advance Wipe the /systems directory and Format Data, but I continue to get multiple errors: Failed to ...
0
votes
0answers
42 views

How will I know what exactly I need to uninstall

I'm on a galaxy s10+ and let me just say, I have OCD really bad lol. So the s10+ came with a lot of bloatware, and currently there's no root method for the phone I have, which leads me to use adb PM ...
0
votes
0answers
71 views

Encryption/decrytion

LG V30+ US998U version Have struggled extensively to get AOSP running on my device. Would wipe data and reboot TWRP; flash DM-verity and no-encrypt also did not help prevent bootloop. But on to my ...
0
votes
0answers
25 views

How to get unattended access to Android device

For a Xiaomi Redmi note 4 device running Android 7 I would like to get unattended access ( Teamviewer - like ) to the device for the purpose of smart home control I know the support is there, I ...
0
votes
0answers
14 views

How do I directly launch to General tab within Settings via ADB?

I am able to launch Settings via adb. But how do I directly launch the General tab in settings? I am able to launch it to settings currently with, but not to the general tab: adb shell am start -a ...
1
vote
1answer
81 views

what in xposed caused this bootloop and how to prevent it from happening again?

My android phone is stuck in a boot loop. To troubleshoot it I was able to boot into TWPR and use adb pull /sys/fs/pstore/console-ramoops to get some boot logs (is that even the right file?). When ...
0
votes
0answers
33 views

What is adb error on Android?

I want to send a file from my PC in Android recovery mode, but I can not get an error. The error is as follows: adb push file.zip *daemon not running; starting now at tcp:5037 could not read ...
0
votes
0answers
202 views

Fastboot doesn't see device but ADB does (windows 10)

I am attempting the unlock the bootloader on my Google Pixel 2 XL. I know this problem seems to be very common, but I have yet been unable to find a solution for my particular case after searching ...
1
vote
0answers
21 views

I am unable to enable cam2api on my ZMPM1, what should I do?

I have installed the latest versions of adb and fastboot and qualcomm usb driers for my phone - zenfone max pro m1. I tried running the command - "fastboot devices" and it runs perfectly ( when I have ...
0
votes
0answers
27 views

Can I access an app's data folder by installing a custom build of that app?

I want to access the data for two apps (Mozilla Firefox and Google Authenticator) on my non-rooted[1] Android 6.0.1 phone, to transfer it to a new phone. Unfortunately, both of these apps have ...
0
votes
1answer
23 views

Is there a way to push the results of an adb query to a file?

I have a couple of adb commands that I'm running in PowerShell. Specifically: adb shell settings get secure bluetooth_address; adb get-serialno Is there a way to do an 'adb push' of that data to a ...
0
votes
0answers
37 views

Not granting permission because it was previously installed without?

An app i installed fails at startup, in the logs i see this permission problem: Not granting permission android.permission.ACCESS_FINE_LOCATION to package com.nianticlabs.pokemongo because it was ...
0
votes
0answers
32 views

Attempting to fastboot LG Tribute Dynasty,

So I am currently trying to flash an operating system onto my android and every time I try the command adb reboot bootloader It fails. The command simply reboots the phone like normal. Device: LG ...
0
votes
1answer
88 views

SystemUI.apk is not in /system/app

I tried to pull SystemUI.apk on my Samsung Android Pie/OneUI and it seems like it's either in some other directory than /system/app or has been renamed. I tried to pull this through adb. Tried ...
-1
votes
2answers
80 views

Is it possible to make multiple adb commands a one-liner command? (case change bootanimation.zip)

Is it possible to make the following commands a one-liner command ? to change bootanimation.zip quickly and gain some C:\Users\User\Desktop>adb push bootanimation /sdcard C:\Users\User\Desktop>...
0
votes
1answer
38 views

Access Android log files for specific periods on android 7

Is it possible to access old log files,lets say 3 months old, to see the usage on the android device, by usage i mean, any app installed or unistalled, time spent online, via wifi or cellular, time ...
0
votes
0answers
23 views

Restore data form soft brick trough download mode?

I'm losing my mind. This is the last place to ask. Basically what I did is described in this thread Moded system UI files by swift installer prevented the OTA update from Oreo to Pie. Now I'm stuck ...
1
vote
0answers
37 views

How to run app with arguments using am start

I want to run the NordVPN app by using am start automatically connects to vpn, on my home screen I have a working shortcut. The shortcut code is: Intent;action=android.intent.action.MAIN;category=com....
0
votes
0answers
17 views

Android TV 32:9 screen is stretched

we've got a MX10 Android 8.1 TV Box, which supports 4K resolution. It works perfectly on a 16:9 screen (A). We now wanted to connect it to a 32:9 screen and it displays stretched horizontally (B). ...
0
votes
0answers
133 views

Can't find call log from adb shell

Phone is a Samsung Galaxy E5 SM-E500m (lte, dual chip, codename e5lte). Android version 5.1.1 "lollipop" Stock ROM. I pulled the database file from /data/data/com.android.providers.contacts/databases/...
1
vote
0answers
40 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....
1
vote
1answer
41 views

Get Android activities and sub activities path programmatically

This is my first question on AE forum, so excuse me for my ignorance. I'm searching for a method to get the complete path through the system apps like Music, Video, Settings, etc... The goal is to ...
0
votes
0answers
41 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 ...
0
votes
0answers
85 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 ...
0
votes
0answers
31 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
77 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 ...
2
votes
1answer
357 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
0answers
27 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
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 ...
1
vote
1answer
29 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 ...
0
votes
1answer
69 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
0answers
130 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 ...
0
votes
0answers
62 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'...
0
votes
0answers
763 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-...
0
votes
0answers
468 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?
0
votes
0answers
37 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
27 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 ?
0
votes
1answer
59 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 ...
0
votes
0answers
108 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. ...
1
vote
1answer
93 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
37 views

Use adb before screen unlock

I'm kinda in an argument here and I want a definite answer On any device I've used, adb can't be used before I unlock my screen. I'm being told it can, you just can't access storage So can adb be ...
1
vote
1answer
285 views

TWRP: vendor partition is not existed

I try to flash LineageOS on a OnePlus 5 (cheeseburger). I installed TWRP 3.3.0-0 from here. I repeatedly wiped the partitions. What I cannot manage is to adb sideload LineageOS 16.0. I get this ...
0
votes
0answers
153 views

clone app and do auto-update on the cloned app like Parallel Space

Is it possible to create something like Parallel Space by oneself? There a well described to procedure how to clone an app How to keep two versions of an app installed? How to Install and Run ...
0
votes
0answers
55 views

Salvage app cache when unable to open app

Every time my phone reboots and sometimes even without reboot when it's working at I guess full capacity, it resets its settings and acts like I just booted the phone for the first time except from ...
7
votes
1answer
282 views

Attempting to brute force Android security pattern through TWRP via adb

Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it ...
0
votes
0answers
34 views

Permission denied on android directories?

Forgive my newness... I've installed Android Studio/Android SDK in Windows 7, enabled debugging on my Droid Turbo 2 with Android 7.0, system version 25.216.2.kinzie_verizon.verizon.en.US, and ...
0
votes
0answers
49 views

No Sim Detected adb error? Android (Oppo R11)

I recently tried to install the app Island using adb commands and i successfully installed it but now my phone isn't able to use my sim card (Works for a minute or two when i reboot my phone). I used ...
0
votes
2answers
100 views

Restore backup.ab file on firestick?

I'm trying to restore a backup file onto a fire stick 2 using adb restore backup.ab, however the restore confirmation doesn't come up on the fire stick. The device is rooted and currently have twrp. ...