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
1answer
16 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
1answer
19 views

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

My old phone has a smashed screen but can still turn on. It's not worth the cost to repair it. I'm wondering if I can retrieve files from inside it or even run a backup to get the latest text messages?...
0
votes
0answers
17 views

Unable to disable Google Analytics using adb [closed]

I'm unable to disable Google Analytics using adb(for mobile app). It was working fine few months back. Tried in different emulators, no luck. adb -s emulator-xxxx shell am instrument -e ...
1
vote
0answers
30 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 ...
-1
votes
0answers
29 views

How to regain control of my phone? Possible RDP [closed]

I'm not a developer so please be patient with me, I don't know the right terminology. My home network has been infiltrated, laptops, chromebook, android phones and Xbox all affected. There is lots of ...
-1
votes
0answers
14 views

Toggel system function (smartWifi) from ADB

who can help me to make an adjustment in ADB to change menu settings wifi / advanced / smartwifi from on and off. what is here for the ADB command. Thanks in advance
1
vote
1answer
32 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 ...
1
vote
0answers
39 views

How to uninstall default samsung dialer+contacts+call apps

I am on samsung one ui 3.1 android 11(no custom rom/gsi no root). I removed default gooogle apps and i also wanna uninstall default samsung dialer+phone+call+contacts apps via adb after replacing with ...
1
vote
0answers
25 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
votes
0answers
6 views

How to get apps on a Gabb phone? [duplicate]

Has anybody found out how to get apps on a Gabb phone? They blocked autofill so I can't get in USB debugging. Can you use the recovery mode ADB to install apps?
1
vote
0answers
38 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
0answers
35 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
0answers
23 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
0answers
29 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 ...
0
votes
0answers
22 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 ...
0
votes
0answers
24 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
1answer
22 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
41 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
0answers
98 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
34 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
0answers
34 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
0answers
37 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 ...
1
vote
0answers
45 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
0answers
26 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
0answers
36 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 ...
0
votes
0answers
19 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 ...
0
votes
0answers
28 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&...
1
vote
0answers
86 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
2answers
76 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
0answers
33 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 ...
0
votes
0answers
32 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
46 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 &...
0
votes
0answers
34 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?
1
vote
0answers
42 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 ...
0
votes
0answers
29 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 ...
2
votes
1answer
184 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 ...
1
vote
0answers
63 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 ...
1
vote
0answers
31 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....
0
votes
0answers
28 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
42 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....
1
vote
0answers
33 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 ...
0
votes
0answers
48 views

Android 11 - permission to not ask for screen recording?

I'm using phone screen streaming app that can be activated remotely but phone keeps asking me to grant permission to start screen recording. It ruins whole sense of remote desktop if I need to ...
1
vote
0answers
105 views

How to extract data from non-rooted phone via ADB?

So, I was thinking that ADB is a superior method of backing up any device then using an App, out of privacy concerns if not for the flexibility. However, when I try to extract a system database I get ...

1
2 3 4 5
42