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.

842 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
595 views

How can I get shell access on my almost dead phone

My phone broke, so I have been messing with it and from the errors I can see, it looks like all the system folders are missing. /system /data etc. I saw a YT video where the guy used ADB shell to ...
0
votes
0answers
313 views

How to restore a Google Play adb backup to use it with another version of the app (downloaded with another app store)?

I have an adb backup I created when the app was installed via Google Play. Now I want to uninstall this app and switch to the FDroid version of this app. However restoring the "Google Play version" ...
0
votes
0answers
624 views

Upload multiple files on android using wildcard and command line

I designed my Android application so that it can load CSS files dynamically. I am not working on the design and I copy CSS files on my device every time I make a change. Doing this in explorer is ...
0
votes
1answer
275 views

Wiped data, cache and everything on Sony Xperia Neo V MT11i, now it's stuck at Sony Logo!

I'm new to the enter flashing and rooting business. So I would like to get some assistance from you guys regarding this issue of mine... here's what I did: Installed CWM via APK on my Xperia Neo V ...
0
votes
2answers
185 views

I want to push this file to my cell phone

I do adb shell Then I do ls ~ $ ls -l drwxr-xr-x 4 root root 4096 Feb 14 08:54 cache lrwxrwxrwx 1 root root 13 Jan 1 1970 charger -> /sbin/healthd drwxrwxr-x ...
0
votes
0answers
267 views

Nexus 10 + Cyanogenmod 13 with Android 6.0.1 + TWRP 2.8.7.0 ---> ADB Recovery device was not found

Hello to every Android lover. I'm trying to "Create Nandroid Backup w/Custom Recovery" as shown on the attached pic called "2016-02-02_14-12-02.png" with the "Nexus Root Toolkit 2.1.4". The process ...
0
votes
0answers
549 views

Is it possible to use adb to push to the extSdCard (Samsung S3, getting permission denied error)?

