Skip to main content

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
1 vote
0 answers
79 views

Revoke permission of system apps without root

I was wondering if there is any way I could revoke permission of a system app without having root. And if the is a way and I managed to do it are there any side effects that might result in the app ...
тєиsυ's user avatar
2 votes
0 answers
252 views

Convenient way of checking is Shizuku server is running?

How can you check if Shizuku is running before executing the start command? I am running Shizuku on non rooted device and I noticed it randomly stops sometimes when wireless debugging becomes disabled ...
xavier_fakerat's user avatar
1 vote
1 answer
133 views

Reset wm setting overrides

A mere ~15 minutes ago I was messing with the "wm" command under android to get Avelog's Mouse Simulator to run better (this worked!). Not knowing these overrides are persistent on these ...
qwerty keyboard's user avatar
0 votes
0 answers
48 views

Permanently Bricked?

I have a Samsung Galaxy s10e that is stuck in a boot loop. I have tried everything imaginable from a cache reset to a total reinstallation of Samsung flashed through Odin. Now, I want to try to ...
Jayden Jantz's user avatar
0 votes
0 answers
79 views

ADB push sync but delete files at destination that don't exist at the origin

I'm sure I did this a few months back, but I'm drawing a complete blank. I'm syncing my music using from my computer to my phone via usb using: adb push --sync local remote That's all fine until I ...
MikeCoverUps's user avatar
0 votes
0 answers
126 views

How to access photos and videos stored inside Google Photos "Locked Folder" using adb?

I would like to take the backup of all photos and videos stored inside google photo's "Locked folder". I use adb to pull out files from my android. And i would like to seemlessly pull media ...
Aman's user avatar
  • 1
0 votes
0 answers
119 views

Adb refuses to see my phone, lsusb has no problems

After installing android-tools-adb and android-tools-fastboot from a ppa and adding: SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev", ...
a concerned citizen's user avatar
0 votes
0 answers
85 views

All QDL tools won't see hard-bricked moto g8 power when trying blankflash

I am trying to unbrick my hard-bricked Moto G8 Power, but with all the blankflash tools I have used, the only response is: < waiting for device > When running lsusb, the phone shows up as: Bus ...
Truij's user avatar
  • 11
2 votes
0 answers
56 views

On a not rooted smartphone, how do I format my SD Card to a file system of my choosing?

On a not rooted smartphone, how do I format my SD Card to a file system of my choosing? Note that I have ordered an SD card reader so I can put my SD card into my laptop and try formatting it from ...
barlop's user avatar
  • 635
1 vote
2 answers
857 views

How do I determine frida-server version on device?

I did not push and frida-server manually on device but I can connect to rooted device with frida-ps and adb enabled. I have magisk and shamiko and Lsposed. Some post suggests that magisk has its own ...
dazzleworth's user avatar
2 votes
1 answer
229 views

adb daemon started but no device detected

I need help with adb. I'm using rooted Xiaomi Redmi 6A (Android 9). Recently, I flashed the Magisk ADB Root module, which is used to access adb root command (adb push, adb pull). This module utilizes ...
RandomF0x's user avatar
0 votes
1 answer
31 views

unzipping backup of sdcard, wrong folder structure

I have a backup of my old phone in my computer, in a folder called phone_backup it contains the usual folders: Airdroid Alarms Android Audiobooks AuthenticatorPlus Books DCIM Documents doubleTwist ...
Daviid's user avatar
  • 123
0 votes
0 answers
138 views

'adb wm size' to part of the screen

I want my android version 5.1 screen to be more accessible The base resolution of my android screen is 720x1280 I did adb shell wm size 720x892 and it gave me this: Now I want to achieve this: How ...
artmrch's user avatar
0 votes
1 answer
523 views

I can't start my Moto G60 anymore after locking the bootloader

I recently downgraded my Android on Moto G60 (I downloaded ROM from some websites) because my phone screen was sometimes not working which upon locking and unlocking the phone made the screen work ...
dwas's user avatar
  • 1
0 votes
0 answers
139 views

Can't root ADB Daemon [duplicate]

I have a rooted MediaTek Infinix Hot 5 (X559C). It was Android 7.0 Nougat before. And I don't remember correctly, but I think adb root was working. But after installing custom Android 8.1 Oreo XOS ROM ...
Savçı's user avatar
  • 21
0 votes
0 answers
105 views

Getting /sbin/sh: parted: not found error

So I am trying to resize my system partition on my Huawei P10 because the ROM I want to use is bigger than the current partition. I pushed gdisk and parted with ADB, but for some reason I can't run it ...
Andrei Muha's user avatar
0 votes
0 answers
924 views

Downgrade an apk with different signature, without root

I'm trying to do the following things to an Android app without root access: De-compile the apk with adb d xxx.apk (done) Modify some files in /res/xml/ (done) Re-build the apk with adb b xxx (done) ...
TaihouKai's user avatar
1 vote
0 answers
125 views

