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
2 votes
1 answer
112 views

Can Sensors Off (developer options) be controlled via ADB? [Q or above]

Haven't got it from AOSP sources yet: Sensors Off | Android Open Source Project
user avatar
2 votes
0 answers
49 views

chmod and chown silently fail in shell for TwinApps media directory

I think I have a similar issue to Can't use chmod to alter permissions on emulated phone but the emulation is happening on the android device itself via the TwinApps feature, which allows you to ...
user avatar
  • 121
0 votes
0 answers
85 views

Reinstalling Huawei system apps in ADB doesn't work

Problem I did the usual adb uninstall -k --user 0 PACKAGENAME and accidently deleted com.google.android.overlay.settingsProvider and com.google.android.overlay.modules.permissioncontroller. Yeah ...
user avatar
1 vote
0 answers
356 views

com.google.android.trichromelibrary - An app that gets installs multiple times .....what's the point?

As I understand com.google.android.trichromelibrary is supposed to be a webview replacement in android 10+ find /data/app -type d -iname "*trichrome*" -exec du -hs {} \; 70M /...
user avatar
1 vote
0 answers
34 views

Android Erisin ES8715V - Boot loop

I have Erisin ES8715V and problem with boot loop. Last time when I had this issue I entered in Recovery mode and did factory reset. I entered with holding power button and reset for 10 seconds. Now I ...
user avatar
0 votes
0 answers
37 views

How can I disable the battery saver window that appears at 15%?

I develop a kiosk app (can be a device owner if required) and I don't want to show the battery saver window that is shown at 15% on Samsung Galaxy Watch4 to my customers. I want to disable this ...
user avatar
0 votes
0 answers
54 views

Is there a way to initiate a whatsapp chat backup over adb

I have root if it matters. There is a service with whatsapp called. com.whatsapp.backup.google.GoogleBackupService But not sure if this is what I am looking for to call & how to call it with what ...
user avatar
1 vote
0 answers
323 views

How to clean com.android.providers.media.MediaApplication App Data?

com.android.providers.media.MediaApplication keeps throwing errors on me and I cannot access internal storage on my Oneplus since this morning. I've already tried cleaning the media packages ...
user avatar
  • 21
1 vote
0 answers
272 views

Oneplus Internal Storage not accessible

