Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

I have unlocked my bootloader but ADB doesn't detect my phone so I cant get into my bootloader mode to install TWRP

I have a Huawei P10 lite and I wanted to root my phone, so I had unlocked my bootloader after much effort, and now I'm trying to install TWRP but every time i try to enter my bootloader mode it doesn'...
0
votes
0answers
8 views

How to fix “fastboot FAILED (command write failed (No such file or directory))” error?

I was trying to flash TWRP recovery image in my MI 8 SE on my windows 10 laptop. I can detect my device in fastboot mode, but when i try to flash the image i get this error target didn't report max-...
0
votes
0answers
20 views

Convert system app to a user app without root

Is there any way to make a system app a user app using adb and without root?
-2
votes
0answers
10 views

How connect rooted device to android studio without USB [duplicate]

There is a problem connecting my phone to an Android studio. My device USB port has broken and I want to install apps through the hotspot. how can I do that?
0
votes
0answers
15 views

Installing fsmon onto Galaxy S8 phone

I am using a Galaxy S8 phone, and I am trying to install fsmon to monitor the phone's File System. When i entered the following command (while using adb shell: dreamlte:/ $ make android NDK_ARCH=...
0
votes
0answers
8 views

getRssnr() Get reference signal signal-to-noise ratio using ADB shell

Using Andriod Q API. Need to get android.telephony.CellSignalStrengthLte.getRssnr() using ADB shell , is it possible ?
0
votes
0answers
15 views

ADB does not recognize device (LG X Charge)

