The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Boot loop recovery with access to Download / Recovery modes, OEM / FRP lock enabled

Context: I have a Samsung Galaxy Tab S3. Which, seemingly sudden, entered a boot loop - The Device name and Samsung logo screens will cycle indefinitely until There is no power left or I interrupt ...
0
votes
0answers
9 views

Connect FireTV to a SSID via adb command line

I am trying to connect to a SSID from FireTV via adb command line. All the answers I got is to pull /data/misc/wifi/wpa_supplicant.conf make changes. But, I can not find that file. I want to add a ...
1
vote
1answer
34 views

How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash I'm able to run ls but anything else says permission denied or error:closed. / $ ls ...
0
votes
0answers
12 views

“mount -o bind” command does not work [duplicate]

I ran this mount command to link a folder in /data to /storage/emulated/0: mount -o bind /data/directory_1 /storage/emulated/0/directory_2. Although there was no errors, in the mounted directory (/...
0
votes
0answers
16 views

Phone not recognized by computers at all. No adb, usb, lsusb, fastboot

For over a year my phone had no issue connecting to my computer via usb cable. I could transfer files back and forth via adb no problem. It stopped being recognized about a month or two ago, So I've ...
0
votes
0answers
18 views

How to mount 100% ext4 sd in Android Pie?

My phone (Redmi 6A) is running Android Pie(MIUI). How do I mount a 100% ext4 formatted sd card, such that it would be seen by vold? My phone is rooted. I am not experienced with the android shell ...
0
votes
1answer
32 views

Local equivalent to adb install

With a PC connection and adb, I can install packages by running adb install foobar.apk There is also an option to downgrade a package to an earlier version and keep data (as long the app itself did ...
0
votes
0answers
34 views

Get raw app usage data

Android seems to keep a log of the past week of app usage. It seems that there are many applications that are able to get this "App usage" permission and by querying some underlying api get all the ...
0
votes
0answers
14 views

How to set WIFI HTTPS proxy via adb shell?

How to set WIFI HTTPS proxy via adb shell? For HTTP i found one link How to set WIFI proxy via adb shell? But i want to setup HTTPS prxy via adb shell
-1
votes
0answers
40 views

How to copy internal storage files from a soft bricked phone(LYF wind) to PC?

I have LYF LS 5018, version 5.1.1 and every time my phone would crash, the wallpaper would set to the default wallpaper that came with the phone. So, I renamed my favorite wallpaper as ...
-1
votes
0answers
10 views

ADB pull from a partially corrupt SD card: remote read failed: I/O error

I want to back up my corrupt sd card so I can format it and set it up from scratch. Unfortunately, I have no SD card reader around so I'd like to pull all data using adb. However, adb always stops ...
0
votes
1answer
18 views

Should my “adb backup” include the system files or not if I'm planning to downgrade my Android version?

I'm using Oneplus 3t on the latest Android 9 OS. I'm planning to downgrade it to Android 8 and hence backing up my data with adb first. adb backup "-apk -obb -shared -all -nosystem -f d:/other backup/...
0
votes
0answers
16 views

How to switch active slots without a computer or rooted device

Essential PH-1, Liquid Remix ROM api 28, not rooted, no Gapps, bootloader unlocked. Problem: current slot A, where the ROM boots from, does not have custom recovery installed. However TWRP is ...
0
votes
0answers
22 views

does adb backup also backup /data/misc/vold?

I want to make sure that using adb backup -apk -shared -all -f ~/backup.ab will also save /data/misc/vold? I am trying to backup before rooting, in order to be able to gain access to the encryption ...
0
votes
1answer
35 views

Permanently delete apps using Titanium Backup (they keep re-installing!)

Phone is rooted, running a custom ROM. I am using Titanium Backup, it has been given root privileges. I am trying to uninstall the following: default Files (I prefer X-Plore, yet, many apps keep ...
0
votes
1answer
44 views

Is it possible to get the SHA256 of an APK solely through ADB?

I am currently working on a project which will identify malware that are residing on a device. My aim is to make a hash-based detection of Android malware on a device by only accessing the ADB port ...
1
vote
1answer
50 views

Missing “Manage root accesses” under developer options in LineageOS 16

My phone is Mi 5s Plus 6GB/128GB. After a clean installation (flashed MIUI 9.6.27 first) of official LineageOS 16.0 Sep 19, 2019 I can't find "Manage root accesses" under developer options. After ...
0
votes
1answer
66 views

is it possible to activate usb debugging using adb command line?

i have xiaomi phone and forget mi account. so i try to restore it using factory reset. i try to enabling USB debuging then. but it says "developer option is not avaiable for this user". adb is active. ...
0
votes
0answers
85 views

adb install apk successful on device (or emulator), but not found

I am using command line to install apk on devices and emulators. There is only one device at one time, so I don't have to specify the device's name. adb install file.apk output: Performing Streamed ...
0
votes
0answers
54 views

How do I open a .ab file on my computer

I have a windows 10 desktop and I did a few google searches and from what I have read it's possible to open the file through Android Studio somehow? I have also read stuff to do with perl, java, etc ...
0
votes
0answers
7 views

nvidia shield tablet is not booting

I have still this brand new nvidia shield tablet which I got after recall. The thing is, after I've got it and whole reinstall, I haven't used it for several months. When I was about to use it a few ...
0
votes
1answer
209 views

Pixel 3 stuck in Fastboot mode with “no valid slot to boot” when trying to install factory image

I was trying to install the factory software image from https://developers.google.com/android/images#blueline on my Pixel 3. I downloaded the image as well as the platform-tools with adb and fastboot. ...
0
votes
0answers
14 views

Wear OS: Sideloading Android App, missing maps library

I wanted to sideload the Polar Beat app to my Wear OS smartwatch but when i was sideloading it with ADB i got this error message: Failure [INSTALL_FAILED_SHARED_LIBRARY: Package couldn't be installed ...
2
votes
1answer
53 views

How to use setprop via adb shell in recovery?

I messed up flashing a beta Android Q build on my phone. After that, I can't flash my stable ROM without error 7 in TWRP - device mismatch. Removing the assert works, but not a permanent solution. ...
0
votes
0answers
18 views

Android Portrait Rotation Resolution Change

please see question related to: Allow rotate into portrait mode but do not rotate external display The answer has worked perfectly for changing the orientation. However... The phone is only outputing ...
0
votes
0answers
28 views

Connect to Android phone stuck in boot

I would like to access the data from my Android phone stuck in boot. Is it possible to connect using ADB or anything any this stage? Details: I have a Huawei Mate 20 Pro purchased April 2019. I ...
1
vote
1answer
77 views

How to run a script in background from adb shell?

I have a problem with USB tethering on my rooted Nougat phone (LineageOS). After some time phone stops USB tethering. To fix that I run the following script like this: adb shell su nohup sh tether.sh ...
0
votes
0answers
46 views

How to make setting persistent with adb

The next command enables phone call recording in OnePlus phones (may be others too): adb shell settings put global op_voice_recording_supported_by_mcc 1 But after reboot its effect is disabled. My ...
0
votes
0answers
61 views

How to unlock Surelock without uninstalling/factory reset/without password

I have a Lenovo Tab 4 10 locked down by surelock. I don't know the password and I don't want to uninstall/factory reset my tab. I just want it to stay there in the side while I can use my tab normally ...
0
votes
1answer
26 views

Is it possible to backup without root?

I tried restoring a TWRP backup of my Pixel 3 and it ended up putting my phone into a bootloop. I downloaded the latest factory image and reflashed (not knowing the latest version bootloops when ...
0
votes
0answers
13 views

How to install android on a blank phone? [duplicate]

Say I have a phone that I have wiped completely (all storage on the device has no data on it). Is there any way to install android on a phone without using a bootloader? like can I take an android ISO ...
0
votes
0answers
41 views

Android 4.2.2 adb connect

I know there's plenty of threads with advice on how to connect Android 4.2.2 device to adb. My situation is a bit different. My device is not of a particular brand. Nor is it a phone or a tablet per ...
1
vote
0answers
89 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
43 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 ...
0
votes
0answers
35 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
43 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
10 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
107 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
23 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
20 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
52 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
166 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
78 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
39 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
54 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
39 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
25 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
47 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?