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

What folders on Android besides /sdcard, com.android.. telephony and contacts should be backed up to preserve common data?

I want to wipe my phone but backup as much data as possible that is stored on the phone itself. I can restore applications but things such as photos, SMS text messages, and some contacts are store on ...
0
votes
0answers
8 views

Recover one month old deleted text message

I deleted a text message one month ago on my one plus 6t can I recover it back it is very urgent I do not have any kind of backup and my phone is not rooted yet.
1
vote
0answers
9 views

Why does “tar -czh” produce a corrupt archive but “tar -ch | gzip” work fine?

I am trying to backup a directory from a phone over adb. When using the following command I get an archive which is corrupt: adb exec-out "tar -czh /sdcard/DCIM" > backup.tar.gz But with ...
1
vote
2answers
8k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
1
vote
2answers
7k views

enabling usb debugging when device is off

I am trying to unlock my bootloader, but I am unable to enable usb debugging because my device (xperia t) is not coming on. How do I unlock my bootloader so that I can flash it.
2
votes
1answer
3k views

ADB Debugging on LG Watch R

today i got a LG Watch R for a programming project - first i had a Gear Live that was now replaced. When i follow the guides step by step i never get the "authorize this computer" like i did with the ...
2
votes
3answers
1k views

My phone is soft-bricked after ADB update

This is the problem: I always connect my phone to computer, to charge it, but I tried to execute ADB shell into recovery mode. 1- I've entered into recovery mode 2- I tried to go to "Apply update ...
1
vote
0answers
17 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 ...
1
vote
0answers
81 views

can't enter recovery mode after flashing resurrection remix v5.8.5 android 7.1 in Lenovo vibe k4 note

recently I have been trying out new roms. When I flashed resurrection remix v5.8.5 on my device (Lenovo vibe k4 note) via TWRP recovery, after that the room was working fine, but magisk came pre-...
1
vote
1answer
1k views

LG Optimus G fastboot not working

Alright, I have an LG Optimus G that I'm playing around with and trying to install ubuntu on. I'm following this guide I've done everything up to the point where you enter this into the terminal: $ ...
4
votes
1answer
5k views

I/O errors opening files in data partition

I'm trying to repair a Moto G (XT1008, unlocked) device. When booting normally, the motorola splash finishes and the android desktop shows up for one second, then a bunch of pop ups show up informing ...
1
vote
0answers
142 views

Enabling Wireguard tunnel through ADB shell

I'm trying to enable and disable Wireguard tunnels through the ADB shell. I can see the followings actions and receivers are available : adb:# dumpsys package com.wireguard.android ... Receiver ...
6
votes
2answers
1k views

Protect ADB access via network?

I have several Android devices in a local network. (Android Set Top Boxes from Geniatech, running 4.2 Jelly-Bean) If these boxes have problems or need debugging, I simply connect to them via adb ...
1
vote
0answers
45 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
2answers
1k views

USB not working in Lineage OS 15

Nexus 7 2012 (grouper). Was running stock ROM (4.4.4), could connect via USB (e.g., as MTP for file transfer) and use adb). Installed Lineage OS 15 (8/O). (Couldn't install any GApps at all because ...
0
votes
0answers
24 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 ...
0
votes
1answer
1k views

Run a Tasker task via ADB

I'm looking for a way to run a Tasker task named test via ADB command. I found this thread Running a tasker task via SSHDroid (or adb shell) and tried but did not succeed. All I got was adb shell am ...
1
vote
0answers
14 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
18 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.
9
votes
3answers
11k views

Applications are not installed with adb restore

I have non-rooted Android 7.0 device (NVIDIA Shield Tablet) which was previously backed up with adb backup -apk -shared -all -nosystem -f mybackup.ab But restoring it with adb restore mybackup.ab ...
1
vote
1answer
3k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
0
votes
1answer
1k views

realme 3 pro stuck at bootloop (boot/recovery) has been destroyed

Hi my mobile is in boot loop fastboot not working i have tried every button but none worked not connecting to pic / laptop as well any one have a solution please help i did flash my stock rom ...
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
1answer
11k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
1
vote
0answers
29 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 ...
0
votes
2answers
1k views

Disable xposed from TWRP

An xposed module screwed my interface. It's all black. I can't access /data/data from within TWRP due to some stupid encription problem. Is there another way to disable xposed ? Losing data is out ...
4
votes
1answer
2k views

su doesn't give root acess

I have an HTC Sensation and I'm using Linux on my workstation. I would like to switch S-Off on this phone. I found documentation, but when I type su in adb I don't have root access: shell@android:/ $...
1
vote
0answers
37 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 ...
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/...
2
votes
1answer
3k 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
2answers
2k views

adb sync shows Product directory not specified

I am using android in an emulator integrated with eclipse. I was trying to import my gmail contacts into my emulator. For that purpose, I exported my gmail contacts to a .vcf file (contacts.vcf) from ...
1
vote
0answers
38 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
13 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
28 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
1answer
2k views

Change USB connection mode using ADB only (broken screen)

I am trying to use Vysor to control my Moto G5 which has a broken screen (completely black). It appears to be working otherwise (rings when called etc). However, I cannot connect to my PC using USB ...
47
votes
18answers
105k views

ADB constantly disconnects, shows device offline

I'm not 100% sure if this should go here or the main Stack Overflow, but I decided to go with this area in hope I might catch someone with more specific experience with a similar problem. I have a ...
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 ...
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
65 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
1answer
1k views

How do I bypass the RSA authentication dialog box to enable controlling phone from adb?

My phone is Samsung Galaxy S4 SHV-E330S with a broken screen (cannot see or touch anything) For more context please see my old questions here and here. I have already tried these: Can I ...
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 ...
3
votes
2answers
14k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
1
vote
1answer
4k 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 ...
2
votes
2answers
3k 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 ...
3
votes
2answers
4k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
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
2answers
3k views

Flash rom in a bricked phone

I tried opening TWRP recovery but the phone turned off and then a splash screen appears and then turns off again (repeat). adb and fastboot are not recognising my device. But when i connect it to PC ...
1
vote
2answers
1k 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
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 ...

1
2 3 4 5
40