ADB Explorer keeps crashing when I try to transfer files

I'm using ADB Explorer to transfer large quantities of pictures and videos from my phone to my computer, via USB. I use the "pull" command to bring a batch of 28 files at a time from my ...
Finn's user avatar
  • 11
0 votes
0 answers
213 views

adb uiautomator get all of the scrollable content

When getting the current UI elements displayed on the screen using adb exec-out uiautomator dump, only the visible elements are included in the xml. I want to get all of the elements that are present ...
Fr0stM0urne's user avatar
1 vote
0 answers
149 views

Is there a way to enable ADB from the phone's terminal

I'm stuck at trying to install LineageOS on my Pixel: unfortunately adb cannot see my phone and I have flashed the bootloader and wiped the previous system. How can I activate USB debugging ...
St3an's user avatar
  • 111
0 votes
0 answers
218 views

Blackview BV9900 - Cannot Unlock Bootloader, Stuck In Fastboot Mode

I've been trying to follow multiple potential guides. The latest one I've tried is this one. Everything works fine, downloading the Android Platform Tools (adb, fastboot, etc), downloading + updating ...
ron wizzle's user avatar
0 votes
0 answers
80 views

Access Pixel 2 XL "taimen" through ADB (while in the process of installing lineageOS)

I followed this guide until fastboot flash boot boot.img included and OK Then reboot in recovery mode Then "Now tap Factory Reset, then Format data / factory reset" included and OK /!\ BUT ...
St3an's user avatar
  • 111
0 votes
1 answer
65 views

Can a adb revoke WRITE_SECURE_SETTINGS command make my device unrecoverable?

I was looking at the permissions that many system apps and some user apps have access to mic and phone. I don't remember granting those. I think that some apps have WRITE_SECURE_SETTINGS permission ...
Gautam Wadhwani's user avatar
0 votes
0 answers
22 views

I want to bypass FRP , without paid softwares ,August Security Patch Removed [duplicate]

Information of device : Model :SM-A315F Basedband version : A315FXXS4DWH1 One UI version : 4.1 Android Version : 12 Android Security Patch Level : August ,1,2023 Adb fail when using apps to reset frp ...
Yahya Ashour's user avatar
1 vote
0 answers
53 views

Pixel 3 Stuck in Fastboot mode with "No valid slot to boot" after Magisk rooting attempt

I was trying to install the factory software image from https://developers.google.com/android/images#blueline on my Pixel 3. I downloaded the image as well as the platform-tools with adb and fastboot. ...
Mir Nasir Hassan's user avatar
0 votes
0 answers
304 views

ADB shell "vi" file and command issue [closed]

I don't know how to fix the following issue (OS is Win 10): After I use adb shell to enter the device -> When I use "tab", it shows some symbols (it may related to the next issue) I try ...
Ghost's user avatar
  • 1
1 vote
0 answers
1k views

INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.ar.core attempting to redeclare permission

After the deletion of Google Play Services for AR I can't install it anymore. Google Play Store shows an error when I'm trying to install: Can't install Google Play Services for AR I have checked ...
Edventy's user avatar
  • 11
0 votes
0 answers
69 views

Manually configuring and setting priority for network devices in a non-rooted Android 13 device via ADB

I'd like to configure and set priority for the different network interfaces on a device (Z Fold4) running Android 13, with multiple USB Ethernet devices, via ADB. I'm basically looking for ...
nabeelr's user avatar
  • 101
4 votes
1 answer
1k views

ADB not responding

Multiple times per day, ADB suddenly stops responding. After this occurs, every adb shell command fails to finish or produce any output. IntelliJ and Android Studio no longer recognize my phone(s). ...
L.Nightman's user avatar
0 votes
0 answers
52 views

Touch Doesn't Work When I Unlock the Screen

In the process of installing a new ROM on my Moto E5 Plus (not after it has been installed, even before, on the main TWRP screen for example) and after the new ROM has already been installed, the ...
rhuanpk's user avatar
  • 111
0 votes
0 answers
35 views

No Operacional System Android is Installed

I was trying to install the ROM system-squeak-arm64-ab-gogapps from the project treble_experimentations and I reported some of this in this question, however, It may not be so now. In short, in my ...
rhuanpk's user avatar
  • 111
0 votes
1 answer
488 views

Unbrick "hardbricked" Moto G8 Power

I tried to install LineageOS on my Moto G8 Power. After a reboot to recovery mode (done because the installer said it was needed for the a something) it didn't boot. All I get is that a QUSB(...) ...
Truij's user avatar
  • 11
1 vote
1 answer
79 views

I Can't List Zipped Images in TWRP

I'm new to the Android world when it comes to these matters, so I ask for your patience if I say something wrong. I have a Motorola Moto E5 Plus cell phone and I used my Linux Ubuntu to help with the ...
rhuanpk's user avatar
  • 111
0 votes
0 answers
150 views

How to specify the default network interface on an Android virtual machine?

