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
0
votes
0answers
16 views

ADB immersive mode and wm overscan commands no longer work on Android 11

I upgraded to Android 11 without knowing that it broke compatibility with existing immersive mode and window manger overscan adb commands. Are there new alternatives to these commands in adb now? I ...
0
votes
0answers
17 views

Modify shared_prefs XML file from adb shell

My Tolino Vision 4 HD e-book reader has no vi, vim.tiny or any other text editor executable, so to edit files I have to "adb pull" it to my PC, modify it there and "adb push" it ...
0
votes
0answers
9 views

ADB Wifi loses connection when device's screen turns off - Realme 7 - Android 10

I work on Android Studio while using actual device for ADB using ADB over tcp/ip through command prompt (no additional software). But, this new device gets offline the moment screen turns off. I've ...
1
vote
0answers
16 views

cannot access phone directories using adb shell after upgrading to android 11

I recently upgraded to android 11. Ever since I did that I cannot adb shell into any of the directories inside the /mnt directory: adb shell taimen:/ $ cd mnt taimen:/mnt $ ls androidwritable appfuse ...
0
votes
1answer
13 views

How do I verify that the USB debugging key fingerprint is correct? [duplicate]

When I try to enable USB debugging on my Android device, I am prompted with this message: The computer's RSA key fingerprint is: FE:35:23:34:... I see the public key in ~/.android/adbkey.pub How can ...
0
votes
0answers
18 views

Disable display cutout from adb or twrp

i changed display cutout in Developer mode, but my redmi note 9s went in bootloop. I'm on TWRP now and i need to disable the cutout from adb or twrp. I know i could disable the cutout overlay, but i ...
1
vote
0answers
8 views

How to turn on tap visual feedback from the command line

There is an option in debug mode that shows/hides tap visual feedback: This is what happens when you turn that option on. I like to quickly record videos from the command line and I like to toggle ...
1
vote
0answers
16 views

Can I implement firewall-like internet blocking from ADB on a per app basis on stock Android?

Instead of using 3rd party app freezers, I've been using "pm disable-user" / "pm uninstall" for years to disable/uninstall bloatware. However, some apps, if uninstalled (or even ...
1
vote
0answers
23 views

ADB manual restore?

I've tried to do a full restore for a while now but i keep getting stuck on a specific app and when unpacking the backup and removing it a new problem occurs which is my phone being restarting when ...
1
vote
1answer
10 views

Soft Bricked Nexus 6P

Back in 2015, I rooted my HTC One M7. It was an adventure; I messed up along the way, soft-bricking my phone. Eventually, though, I managed to get it working again. That was five years ago. So, I ...
1
vote
1answer
45 views

Stock Android 10 device is offline for ADB commands on Linux, can't use USB Debugging

Trying to use adb tool 1.0.29 on a PC running Linux Ubuntu 20.04 to debug my Motorola Moto G7 Plus running stock Android 10 (hence not rooted) connected via USB. Previously it was working OK, I've ...
0
votes
0answers
31 views

Sending SMS via adb

I have used keyevent 66 to click on send, i can see that keyevent is working right its clicking on the desired button but still SMS not sent I am using following code still my message is not sent on ...
1
vote
1answer
26 views

How to sideload LineageOS?

I think I updated twrp and adb seems to be working: thufir@doge:~/android$ thufir@doge:~/android$ adb shell getprop | grep twrp thufir@doge:~/android$ thufir@doge:~/android$ adb shell shell@htc_m8:/ ...
0
votes
0answers
15 views

ADB hangs, listed as defunct. What is keeping it from working?

When I try any of: adb devices, adb shell, adb kill-server -- anything but 'adb version' and 'adb help' -- it just hangs. Nothing happens even after several minutes. Only ^C does anything, killing ...
0
votes
0answers
25 views

DHCP / PXE / TFTP Server on Android ? (8.x / 10)

For a project I'm working on I want to mount an ISO to a computer via PXE. For that to work I need some form of a DHCP Server as well as a TFTP Server running on eth0. I reckon that it should be ...
0
votes
0answers
47 views

How to root Android R emulator?

I faced an issue that Android R emulator cannot be rooted. First I launch the Android R emulator -> /Users/myname/Library/Android/sdk/emulator/emulator -avd emulatorname -no-snapshot -writable-...
0
votes
0answers
20 views

trying factory reset for Samsung 7560M but can't get to recovery mode

I have a Samsung 7560m phone: kicking about which I can't unlock. I've tried to unlock it as: At the beginning switch off the cell phone by pressing the Power key. Afterwards press and hold together:...
0
votes
1answer
14 views

Kodak Android TV Not able to connect via ADB on WiFi

Am trying to change the Homescreen of Kodak Android TV by follow the steps Completely change home screen on Android TV The TV and Laptop are connected on same WiFi. Able to ping the TV's IP. But when ...
0
votes
0answers
8 views

1st gen bricked KindleFire, Fastboot possible with ADT tools or Android studio?

