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
117 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 ...
  • 11
1 vote
0 answers
120 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 ...
  • 11
0 votes
0 answers
77 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 ...
  • 201
1 vote
0 answers
515 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, ...
1 vote
1 answer
525 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... ...
1 vote
0 answers
139 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 ...
  • 11
1 vote
0 answers
47 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 ...
  • 11
0 votes
1 answer
264 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 ...
  • 381
1 vote
0 answers
329 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'...
1 vote
0 answers
796 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 => [...
  • 11
0 votes
1 answer
345 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 ...
1 vote
0 answers
468 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 ...
  • 19
2 votes
0 answers
308 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 ...
0 votes
1 answer
507 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
3k 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 ...
1 vote
0 answers
38 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 ...
  • 11
3 votes
1 answer
351 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 ...
0 votes
0 answers
99 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 ...
  • 101
1 vote
1 answer
44 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 ...
  • 21
0 votes
1 answer
126 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*
0 votes
1 answer
1k 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 ...
1 vote
0 answers
636 views

ADB backup with empty password

I have a non-rooted Android 12 device and I am trying to execute a procedure it used to work. I basically used to backup an application DB using the following commands: Connect phone and grant ...
2 votes
0 answers
189 views

Can't boot into Recovery mode. Prestigio Multipad 2 Pro Duo 7.0

so I've had the Prestigio Multipad 2 Pro Duo 7.0 for a hell of a long time. Sitting in a box, the tablet worked fine when we bought it back in like 2015 for like 2 - 3 weeks and then we started to run ...
  • 21
1 vote
0 answers
70 views

How can I get into my Xiaomi Poco M2 (bootloader locked) that won't boot

I uninstalled the 'com.xiaomi.finddevice' package from my phone and on the next reboot the phone spent 5 minutes displaying the miui logo and then went to the recovery menu on its own.The recovery ...
  • 21
1 vote
0 answers
45 views

Wireless debugging option disabled after flight mode enabled and disabled

I am working on an app so need to connect to the device through wireless pairing. I frequently put the device in flight mode and this turns off the wireless option as desired. But when I switch off ...
3 votes
1 answer
325 views

Access OTG directory via wifi adb

I got my PC external storage port blocked. However, there are some large files in my external drive that I need to transfer, and using cloud service is out of option. I can use my phone to transfer ...
1 vote
1 answer
710 views

Enable Remote unlock from the Settings via ADB (no root)

I am trying to enable the Setting "Remote unlock" from Samsung (in Settings -> Biometrics and security -> Find My Mobile -> Remote unlock) by using the adb. I could enable other ...
2 votes
1 answer
675 views

adb - pull data from non-rooted android

I am trying to backup data from Xiaomi Mi 9t which has a software error and is non-functional: the screen is stuck at 'Just a sec' in settings I am only able to connect to wifi and bluetooth USB ...
1 vote
1 answer
102 views

Can I retrieve files from old phone that screen is damaged?

My old rooted phone has a smashed screen but can still turn on. It's not worth the cost to repair it. I can get to the lock screen but can't enter the lock due to the damaged screen. As such, it doesn'...
1 vote
0 answers
547 views

Fastboot doesn't do anything on my device

I've seen similar topics but most of them are on Windows which is commonly solved by updating the fastboot drivers. I'm using Arch, and based on what I've read Linux doesn't even need drivers of any ...
2 votes
1 answer
2k views

Hide notch on Android 11

I just got my Fairphone 4, and, overall the device is nice, but I can't get used to the notch. Since the display aspect ratio is super tall anyways and I can use a bit more bezel on the bottom as well ...
  • 300
1 vote
0 answers
95 views

How to use /dev/urandom?

As a follow up to my previous question, I decided to use /dev/urandom to overwrite my data. But how do I use it? where do I type that? could you walk me into the steps to do it? and is it better to do ...
1 vote
0 answers
384 views

Fastboot recognizes device but unable to flash (stuck with no output)

I'm trying to flash a custom ROM on my Android smartphone using fastboot. When trying to flash the recovery, the command does not output anything and is stuck. ./fastboot flash recovery recovery.img ...
0 votes
0 answers
947 views

How to enable and disable app using LADB?

So far, I only could find this related discussion from this site regarding disabling app on android by ADB, but I'm using LADB app and confirm whether these commands are correct or not since the ...
0 votes
0 answers
226 views

Toggling between usb host and usb device modes

I need to create a setup in which my Android device will be used both as usb host and usb device. The complete setup will include an Android device, otg memory stick and a pc. First I have to connect ...
0 votes
0 answers
116 views

Resize USB internal storage and use some as external without formatting the whole USB

I expanded my Amazon FireTV 4K Max (Fire TV Home Version 6341067.1 running Fire OS 7.2.5.5 PS7255/2444) storage by installing a USB flash drive together with an OTG and a usb 3.0 hub but i formatted ...
  • 101
0 votes
0 answers
189 views

No “Enable OEM unlock” option on Meizu M2

I’m trying to set PostmarketOS to my sister’s old phone and now I’m stuck with an interesting trouble: in developer settings there’s no option to allow OEM unlocking. USB debugging is on, tried many ...
0 votes
1 answer
66 views

Not Connecting with private LTE network

I have android camera vehicle mounted device. When install operator public network LTE sim, device is successfully connected to network but when install company private LTE network sim device is not ...
  • 1
0 votes
0 answers
848 views

How can i set location manually with adb?

i dont know how to set location over shell with commands, for my test i use "bluestacks 5", i got an native app for setting location manually with mouse click but i need to set it with shell ...
2 votes
0 answers
1k views

How to create a homescreen shortcut via ADB?

I'm using as an example the open-source app ConnectBot to demonstrate what I want to achieve. I can create a connection's shortcut through the homescreen's widget functionality, but I want to know how ...
  • 121
0 votes
1 answer
163 views

Why is there NO files in TWRP recovery in adb?

Without TWRP, adb devices shows no device connected. "fastboot devices" also produces nothing in Samsung Galaxy. But in TWRP recovery, "adb devices" show "52034c5afabcc377 ...
1 vote
0 answers
1k views

SD Card formatting

Bought a 128G card I meant to use as mixed internal / portable (or 100% if not possible with mixed) on a Galaxy-Xcover-4 (SMG390F) Android version 9 Kernel 3.18.91 Not rooted (Though I could do it I ...
1 vote
0 answers
139 views

Recover data from bootlooping phone

The phone is bootlooping and I can only get to fastboot mode. It says PHONE Unlocked, but I can't flash TWRP. How can I recover the data?
1 vote
0 answers
47 views

Installing drivers consecutively for all interfaces/ports within an inf file

This concerns an inf file which contain a number of interfaces/ports that need support of drivers. Instead of installing the driver for each interface/port one by one, is there a way to install the ...
  • 11
1 vote
0 answers
467 views

Redmi 9 Prime hard bricked

I will explain every step I took till this point to maybe help explain the situation I ran into multiple problems from today's evening The first was the drivers i guess, I tried to unlock the phone (...
0 votes
0 answers
317 views

USB OTG only working on charging mode

I have an android tablet that came with OTG support and adb binary already installed, I would like to connect my phone to use adb but when I connect it only charges the phone and adb does not show my ...
0 votes
0 answers
67 views

Can I disable Passpoint somewhere on the OS level (not GUI)

I'm using a version of Android for the Raspberry Pi and PasspointManager is causing the machine to crash and go into an endless boot loop. Is there any suggestion for a way to disable Passpoint on ...
6 votes
2 answers
4k views

Getting "java.lang.SecurityException: Shell does not have permission to access user 150" when uninstalling apps from Samsung Secure folder using ADB

I am using Samsung Galaxy A50, Android 11, One UI 3.1. I use Samsung Secure folder. There are many bloatware in it and I could not find a way to uninstall (and disable) them via ADB. Owner profile ...
0 votes
2 answers
146 views

Is there a way to enable Android debugging by PC?

I'm trying to turn on debugging on my Samsung Galaxy J5 so I can use adb shell rm /data/system/gesture/.key and unlock my phone screen so I don't have to reset it and lose all its data (but it's ...
0 votes
0 answers
43 views

Get full list of secret codes in android [duplicate]

I was able to run some of settings hidden apps via adb with adb shell am start -a android.intent.action.MAIN "com.android.settings" These hidden apps are actually some of the activities ...

1
3 4
5
6 7
45