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
2
votes
1answer
106 views

Programmatically add wifi networks on Android

I have a list of about 100 WiFi SSIDs and passwords that I've extracted from my old phone and I want to add them to the new phone that runs Android 10 and I couldn't find any useful information on the ...
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
2answers
1k views

is it possible to activate usb debugging using adb command line?

i have xiaomi phone and forget mi account. so i try to restore it using factory reset. i try to enabling USB debuging then. but it says "developer option is not avaiable for this user". adb is active. ...
0
votes
0answers
15 views

Where can we get the generic ADB Interface Driver for Windows 7 very much like the one we have for Windows 10? [closed]

I want to Debug a IoT device from Intel (Logistic Monitoring Device) which runs on Android 6.0 (Marshmallow) using ADB. The device gets detected on Windows 10 because generic ADB driver from ...
0
votes
1answer
334 views

How to Extract boot.img from Sharp Z3 Fs8009?

I'd like to extract the boot.img from this device in order to root it with Magisk. Is it possible with adb commands? Or another way maybe? The firmware on it is 00WW_1_310 global version, and I can't ...
0
votes
2answers
2k 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 ...
4
votes
2answers
2k views

Install OpenGApps in Android Studio Emulator (Marshmallow)

I wanted to install OpenGApps in an Android emulator (created in Android Studio). The emulator is running with Marshmallow. There is enough storage space available, so this is not the problem. I tried ...
0
votes
0answers
31 views

I'm trying to disable hotspot but I can't find hostapd on android 9

I'm trying to permanently disable hotspot on my phone. I saw this answer here How do I disable the Mobile Hotspot feature? I've connected my phone (ulefone armor 6e) to adb but I can't find hostapd ...
0
votes
1answer
2k views

how to transfer a file from within system partition on android to desktop

background I'm developing an app that downloads files to the device.. some of these files are acting out and to trouble shoot I want to actually transfer these files to my (mac) desktop and go ...
0
votes
0answers
39 views

How to install xapk, apks, or multiple-apks via adb?

xapk, apks, or multiple-apks is the new standard for apps that is basically one folder and multiple apks in it. I know there are apps like apkpure or SAI that can do it, but I want to know how to it ...
0
votes
0answers
36 views

How to get a list (scan) of all available Wi-fi networks/APs via ADB without root?

