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.

learn more… | top users | synonyms

4
votes
2answers
380 views

Can I use the adb shell to know that the phone support OTG or not?

Can I use adb shell command to detect the phone support OTG to transmission the files with an USB Flash Drive with OTG function?
3
votes
1answer
138 views

Fail to install CM13 on Oppo Find 7a

I would like to install Cyanogenmod 13 on my Oppo Find 7a. I am following the instructions from CM wiki. I am using a laptop with Linux (LMDE2). I fail to install a TWRP recovery. Fastboot seems to ...
-1
votes
1answer
45 views

Backup all apks from device using adb: why this loop in bash script doesn't work?

You can do adb shell pm list packages, and after reading through the list, do an adb shell pm path "com.yourpackage" to get the full path and do a simply adb pull. Fact is: I want to automate this. I ...
0
votes
0answers
111 views

How do I enable HS-USB Android Diag/Serial/Modem ports for Sony Xperia Z3? to use QXDM?

I am wanting to use an application to read modem signalling (qxdm), but I need the USB ports to be enabled first - HS-USB Android Diag & Serial sa0111 In Device Manager, I see the following: ...
0
votes
0answers
75 views

How to enable usb debugging on android 6?

So I used to have this working on 5, after an update to Android 6 I'm unable to get USB debugging to work. Anyone else run into this? I've enabled USB debugging on the device. I've tried three ...
0
votes
1answer
47 views

Closing a window within an activity using adb shell commands

I have been tinkering around with adb and attempting to control an application and close popup windows using adb shell commands. I trying to close an activity window that I can identify with the ...
1
vote
0answers
114 views

Nexus 6 automatically remounting system read-only, deleted files returning

tl;dr I mount system rw I try to copy/update/write /system/xposed.prop System is auto-remounted ro, causing the write to fail (applicable to a variety of workarounds) Moving/renaming/deleting files ...
1
vote
0answers
62 views

Tesco Hudl adb sideload Gets error “installation aborted”

I have a Tesco Hudl HT7S3 which was rooted and i corrupted a file in the system and it is stuck in a bootloop. All i can use is adb sideload. I found the stock image and have sent it to the device ...
1
vote
0answers
34 views

How can I find out if the Bootloader is locked or not? [duplicate]

Is there a direct way to find out if the bootloader on a new unrooted device is currently locked or not? I would like to do this without the risk of clearing or bricking the device. I am looking for ...
0
votes
0answers
20 views

adb drivers on Rockchip devices work only with Moborobo

I have a number of Rockchip devices and Windows 7 32 doesn't see them without Moborobo. With moborobo everything works amazing but there's lots of spam from the program and annoying update abound) If ...
0
votes
1answer
50 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 ...
1
vote
0answers
194 views

Android : How to load a custom ROM without SD-card

I have an Asus TF-201(rooted), on which I would like to install Android. I have downloaded the Cyanogenmod ROM/OS, which is in a ZIP file(200Mb), contains files like boot.blob, ...
1
vote
0answers
54 views

Cannot mount mtdblock partition

I'm trying to mount the boot partition of a tablet with MTD partitions. This is the output of cat /proc/mtd: root@android:/ # cat /proc/mtd dev: size erasesize name mtd0: 00400000 00004000 ...
3
votes
1answer
60 views

touch screen and usb not working: any way to remotely control my phone?

I recently had my phone water damaged during my vacation. The phone still boots up but it doesn't respond to any touch input. When connecting to PC, a notification would appear on my PC that the ...
1
vote
0answers
74 views

Trying to enable USB debugging by ADB from my PC [duplicate]

In Device Manager, my phone is connected as portable device. My phone's driver is MTP USB Driver. I checked connected devices by using the command "adb devices" in Command Prompt, there is no device ...
-5
votes
2answers
67 views

device not showing in fastboot

I have a Samsung Galaxy Tab 3 (GT-P5210GNYXAR) currently with NO OS (I completely wiped the tablet in TWRP.) However, I did root the device, so now it has the TWRP thing. I tried installing the ...
1
vote
1answer
129 views

ADB does not detect my device while in Recovery Mode

I have a Moto G (Falcon-xt 1033). Recently I successfully flashed cm 13 nighly on my device, everything worked fine, used the phone a little while, then flashed supersu and device went into a boot ...
1
vote
0answers
64 views

How do I check bad sector on my android with ADB recovery mode?

I am finally able to install CWM on my asus. I suspected the asus didn't do well and there could be too many bad blocks on it's NAND. So Now that I can do fast boot and recovery and adb, I think I ...
3
votes
1answer
89 views

How to make Android Amoled screen to display colours for hardware testing, through commands?

In hardware testing i want to display colours like red, green, blue etc.., on the android screen i.e., Amoled display. Can you help to do this through commands and how the invoke the android display ...
0
votes
0answers
642 views

How to enable USB debugging on a soft-bricked Huawei phone?

Yesterday, i rooted my phone with KingRoot and downloaded a SoftKey Enabler because i wanted to play Uplink on my Huawei Y560 (a.k.a. Y5). The SoftKey Enabler edited the build.prop file. It restarted ...
0
votes
0answers
73 views

Cant BackUp specific app data

