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
0answers
20 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 ...
-1
votes
0answers
19 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 ...
0
votes
0answers
12 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
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 ...
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
34 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
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
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 ...
1
vote
0answers
10 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
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: ...
0
votes
2answers
61 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 ...
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 ...
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 '...
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 ...
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 ...
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
0answers
16 views

Cron job over adb possible?

I'm trying to use my phone less. I've managed successfully to remove apps via adb. My question is if it's possible to have apps disable/remove via their package names over adb, and then reinstated on ...
0
votes
1answer
29 views

ADB: what are system/secure/global namespaces about?

In the 'settings' command (i.e. which invokes cmd command) there are 3 namespaces system secure global What are these and why are some features on one rather than another?
1
vote
0answers
32 views

fastboot cannot see my phone (moto3g) when adb can

Introduction: My phone is moto3g (bootloader unlocked), my OS is Debian GNU/Linux 10 (buster) and I want to install Debian native on it. To do so, I need root my device, and to do it i have to use ...
0
votes
1answer
49 views

adb device doesn't listed on cmd {Lenovo K8 Plus}

I am trying to root Lenovo k8 plus after unlocking Bootloader try to install twrp as somehow the twrp recovery doesn't open and phone struck in the bootloop. Then I fastboot the device and connect to ...
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
33 views

Where do I find the Samsung S5 private folder in adb?

So my dear old Samsung S5 has died in a bootloop. But before I either wipe it or trash it I wanted to recover my old photos. I've managed to pull most of them by going into their folders and then pull ...
0
votes
0answers
14 views

ADB logs for PUBG Mobile

I extracted PUBG logs while playing the game using command: adb logcat | findstr "fps". Can someone explain to me what does these values shown in the picture signify. Is the fps value actual frames ...
0
votes
1answer
43 views

adb shell input text with space not working

adb shell input text 'Hindustan%sTrading%sCompany' Gives Company in Gboard adb shell input text 'Hindustan%s' Just gives a space adb shell input text '%sHindustan' is working fine. so word before ...
0
votes
0answers
31 views

How to get IP address from DHCP running on WiFi AP using adb shell?

I am connecting to my WiFi network from adb shell using the following command: iw dev wlan1 connect -w WiFi-AP There is a DHCP server running on the AP as well, but whenever I try to get IP address ...
0
votes
0answers
19 views

Diagnostic mode in Nexus 5 - Cannot access dev/diag directory

I am currently trying to enable diag mode on my rooted LG Nexus 5 (android 6.0.1), in order to work on a network traffic analysis program. This program requires access to dev/diag directory, which for ...
0
votes
0answers
27 views

System storage is showing full even when it is not. So I can't install apk as system app

I have OnePlus 6 with latest Open Beta. It is rooted. I have done everything but I still can't install any app as a system app. I have tried Link2SD and Titanium Backup. I have tried to copy/paste the ...
0
votes
0answers
68 views

Backup data from android device (Xiaomi mi A2)

I need to backup data from my android phone. OS is broken (unknown reason). see attached sreenshot https://i.stack.imgur.com/znSXR.jpg I can't enter bootloader - device stucks. That's the only options ...
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. ...
1
vote
0answers
32 views

Installing a homebrew/linuxbrew formula on an Android device

How would one go about installing a simple homebrew/linuxbrew formula on an Android device via adb? Specifically, I want to install this formula which contains a cli tool called aamath that translates ...
0
votes
0answers
36 views

USB OTG not showing WiFi network even after drivers are installed in Android kernel

I am trying to connect to WiFi using a USB WiFi stick by making use of OTG on my Android Nexus 6. The USB WiFi stick has a separate AP. However, I am unable to see this AP in the list of available ...
0
votes
0answers
15 views

Adb TWRP android tablet

I delete a file inside TWRP on the tablet and suddenly I can't see any android app. This is what the screen looks like, how do I recover back my table operating system. I'm seriously in big trouble ...
0
votes
1answer
62 views

Install APK from ADB and bypassing the prompt on Redmi

Device = Redmi 5 Plus. I have 250 apps as a .bak created by PC app. But the cheater PC app is asking for premium to restore it now. So, I can extract the .bak and find my apps. I wanted to batch ...
0
votes
0answers
34 views