Non-root solutions only. I found bunch of questions and answers how to connect to specific wifi manually but surprisingly none about gathering network info (without requiring root or some custom ...
0
votes
1answer
36 views

Log ADB Commands?

I have an application that uses the ADB interface as communication with my Android phone. When I run the application and press the button, the application somehow sends commands to my android, to ...
0
votes
1answer
795 views

How to Know my Android Processor info using ADB?

I want to know the android QCT Chipsets Processor information like snapdragon version details usind ADB Commands. Can you please explain anyone?
0
votes
1answer
18 views

SHELL Command works fine as a standalone command, but fails when put into a shell script?

Android 8.1 PIXEL 2 with root access. I have seen this asked here once before but the only solution didn't help me at all. I am going to try and make this as simple as I can for the example. If I ...
-1
votes
0answers
39 views

How to copy file to device from Windows using ADB or FASTBOOT?

I cannot copy image to my device. I tried following command (on Windows 10) while my device was both in fastboot mode and in bootloader (I have TWRP): adb push lineage-version-nightly.zip /sdcard/...
0
votes
0answers
43 views

/storage/emulated/10: Permission denied

I have two android system users configured. $ pm list users Users: UserInfo{0:Owner:13} running UserInfo{10:security space:13} running UserInfo{999:XSpace:800010} running When the mobile ...
0
votes
1answer
2k views

How can I record the phone screen from the command prompt?

I have been trying to record my phone screen (Nexus 5) through command prompt. I have also downloaded the SDK. For some unknown reason I am unable to open or play the file saved using this script: $...
3
votes
1answer
122 views

Send a notification (or just vibrate) to phone via ADB/shell

I would like to be able to send some kind of notification to my android using a remote shell script (SimpleSSHD running as root, so basically the same as an adb shell). On an iOS device I can use the ...
0
votes
1answer
1k views

Windows doesn't show device in Explorer

After updating my Nexus 7 to the latest version of Android (4.4.4 at this point), Windows decided that it would no longer show the device in Explorer in MTP mode. PTP worked fine, but obviously this ...
0
votes
0answers
23 views

Command has different output when running in a shell or in script

I'm trying to run a script on the Nox emulator through adb. After connecting to Nox via adb with adb connect localhost:62001 and copying a script into a /data/scripts/script.sh folder, executing it ...
15
votes
8answers
97k views

Control Android with broken screen from PC

My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work ...
0
votes
0answers
160 views

Stuck on “Bootloader is unlocked” screen, can't boot into recovery

So I wanted to root my OnePlus 6 after updating to android 10 (OnePlus6Oxygen_22_OTA_041_all_1911142043_dde113e5 3cd0f9.zip) I tried booting into twrp via fastboot using fastboot flash boot twrp.img (...
3
votes
1answer
18k 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 ...
2
votes
1answer
99 views

Where can I run a .sh script on Android without root?

Lately I've been playing around with .sh scripting in Android. At first I used BusyBox and it's integrated scripting utility, though I quickly realised that coding on the phone isn't the best, so I ...
-2
votes
1answer
52 views

Wifi connect but no internet access

This is a strange thing that started happening with the wifi network at my work. Android devices connected to the network say "Connected, no internet access " however the internet works perfectly well....
4
votes
1answer
5k views

How to wipe data on a bootloader-locked, broken screen, Nexus 6P

I want to sell my Nexus 6P for parts, but I want to wipe it first. The screen of my Nexus 6P broke (internally, the touchscreen MIGHT be fine, idk). The phone is full-disk encrypted with a PIN and the ...
1
vote
0answers
35 views

copy encrypted internal storage to pc ( in twrp mode )

I have this situation where I had my internal storage encrypted and then by using twrp I formatted only my data( booted into twrp > advance wipe > selected data and Dalvic cache > swiped to wipe . I ...
7
votes
1answer
7k views

How to run adb and fastboot commands from Termux?

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using USB/OTG cable. Need to unlock bootloader but have no ...
0
votes
1answer
100 views

Does “adb backup” also backup /data/misc/vold - the Encryption Key for Adoptable SD card?

I want to make sure that using adb backup -apk -shared -all -f ~/backup.ab will also save /data/misc/vold? I am trying to backup before rooting, in order to be able to gain access to the encryption ...
2
votes
0answers
23 views

Possible to change an apps SSAID aka Android_ID without rebooting? Which service handles this? Fast rebooting with Zygote kills my shell script

This may seem like an odd question, and I apologize for that. I am currently debugging an application and I am having trouble getting new Android_ID's to stick without rebooting. To be specific ...
4
votes
1answer
24k views

adb pull - copy whole folder to computer

How do I copy a folder from my android device to a certain folder of my computer? if I use this command: adb pull efs It copies the contents of the efs folder to my computers root directory. I want ...
0
votes
0answers
21 views

adb devices not working in Hyper-V

I connected Motorola android device on my host machine. I can not view the connected device from Hyper-V VM (Windows 10) I can not see connected android devices (adb) from VM, but i can very well see ...
0
votes
1answer
940 views

Disable Mi5 Touchscreen Input via adb

I've got a Xiaomi Mi5 (gemini) and I encounter the problem of ghost input. I guess my phone could be water-damaged even though I'm not sure. To backup my data I need to access the phone (not just it's ...
1
vote
1answer
43 views

Use phone as USB modem by adb

I want to use the phone as backup line for my Linux server. Can I do this by using the adb? I mean forward everything to a socket and route the traffic there. I also need some port forwarding, would ...
0
votes
0answers
21 views

Can't generate keys for ADB

I'm trying to use ADB on an ARM device running Ubuntu 18. The Ubuntu machine communicates with the android phone and can access its files. However, listing the devices on ADB produces an error ...
0
votes
1answer
2k 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" ...
18
votes
12answers
64k views

Samsung (Galaxy S4) does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as "...
1
vote
1answer
23 views

Android asks me for USB debugging permission on one computer, but not another

I have two Ubuntu machines, a laptop and a tower. ADB works on the tower but not on the laptop. I'm using the same Android device on each, with the same adbkey and adbkey.pub. On my tower, ADB works - ...
2
votes
3answers
5k views

Adb command(s) to get screen state and locked state

Background: I'm using automated tests on many different variants of devices (Samsung tablets and smartphones such as Galaxy A5, S8, S7 etc.) where the devices have different versions of Android (6.0, ...
-2
votes
1answer
61 views

How can I remove system apps on my amazon fire 7 9th gen tablet using adb commands? [duplicate]

I'm tired of bloatware on my amazon fire 7 tablet (9th gen)
-2
votes
0answers
41 views

How can i unlock the bootloader of the amazon fire 7 9th gen tablet using adb commands?

I looked for online resources and there is no way to unlock the bootloader of the amazon fire 7 9th gen tablet. any ideas?
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" ...
1
vote
1answer
51 views

How to delete some files on unbootable phone with low memory?

I had been ignoring low memory on my android phone (Nexus 6P running copperhead OS) for some time. OS suddenly crashed out of no where and started booting up infinitely. After forcing it to restart ...
0
votes
1answer
28 views

ADB dumpsys batterystats - How does one read it?

Why on earth does the adb shell dumpsys batterystats command not print regular timestamps? (Like usagestats does for example, or literally anything else on the planet.) Instead, it gives you a "RESET ...
1
vote
1answer
63 views

Getting DeadObjectException on uninstalling any app using adb

On a fairly old non-rooted Galaxy Tab A-tablet I wanted to uninstall all the Samsung and Microsoft apps and most of the Google packages to make it faster. Using adb shell pm uninstall -k user 0 I ...
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 ...
2
votes
2answers
4k views

Android Composite ADB Interface Windows 8 driver for iRulu U2?

I downloaded and installed via Android SDK Manager (rev 24.2) the latest Google USB Driver (rev 11). adb devices works well with my Nexus S G4 (Android 4.1.2) and is able to list it without any ...
1
vote
0answers
173 views

How to block app silent installation

Recently I noticed I have opera browser installed. I definitely did not install it because I was sleeping at that time. I checked installation time and revealed it was the day before yesterday ...
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
0answers
51 views

Are there (developer) tools to remove files from Android “Rom” cache, if the smartphone doesn't start properly?

(I have also asked on stackoverflow, as I assume the use of developer tools is neccessary, but I would be very glad to get any working help on here also. The Google Photo App filled up the 16 GByte "...

1 2 3 4 5 35