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
29 views

How to switch(not only on or off) the mobile data and wifi using adb?

First main question: is it possible to switch(not only on or off) the state of the mobile data and wifi using adb? (for example for wifi: if you don't know the state of the wifi now. you send several ...
0
votes
0answers
36 views

Parameters from Android 1st app to 2nd app called components, can be passed via ADB USB intent (call) and broadcasted with URI setData [closed]

re.: How to pass parameters from Android application to application via ADB USB intent and broadcast ? I recall early programming in Fortran suited to numeric computation and scientific computing, no ...
0
votes
0answers
22 views

How to re-enable apps using ADB?

I got a samsung galaxy folder 2: https://www.samsung.com/hk_en/smartphones/galaxy-folder2-g165/ It runs Android 6.0.1 Anyways I am not new to ABD and have used it to uninstall system apps on my other ...
0
votes
0answers
30 views

How to search Google Play and Huawei Store for applications coming with ADB supported public API?

re.: How to search Google Play and Huawei Store for applications coming with ADB supported public API ? I am interested to implement Software Interoperability Act into force and practice and ask ...
0
votes
1answer
22 views

How to get a split apk from a device via adb?

There is a well-known question on how to get APKs from an Android device with adb. However, this fails for split APKs, because there, adb shell pm path com.example.someapp does list you not only one ...
1
vote
0answers
30 views

Allow USB debugging for any PC without confirmation

My phone display slowly turned black for an unknown reason; Maybe moisture (SM-A320F Android8 - no root). I use scrcpy to show phone screen on my PC (and voice assistant when I don't have access to ...
1
vote
0answers
16 views

I want to restore my contacts from a broken and black screen android device [duplicate]

I have a Samsung galaxy s5. Its screen has gotten smashed and now it displays nothing (black). I can turn on the phone, and also I can enter recovery mode (by pressing home+power+volume up). I have ...
0
votes
0answers
29 views

Android 5.1.1 black screen after using adb

So, recently I decided to unlock bootloader in my Lenovo Vibe K5 with Android 5.1.1, I used laptop with Ubuntu 20.04. The computer was detecting phone normally nad I was able to use commands like: -...
1
vote
0answers
13 views

“Translate” Screen up using adb commands

The lower 30% of my samsung S10+ Screen is broken and constantly emits blinding white light, making it unusable at night and cutting down battery life drastically. I have tried to use adb commands to ...
1
vote
0answers
16 views

How do I access the storage of a restricted profile with adb on Android TV?

I created a restricted profile on my Android TV running Android 9, tried to access the storage of the new profile but failed, here's what I got in adb shell (current profile for the TV is the ...
-1
votes
0answers
17 views

Can't confirm “adb backup/restore” on my Android 9 device [duplicate]

I want to use adb backup/restore to make partial backups and copy app data from my old tablet to my new one. So far I could make backups of several apps with multiple commands like adb backup -f app1-...
1
vote
0answers
26 views

Android Encrypt with ADB install? TWRP CarbonROM

I have the following problem: I have CarbonROM 8.0 and the default /data full encryption does not work. Now I want to set it up with the ADB {Android-Bridge}... à la: adb shell recovery --...
3
votes
1answer
48 views

Retrieve (list of) default apps via ADB

Many of you will know (or at least have heard of) commands like adb shell pm list packages or adb shell dumpsys package to retrieve a list of apps available on your device. What I am looking for and ...
0
votes
0answers
20 views

Enabling talkback using adb

I have a pixel 3 with Android 10. I used this command, adb shell settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback....
0
votes
0answers
47 views

I am under the impression that my phone's security could've been compromised

TL;DR I'm using a stock Android 5.1.1 and there are two unauthorized apps named 'Root' and 'nobody' which I am unable to uninstall with adb and phone shows odd behavior on every site that requires you ...
-1
votes
1answer
34 views

How to list system packages uninstalled (for a user) via ADB?

I want to research the bloatware that I disabled using pm uninstall -k –user 0 <package> and I just realized that I don't know how to make a list of those specific apps. I can list the file ...
1
vote
0answers
75 views

Making the front camera the main one, or disabling the main (back) camera

My device's rear (main) camera is broken. WhatsApp Web pairing uses the main camera in order to scan a QR code and can't be switched to the front (selfie) one. Is there any ADB command that can switch ...
1
vote
1answer
38 views

Unable to connect phone to pc. Phone charges only

My phone model is Huawei G7-L11. Android version is 6.0 Hey there, I want to connect my phone to PC to be able to unlock its bootloader. When I connect to PC, It charges only and that's it. What I did:...
0
votes
0answers
16 views

IBCI custom android 5.1.1 missing Developer mode

I have a handheld POS terminal with a custom ICBC android 5.1.1 "TERMINAL VERSION" installed. A lot is missing in the version, tapping "about terminal", then "build number&...
2
votes
1answer
54 views

Is it possible to disable USB tethering from command line?

I try to be able to stop USB tethering. I tried: adb shell am stop com.android.settings/.TetherSettings # Unknown command: stop adb shell am kill com.android.settings/.TetherSettings # nothing adb ...
1
vote
1answer
54 views

Get the size of the navigation bar using ADB

I want to know what is the size of the navigation bar in pixel using ADB. Using adb shell wm size gives the complete screen size instead of only the navigation bar. Is there any way to get it?
2
votes
0answers
31 views

After screen overscan resize, some apps double the resize

The top section of my Samsung screen is completely non-responsive. So I followed the excellent guide here to change the overscan. I did adb shell wm overscan 0,245,0,0, followed by adb shell wm ...
1
vote
0answers
90 views

Set fixed BSSID in LineageOS16 / Android

I'm searching for a way to set the BSSID my OnePlus One (running LineageOS 16) is connecting to. I started adb shell as root and tried to change the BSSID in /data/misc/wifi/WifiConfigStore.xml, but ...
1
vote
0answers
20 views

Android detect which hardware key pressed

Is there a utility which detects which hardware key was pressed? I can only find resources for simulating key presses but not for detecting them. Something similar to xev on Linux.
2
votes
1answer
54 views

fastboot stuck on 'booting…'

I am trying to flash my device(Redmi S2/Y2). I unlocked the bootloader and I tried flashing Orange Fox recovery from fastboot. C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash ...
1
vote
1answer
27 views

Android ADB Key Not Working

I used to have a rooted Android device about 3-4 years ago. I recently found it and I dont know the password. This android device was trusted on my computer but now it is showing unauthorized under ...
2
votes
0answers
29 views

How to use multibyte file names in adb shell?

I have a Galaxy S6 running Android 7.0: zeroflte:/ $ getprop ro.build.version.release 7.0 There exists a file which uses the Unicode codepoint U+1F308 (RAINBOW) in its ...
1
vote
0answers
78 views

How do I clear all recent apps using ADB?

I am looking for a one liner solution that make use of adb to clear all recent apps, similar to clicking the overview button the click 'clear all'. Does anyone happen to know one? My guess is that it ...
1
vote
0answers
25 views

ADB pull stops after first error

I am trying to do a full copy of /sdcard of my unrooted OnePlus 3T to my Windows PC. So far I've tried: adb pull /sdcard/ C:\mylocalfolder\ Works OK but as soon as there is an error it stops the ...
0
votes
0answers
20 views

Need Logs proof info about File Transfer copy/mv of my IMG files usb connection sowehow of hijacked rooted android

can you Help me get Logs or info about "File Access (copy/mv/pull) of my IMG files? happended through unallowed usb connection" by Syslog / etc from my unlocked / rooted, "debug allowed&...
0
votes
0answers
27 views

need help in deciphering the logs of my bootlooping phone

I am trying to fix my phone that got stuck at a bootloop. Earlier it died out of battery and rebooted when I plugged it in and went on a bootloop, I did a lot of things between my last reboot and this ...
1
vote
0answers
35 views

Result of ls -la in adb shell

If I go into my unrooted phone's adb shell (Samsung galaxy s7 Android 8) I get a result similar to this: dr-xr-xr-x 921 root root 0 2020-01-26 10:06 acct -rw-r--r-- 1 root root 225 ...
0
votes
0answers
26 views

Dropped phone - display and possibly other parts broken - how to mirror?

I unfortunately dropped my Samsung Galaxy S7 today and it seems that the screen and possibly other parts are broken now. Since dropping it the screen has been completely black. I'm trying to figure ...
1
vote
0answers
22 views

After mounting / instead of /system now phone not booting system

I used mount -o rw,remount,rw / command instead of mount -o rw,remount,rw /system now system not booting, please help. Every time restart and boot into fastboot but now system. TWRP working. Infinix ...
2
votes
1answer
179 views

Unbrick Unlocked Huawei P10 - SOLVED

I messed around with my phone (Huawei P10 VTR-L29) and unfortunately bricked it. what happened To give you the whole story, I tried to root it, but during the root process I found out that the device ...
0
votes
1answer
51 views

USB not working in Lineage OS 15

Nexus 7 2012 (grouper). Was running stock ROM (4.4.4), could connect via USB (e.g., as MTP for file transfer) and use adb). Installed Lineage OS 15 (8/O). (Couldn't install any GApps at all because ...
0
votes
0answers
17 views

How to stream an image into camera source trough ADB?

I am trying to stream an image into the camera source of an Android 10 device through adb. This should effect on all apps that use the camera source and not only using specific camera apps. Thank you!
0
votes
0answers
22 views

Can i plug 2 android phones to my PC via USB and use them for Droidcam simultaneously?

My wireless connection is not strong for sharing a good quality video from phone to PC using Droidcam, so USB connection is best solution for that job, but whenever i plugged the second phone via USB ...
1
vote
0answers
33 views

adb reboot recovery error: closed

I have an old Samsung Tab 3 (NT210) that is bricked after not being used for a few years - it gets stuck at the Samsung logo screen after being turned on. However, I am able to boot into the recovery ...
2
votes
0answers
30 views

Flashed magisk_patched_boot.img as fastboot flash recovery…Phone stuck on Powered by Android

I was trying to root my Micromax Q440 and I tried to follow the steps ie; 1: fastboot flash recovery c:\twrp.img 2: fastboot flash boot c:\magisk_patched.img but in the 2nd step, I used recovery ...
1
vote
0answers
110 views

Bootloader is unlocked, fastboot returns “FAILED remote: Not allowed to flash” when trying flash .img

I am trying to root my Google Pixel 3a with Android 10. The bootloader is unlocked. It says so in the dev settings, and I have to go through the warning prompt every time I reboot my device. I am ...
0
votes
0answers
42 views

Samsung Galaxy Tab 2 Stuck in Reboot Loop

I have an old Samsung Galaxy Tab 2 I dug up from many years ago. When I tried to turn it on after charging it fully, it was stuck in a reboot loop. I already tried factory resetting it and clearing ...
0
votes
0answers
37 views

ADB pull internal storage data from custom recovery

My smartphone display hardware driver in motherboard is not working. Repair this would cost me loss of data. My phone is actually starting but can't see anything. I can see listed device in fastboot ...
0
votes
1answer
54 views

How do I run 2 Android phones on a PC simultaneously So that DroidCam for number 1 & TC games screen mirror for number 2?

I have 2 android phones and i want to connect both of them to my PC via USB cables like this: 1- Motorola Moto G3 5.1.1 (Lollipop) goes to DroidCam app for using as a webcam. 2- Samsung S4 zoom (...
0
votes
1answer
46 views

ADB connect to device with Python

Can I connect to an Android device for the first time with python adb, in USB debug mode, without having to manually allow the connection? This is my code from python adb library: signer = ...
0
votes
0answers
16 views

Install Error - kids mode not functioning on Amazon Fire

I followed the instructions here: https://www.addictivetips.com/android/remove-ads-bloatware-from-the-amazon-fire-7-tablet-no-root/ to uninstall the bloatware, but did not uninstall com.amazon....
1
vote
0answers
47 views

Grant permissions to a service launched with ADB?

I'm trying to get a simple accessibility service, like Google's Voice Access or Button Mapper to work on an LG Exalt LTE, running a stripped down version of Marshmellow. The stock is missing many UI ...
0
votes
0answers
15 views

App not starting on device boot

I am using an automation app that should start automatically on device (re)start. But it's not happening. I've checked all permissions and everything is granted. My device is Vodafone smart e9. The ...
0
votes
0answers
40 views

are android 10 adb commands gimp'd?

adb shell settings put secure sysui_nav_bar "\"key(82:file:///storage/emulated/0/zzz/menu.png),key(84:file:///storage/emulated/0/zzz/kb.png),back;home;recent;menu_ime;key(120:file:///storage/...
1
vote
0answers
30 views

How to insert an emoji using adb shell input?

I've been trying to insert emojis into my android phone using ADB. adb shell input text "..." works for inserting text, but when I tried to insert an emoji using the unicode(\uD83E\uDD70), I am ...

1
2 3 4 5
37