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
1 answer
25 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
34 views

Can't root ADB Daemon

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
0 votes
0 answers
19 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
56 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
20 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
39 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
51 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
27 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
45 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
31 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
20 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
16 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
37 views

ADB shell "vi" file and command issue

I don't know how to fix the following issue, please help me (My 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 ...
Ghost's user avatar
  • 1
1 vote
0 answers
145 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
33 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
2 votes
1 answer
103 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
47 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
34 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
78 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
  • 1
1 vote
1 answer
50 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
61 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
35 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
108 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
95 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
1 answer
80 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
  • 11
0 votes
0 answers
85 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
144 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
208 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
0 votes
0 answers
42 views

Backup.ab - Java NumberFormatException Error

I got an ab file with adb from my phone's notes folder. Which I can not access without root. I am trying to convert it to the tar file but cmd gives me this error in the picture. My command was ; ...
Kaan Ayhanoğulları's user avatar
2 votes
1 answer
97 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
40 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
36 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
0 votes
1 answer
183 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
122 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
  • 393
1 vote
1 answer
67 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
0 answers
113 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
31 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
0 votes
0 answers
99 views

Howto get ONLY uninstalled packages list with associated apk (if any)?

(rooted galaxy j5 7.1.1) As pm list packages -u shows ALL packages including uninstalled (at least on my system), what should be the right command to show ONLY uninstalled apps? Or is this an ...
martinist's user avatar
0 votes
1 answer
465 views

ADB command am start - open settings sub-page

On a TC52 ZEBRA, I need the ADB command (am start) to change the settings. With am start -n com.android.settings/.Settings command my settings window opens. But if I want to have a sub-page access (...
Sébastien CHAVE's user avatar
0 votes
1 answer
65 views

Samsung Galaxy Tab 2 running Lineage OS not rebooting properly after `adb reboot` unless USB disconnect

I am currently facing an issue with my Samsung Galaxy Tab 2 tablet running Lineage OS. Whenever I attempt to reboot the device using the adb reboot command through adb, it enters a strange hanging ...
kyrlon's user avatar
  • 129
1 vote
0 answers
52 views

Find `MainActivity` for `com.google.android.dialer`

I have a Xiaomi POCO X5 5G, running MIUI Global 14.0.4. There is a problem where (in the Global ROM) the Google Phone app (as a system app) seems to be killed, even with MIUI Battery Optimization ...
Jacob Birkett's user avatar
0 votes
0 answers
40 views

getevent not reporting taps

I'm trying to automate some tests on a Pixel 5a (Android 13). To do so, I need to tap on several buttons. I've been running adb shell uiautomator dump to get the pixel locations of the buttons. ...
Daniel Walker's user avatar
0 votes
0 answers
58 views

Should one `geo location broadcast` persist mock location or should it be sent several times?

I connected my android 14 (non jail broken) phone to my laptop. Enabled usb debugging, and ran these commands. `~/Android/Sdk/platform-tools$ ./adb -s 2C051FDH3002LA shell appops set com.google....
Elad Benda's user avatar
0 votes
0 answers
51 views

Oneplus One - unlock pattern and/or retrieve data

I have a OnePlus One that went dead 7 years ago with valuable photos (for me) on it. Had it repaired recently, but can't remember the pattern I used back then... Here is what I found out about the ...
Seaman's user avatar
  • 1
0 votes
0 answers
608 views

How to boot an android TV box from a usb drive containing armbian image

So I have adb access to my android TV box, the device is rooted. I want to install armbian onto emmc. Both official and community tutorial tells me to flash the armbian img onto a usb drive and boot ...
Sam's user avatar
  • 1
0 votes
0 answers
195 views

Resize screen to avoid dead zone - problem with adb

Asking a question because it seems that nobody has got the same problem after resizing it's screen using adb because of a dead zone on my phone over the status bar. I've basically followed the steps ...
Parisix's user avatar
1 vote
0 answers
267 views

How to get the phone total uptime?

To describe the issue better I need to define the word "total uptime". We all know what the uptime is: a number of hours since the last reboot i.e. the amount of time when the phone was on. ...
Suncatcher's user avatar
3 votes
2 answers
171 views

How to get the phone production date via ADB?

How can I get programmatically when the phone was manufactured? Is there any framework, instrumentation or toolset like Windows WMIC that allows unequivocally get hardware parameters of the device? I ...
Suncatcher's user avatar
1 vote
1 answer
217 views

ADB accessing shell /data/data/com.<specified_app>

I tried this ADB command: adb shell cd /data/data/com.whatsapp I want retrieve Whatsapp key file without root but I still get permission denied. Any idea how can I get read access of com.whatsapp ...
Muhammad Ikhwan Perwira's user avatar

1
2 3 4 5
47