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
6
votes
4answers
7k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
0
votes
0answers
11 views

Dumpsys Meminfo reporting inconsistent values ((Free Ram + Used Ram + Lost Ram) > Total Ram) Nokia 1

Below is my log as stated in the title the value of Dumpsys Meminfo do not add up to total ram. My device is NOKIA 1 Android 8.1.0 To reproduce these results I opened 10 apps using adb shell monkey ...
0
votes
0answers
4 views

ADB shell get “stuck” connecting to Samsung S10, must open other ADB shell to “unstuck” it

I often use adb shell and other operations such as adb push and adb pull over a USB cable. On Nexus 5 it always worked perfectly. But since I switched to Samsung S10e I have this very surprising ...
16
votes
8answers
105k views

How to batch install apks from computer to android without actually touching my android

I want to batch install apks from my desktop directly. Such as I downloaded many apks on desktop and want to install apks without actually touching my android
-2
votes
0answers
17 views

ADB keeps showing my samsung as unauthorized

Adb keeps saying unauthorized on my Ubuntu and Android will not pop up with the menu to accept a computer with such and such ADB key hash. I got it to work once or twice by plugging and unplugging and ...
2
votes
1answer
3k views

Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

My Galaxy S7 Edge has a broken screen (totally black, and doesn't respond to touch). However, the phone does turn on and is recognized by Kies 3 and SmartSwitch. I am also able to unlock the phone via ...
0
votes
0answers
11 views

Backup/Recover data from broken screen Oppo A5

I had oppo a5 (4GB/32GB), Its working well, But, accidentally its screen broke. Mobile is working fine but screen is totally blank, touch is also not working. A lot of my personal and important data ...
0
votes
1answer
1k views

Laptop cannot detect Kindle Fire HD 8.9 in Device Manager

I have an old 8.9" Kindle Fire HD (model 3HT7G) and it is stuck in a recovery boot loop. I have found a way to get it out of this loop, but I need to use my laptop. The problem is, when I plug in my ...
4
votes
2answers
7k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount /dev/block/platform/msm.sdcc.1/...
0
votes
0answers
12 views

Android TV stuck at boot animation after using `reboot bootloader` in terminal emulator

I used reboot bootloader in terminal emulator of my android TV. Since then it's stuck at boot animation. I tried connecting it to my laptop using USB type A male to male cable and USB type A to C as ...
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 ...
0
votes
0answers
8 views

How to know if cell phone is running a test

I have a limited quantity of cellphones to run unit test. The only thing that I need to finish is know if a specific cellphone is running a test before set desired capabilities. I'm trying getting ...
1
vote
1answer
33 views

unable to go into fastboot on LG phone

I have been told that LG phones are painful to get into fastboot but i didn't realize it was impossible. I have the LG K8 2017 (LG-M200n) and I have tried all: #adb devices shows the device is listed, ...
0
votes
1answer
905 views

Change UUID of Android Device

I'm trying to change bulk devices UUIDs using DroidExplorer I've opened /data/data/com.android.providers.settings/databases/settings.db selected android_id from table secure to change the value. I ...
0
votes
1answer
5k views

Installing ADB drivers for Micromax A89 Ninja - Windows 8

Micromax does not provide any drivers for its phone - Micromax ninja a89. We are trying to use the phone for development and are unable to install device driver in windows 8. We tried the adb ...
0
votes
0answers
20 views

Root and android phone with broken screen [duplicate]

Hi guys. Is there a way to root my phone which is a Samsung J1 (J120F), I managed to enable the USB debugging so i can access the phone via screen mirroring using vysor / scrcpy, but i can't access ...
1
vote
2answers
775 views

Remove a folder I created in /system/lib

I have root access and am able to remount. I created a folder in /system/lib/ named rfsa, but I don't know why I cannot see or open that folder. When I type ls, it is there. But when I type ls -l, I ...
1
vote
0answers
11 views

fastboot doesn´t see device but device manager & windows does

I am trying to unlock the bootloader of my Umidigi F1. ADB works, recognizes my phone but once I get into fastboot mode, fastboot devices does not display and devices. I did install all the drivers ...
15
votes
2answers
52k views

How to use ADB to list remote directories?

I used adb push lol.png /storage/sdcard0/ to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to ...
0
votes
1answer
4k views

push and pull command return “push: not found”

I can't seem to pull or push files from my phone. The file exists, and I can get into adb shell. But whether I do the command adb pull or adb shell and then pull, it doesn't work. If I do it via ...
0
votes
2answers
60 views

How to reinstall an accidentally uninstalled app through ADB?

Yesterday when removing bloatware from my phone, I accidentally uninstalled an app using the adb command: pm uninstall -k --user 0 I suspect the culprit to be com.sec.factory.camera, as since that ...
1
vote
0answers
9 views

inject recorded audio in an in-going call

I need to inject a recorded voice during a live call to test the network, how can I do that? I got a rooted device working on Qualcomm MSM9889 soc.
0
votes
2answers
4k views

Enabling developer mode in reliance lyf?

How to enable developer mode on reliance lyf mobile phones??I looked for all options in settings but haven't found anything to enable developer mode!!!Is developer mode option available on it or not??...
1
vote
1answer
1k views

How to boot from download mode into recovery mode

Two days ago when I was going to use my Galaxy Note 8.0 GT-N5100 tablet I noticed it was off, but minutes before it was on and working, so I tried pressing the power button and nothing happened, ...
48
votes
3answers
95k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
0
votes
1answer
864 views

Broken OnePlus One - Data recovery possible?

So I've got a OnePlus One that's been badly smashed up (no screen or digitizer), and I was wondering if there's any hope of trying to rescue some (or even all) of the data off it? Some details: 1 - ...
0
votes
2answers
751 views

How to install Android ADB drivers on Windows? (Any Android Phone)

How can I install the Android ADB drivers on a Windows 8.x PC/Laptop? I followed tutorials on the internet but nothing worked for me. PS: The adb driver should be compatible with any Android ...
4
votes
1answer
2k views

Cannot root phone by installing superuser.zip CWM v6.0.5.1 Stable

Xiaomi redmi 2 runs MIUI 6.2.4.0(KHJCNBK) In order to install CWM, I downloaded both the adb and fastboot, I extracted recovery.img in the folder, together with them. I entered fastboot mode. Then, ...
0
votes
2answers
804 views

Forcing an Android tablet to connect to a wifi from PC

A while ago, I had a tablet (Coby Kyros MID9742), that got shelved when the screen quit (half of the area of the touchscreen won't recognize touches, split among 2 sections). I am trying to repurpose ...
0
votes
1answer
2k views

Fastboot command returns a list of question marks

I am trying to root an Acer Iconia Tab A200 tablet using a script. I have adb working and fastboot works too, however, command fastboot devices returns a list of question marks. Eg: ???????????? ...
2
votes
1answer
869 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
1
vote
1answer
738 views

Micromax a104 SP flash not detecting mobile and stuck in bootloop

Device Micromax A104. The phone is not rooted neither the usb debugging mode is on. the phone was fully affected virus or some other bugs. It was hanging and responding very slowly. so i decided to ...
0
votes
0answers
29 views

Disable service via ADB

I would like to disable an update service in Android Pie using ADB, same as it is used for disabling applications (packages). Service to be disabled: android.os.UpdateEngineService Assumed command: ...
1
vote
1answer
869 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
0
votes
1answer
956 views

How to search “My apps” on google play or show a text listing?

I have quiet a number of android devices. Not all of them have the same apps. On Google play it shows a My Apps section that shows a picture with the name of the apps in what appears a random order. ...
0
votes
1answer
34 views

Using wlan1 instead of wlan0 in Android Nexus 6

I am trying to use a WiFi dongle with Android Nexus 6 with custom ROM and kernel. I have installed drivers of USB WiFi dongle on Android phone that appears at wlan1 network interface in adb shell. ...
0
votes
0answers
20 views

help fastboot wont flash my image to my nextbook 11a

this is the commands i put in and the results PS C:\Users\ILIKESHEEP\Downloads> fastboot devices CHTT3B5D3960 fastboot PS C:\Users\ILIKESHEEP\Downloads> fastboot flash recovery twrp.img sending '...
3
votes
1answer
901 views

ADB authorization prompt missing in Sony Xperia Z3 Compact (D5803)

I just bought a Sony Xperia Z3 Compact (D5803) and I'm trying to root it. I'm following this link for instructions, but I got stuck at the "Rooting with exploit" step as I can't authorize the ...
0
votes
1answer
857 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
0
votes
1answer
579 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
19 views

partially melted phone. can i still access my files?

I have Xiaomi Redmi note 3 that came in contact with a fire. I brought another one second hand and have transfered the mainboard from the melted phone into the new body. It seems to boot up but ...
2
votes
1answer
931 views

Differences between fastboot erase and fastboot format

I have an asus zenfone 2 laser with radio problem:it doesn't take the line.I want to format modem partition to see if the problem could be solved.I jave a doubt:what is the difference between fastboot ...
1
vote
1answer
974 views

execute ussd from shell-script

Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb): service call phone 2 s16 '*100#' ...
1
vote
1answer
752 views

ADB backup restoration on an older Android version

I have made an adb backup of my OnePlus One running an unofficial CM12 ROM based on Android 5.0.2. Is it possible, considering the latest release of Android for the Nexus 5 is 5.0.1, to then restore ...
0
votes
0answers
30 views

Platform tools issues in Windows 10 (twrp recovery flash)

I have a pocophone f1, I had installed a custom rom (lineage os) before and I remember having trouble getting twrp flashed before using my old ass laptop and it working just fine. Since then (I ...
1
vote
1answer
1k views

turn the speakerphone on a call? ADB Shell

I'm trying to find a command in adb shell that lets me turn on the speakerphone when I start a call. First I make the call adb shell service call phone 1 s16 "" s16 "#####" the call starts and I ...
0
votes
0answers
27 views

Can't flash stock MIUI ROM, Updater process ended with signal: 7

Okay so, I've tried multiple guides and seen multiple questions and problems similar to mine, but none of them helped me in any way. I'm trying to flash the stock MIUI rom on a Pocophone F1 via adb ...
1
vote
0answers
32 views

How to switch between APNs using adb?

Is there any adb or shell command available to switch between different APNs?
0
votes
0answers
31 views

Backup app data from Android 4.1.1

I need to backup app data (some games) from Android 4.1.1 (Xiaomi Mi2S) and than restore them on Android 9 (Xiaomi Mi9T). I have tried using adb backup, but current version is not compatible with ...
0
votes
1answer
368 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 ...