I get this error when trying to ping any device in my network: network is unreachable. But it works normally when I specify the interface: ping -I eth0 google.com How to make eth0 my default interface ...
Bassem Yousry 's user avatar
0 votes
0 answers
52 views

adb fails with exit code 15

I run a console app (built with NDK) on an Android phone with the following command from my Windows machine: adb push MyApp /data/local/tmp adb shell "cd /data/local/tmp && chmod a+x ...
Alexey Starinsky's user avatar
0 votes
0 answers
27 views

Cannot connect Samsung device in fastboot [duplicate]

I am attempting to use fastboot on an old Samsung Galaxy A01. It is a learning exercise for unlocking. Based on this, the device should support using fastboot. I got it off a Samsung forum. I am ...
user avatar
3 votes
1 answer
592 views

Launch settings in work profile

Recently I was issued a device with a work profile installed. (A Samsung Xcover6 Pro, if that helps). During initial setup, I was prompted to configure some of the extra hardware buttons inside the ...
philberthfz's user avatar
0 votes
1 answer
333 views

adb-sync along with rsync for fastest way to backup gigabytes of media & photos file to HDD disk regularly

I have a 512GB Android phone with 150GB+ 15k+ photos and videos. Step 1. On my Macbook, I used better-adb-sync with a USB cable and debugging enabled to copy a large amount of files from my phone to ...
Jagdish Adusumalli's user avatar
1 vote
2 answers
492 views

How to connect mouse to Android phone via ADB?

I want to play an Android game on my PC but since my phone can play it better, I've hooked it up to my PC using USB with scrcpy and a bluetooth keyboard, however unfortunately, I don't have a ...
5vr's user avatar
  • 46
0 votes
0 answers
226 views

scrcpy freezes after few seconds when connecting a samsung S23 Ultra

I'm trying to use scrcpy on Ubuntu 22.04 with a Samsung S22 Ultra connected wirelessly via ADB. However, when I run the command from the PC's terminal, the program starts, and everything works ...
loromalo's user avatar
0 votes
0 answers
696 views

How to list devices in ADB through SSH?

How can I list devices in ADB through SSH, when it works fine locally? On local, it shows up as device. and on cloud server, it shows up as offline. Setup ┌─────────┐ SSH through ...
ecokjeonb's user avatar
2 votes
1 answer
1k views

Connect ADB through SSH

How can I connect ADB on remote server through SSH to a local, non-rooted Android devices without installing anything on the middleman with root? This is what I want to achieve: ┌─────────┐ ...
ecokjeonb's user avatar
2 votes
1 answer
273 views

LG G Pad F 8.0 (UK495) Android 6.0: Cannot Access Bootloader or Recovery

I have an older LG G Pad F 8.0 (UK495). The tablet originally came with Android 5.1 but at some point received an official upgrade to 6.0. My ultimate goal is to hopefully root the device & ...
AntumDeluge's user avatar
0 votes
0 answers
97 views

Force enable encryption for portable SD card

There should be an option to encrypt SD card (formatted as portable) in the settings, but some manufacturers disable it while some (e.g. Samsung) have it enabled. If that is a built-in Android feature ...
CluelessNoob's user avatar
1 vote
1 answer
64 views

Adb push error: closed

I want to move the firmware to the phone’s memory in order to install it on the device via TWRP, since the computer does not have enough power to install the firmware in time, there is a problem with ...
Аркадий Миладзе's user avatar
1 vote
1 answer
761 views

How to use `adb push` after mounting /system R/W without losing R/W permissions to install app as /system/apps?

I'm using a rooted Revvl 6 5G - TMAF025G_0.05.29 - MT6833 - Android 12. Without a recovery.img, I rooted using Magisk_Patched-boot_a.img. After this, I used the RO2RW module to aid in making the ...
NinjaAdmin's user avatar
0 votes
1 answer
220 views

Android source code for extracting entries from an APK during installation process

I am trying to understand the exact details of how Android extracts the entries from an APK during the installation process. First some background info: The installation may occur either through Play ...
kampias's user avatar
  • 323
1 vote
1 answer
755 views

Connect Samsung tablet to ethernet and also to PC/laptop?

I have a Samsung Galaxy Tab Active Pro (SM-T545) tablet. I'd like to connect it to the ethernet using an adapter having an RJ45 port. I would also like to connect the tablet to my laptop (in this case ...
Imad's user avatar
  • 13
0 votes
1 answer
507 views

Fastboot does not see device, but fastbootd does

My device: Tecno Camon 19 (cl6n) I need to unlock bootloader, adb see my phone correctly, fastbootd too. But when I do adb reboot bootloader neither the phone nor the PC can see each other. Phone says ...
Claym's user avatar
  • 1
0 votes
0 answers
54 views

Accept allow contact sync and messaging via command line

I would like to know if there is a way to "Allow Contact Sync" and "Allow access to Messages" on Android phone using command line. When the notification is received on my phone, it ...
lifelong_student's user avatar

1
2
3 4 5
48