I am trying to push a media file to a rooted Samsung S3 running Samsung's stock Android 4.3. I have tried $ adb push file /storage/extSdCard failed to copy file to '/storage/extSdCard/file`: ...
0
votes
0answers
1k views

How to restore SMS from adb backup file without root

Similar question to this one: I have an ANDROID BACKUP file containing SMS history, produced from phone A using adb. That phone is gone, and this file is the only record I have of that history. I ...
0
votes
1answer
311 views

How to Run a script or get adb devices from machine 1 to mobile device which is connected machine 2?

I am attempting to run a Script from Machine 1. [Script would be calabash or Appium]. In machine 1 i didnt connected any device and In machine 2 I have connected 2 Android devices. Machine 1 and ...
0
votes
1answer
95 views

After OTA update all my data are in shell folder

I have Acer Z530 with Lollipop 5.1, kernel 3.10.65+. I have the 16GB version, without external SD Card. Today I have received an OTA update and after the restart all my data were gone as well as some ...
0
votes
1answer
1k views

Recovering files in Android phone, phone stuck in boot loop

My phone is currently stuck in a boot loop. I tried using minimal adb and fastboot but I can't seem to do it. I have also read in some forums that usb debugging should be enable and the phone should ...
0
votes
0answers
1k views

Execute APK in /data/local/tmp?

I built an APK using Apache's Ant. I also used Ant to install it on a Cyanogenmod device: $ cd Android-PRNG Android-PRNG$ ant debug install ... install: [echo] Installing .../AndroidPrng-debug....
0
votes
1answer
281 views

ADB Backup does not work for Skype App

I have a Nexus 5 with Android 6. The ROM is stock and not rooted. My bootloader is locked too. When I try to save the Skype data files (chats, messages...) nothing will be saved. adb backup -noapk -...
0
votes
1answer
152 views

Accessing my phone whose screen died

My Samsung's screen (Samsung S-III mini) seems to be dead (it suffered mechanical damage at the top, mostly the right corner). I can't really tell if the phone boots completely normally or not, tho ...
0
votes
0answers
2k views

Replace su binary with another one

I have the SuperSU installed (with su binary in /system/xbin), and another su binary compiled from SuperUser sources by myself. I want to replace the existing su binary by my one via the command ...
0
votes
0answers
376 views

Permission denied

[ASL] gives this error in library installations: %ANDROID%\platform-tools\adb.exe push %NATIVE% /data/local/asl-native --->RUN '/data/local/asl-native':Permission denied How can I overcome this ...
0
votes
0answers
419 views

Use a different adbkey

The adb command uses ~/.android/adbkey by default. Is there any way to specify a different key that should be used, either on a per device or per adb instance basis? The functionality I'm looking ...
0
votes
0answers
406 views

ADB push failed to copy, function not implemented

I cross compiled a library for my Android phone, and I keep getting the message when I try to push failed to copy '/home/sanctus/Desktop/native-android-ports/libc-arm/crypt/libcrypt.so.1' to '/...
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
0answers
5k views

adb sideload Throws error: closed on Nexus 6

I am trying to sideload the Android Marshallow OTA on my Nexus 6 using adb sideload "<android marshmallow OTA>.zip", but the console keeps printing out error: closed with no success. I verified ...
0
votes
0answers
4k views

Configure & connect to Wi-Fi using ADB on Android 5.1.1

I'm using Nexus 4 with Android 5.1.1. I need to connect to Wi-Fi router in my automation. For that I need to use ADB interface. I connected to mobile using ADB. I also configured the wpa_supplicant....
0
votes
0answers
889 views

ADB can't find Nexus 7 after bootloading

I am trying to update my (unrooted and unlocked) Nexus 7 2013 wi-fi to Marshmallow via OTA. My Nexus is in USB debug mode and I have installed adb on my system and download the update package file. ...
0
votes
0answers
54 views

Using ROMs made for a specific device

I have a moto x 2013 Dev edition and got the unfortunate news yesterday that Motorola will not be updating my device to marshmallow, which I understand as an older device, but the specs of this phone ...
0
votes
0answers
776 views

How can I install e2fsprogs on my device?

My phone has the "Monkey Test" virus and there is solution in here, but when I try to execute this command: chattr -iaA providerCertificate.apk I receive the error "chattr : not found". I found a ...
0
votes
0answers
324 views

ADB version of these terminal emulator instructions?

I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install. They recommend performing the following commands in adb if that's ...
0
votes
0answers
848 views

How to access internal memory of android device with a broken display and without root permission?

My Samsung Galaxy Grand has a broken display. I need to access my media files( Photos and Videos ) from the internal memory of the device. What I have tried - Tried with Samsung KIES. tried to ...
0
votes
0answers
139 views

I can't install any apps when I don't have a SD Card in my phone!

I've a problem on my SM-G350. I once set my install location to extrenal via ROM Toolbox Lite. I took out the SD card one day and the other day I tried to install an app and it said that I can't ...
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 ...
0
votes
1answer
557 views

Process List of Charging Powered Off Device

Is there any way to access or log the process list when the phone is off, but plugged into my computer charging? I'd like to see what system processes are running when the phone is connected to a ...
0
votes
0answers
153 views

Samsung Galaxy S4 - no adb devices

I wanted to install a custom ROM on my old Galaxy S4 I9500. I installed CWM recovery at first with Odin, and it worked really well. Thereafter, I tried side-loading or pushing the custom ROM using ...
0
votes
0answers
428 views

How can I get into my device using command prompt?

My OnePlus One is partially bricked. When it turns on, it does not pass the "1+ powered by android" screen. I do not know what caused this, but there is a more detailed explanation of my issue here. I ...
0
votes
0answers
7k views

ADB (in recovery-mode) gives “adb server out of date. Killing…” followed by “error:closed”

I connect my device to my PC in recovery-mode, when I write adb devices I get: List of devices attached 4d00ededbeaca0bd sideload However, when I try to adb shell I get: error: closed ...
0
votes
0answers
2k views

Is it possible to downgrade firmware via ADB sideload?

I have an Asus zenfone 2. I want to downgrade it from firmware 2.19 to 2.18. They both are built on Android 5.0
0
votes
2answers
803 views

How to install Android ADB drivers on Windows? (Any Android Phone)

How can I install the Android ADB drivers on a Windows 8.x PC/Laptop? I followed tutorials on the internet but nothing worked for me. PS: The adb driver should be compatible with any Android ...
0
votes
0answers
2k views

How do I upgrade the Android LG G2 D802 to Kitkat OS?

I bought LG G2 phone just a few days and I wanted to upgrade it to possibly Android 4.4 Kitkat from Android 4.2 Jellybean (I think which is the software update is trying to do as well as shown in ...
0
votes
1answer
478 views

My OS Loads, but no Recovery

Handset: Huawei Honor Holly Root: Yes I am trying to install CWM recovery on this phone. I tried it using Flashify after reading guidelines from a website. Now, my stock recovery is gone. Also, ...
0
votes
0answers
574 views

backup android-operating system

I am trying to backup the whole android OS with all kernel files, systemfiles, efs-data and more on my rooted samsung galaxy s3 but when I open the the backupfile (.ab) on my computer i can only see ...
0
votes
1answer
460 views

Nexus 5 in Recovery mode not detected in ADB but another Nexus 5 gets detected

I think I soft bricked my Nexus 5. I was planning on wiping all data from Nexus 5 and installing Cyanogenmod 12.1 following the normal procedure in the Recovery Mode but the wiping got stuck at ...
0
votes
1answer
256 views

Can a looped Android be rooted?

I deleted a system file from my Android (com.android.providers.settings.apk) and now my Android is in a loop. It is a KitKat tablet and I am able to use adb sideload. Is there a way to root the tablet ...
0
votes
1answer
2k views

Error in connecting Samsung A3 to Ubuntu 14 (USB); adb unauthorized (no pop up on device too)

I have a Samsung A3 with Android 4.4.2 (not rooted) and a computer running Ubuntu 14. I am trying to connect my device to my computer through USB to be able to perform some tests on it. I have ...
0
votes
0answers
1k views

Using adb to backup data on an unbootable & non-rooted phone that does not have USB Debugging turned on

I have a phone (Moto G) that won't boot & I had not turned the USB Debugging on when it used to boot correctly. The motivation is to use adb to get a full dump of the data on the phone before I ...
0
votes
0answers
158 views

Recover CM system with bad Google Apps update

I recently updated Google Apps on my device. Now, when I start my phone, I get repeatedly inundated with "Unfortunately, {{app}} has stopped." with Keep, Gmail, Wallet, etc. filling in the blanks. The ...
0
votes
0answers
2k views

Can I read a data file without root access

I've been playing around with my phone, specifically the file /data/system/gesture.key, and have run into an issue. Using adb, I can get right up to the file but I can't read it or copy it to my PC. ...
0
votes
1answer
707 views

Flashing ROMs with adb sideload

Can I flash roms with adb sideload without rooting my android device ? I have tried installing custom recoveries once, but it didn't work. I had rooted my android device before, but due to some ...
0
votes
0answers
5k views

getting “E: failed to verify whole-file signature” and “E: signature verification aborted” when updating from 5.0 to 5.1

I have a Nexus 5 that I am trying to update from 5.0 to 5.1 via a sideload ADB update. The OTA update within Android fails at about 30% so I am trying to do it manually.I downloaded the file but when ...
0
votes
1answer
295 views

Reenable Setting app on rooted Galaxy S 4G

I need to command my partially rooted Samsung Galaxy S 4G on KitKat 4.4.3, to simply re-enable the core app: settings.apk (a.k.a com.android.settings). After flashing a ROM, I found no settings UI ...
0
votes
0answers
1k views

Please any ideas for installing settings.apk to system without root on 4.4.3?

I will answer any questions you have for me....but I am just in need of an answer to the question as posted I cannot access the settings on my device, as the settings app is not showing on the ...
0
votes
0answers
1k views

Recover photos and/or bypass lock screen on Android 5.0

I have a Samsung Galaxy S5 which I dropped on the ground so the screen broke. I had a swipe lock enabled. To be able to unlock it before it was repaired I locked it through Android Device Manager and ...
0
votes
2answers
50 views

Cannot get a G2 to connect to anything via USB

I just bought a G2 on craigslist. It came rooted and with custom recovery. Whenever I plug it into my computer (tried my mac and two other PCs) the phone does not recognize it's plugged into a ...
0
votes
0answers
338 views

Update Android on HTC Evo 4G

I have a rooted FreedomPop HTC Evo 4G PC36100 with CyanogenMod 2.6.37.6. My Android version is 2.3.7. Beseband version is 2.15.00.01.15. How can I update Android to the latest version? Is it possible?...