Reboot or recover data from blocked android using fastboot or ADB toolkit

Reboot or backup blocked android using fastboot or adb toolkit I used adb toolkit to uninstall proprietary android packages, but as I was removing apps something went wrong and my device got blocked. ...
0
votes
0answers
20 views

is there a way to dump android user gesture to adb console?

I am trying to dump android user gesture such as touch screen (x,y) sweep screen (x1,y1,x2,y2) to adb console? per doc, adb shell dumpsys could be used for this. this command adb shell dumpsys ...
0
votes
1answer
227 views

TWRP unable to wipe or format `Failed to mount '/system' (Device or resource busy)`

I'm trying to install LineageOS and then GAPPS on my Pixel XL from TWRP recovery. I'll try to Advance Wipe the /systems directory and Format Data, but I continue to get multiple errors: Failed to ...
0
votes
0answers
33 views

How will I know what exactly I need to uninstall

I'm on a galaxy s10+ and let me just say, I have OCD really bad lol. So the s10+ came with a lot of bloatware, and currently there's no root method for the phone I have, which leads me to use adb PM ...
0
votes
0answers
47 views

Encryption/decrytion

LG V30+ US998U version Have struggled extensively to get AOSP running on my device. Would wipe data and reboot TWRP; flash DM-verity and no-encrypt also did not help prevent bootloop. But on to my ...
0
votes
0answers
21 views

How to get unattended access to Android device

For a Xiaomi Redmi note 4 device running Android 7 I would like to get unattended access ( Teamviewer - like ) to the device for the purpose of smart home control I know the support is there, I ...
0
votes
0answers
14 views

How do I directly launch to General tab within Settings via ADB?

I am able to launch Settings via adb. But how do I directly launch the General tab in settings? I am able to launch it to settings currently with, but not to the general tab: adb shell am start -a ...
1
vote
1answer
58 views

what in xposed caused this bootloop and how to prevent it from happening again?

My android phone is stuck in a boot loop. To troubleshoot it I was able to boot into TWPR and use adb pull /sys/fs/pstore/console-ramoops to get some boot logs (is that even the right file?). When ...
0
votes
0answers
23 views

What is adb error on Android?

I want to send a file from my PC in Android recovery mode, but I can not get an error. The error is as follows: adb push file.zip *daemon not running; starting now at tcp:5037 could not read ...
0
votes
0answers
85 views

Fastboot doesn't see device but ADB does (windows 10)

I am attempting the unlock the bootloader on my Google Pixel 2 XL. I know this problem seems to be very common, but I have yet been unable to find a solution for my particular case after searching ...
1
vote
0answers
13 views

I am unable to enable cam2api on my ZMPM1, what should I do?

I have installed the latest versions of adb and fastboot and qualcomm usb driers for my phone - zenfone max pro m1. I tried running the command - "fastboot devices" and it runs perfectly ( when I have ...
0
votes
0answers
24 views

Can I access an app's data folder by installing a custom build of that app?

I want to access the data for two apps (Mozilla Firefox and Google Authenticator) on my non-rooted[1] Android 6.0.1 phone, to transfer it to a new phone. Unfortunately, both of these apps have ...
0
votes
1answer
22 views

Is there a way to push the results of an adb query to a file?

I have a couple of adb commands that I'm running in PowerShell. Specifically: adb shell settings get secure bluetooth_address; adb get-serialno Is there a way to do an 'adb push' of that data to a ...
0
votes
0answers
27 views

Not granting permission because it was previously installed without?

An app i installed fails at startup, in the logs i see this permission problem: Not granting permission android.permission.ACCESS_FINE_LOCATION to package com.nianticlabs.pokemongo because it was ...
0
votes
0answers
22 views

Attempting to fastboot LG Tribute Dynasty,

So I am currently trying to flash an operating system onto my android and every time I try the command adb reboot bootloader It fails. The command simply reboots the phone like normal. Device: LG ...
0
votes
1answer
51 views

SystemUI.apk is not in /system/app

I tried to pull SystemUI.apk on my Samsung Android Pie/OneUI and it seems like it's either in some other directory than /system/app or has been renamed. I tried to pull this through adb. Tried ...