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

Reducing Tx_Power for mobile hotspot - hostapd.conf

I am using rooted Samsung J2 pro with Marshmallow 6.0.1. My mobile hotspot uses a lot of battery. And this battery usage is reported by Android OS process by Smart Manager. I have reduced the tx_power ...
0
votes
0answers
22 views

Can I bring android usb tethering network together with the wifi that android is connected to?

Since my computer does not have a built in wireless adapter and most market wireless adapters are horrible, I am using an android USB tethering feature to give my computer connection, while the ...
1
vote
0answers
33 views

/data - Error: Failed to open the device

Device (Nook HD+) will not boot. It was running LOS 14.1 with TWRP recovery, to which I can still boot up, but any attempts to wipe, or format the /data partition fail. I also can access the shell (...
1
vote
0answers
11 views

ADB requires drivers that are installed, not fastboot though, what drivers are required for fastboot?

I want to use ADB to backup everything on my phone so I can use CFAutoroot and restore root permissions, without erasing my entire phone, or deleting an app. I've had issues with this phone, I still ...
1
vote
0answers
16 views

How to “adb push” files from linux to android without the non-permissive symlinks

I want to push over 120K small files including symlinks using "adb" but without those links if they fail in "remote symlink failed: Permission denied" to Android device.
1
vote
0answers
28 views

What are the adb commands for Wipe>Swipe right to Factory Reset>yes in TWRP?

Question What are the adb commands to perform the following action sequence in TWRP: First click Wipe, then Swipe to Factory Reset, enter yes? TWRP documentation The interface shows the wipe>Swipe ...
1
vote
1answer
26 views

Booting Fairphone Open OS automatically after sideloading from TWRP

After writing a bash code that automatically installs LineageOS on the Fair Phone 2 (FP2), I am also implementing the "reverse" OS installation, from LineageOS to Fairphone Open OS. From ...
1
vote
0answers
36 views

Is it possible to unbrick an Allwinner Adroid tablet?

A few months ago I got my hands on a cheap allwinner tablet. I wanted to experiment with running linux on it, but in the process of my experimentation I (stupidly) deleted/overwrote both the /boot and ...
1
vote
0answers
36 views

Device not detected in fastboot | REALME 3 PRO

I have device Realme 3 Pro. And I am trying to install TWRP. So, I downloaded In-depth test apk and got application reviewed. Then I booted into fastboot and device is not showing in device manager. I ...
-1
votes
0answers
12 views

if USB cable is not plugged, it will restart after 10 seconds while fast boot in redmi note 4 [closed]

fastboot automatically reboots This solution does not work: https://forum.xda-developers.com/t/fastboot-reboot-after-20-seconds.3673456 if USB cable is not plugged, it will restart after 10 seconds
0
votes
1answer
27 views

How to get the Stoock ROM from Huawei P30 lite New Edition (MAR-LX1B)?

I am trying to root my new Huawei P30 lite New Edition(MAR-LX1B). I found out that there is no official version of TWRP for Huawei P30 lite New Edition(MAR-LX1B). After a long research I found out ...
1
vote
0answers
41 views

Smasung Galaxy A51 stuck in bootloop, recognized by adb, not responding to adb commands

I have a Samsung Galaxy A51 that is stuck in a Boot-loop. Phone was originally water damaged, but worked until my Dad tried to charge it. I replaced the inside part of the phone with the USB port. ...
1
vote
1answer
64 views

How to install LineageOS in TWRP using `adb push`?

Question (TL;DR) How can one (manually) sideload a LineageOS zip file that is pushed on the phone using TWRP? Context while installing this lineage-17.1-20210430-nightly-FP2-signed.zip, with the ...
1
vote
0answers
32 views

Mass setup of Android devices

I want to setup the same account on 300+ devices. I did that for 4 devices and I am tired. Setting up new device includes: manually doing all ok/next/skip choices connecting to WiFi + installing ...
0
votes
1answer
34 views

Does `pm uninstall` also automatically execute `force-stop` and `clear` on a non-rooted device?

This is for non-rooted stock ROM's. To get rid of one single app, I've been executing the following commands: (Step 1) disable-user (2) force-stop (3) clear (4) uninstall (5) clear Steps (1) and (2) ...
1
vote
0answers
9 views

How can I create a list of files in a folder with adb, including time stamps?

I'm a new adb user and am trying to build some automation with images from my Android. I've been able to connect, 'ls' and push/pull files. What I want to do is determine the most recent file(s) in ...
1
vote
0answers
31 views

Unlocking device without virtual keyboard?

I have just uninstalled Gboard from my device, using adb shell. However, unfortunately it seems my device cannot use OpenBoard, the virtual keyboard which I installed from F-Droid, from the lockscreen,...
0
votes
0answers
29 views

weird sound clip plays randomly. how to track/find it. was I hacked?

Samsung Note 8 running Android b. 9 here is a screenshot of SW info: My Android is playing weird 5-10 sec sound clip at random times. It sounds like a combo of a hippo and then a slot machine ...
1
vote
0answers
25 views

HP Slate 7 VoiceTab not entering Recovery Mode

I have a HP Slate 7 Voicetab running Android 4.4. I was trying to root it through Kingo Root and then flashing with a custom ROM using TWRP. But I think I made some mistake and now it won't boot to ...
2
votes
0answers
68 views

Uninstall system apps on rooted android 10

I've been trying to remove the chrome, youtube and playstore applications from my android device, however, I've run into some issues. I've tried rooting my device, but the systems folder is hard-coded ...
1
vote
0answers
14 views

Dismiss ANR dialog on rooted device

I have a device that is rooted that is just used to display information on the screen without user interaction, screen is just a regular screen not a touch screen. Since my device is rooted is there a ...
1
vote
0answers
43 views

ADB Reboot Failed: -1 When using “adb reboot bootloader”. (Infocus M530)

I have an Old Infocus M530 (Mediatek 6595) running on Android 4.4.2 (KK) (Which i believe is made by Foxconn), I've been trying to make some Custom Recoveries for this device for quite some time and i ...
0
votes
0answers
62 views

Permanently disable WiFi on an Android phone by renaming/deleting it via ADB

I want to permanently disable WiFi on an Android phone in a way that cannot be reverted without flashing the firmware via ADB. The best way to do it, I'm guessing, is to rename or delete the firmware ...
0
votes
0answers
16 views

How can i set my 4g card to work in 4G(LTE) mode using adb command

I am using Android 7.1 board (Android Development board), The board have 4g module, I have inserted my phone card into it, the card works in 3g mode as default after booting, every time I need to tick ...
1
vote
0answers
20 views

Xperia XZ1 won't boot after changing to pseudolocale

This would be the most ridiculous brick I've encountered 😄 What I did: Having enabled Developer options, I tried setting cibarA [XB] (Arabic when reversed) as my main language. As I figured out now, ...
1
vote
1answer
28 views

ADB wireless :- problem with IP

I use adb wireless tcpip connection but every time I connect my device to my router it assigns a new IP address to my android device which requires me to plug my phone again and restart adb in tcpip ...
0
votes
0answers
21 views

How to keep adb TCPIP on after a reboot?

I am using android 9 (lineage os 16.0) Is there anyway of retaining the TCPIP on status after a reboot? It's annoying to continuously reconnecting it to pc than moving it to charger. I am aware that ...
2
votes
0answers
22 views

Charging/USB Notification Not Appearing on LG X Charge

For the past month I have been trying to connect my phone to my Ubuntu Linux with little luck- for context, I used to run Linux Mint and managed to get things to work just fine. However, I switched ...
0
votes
0answers
12 views

What is the package name of the Workspace app? [duplicate]

I would like to disable the Workspace app with the command below but cannot seem to find the right package name. Does anyone know the package name? adb shell pm disable-user --user 0 <package_name&...
2
votes
0answers
112 views

How to decrypt /sdcard | Keymaster HAL 4 | Unexpected value for crypto key location

-Update: Looked into TWRP log, and it seems like it has key problems: I:Setting up '/data' as data/media emulated storage. I:mount -o bind '/data/media' '/sdcard' process ended with RC=0 I:mount -o ...
1
vote
0answers
21 views

TWRP 3.3.1 help

I'm using TWRP 3.3.1 right now with device with dead screen. So I need to use adb commands to do backup and wipe. I did read the commandline guide available at https://twrp.me/faq/openrecoveryscript....
1
vote
0answers
49 views

How to enable USB debugging from TWRP recovery

I have a android device with dead screen. I have installed TWRP recovery for adb interactions while in recovery. I have lineage os 16.0 (Android 9) on my device. I want to access the device screen via ...
1
vote
0answers
22 views

Can I use apps like LADB WiFi ADB or Wi-Fi Debugging without needing a USB cable ever during the process?

I have an old Android tablet that had been rooted but my phone hasn't been rooted....yet. What I need to understand is if there's a way to use my tablet to perform edits on my phone without EVER ...
1
vote
0answers
31 views

Accidentally wiped /system, recovery not working

I accidentally wiped /system on my Archos 101e Neon (MT8163) through fastboot. Now it can't boot and can't go to recovery or fastboot mode. I tried vol -, vol + and both. It's just stuck on the first ...
1
vote
1answer
30 views

Scrcpy calling ADB commands while running possible?

Hello all I am using the program scrcpy in order for me to control my Android phone from my PC. It all works just fine with showing the android screen but I am wanting to call an app from within the ...
0
votes
0answers
22 views

Are calls able to be monitored through pc when you receive a call?

Hello is there any possibility of this being done through wifi with adb or without adb? I have my laptop that I would like it to monitor calls from my 2 smartphones at once : for example someone calls ...
2
votes
1answer
53 views

Does the latest Android release is secure against the ADB vulnerabiliy?

I have two smartphones running Android 10 and 8, The ADB is enabled for many proposes. Generally some vendors have been shipping products with Android Debug Bridge enabled. But it seems that enabling ...
0
votes
0answers
62 views

Does adb shell RUN_IN_BACKGROUND ignore really works?

I did ./adb shell cmd appops set com.whatsapp RUN_IN_BACKGROUND ignore for lots of apps in my android. However, when I go into the app settings, I still can press "force stop". Does that ...
1
vote
0answers
18 views

ADB and Galaxy A71 5G

I use ADB to reprogram the toggle for Airplane Mode such that turning on Airplane Mode does not turn off WiFi and Bluetooth. The command is: adb settings put global airplane_mode_radios cell,nfc,wimax ...
1
vote
0answers
30 views

How to install recovery image with fastboot? (Asus zenfone go 5.5 zb551kl)

I have an old phone "Asus Zenfone go TV zb551kl" and I am trying to fix it so I can give it to my nephew. It had a problem where the only thing that it can load is the "fastboot". ...
1
vote
0answers
70 views

Unlock phone with adb without text or keyevent input

Is there a way to unlock an Android phone with adb using adb shell without a keyevent input?
0
votes
0answers
11 views

Moto Z2 Play crashed, now stuck in boot mode

Phone crashed (apps suddenly started flashing up and went to black screen). Now stuck on the M for Motorola when I try to reboot. I got a unique_key unlock code from Motorola and used the command ...
1
vote
0answers
54 views

Android device ro.crypto.state returns “encrypted”, but I can access the /data partition. How?

I have a OnePlus 3 with an unlocked bootloader and LineageOS. I forget the PIN and I am trying to recover access to it, and I have access to the recovery. The data is encrypted. My understanding is ...
1
vote
0answers
37 views

Redirect the output of 'time' to a file

I'm getting the following error when trying to capture the output of time to a file (reference). adb shell su 0 "{ time -p echo hello world; } 2> /data/local/tmp/file" /system/bin/sh: ...
1
vote
0answers
24 views

How to suppress the welcome note and sign-in form on freshly installed chromium(for android) browser startup

I have created a script for modifying the chromium browser's behavior when it starts. If the browser is freshly installed and if anyone opens it for the first time, the user will get a welcome note ...
4
votes
1answer
111 views

List devices/computers that have been authorized for ADB USB Debugging

I want to know which devices I have already connected to my computer with my ADB or know which computers I have connected to my phone previously. Either way works for me. adb devices -l does not show ...
0
votes
0answers
45 views

Android ADB Port forward returns CONNECT aborted with curl

I'm trying to use my phone's data connection as a proxy on any port on my PC. I've enabled the port forward with: adb forward tcp:5001 tcp:8080 and I get 5001 as a response from the adb shell. ...
0
votes
0answers
545 views

How can be deleted the com.android.cts.priv.ctsshim?

I have been told this is a compatibility test suite, but it is safe to delete? if so, how can be deleted from the device?
2
votes
0answers
86 views

How to mount sdcard as “internal” using custom filesystem on Android 10 (root access only via adb)

How can I properly mount my SD card as "internal" (i.e. so that all apps are on it) using a custom filesystem (in my case Ext4, but I'd like to use full-disk encryption using a key that I ...
0
votes
0answers
51 views

How to fix completely non-functioning Gionee S10C Android phone?

My phone is Gionee S10C and I have Android 7.1.1 installed on it. I was going to upgrade the Android version to 10, but Gionee no longer provides OS updates(Not sure whether the company even exists ...

1
2 3 4 5
40