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
128 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
18 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
99 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
96 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 ...
0
votes
1answer
453 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
528 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
1answer
794 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
386 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
21 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
26 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
112 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
45 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
69 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
28 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
189 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
102 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
27 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
130 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
64 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
138 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
29 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
43 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
89 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
449 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
276 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
57 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
133 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
96 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
1answer
424 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
55 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
40 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 ...
0
votes
0answers
70 views

ADB Access in TWRP recovery mode - samsung A3, Linux

I can access my Samsung A3 (a3xelte) in "normal" mode in Linux using adb. Today I installed the TWRP 3.2.3-0 recovery mode and entered it. According to this DroidWiki article(the article is in German),...
1
vote
1answer
32 views

I Have an LG P769. I am trying to root it and it is not working

Forewarning: I am not exactly an expert on this type of thing. I have tried several things, but the problem seems to be that I cannot get into the bootloader via "adb reboot bootloader" or by ...
1
vote
0answers
87 views

adb shell input text ignore characters

In android emulator adb shell I send the following command: input text \!\$\#\?\%shelllllllooo And result: All same characters(exclude special like !?#$) been ignored.
0
votes
1answer
281 views

How can run native executables compiled for ARM on unrooted Android devices? [duplicate]

Following this tutorial I have compiled a Hello World! ARM binary from C source using gcc. I want to run this program on my unrooted Android phone but I can't figure out an easy way to do it. What I'...
0
votes
0answers
259 views

Properly Unroot Lineage OS 16

As you all well may be aware, I don't mean 'all', but that is if you have ever been on Lineage OS and you have ever tried using an app that doesn't run on rooted phones, Lineage is kind of by default ...
0
votes
0answers
124 views

Export WhatsApp-Chat via Bluetooth (ADB-Command-Question)

I try to use the ADB-Command to automate WhatsApp-Chat-Export via Bluetooth! I work with the Keyevent DPad and Keyevent Menu. At some point I have to choose Bluetooth from a selection (Bluetooth, ...
1
vote
1answer
203 views

Can I change which SIM a phone is using for its LTE interface using ADB?

I have a set of phones that have dual SIM cards. What I would like to do is have them connected to one network using SIM card 1, run some test, disconnect from the network, then have them connect to a ...
3
votes
1answer
696 views

How to set up a socks5 with Android cli?

I found articles how to set up a http-proxy. But can't find any info, how to set up a socks5 proxy. My goal is to route all traffic from apps, etc throught this proxy. Is this possible? How then ...
0
votes
0answers
185 views

Samsung note9 adb over USB keeps disconnecting

I have my Samsung Note9 (updated, on latest Android 9) connected via USB on Ubuntu Linux, latest platform-tools_r28.0.1. When I run adb shell, it works perfectly. The problem is, the device ...
1
vote
0answers
191 views

OEM Unlocking Greyed out after Android 8.1 Update. (Lenovo Tab4 10)

I purchased a Lenovo Tab 4 10, I enabled OEM Unlocking, Unlocked the Bootloader to root my tablet, and when I booted back into the Android OS it had an update, so I updated it, rebooted, re-enabled ...
0
votes
1answer
52 views

Is possible to read the memory from my phone (S6) in recovery mode?

I have a problem with my Samsung S6, it restart continuously in a loop, I can see the home screen and interact with it but only for 5 or 10 seconds before it boot again. I think the only solution ...
0
votes
0answers
20 views

Remove all Google-related software from Android? [duplicate]

If I were to buy an Android phone and unlock the bootloader and install my own ROM, to what extent could I produce a ROM that removes all access to Google servers and functionality? For instance I ...
1
vote
0answers
93 views

Prevent app from seeing installed apps

Is there any way, through settings or ADB, to prevent an app (that I installed) from knowing what other apps are installed?
1
vote
0answers
77 views

Cannot reach fastboot from Recovery Mode

Beforehand: Sorry for asking. I was sure this wasn't duplicate. I have made myself a soft brick. The story: used kingoroot or something similar, then was too much in a rush hitting the "yes, please, ...
0
votes
1answer
455 views

ADB - Can't enable USB Debugging, phone stuck on boot screen

My phone stopped working and stays stuck on the boot screen. I've tried wiping both cache partition and data reset, still nothing. So I decided to flash a new ROM, but I can't connect through ADB as ...
0
votes
0answers
244 views

Android sendevent command not work until finger touch once

I want to use sendevent command to simulate touch event, I followed this link, and it works. Use getevent to record, then use sendevent to repeat them, code like below, it can tap position 540 1802. ...
0
votes
1answer
287 views

Send fake sensor value to an Android real device

Is possible to simulate an event on a Android real device? More precisely, I want to test an application which does something if a particular temperature value is detected. Is there an adb command, ...
0
votes
0answers
1k views

Reinstall app removed via ADB

I removed 'MusicFX' via adb shell pm uninstall --user 0 'musicfx package' And now I'm having issue with playing Bluetooth media audio, so I thought maybe it's that Can it be reinstall, maybe an ...
4
votes
2answers
2k views

How to recover a deleted file from /data partition?

I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the /data ...