I am not able to get adb to recognize my device. Here is my setup: USB debugging is enabled under Developer Options Use USB Connection for File Transfer (Transfer Documents and media files to the ...
0
votes
0answers
14 views

stuck on“Downloading… Do not turn off target!” when trying to boot via adb

I wish to flash a custom ROM on my galaxy tab a. To do this I downloaded ADB and twrp-3.2.3-0. when U run the command adb reboot bootloader my tab gets stuck on downloading... do not turn off target. ...
1
vote
1answer
74 views

How do I install OS in Andriod phone without using fastboot and TWRP?

I've tried to upgrade the rom in MOTO G4 Plus using TWRP version of 3.2.1.0 and during installation process I wiped out the existing android 7.0.1 without backup(understood the cost of backups now). ...
0
votes
0answers
18 views

Use adb before screen unlock

I'm kinda in an argument here and I want a definite answer On any device I've used, adb can't be used before I unlock my screen. I'm being told it can, you just can't access storage So can adb be ...
0
votes
0answers
36 views

TWRP: vendor partition is not existed

I try to flash LineageOS on a OnePlus 5 (cheeseburger). I installed TWRP 3.3.0-0 from here. I repeatedly wiped the partitions. What I cannot manage is to adb sideload LineageOS 16.0. I get this ...
0
votes
0answers
24 views

clone app and do auto-update on the cloned app like Parallel Space

Is it possible to create something like Parallel Space by oneself? There a well described to procedure how to clone an app How to keep two versions of an app installed? How to Install and Run ...
0
votes
0answers
41 views

Salvage app cache when unable to open app

Every time my phone reboots and sometimes even without reboot when it's working at I guess full capacity, it resets its settings and acts like I just booted the phone for the first time except from ...
6
votes
1answer
82 views

Attempting to brute force Android security pattern through TWRP via adb

Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it ...
0
votes
0answers
24 views

Permission denied on android directories?

Forgive my newness... I've installed Android Studio/Android SDK in Windows 7, enabled debugging on my Droid Turbo 2 with Android 7.0, system version 25.216.2.kinzie_verizon.verizon.en.US, and ...
0
votes
0answers
12 views

No Sim Detected adb error? Android (Oppo R11)

I recently tried to install the app Island using adb commands and i successfully installed it but now my phone isn't able to use my sim card (Works for a minute or two when i reboot my phone). I used ...
0
votes
2answers
41 views

Restore backup.ab file on firestick?

I'm trying to restore a backup file onto a fire stick 2 using adb restore backup.ab, however the restore confirmation doesn't come up on the fire stick. The device is rooted and currently have twrp. ...
1
vote
2answers
150 views

Can't flash custom TWRP recovery image on Motorola Moto G7 Power phone

I've got a brand new Motorola Moto G7 Power running Android 9. I also have Ubuntu 19.04 running on my desktop. I want to root the phone. I've managed to unlock the bootloader using Motorola's ...
1
vote
1answer
33 views

How to list all the namespaces?

Right now, to list all the settings of System namespace I can do: platform-tools/adb shell settings list system To list all the settings from Global namespace I can do platform-tools/adb shell ...
0
votes
1answer
17 views

GS4 - Stuck in a bootloop on stock ROM

SGH-I337 I got recently is stuck in a bootloop. Itll post and then attempt booting and stay on the screen forever. As this phone is completely stock and never touched so usb debugging is not enabled. ...
1
vote
0answers
35 views

How to enable usb debugging on bootloop phone(Lenovo tab yoga 8)?

So... I am having a a hard time to pull my file from internal memory on my bootlooped Lenovo tab Yoga 8. I only know that to pull files from adb I need to enable usb debugging. But, because it is ...
0
votes
0answers
40 views

adb shell busybox netstat

I am trying to look at the processes tagged to each individual tcp connection using busybox netstat -p as shown from their docs. However, after rooting and checking my root with RootChecker, it seems ...
-2
votes
0answers
27 views

What does these lines from logcat actually mean

2567 2567 I FIPS_bssl: FIPS approved mode (1) | 2567 | /system/bin/eris 2567 2567 I eris : 00[LIB] NCONF_new 2567 2567 I eris : 00[KNL] kernel-netlink plugin might require CAP_NET_ADMIN ...
0
votes
1answer
73 views

adb shell get text from clipboard

After I copy text in emulator I want to get this text in adb shell I found a reference: // API < 11 static final int TRANSACTION_getClipboardText 1 static final int TRANSACTION_hasClipboardText 3 ...
2
votes
1answer
112 views

Can't reinstall an app uninstalled through ADB

I recently got a Huawei P30 and used adb to remove some preinstalled apps I didn't want to use. I went a bit too far and removed the system gallery app (com.android.gallery3d) which turns out to be ...
0
votes
0answers
43 views

Adb doesn't work, “adb.exe has stopped working” window appears

I want to learn flutter, so, I installed Android SDK from Android Studio but when I tried to connect my device a "adb.exe has stopped working" window showed, then I tried using 'adb devices' command ...
0
votes
0answers
67 views

Is it possible to change active boot slot via adb/terminal with root?

I am looking for a method to change the active boot slot on an A/B device using ADB or terminal with root (su) access. I have done enough of googling and I have not arrived on a valid answer to my ...
0
votes
1answer
20 views

ADB issue while connecting through WiFi

I am running adb port forwarding from computer to mobile with this command: adb forward tcp:6401 tcp:50000 which is working completely fine (accessing 127.0.0.1) when I am accessing it through the ...
0
votes
0answers
14 views

Cant go in fastboot mode in SM-J400F [duplicate]

I am trying to root my Samsung SM-J400f but I just cant get into fastboot mode. As soon as I type following command :- adb reboot bootloader My device just reboots and doesn't enter into fastboot or ...
0
votes
1answer
32 views

Disable part of a touchscreen from taking phantom touches

I have a 10.Or G android Oreo device Resolution: 1080x1920 Density: 480 This question follows up from here I'm having problem with lots of ghost touches in the very top 5 mm bar of the screen ...
0
votes
0answers
22 views

What is this permission group?

When I ran adb shell pm list permission-groups one of the groups was: com.google.android.gms.permission.CAR_INFORMATION. I've never seen this before in system settings and I can't find anything ...
0
votes
1answer
43 views

Would it be theoretically possible to do a block-level backup of /dev/media without root?

I have nothing against root except eFUSE. Whose ever idea eFUSE was . . . As far as I understand: Because of amateur users and clueless minimalists who don't know how to utilise tools that are ...
0
votes
0answers
17 views

pm clear not logout apps like twitter

I'm doing: pm clear com.twitter.android And expecting to be log out from twitter app. But it is not working. I also tried to clear every app package with pm list packages -f, in case twitter store ...
0
votes
1answer
45 views

Revoking Bluetooth permission from all apps?

I noticed that my phone silently enables bluetooth when screen turns off. When phones remains inactive for few minutes and I click unlock button I can see bluetooth indicator showing up for around 1-2 ...
0
votes
0answers
31 views

adb shell push image to recent or downloads folders not on sdcard

I want to push images to one of this folders: with shell command. But file only appears on sdcard folder My last tries was: adb push C:\Users\User\Pictures\girl.jpg /data/media/0/Pictures/ adb push ...
0
votes
0answers
21 views

Issue trying to flash lineage OS on Samsung s6 through heimdall on terminal - mac

Trying to flash lineage OS to my Samsung galaxy s6 but for some reason the Mac cannot detect my device.. The only way I can cannot it to transfer data files through USB is by enabling USB debugging in ...
1
vote
2answers
68 views

Redmi 3 stuck on bootloop with no recovery mode access

I have a Redmi 3 MIUI7 that I recently flashed with MIUI9 using TWRP. Right after flashing, I tried to boot it but it stuck on a bootloop. Since I haven't booted into the ROM and can't do so because ...
0
votes
0answers
38 views

Phantom Vibration from com.android.providers.downloads

I've found the source of roughly 10x phantom vibrations (e.g. vibrations without notification or clear cause) daily. startTime: 9 Apr 2019, 15:20:33, effect: Waveform{mTimings=[0, 100, 150, 100], ...
1
vote
1answer
54 views

Forgot password on Samsung Galaxy S7 Edge, trying to access for Google Authenticator

I never wrote my password down for my old S7 Edge and managed to forget it. Overthinking the security and privacy, I also never signed up for Samsung's service and Google's Find My Phone only ...
0
votes
0answers
22 views

Forgot password + broken home button

a friend of mine forgot her Unlock Pattern of her Galaxy A5 (2015). Apperantly the latest stock android version that runs on it is Marshmallow. My idea was to simply put it in recovery to just wipe ...
0
votes
1answer
22 views

How to access PC disk from adb shell?

My emulator can't do adb root. Anyway, I can do adb shell and then do su and get root to do my things. But how to copy some file from my PC to connected device using adb shell? Where can I access my ...
0
votes
1answer
58 views

Copy entire phone to the same device?

I bought second Asus ZS570KL as backup phone since my old one starts to do... weird things. I created full backup using: ./adb backup -apk -all -obb -shared -v -f /backups/phone8.ab And later ...
-1
votes
1answer
71 views

Android Studios Adb server problems

I formatted the desktop and i'm try to install the Android Studios version 3.2.1 installation setup was completed but when try to run the project .It show error log like this Unable to detect adb ...
2
votes
1answer
82 views

What does the charge counter in battery indicates?

I have used the adb shell dumpsys battery command on my phone. It delivers the following results (posted on the image). Most of the terms, I can understand but not the charge counter. What does it ...
0
votes
0answers
33 views

Boot loop after flashing recovery roms to motorola g4

I recently tried to upgrade a Motorola G4 from android 6 to android 8 and that failed (going into a bootloop) so after it failed I tried flashing the recovery rom images (got the roms of the motorola ...
0
votes
0answers
62 views

Copy files from Linux to Android without any OS

I'm trying to install lineage 15.1 on my old Sony Xperia V LT25i, which has had a couple of other OS's since the original. When I started the process I could not access the internal memory at all, ...
0
votes
1answer
52 views

How to create a copy of a file immediately when it's created? [duplicate]

I have an Android app that will create a file in /data/ and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file? I have ...
0
votes
0answers
138 views

Unable to modify file permissions.xml, get error Read-only file system

I have a rooted Galaxy S5 SM-G900V, lineage_klte, ARMv7 Processor rev 1 (v71), Kernel: 3.4.113-lineageos #1 SMP, Oreo 8.1 that a friend asked me to modify. I need to modify the platform.xml file to ...
0
votes
0answers
19 views

Error when simulating incoming calls on my (real) Android phone (rooted) [duplicate]

I try to simulate an incoming call on my Android device connected to my computer via adb by: D:\adb>adb shell am start -a com.android.server.telecom.testapps.CallServiceNotifier....
1
vote
0answers
29 views

Boot Loop with old CyanogenMod: Unable to stat various files

My old One Plus One suddenly refuses to boot without any changes from my side. OS is CyanogenMod 11. The device is rooted and there is TWRP 2.8.0.1 installed on it and debugging is active. The ...