okay so i am unexperienced in all that stuff. software really isnt my cup of tea. i try to be detailed here so i will probably be wordy. prologue: i use a acer liquid e700 (it uses android 4.4.2 ...
0
votes
2answers
44 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 ...
1
vote
2answers
231 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
0answers
55 views

adb option like fastboot -i <vendorid>?

Hi I was wondering if there was a command similar to fastboot's -i in adb. I'm currently trying to find my device in adb, but I could only target the device in fastboot with -i and the vendor id (I ...
2
votes
1answer
388 views

Fastboot doesn't see nexus 6p

Currently trying to unlock my bootloader, but cannot get my nexus 6p to determine that it's connected to my PC. I can use adb commands while it's on, but booting it into fastboot mode with the adb ...
0
votes
0answers
43 views

Does HTC boot image contain CID information?

My phone has an unlocked bootloader and root access. It runs cynanogenMod but I want to get it back to stock Android ROM. I've got the stock Android ROM ready but can't install it becuase I'm ...
0
votes
0answers
73 views

Problem in build.prop file

I am using Micromax A25 smarty with Gingerbread and it is rooted a long time ago. Most of the new apps are not running because of my android version so I changed my version by editing build.prop ...
0
votes
0answers
24 views

adb not listing my bootlooped android phone

First of All I am telling the whole story....be patient..will be brief.. I wanted to install Xposed on my Coolpad Note 3.It was successfully rooted but installing the "xposed v67 sdk 22 arm64.zip" ...
-1
votes
1answer
63 views

Don't have a keyboard in my phone, and cannot install a new one with ADB either

I had a keyboard in my phone (Google Keyboard), which, when I somehow installed yesterday, didn't give me the option of moving it to the SD card. Today, for some reason it gave me the option to move ...
1
vote
2answers
120 views

Restore SMS messages from a rooted phone with a broken screen to an unrooted phone

I'm trying to restore my SMS text messages from my rooted Nexus 5 with a broken screen (no display or touch capabilities) to my functioning but unrooted Nexus 5X. I can turn the rooted phone to ...
0
votes
0answers
22 views

Custom ROM - easiest way to default to functional adb

When building a custom ROM (or for that matter, modifying existing) - what's the best way to make sure that the OS starts up with adb-USB enabled, and with the host's key already accepted?
0
votes
0answers
49 views

trying to adb backup but dialog doesn't show

I have sony xperia P device and I want to flash its ROM to get Marshmallow(I currently have android 4.0.4). I want to do full backup of my phone before doing this, I knew about adb backup command, ...
1
vote
1answer
91 views

Wondering if i can debloat some google apps from unrooted lg phone for my father?

My father being older does not want to modify his phone, however he has a LG L70 and no sd card, and doesn't use some unnecessary Google apps, such as play, books, and whatever else. My question is ...
0
votes
0answers
133 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 ...
3
votes
3answers
127 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 ...
0
votes
0answers
209 views

Is it possible to pull data in ADB sideload mode

My phone is locked, as explained here. Since I can't find the password, I want to backup my data before a reset. I've just installed Android Studio and Samsung USB driver. Boot my phone on "apply ...
-1
votes
2answers
207 views

ADB failed to detect Nexus 5 running Android Marshmallow

File transfer is working properly. Latest drivers are installed. Settings -> Developer options (Enabled) Android Debugging (Enabled) (ADB Detects my phone when it is in Recovery mode) So probably ...
0
votes
0answers
100 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
1answer
182 views

Can't use chmod to alter permissions on emulated phone

So, I'm trying to make an app in android studio and I need to reference a particular file in the app, cascade.xml. I've pushed it onto the emulated phone no problem using adb (it's in the ...
4
votes
2answers
160 views

Lockscreen is missing, can I reinstall the lockscreen somehow?

On boot my mobile phone goes to the lockscreen background but doesn't show the unlock symbol. I've tried dragging the button blind but it's not just that it's not visible, it's not there. Neither ...
0
votes
1answer
237 views

Backup/flash system and data without unlocking bootloader?

I was wondering if I can make a full backup of my system partition via fastboot or adb and re-apply the backup to a different phone of the exact same model? Or is this only possible if the bootloader ...
0
votes
1answer
42 views

I flashed recoveries with Odin, why doesn't my phone boot bow?

Samsung S3 Android phone, not rooted, stock firmware. In chronological order: I turned on USB debugging, although could not use fastboot. I used Odin to flash multiple recoveries, but I don't think I ...
0
votes
0answers
32 views

How can I connect to ADB on my Galaxy S3 without connecting with USB at all? [duplicate]

So my Galaxy S3's microUSB port is broken and it won't connect to PC. It doesn't have root. I tried rooting it but none of the methods shown on the internet gave me results (I installed the newest ...
1
vote
2answers
348 views

How to add contacts using adb without user interaction?

Following this I found out how to add a contact using adb. The only thing that's bugging me is that the user has to okay/cancel the action, because a create-contact dialog appears on the screen. What ...
0
votes
0answers
187 views

Xiaomi Redmi Note 3 on Android Studio doesn't work

Need some help installing Xiaomi Drivers on Windows 10! I tried to install drivers from this question, but it didn't work. Could anyone help me with this problem? Thanks in advance!
1
vote
2answers
114 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 ...
3
votes
1answer
319 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 ...
1
vote
1answer
223 views

How do I install missing command line tools onto an Android device?

Android installations do not always have all the tools one would expect to have on a Unix-like system. For example, right now I have a problematic device which doesn't have find CLI utility. I mean, ...
1
vote
1answer
643 views

Installing USB driver for XIAOMI Android Studio

I read the Using Hardware Devices page that describes how to connect your device to Android Studio that allows you to install and run your apps on your device. But I have a Xiaomi RedMi 2, and the ...
0
votes
0answers
33 views

Cant boot Android tab

I have a android tablet. Touchmate TM-MID 722N I tried installing Chainfire 3d and it was not bootable now. I can boot only to recovery. and adb sideload and flashing zips from sdcard is working. ...