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
1answer
11k views

Chrome taking up lots of space on my Android device

I have an OnePlus 5T running Oxygen 5.1.4 (which is based on Android Oreo 8.1.6). According to the app DiskUsage, Google Chrome is using almost 15 GB of data. (Click image to enlarge it) Apart from ...
0
votes
1answer
2k views

unable to mount /data, /system and /cache on Android phone (Asus Zenfone 5 (501cg , t00f)

I have Asus Zenfone 5 (t00F) model. It was working fine and suddenly it's UI has stop working. I tried restart couple of times but didn't work for me. I do already have the root and TWRP (2.8.7) ...
0
votes
0answers
30 views

Installing fsmon onto Galaxy S8 phone

I am using a Galaxy S8 phone, and I am trying to install fsmon to monitor the phone's File System. When i entered the following command (while using adb shell: dreamlte:/ $ make android NDK_ARCH=...
0
votes
0answers
13 views

getRssnr() Get reference signal signal-to-noise ratio using ADB shell

Using Andriod Q API. Need to get android.telephony.CellSignalStrengthLte.getRssnr() using ADB shell , is it possible ?
1
vote
2answers
3k views

Some app is causing bootloop

It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" ...
2
votes
1answer
2k views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
0
votes
1answer
1k views

How to grant write access to external SDcard using ADB in Android tv?

I can't get ES file explorer and winrar to write (copy or cut from internal storage and paste to external storage) to SDCard external storage in Android TV. It says that there will be an "open from" ...
0
votes
1answer
2k views

App not installed error while sideloading and Install failed UID changed via adb [Not rooted]

I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder.. seems delete that ...
4
votes
1answer
3k views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
1
vote
1answer
85 views

How do I install OS in Andriod phone without using fastboot and TWRP?

I've tried to upgrade the rom in MOTO G4 Plus using TWRP version of 3.2.1.0 and during installation process I wiped out the existing android 7.0.1 without backup(understood the cost of backups now). ...
0
votes
0answers
49 views

stuck on“Downloading… Do not turn off target!” when trying to boot via adb

I wish to flash a custom ROM on my galaxy tab a. To do this I downloaded ADB and twrp-3.2.3-0. when U run the command adb reboot bootloader my tab gets stuck on downloading... do not turn off target. ...
0
votes
1answer
810 views

Unable to detect Android device with ADB on Mac but can detect it through Fastboot?

I am unable to view my Android device, an Oppo Find7, with ADB. I can view it with Fastboot. As I use a Mac, I followed this guide to install ADB and Fastboot. More generally, I am having issues ...
0
votes
1answer
2k views

ADB: device unauthorized on device without screen

I have special device, that have no screen at all. Only 3 buttons: volumes and power. So the problem that I've used hard reset option and after that on all my computers I got error: error: device ...
1
vote
3answers
2k views

Is it possible to adb connect android via wifi without configuring port on android?

I can connect via wifi by typing these codes in android terminal - setprop service.adb.tcp.port 5555 stop adbd start adbd and connect ip:port on PC adb .. it is connected .. Is there any ...
0
votes
0answers
24 views

Use adb before screen unlock

I'm kinda in an argument here and I want a definite answer On any device I've used, adb can't be used before I unlock my screen. I'm being told it can, you just can't access storage So can adb be ...
1
vote
2answers
5k views

disconnect adb of device connected over TCP does not work

I run the following command to connect device over TCP ; adb connect 192.168.56.102:5555 I am not able now to disconnect it I even made two attempts : adb disconnect 192.168.56.102:5555 The ...
1
vote
2answers
4k views

how to unlock screen of samsung s6

Desperate to sort this out, before i do a factory reset! Samsung Service Centre useless, said factory reset is the only option.... Had fingerprint set to lock samsung s6, don't remember ever setting ...
0
votes
2answers
5k views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
7
votes
1answer
5k views

Setting Default applications through ADB

I have an android device (Android 4.4) with two launchers. One comes with the device and the other one is home made. I have the following questions regarding this scenario: How can I set the default ...
0
votes
1answer
499 views

Not able to install app using adb command

I have a broken screen in my device due to that i am not able to take back of contact and other data. I am trying to use vysor chrome plugin which installs an app and cast the screen in to web ...
0
votes
0answers
128 views

TWRP: vendor partition is not existed

I try to flash LineageOS on a OnePlus 5 (cheeseburger). I installed TWRP 3.3.0-0 from here. I repeatedly wiped the partitions. What I cannot manage is to adb sideload LineageOS 16.0. I get this ...
0
votes
0answers
50 views

Salvage app cache when unable to open app

Every time my phone reboots and sometimes even without reboot when it's working at I guess full capacity, it resets its settings and acts like I just booted the phone for the first time except from ...
0
votes
0answers
72 views

clone app and do auto-update on the cloned app like Parallel Space

Is it possible to create something like Parallel Space by oneself? There a well described to procedure how to clone an app How to keep two versions of an app installed? How to Install and Run ...
4
votes
0answers
7k views

How to enable USB Debugging from recovery mode?

So, my phone screen broke. I can't see anything and touch doesn't work. I have a Motorola Moto G2 running LineageOS 14.1, and TWRP custom recovery. Until now I have been able to use my phone with ...
1
vote
2answers
93 views

Redmi 3 stuck on bootloop with no recovery mode access

I have a Redmi 3 MIUI7 that I recently flashed with MIUI9 using TWRP. Right after flashing, I tried to boot it but it stuck on a bootloop. Since I haven't booted into the ROM and can't do so because ...
9
votes
2answers
51k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
5
votes
3answers
8k views

adb push: sync but not copy

adb push seems to push everything into the dest folder regardless of their changed/unchanged states. So it wastes a lot of time. Is it possible to sync rather than copy (i.e. to rsync rather than cp)? ...
7
votes
1answer
184 views

Attempting to brute force Android security pattern through TWRP via adb

Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it ...
0
votes
2answers
5k 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.
1
vote
1answer
3k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
33
votes
15answers
82k 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 ...
0
votes
1answer
4k views

'adb backup -apk -shared -all -f "D:\backup.ab' initiates backup, completes, but produces a file that is only 1kb

I'm attempting to backup my old Android device, a Samsung Galaxy S3, so that I can lend it to my friend while his is away at repairs, then restore it when he's done with it. I have the Samsung USB ...
0
votes
2answers
61 views

Restore backup.ab file on firestick?

I'm trying to restore a backup file onto a fire stick 2 using adb restore backup.ab, however the restore confirmation doesn't come up on the fire stick. The device is rooted and currently have twrp. ...
1
vote
1answer
70 views

How to list all the namespaces?

Right now, to list all the settings of System namespace I can do: platform-tools/adb shell settings list system To list all the settings from Global namespace I can do platform-tools/adb shell ...
0
votes
0answers
1k views

how to change boot logo without using fastboot

I know how to change the boot logo(logo.bin) from fastboot, but the problem is how can I change the boot logo without using fastboot. I can't go to fastboot mode because I think my device(ME-702) ...
1
vote
1answer
9k 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
2answers
293 views

How to AutoRotate in LineageOS With ADB?

I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly? I added these to my build.prob ...
3
votes
2answers
6k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
1
vote
1answer
942 views

Backing Up Apps With allowBackup=false

I'm trying to back up the apks and preference data for all of the apps on my device, but it only backs up about a third of them; the remainder all have allowBackup=false in their manifests, which ...
0
votes
0answers
34 views

Permission denied on android directories?

Forgive my newness... I've installed Android Studio/Android SDK in Windows 7, enabled debugging on my Droid Turbo 2 with Android 7.0, system version 25.216.2.kinzie_verizon.verizon.en.US, and ...
0
votes
0answers
31 views

No Sim Detected adb error? Android (Oppo R11)

I recently tried to install the app Island using adb commands and i successfully installed it but now my phone isn't able to use my sim card (Works for a minute or two when i reboot my phone). I used ...
1
vote
2answers
930 views

Can't flash custom TWRP recovery image on Motorola Moto G7 Power phone

I've got a brand new Motorola Moto G7 Power running Android 9. I also have Ubuntu 19.04 running on my desktop. I want to root the phone. I've managed to unlock the bootloader using Motorola's ...
0
votes
1answer
17 views

GS4 - Stuck in a bootloop on stock ROM

SGH-I337 I got recently is stuck in a bootloop. Itll post and then attempt booting and stay on the screen forever. As this phone is completely stock and never touched so usb debugging is not enabled. ...
3
votes
2answers
20k views

Can adb be used to recover SMS messages while in permanent “Safe Mode”?

I have a non-rooted Droid X2 that is in permanent "Safe mode", but I want to recover SMS messages. SMS Backup and Restore will NOT work because safe mode only allows system apps to run. adb shell ...
1
vote
0answers
60 views

How to enable usb debugging on bootloop phone(Lenovo tab yoga 8)?

So... I am having a a hard time to pull my file from internal memory on my bootlooped Lenovo tab Yoga 8. I only know that to pull files from adb I need to enable usb debugging. But, because it is ...
1
vote
1answer
3k views

Exporting contacts via adb

I have a phone whose screen broke, but I'd like to export its contacts to .vcf so I can import them to another phone. I usually do this with the built-in import/export function in the Contacts app ...
0
votes
0answers
70 views

adb shell busybox netstat

I am trying to look at the processes tagged to each individual tcp connection using busybox netstat -p as shown from their docs. However, after rooting and checking my root with RootChecker, it seems ...
0
votes
0answers
403 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 ...
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 ...
2
votes
1answer
268 views

Can't reinstall an app uninstalled through ADB

I recently got a Huawei P30 and used adb to remove some preinstalled apps I didn't want to use. I went a bit too far and removed the system gallery app (com.android.gallery3d) which turns out to be ...