Since this morning after powering up my Oneplus 6 I'm unable to see any data in my phone via gallery or file manager or any application, and I'm unable to save any data to internal storage. (example: ...
user avatar
  • 21
1 vote
0 answers
18 views

unlock password screen for htc m8 steps

I have an HTC M8 that is password screen locked. I'm tryin to save the data on this phone. Can't get into settings cause its locked. Tried to install Twrp fastboot but can't I think because usb ...
user avatar
  • 11
3 votes
1 answer
78 views

Who is the "shell" user during ADB session?

In the Android environment, who is this "shell" user that I'm SSH-ing through ADB, as I attempt to see how much I could do with my Amazon Fire 10 tablet? Said user's level seems very, very ...
user avatar
  • 149
1 vote
0 answers
490 views

Error while unlocking bootloader | FAILED (remote: 'Unlock failed - Err:0xffffffff')

I was trying to unlock the bootloader of an old Redmi Note 4x, Downloaded fastboot and adb. I first enabled developer option and turned on USB debugging. I tried finding OEM unlock option which was ...
user avatar
1 vote
1 answer
87 views

File attributes on Android (Linux): Any way to make a file fully writable but not deleteable?

I tried chattr with the +a (+i is even more restrictive), but it immediately caused app panic aka "app has stopped". What I want to do is make a file & folder undeletable. You can ...
user avatar
0 votes
0 answers
55 views

Need to close AlertDialog using Adb

i use to run some ussd code using adb android.intent.action.CALL and after read the response i need to close the AlertDialog to run another ussd command and so on . i tried keyevent but is no good , ...
user avatar
0 votes
0 answers
78 views

adb install to android emulator shows success but app not found

im trying to find an emulator that can run an apk I renamed the apk to .zip and saw armeabi-v7a in the lib folder so i chose the below emulator image as it was stated that android 9.0/11.0 works with ...
user avatar
1 vote
1 answer
32 views

Why does the use of symlinks in /system gradually erode available space?

I am working on a routine for swapping dictionaries on an e-reader (Nook Simple Touch--Android 2.1). I've got the shell commands nailed down and have constructed an app using Tasker. It all works ...
user avatar
0 votes
0 answers
7 views

2nd display repeatedly loses connection when adb bridge is runnning

I am currently working on a project which includes smartphone instrumentation via FRIDA, which requires me to attach to the device via adb. Somehow, once the adb bridge is online my 2nd display keeps ...
user avatar
1 vote
1 answer
51 views

Android device showing up as two devices (offline and device) in ADB

Connecting my device to my PC and checking for connected device show the same device twice. C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices List of devices attached 21e8ed64090d7ece ...
user avatar
0 votes
0 answers
38 views

ADB command to disable remote?

I have a HTC Focus that boots up into app. In our app it asks to pair a remote ( we use gaze). Is there an adb command to disable remote?
user avatar
0 votes
0 answers
34 views

Connect to phone over ADB via IP

I have adb (in the platform-tools folder on my desktop), how can I use ADB to connect to my phone by putting in my phone-s IP adress?
user avatar
0 votes
1 answer
83 views

Oneplus 7 pro stuck at boot animation

I have a rooted Oneplus 7 Pro. Today my phone said that an OTA had finished downloading and to reboot to install the update. I had been postponing this update and decided to finally go through with it....
user avatar
0 votes
0 answers
59 views

how to root android box without internet

I am trying to root my android box, but one click root apps refuse to connect to the internet, is there a way to root without internet or android recovery (as adb refuses connection and i dont have ...
user avatar
0 votes
0 answers
160 views

Silence or disable Lenovo user experience spyware notifications without root

I am trying to disable "Lenovo User Experience" notification that pops up every ~4h. I linked some info below on the specific issue which is also probably illegal in the EU, but obviously ...
user avatar
  • 1
1 vote
0 answers
51 views

Oppo A73: adb works but fastboot won't recognize the device on either Linux or Windows

I'm badly in need of help with my broken Android device. The XDA community is where I always found most information on those matters so I'm hoping someone can help me out. Some background on ...
user avatar
1 vote
0 answers
29 views

according to following a post i tried to change system partition size ,now my storage is unuseable what should i do?

my cmd gone wrong here i tried three times but failed(every time same problem) now os is working in system folder but storage is not showing is there any solution?
user avatar
0 votes
1 answer
105 views

Remove default packages' caches

I removed a package installed default via this command (with adb): pm uninstall -k --user 0 the_package Because of -k, the command does not remove the package's cache. How can I remove its cache ...
user avatar
1 vote
0 answers
47 views

Unlock Xiaomi without USB debugging

I'm currently having problems unlocking my Xiaomi Mi A2 Lite. I've tried hard resetting it through the old volume down (or up) + power but it always ends up showing "No command", no matter ...
user avatar
  • 11
1 vote
0 answers
42 views

How use Live boot on Android devices?

I want Live boot a Mobile Linux distribution(for example Mobian) on the Android device. I also have an adb and fastboot and my device is rooted. Is there a way to Live boot on Android? Sorry for my ...
user avatar
  • 11
0 votes
0 answers
45 views

Why does 'adb.exe devices' not show my phone?

I have USB Debugging & File Transfer both enabled on my phone (Blackview A80Pro) and I have installed the USB driver for my phone as recommended by Blackview. But though 'adb.exe version' shows ...
user avatar
  • 201
1 vote
0 answers
94 views

Stream photo/video to Android as camera on WSA

I am working with Windows Subsystem for Android (WSA) which does support ADB and should support any solution for Android. The problem is I'm trying to set up Signal, but it needs to scan a QR code, ...
user avatar
1 vote
0 answers
202 views

assert failed: asus.verify_modem

Following the procedure for LineageOS installation after rebooting on recovery and using: adb sideload lineage-18.1-20220228-nightly-X01BD-signed.zip I get: --Wiping data... Formatting /data... ...
user avatar
1 vote
0 answers
68 views

S7 Broken/Black Screen and no Digitizer. Rooted with TWRP

I have broken my S7 screen and now its completely black with no touch at all. Phone is rooted with TWRP custom recovery. I can access it though ADB from recovery but when booted normally i'm ...
user avatar
  • 11
1 vote
0 answers
36 views

How unlock very old phone (Xperia X10) using ADB?

I have a very old Xperia X10 phone with a broken touch (you can see everything on the screen). I would like to recover an important video from it (it is on the phone's memory, not on the SD card). I ...
user avatar
  • 11
0 votes
1 answer
95 views

How can I run SetupWizardTestActivity on a rooted Nougat from the phone?

I'm trying to run com.google.android.setupwizard/.SetupWizardTestActivity as a solution to the following... Moto C Plus phone suddenly turns off while in pocket. Turned it on. Turns back off. Plugged ...
user avatar
  • 381
1 vote
0 answers
155 views

Pixel 4XL detected in fastbootd but Pixel 6 not detected - fastboot detects Pixel 6 and adb worked w/ Pixel 6 BEFORE flashing attempt

How can I get my Pixel 6 to be recognized in fastbootd??? My Pixel 4XL is detected in fastbootd. I'm using Ubuntu 20.04 LTS. I've tried multiple USB cables including USB to USB-c and USB-c to USB-c. I'...
user avatar
1 vote
0 answers
199 views

Cannot uninstall app via adb

I'm trying to update an app on a smartwatch, but whatever I try, I ran into errors. adb install newversion.apk => [INSTALL_FAILED_VERSION_DOWNGRADE] adb install -r -d newversion.apk => [...
user avatar
  • 11
0 votes
1 answer
120 views

Samsung A21s software fastboot is disabled

I have a Samsung Galaxy A21s phone that I am trying to install Android 12 on. I have unlocked the bootloader, I go into the recovery mode and I select bootloader, however when I get there, it is just ...
user avatar
1 vote
0 answers
91 views

Send Physical keystrokes to the keyboard on emulator or real device

I need a way to press a key on an Android Keyboard ( irrespective of its language). For example, if the keyboard is in English and I press the "q" key it should type "q" but when ...
user avatar
  • 19
1 vote
0 answers
60 views

How do I move a data file into an Android emulator application data folder?

I have a favorite Android app that saves its projects as name.ay files. I want to import such a file into an AVD running Android 11 so I can work on my PC (Fedora 35), but the app has no import ...
user avatar
0 votes
1 answer
211 views

MTP and ADB on Samsung Galaxy A12 don't work on Linux and Windows 10

A month ago, I've bought Samsung Galaxy A12 on Android 11, One UI 3.1. When I connect to PC, it doesn't work, no MTP, no ADB, only charging. Tried different cables already. Also tried two cables, two ...
user avatar
1 vote
1 answer
819 views

Fix ADB "Performing Streamed Install" Taking Long Time

I'm testing my app on my real device. Just a day ago adb install .apk works perfect. But now it takes a lot of time just about 5-10 minutes for installing 7 MB of apk. Note: I'm not using wired ...
user avatar
1 vote
0 answers
24 views

backup used on device

Is there a way to tell if a backup file .ab has been used on a android device? Like a log that shows the a back up was used on the device? I apologize as I am a novice with Androids and ADB, I am ...
user avatar
  • 11
3 votes
1 answer
151 views

If I enable adbd LAN tcp 5555, does it mean any app or LAN device can connect port 5555 to get a shell permission?

I have a Android 8 TV box. In developer settings, I can enable/disable USB debug. After enable, any device in LAN can use adb connect <ip> to connect to (no password or auth required) and ...
user avatar
0 votes
0 answers
53 views

How to remove apps from Samsung phone by pushing file with package names with ADB

Several years ago, a friend of mine was working on a Samsung S8 Active. He was trying to remove most of the apps on it so it was just a basic phone. He had some instructions for a Ponderosa system. He ...
user avatar
  • 101
1 vote
1 answer
36 views

Strange TWRP behaviour, please help!

I switched from dotOS to Pixel Experience because I wanted to get a taste of A12. After the change my phone started behaving strangely. It doesn't turn up on Windows File Explorer anymore and ADB ...
user avatar
  • 21
0 votes
0 answers
154 views

Resize screen for Dead touch zone on Android 11 [duplicate]

I have encountered a similar issue described in this post, where a lower portion of my touch screen is not working after some water damage. However, my device (Sony Xperia 5II) is on Android 11, and ...
user avatar
0 votes
0 answers
18 views

Can I use my volume key as ctrl key on Android? If so how?

In termux, volume up button is used as ctrl key. I want the same functionality also outside termux. Is it possible?
user avatar
0 votes
0 answers
33 views

Is it possible to make the phone itself a host and perform various ADB task

I find myself these days that I don't need to turn on PC at all, thanks to root! Previously various apps required "adb permission thing" but now with rooted phone, user experience is just ...
user avatar
  • 33
0 votes
1 answer
47 views

adb glob expansion

I'd like to be able to issue: adb pull storage/self/primary/Documents/*20220204* . Right now doing that gives: zsh: no matches found: storage/self/primary/Documents/*20220204*
user avatar
0 votes
1 answer
303 views

Fastboot flash boot (FAILED)

I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery bootimage image I compiled. I have no additional information on why I got this error. Just flashing twrp ...
user avatar

1
2
3 4 5
43