I've a KindleFire that is bricked in the logo loop, and I understand that I need to access Fastboot to be able to write commands to it to try to reprogram it? Can I do so using adb or the sdk and a ...
1
vote
0answers
43 views

Bind command on ADB to Android Emulator problem

im sorry.. im new here.. i don't know where to start. i want to run some command in emulator (android). im running certain apps, and i need it to run and not to be detectable in emulator instead as ...
-1
votes
0answers
21 views

Deleted my home launcher [duplicate]

I deleted my home launcher after rooting my tablet. The USB debugging mode is off so I can't seem to open the tablet in safe mode either. Since USB debugging is of I cant use ADB drivers from laptop ...
0
votes
0answers
24 views

Samsung Galaxy A20, tried root. No OS installed. Sideload doesn't work

I was attempting to root and flash Havoc OS on my phone. I am in TWRP and I don't have the havoc OS image on my device's storage. All of my device has been wiped and there is no OS there anymore (...
1
vote
0answers
20 views

How to create image of internal storage to attempt data recovery? [duplicate]

I accidentally deleted an entire folder of photos a few days ago on my Galaxy Note 4. My PC was also down because of a failed hard drive, so I was unable to back up my phone prior to this accident. At ...
1
vote
0answers
17 views

How can I set encryption password, when making a backup with TWRP via ADB?

It is not about decryption, like others have already asked. I need to know how to set encryption key, via CLI. adb backup --twrp then what? Will it use my phone's encryption password? If so, why won't ...
1
vote
1answer
49 views

Does TWRP backup all apps and data, as opposed to ADB?

I need to backup every single user installed app, beyond system apps. I have heard that adb backup will only backup some of these apps (the ones which allows it). Although, I'm not sure if this is the ...
0
votes
0answers
16 views

v20/vs955 linux adb connection

I'm trying to update this phone to the latest software. Its not supported by verizon anymore. So I grabbed all the stuff from Lineage. Now I need to get the files off the phone. In the past I was able ...
0
votes
0answers
32 views

How to launch an activity in lockscreen mode via adb

I have locked my android device using pattern/pin. I want to launch activity from lockscreen itself via adb command. Is there anyway to achieve it? Example: Say I have an app with activity name com....
0
votes
0answers
53 views

What adb KeyCode commands can I use to close all recent apps?

I use the following sequence of KeyCode commands to clear one and only one app in the recent apps menu, technically called the "application switcher dialog" in the Android KeyEvent ...
1
vote
0answers
44 views

Any way to force change an Android device screenshot folder location / destination?

Is there any way to force an Android device to change it's screenshots file folder / destination location? Like ADB command or something? Something that is native and permanent? Something that isn't ...
3
votes
1answer
99 views

What is com.mgoogle.android.gms?

While checking the installed packages in my device through adb. I found two packages, com.google.android.gms and com.mgoogle.android.gms. I know the former is related to Google Play Serivces. What is ...
0
votes
1answer
35 views

How can I rephrase: adb shell “pm block com.sec.knox.bridge” to work in an Android 10 phone?

Hope I am asking the right kind of question. I recently gained from my father a brand new phone his company gave him shortly before his retirement. They gave it to him knowing he was leaving and were ...
0
votes
1answer
46 views

Which files does `adb backup -apk -shared -all -f <filename> back up? [duplicate]

I wanted to back up everything on my phone: call logs, messages, whatsapp texts, photos, videos, screenshots, screen video captures, recordings, app data... and everything else, before selling my ...
0
votes
0answers
16 views

Android phone don’t boot to logo and even recovery, after flashing firmware through twrp

Please help me my moto g2 2014 xt1079. I installed lineage 14.1 using twrp but sim was not working so i flashed a cm14.1 firmware in twrp after that i clicked reboot but phone goes off and didn’t ...
1
vote
0answers
50 views

How do I get fastboot/adb to find my device after a reboot?

I am trying to unlock the bootloader of my Samsung Galaxy J7 Sky Pro using this guide. If I do > adb start-server > adb devices I get my device as connected, however when I then reboot into the ...
0
votes
0answers
44 views

How To enable The “disable factory reset disabled by kill switch”

I am trying to block some one who has physical access to the device from factory resetting it- in the settings menu and by pressing Power_key + Volume_Down_Key and resetting it there. I Have Seen ...
1
vote
1answer
64 views

How to reset static IP address back to DHCP for ethernet

I have setup a static ip address for eth0 with adb command ip addr add $ipAddress dev eth0 plus other commands to set the netmask, route and dns values. My question is how to I go back to a non static ...
3
votes
3answers
233 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
35 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
36 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
59 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
86 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 ...
0
votes
0answers
93 views

How to connect 2 smartphones via WiFi Direct ADB to get the 1st to control applications run on the 2nd?

How to connect 2 smartphones via USB to get the 1st to control applications running on the 2nd? I don't mean the connection to be limited to screen mirroring or off-lione file transfer only. I need ...
1
vote
0answers
17 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
35 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
17 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
20 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
vote
0answers
32 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
126 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
25 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....
-1
votes
1answer
43 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
2 3 4 5
37