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
198 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 ...
user avatar
2 votes
0 answers
124 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 ...
user avatar
  • 21
1 vote
0 answers
30 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 ...
user avatar
  • 21
0 votes
0 answers
121 views

Is there anyway to bypass family link and reset phone without google password?

I activated family link on my kids' Samsung J5 about a year ago, but I entirely forgot the password because I used a burner account. On the phone, I am unable to access or provide authorization. I ...
user avatar
1 vote
0 answers
36 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 ...
user avatar
3 votes
1 answer
206 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 ...
user avatar
1 vote
1 answer
285 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 ...
user avatar
2 votes
1 answer
276 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 ...
user avatar
1 vote
1 answer
84 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'...
user avatar
1 vote
0 answers
161 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 ...
user avatar
1 vote
1 answer
689 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 ...
user avatar
  • 292
1 vote
0 answers
61 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 ...
user avatar
1 vote
0 answers
129 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 ...
user avatar
0 votes
0 answers
315 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 ...
user avatar
0 votes
0 answers
96 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 ...
user avatar
0 votes
0 answers
252 views

INSTALL_FAILED_DUPLICATE_PERMISSION when trying to install Google app on Moto e5 go

How do I install Google on my Moto e5 go when there is an error message on the ADB saying: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.android.googlequicksearchbox attempting to ...
user avatar
  • 1
0 votes
0 answers
46 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 ...
user avatar
  • 101
0 votes
0 answers
119 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 ...
user avatar
0 votes
1 answer
38 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 ...
user avatar
  • 1
0 votes
0 answers
131 views

Connect to frida server on same device

Is there a way to use frida on rooted emulator without the need for adb? For example, install frida tools on emulator with termux and copying the the frida-server binary on the device, connect to it ...
user avatar
0 votes
0 answers
230 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 ...
user avatar
2 votes
0 answers
489 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 ...
user avatar
  • 121
0 votes
1 answer
70 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 ...
user avatar
0 votes
0 answers
148 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 ...
user avatar
1 vote
0 answers
50 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?
user avatar
1 vote
0 answers
41 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 ...
user avatar
  • 11
1 vote
0 answers
249 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 (...
user avatar
0 votes
0 answers
81 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 ...
user avatar
0 votes
0 answers
137 views

Asus Zenfone Max Pro M1 boots into CSC FASTBOOT MODE instead of NORMAL FASTBOOT

I was trying to install TWRP on my Asus zenfone max pro m1. But each time it boots into bootloader by adb reboot bootloader it leads me into CSC FASTBOOT MODE. First time I ignored it. But when I ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
0 votes
0 answers
76 views

adb backup "Operation Time Out"

I am trying to backup a Galaxy S9 using adb backup under Linux (Fedora) and after a certain period of time, the backup stops and I see a message on the phone screen saying "Operation Time Out&...
user avatar
1 vote
0 answers
611 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 ...
user avatar
0 votes
2 answers
126 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 ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
0 votes
0 answers
91 views

Commands failing to write due to protocol error in Fastboot using Linux Mint on ONN 100015685-E

FAILED (command write failed (Protocol error)) Any command I try to run in fastboot fails to write ONN Surf 100015685-E I tried using Windows and kept having problems so I'm trying Linux I'm trying ...
user avatar
0 votes
0 answers
143 views

Can't flash anything with fastboot on onn 100015685-E

I have tried updating drivers from windows update but trying to flash anything does nothing I'm using mediatek drivers Other commands fail and gives this error FAILED (Write to device failed (Too many ...
user avatar
  • 1
0 votes
0 answers
175 views

ADB not connecting after rooting with Magisk

I rooted my Coolpad Modena 2 (E502) using Magisk. After I rebooted it, ADB stopped connecting. Things I've tried: Wiping the phone and rooting it again Using different USBs adb devices just shows &...
user avatar
1 vote
0 answers
60 views

Cannot backup Andrioid Chrome data with adb [duplicate]

I've connected my Samsung Galaxy S2 to my computer via USB debugging and run: adb backup -noapk com.android.chrome The result file backup.ab has only 41 bytes. What's wrong?
user avatar
  • 11
1 vote
0 answers
71 views

Background Control in developer options of android 11

There is a background control option in developer options of android 11. I added an secreen shot. Do options must be enabled or disabled for blocking an app. I did not understand. AASAservice is ...
user avatar
0 votes
0 answers
135 views

ADB cannot accurately read IMEI 1 and 2

There are two OPPO phones, model PEAM00 and PEMM20 running Android 11. ADB cannot accurately read IMEI 1 and 2, only MEID. Tried the following command, but it doesn't work, only MEID is returned. adb ...
user avatar
  • 1
2 votes
1 answer
728 views

How to backup a full stock firmware image

I'm rocking a OnePlus Nord 2 5G here that just recently came back from assistance because I had wiped the partitions with the IMEI stored in it... I had made a Nandroid backup, but it didn't backed up ...
user avatar
  • 31
1 vote
0 answers
354 views

Running a python script on an Android device

I need to control an android app using a python script. Currently, I connect my phone to my laptop and use adb (android debug bridge). Process: Laptop sends an adb shell command to android to take a ...
user avatar
  • 111
1 vote
0 answers
94 views

Change keyboard's language with ADB?

I know there is a way to detect the current enabled_input_methods: settings get secure enabled_input_methods com.samsung.android.honeyboard/.service.HoneyBoardService;65538;2621440:com.samsung.android....
user avatar
  • 221
0 votes
0 answers
66 views

Android 11 Wireless ADB debug missing

I bought a cheap Chinese Android 11 box and there are no wireless adb debug in developer settings, just USB. Is it possible for this functionality to be disabled when Android 11 is built, or is this ...
user avatar
  • 101
1 vote
0 answers
94 views

Where is the installed applications are stored in android 9?

I have seen few examples in the internet but couldn't find the right answer about my phone. In my phone how does a file manager app finds the base.apk of an installed app? and how can I find them ...
user avatar
1 vote
0 answers
338 views

Send A Notification To Android 9 Device Via ADB/shell/Script

wondering if it's possible to send a notification to an Android 9 device when a script finishes? I have a custom Magisk script that runs on first boot for my rom releases that does some things like ...
user avatar
  • 11
1 vote
0 answers
60 views

Stuck on fastboot mode, usb debugging turned off

I rooted my Alldocube iplay 30 pro and uninstalled a few system apps before rebooting. Right after, it got stuck in fastboot mode and i cant do anything about it. USB debugging is turned off and I ...
user avatar
  • 11
1 vote
0 answers
27 views

ADB Process kill error. Android 11

My camera doesn't work on a custom ROM (Android 11), I searched for a fix online, and it says that I have to restart the camera service, they said to run this command on ADB: kill -HUP ps -A | grep ...
user avatar
1 vote
0 answers
307 views

which adb command to Delete gmail account from a device

Can anyone pls suggest me which adb command i may use to delete gmail account from a device. I can add account through below command but can't delete any account. adb shell am start -a android....
user avatar
1 vote
0 answers
54 views

Can an ADB backdoor persist after factory reset

Recently I started playing with automations in my Android device. Specifically, I used Automate, Tasker and MacroDroid. I also downloaded some Tasker plugins, and some ADB connectors for these apps. A ...
user avatar
  • 111

1 2
3
4 5
43