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
2answers
853 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
1answer
69 views

How to pull data from internal memory on an unrooted phone?

Yesterday, I suddenly discovered that I had lost all the user files on the internal memory of my android phone. All my photos, my music, my PDFs, audio recordings, everything. I will explain the ...
0
votes
1answer
1k views

Laptop cannot detect Kindle Fire HD 8.9 in Device Manager

I have an old 8.9" Kindle Fire HD (model 3HT7G) and it is stuck in a recovery boot loop. I have found a way to get it out of this loop, but I need to use my laptop. The problem is, when I plug in my ...
0
votes
1answer
1k views

Change UUID of Android Device

I'm trying to change bulk devices UUIDs using DroidExplorer I've opened /data/data/com.android.providers.settings/databases/settings.db selected android_id from table secure to change the value. I ...
1
vote
0answers
13 views

How to enable debugging without seeing the screen (touch works BTW)?

I cannot see what is being 'shown' on the screen, only interact through fastboot or randomly touching the screen. The wifi is also working. If I could enable debugging, I could use scrcpy to see and ...
5
votes
2answers
4k views

How to recover a deleted file from /data partition?

I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the /data ...
0
votes
2answers
41 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 ...
0
votes
0answers
25 views

How to see Android OS System log file?

After leaving my Samsung Galaxy A-30 phone (with Android 9) for a few hours unbelievably I understood all of my internal storage is cleaned! I don't remember that I have installed any suspicious app ...
0
votes
0answers
844 views

Is there a way to pull stock rom from android using adb and a non-rooted android device?

I know that in a lot of cases adb can be powerful, but adb requires root access under certain circumstances, so my question is, if i wanted to pull my stock rom or firmware from my device, can i do it ...
3
votes
1answer
352 views

What represents 'bootloader' in the possible outputs of `adb get-state`?

I recently employed the use of adb get-state and decided to know further about it. Running adb inter alia shows: adb get-state - prints: offline | bootloader | device I intend to know ...
2
votes
3answers
1k views

How to search “My apps” on google play or show a text listing?

I have quiet a number of android devices. Not all of them have the same apps. On Google play it shows a My Apps section that shows a picture with the name of the apps in what appears a random order. ...
1
vote
1answer
764 views

ADB backup restoration on an older Android version

I have made an adb backup of my OnePlus One running an unofficial CM12 ROM based on Android 5.0.2. Is it possible, considering the latest release of Android for the Nexus 5 is 5.0.1, to then restore ...
2
votes
1answer
286 views

How to set Wi-Fi HTTPS proxy, not HTTP, via adb shell?

For HTTP I found a link: How to set WIFI proxy via adb shell? But I want to setup HTTPS proxy via adb shell.
4
votes
1answer
955 views

Why “adb root” does nothing?

I have a OnePlus 6T. It is rooted by TWRP and Magisk. I have set ro.debuggable to 1. But when I type adb root it does this: I cannot even use adb pull on system files.
6
votes
1answer
864 views

Storage location of “adb_keys”

I have a Galaxy s3 (I9300) that has a broken touch screen (display is fine). I therefore can not click the authorization dialog that pops up when I try to access the device via adb on any ROMs above ...
0
votes
2answers
840 views

Is there any trick to set ADBD to work on TCP/IP on a non-rooted device?

What I want is to control a device from remote: turn display on/off, launch a specified application (clock), open a website. On a rooted device, I've installed a SSHD app, then I logged in to the ...
0
votes
1answer
26 views

Restart adbd as shell user on a non-rooted device without rebooting after the “setprop” operation [duplicate]

The setprop service.adb.tcp.port 5555 worked on my non-rooted device, now I need to restart adbd as the shell user : $ adb shell shell@android:/ $ getprop ro.build.version.release ...
14
votes
4answers
104k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
0
votes
1answer
5k views

push and pull command return “push: not found”

I can't seem to pull or push files from my phone. The file exists, and I can get into adb shell. But whether I do the command adb pull or adb shell and then pull, it doesn't work. If I do it via ...
1
vote
1answer
2k views

How to boot from download mode into recovery mode

Two days ago when I was going to use my Galaxy Note 8.0 GT-N5100 tablet I noticed it was off, but minutes before it was on and working, so I tried pressing the power button and nothing happened, ...
0
votes
0answers
30 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 (...
2
votes
1answer
952 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
0
votes
1answer
934 views

Broken OnePlus One - Data recovery possible?

So I've got a OnePlus One that's been badly smashed up (no screen or digitizer), and I was wondering if there's any hope of trying to rescue some (or even all) of the data off it? Some details: 1 - ...
0
votes
1answer
3k views

Fastboot command returns a list of question marks

I am trying to root an Acer Iconia Tab A200 tablet using a script. I have adb working and fastboot works too, however, command fastboot devices returns a list of question marks. Eg: ???????????? ...
0
votes
1answer
893 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
4
votes
1answer
6k views

How to set static IP on command line or adb shell?

I can't seem to use netcfg on Nougat. If I use ifconfig ip is not updating.If there is another method to change IP on command line or adb shell, I am all ears.
0
votes
2answers
771 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 ...
-1
votes
0answers
8 views

How can I set static ip 10.24.14.95 to eth0 instead of 192.168.0.2 using adb in Android things? [duplicate]

I want to set a different series(i.e 10.24.14.95) as static ip address on rpi3 model b which runs Android Things. I tried using adb commands by adding route but still no change in the ip. I also used ...
0
votes
2answers
809 views

Forcing an Android tablet to connect to a wifi from PC

A while ago, I had a tablet (Coby Kyros MID9742), that got shelved when the screen quit (half of the area of the touchscreen won't recognize touches, split among 2 sections). I am trying to repurpose ...
1
vote
1answer
755 views

Micromax a104 SP flash not detecting mobile and stuck in bootloop

Device Micromax A104. The phone is not rooted neither the usb debugging mode is on. the phone was fully affected virus or some other bugs. It was hanging and responding very slowly. so i decided to ...
13
votes
4answers
35k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
1
vote
1answer
51 views

How to get 2nd IMEI number using adb?

I am currently using this command adb shell "service call iphonesubinfo 1" to get IMEI number, but it only returns 1st one. Does anyone know how I can get the 2nd IMEI number?
2
votes
0answers
33 views

How to know if USB drive was detected using OTG from dmesg output?

I am trying to get OTG to work with my phone (Samsung Galaxy Win SHV-E500L, previous question here) I have used an externally powered USB hub and connected it to an OTG cable connecting it to my ...
0
votes
1answer
20 views

Sony Xperia Z3 Compact Back and Home buttons not working

Background Many people have experienced a bug whereby the Sony Xperia Z3C (compact) no longer has functional home and back buttons. Specifically, the issue involves the buttons highlighted by the red ...
1
vote
1answer
905 views

Samsung note 8 n5110, adb sideload <filename>

I have a soft-or-hard bricked Samsung Note 8, n5110 and now would like to rebuild it to a somewhat workable state. The device has a flaky power-charging system and may not be worth repairing. I use ...
3
votes
1answer
962 views

ADB authorization prompt missing in Sony Xperia Z3 Compact (D5803)

I just bought a Sony Xperia Z3 Compact (D5803) and I'm trying to root it. I'm following this link for instructions, but I got stuck at the "Rooting with exploit" step as I can't authorize the ...
0
votes
0answers
41 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 ...
0
votes
2answers
1k views

How to connect soft bricked tablet to pc without USB debugging enabled

I tried rooting my Galaxy tab a 9.7 using Odin and soft bricked it. I went into system recovery mode and clicked wipe data/factory reset thinking it would reset back to stock. My tablet is still ...
1
vote
1answer
1k views

Turn the speakerphone on a call using ADB shell

I'm trying to find a command in adb shell that lets me turn on the speakerphone when I start a call. First I make the call adb shell service call phone 1 s16 "" s16 "#####" the call starts and I ...
0
votes
1answer
40 views

How to make `adb reboot` work like `/system/bin/reboot`?

I have a problem with my device. When I do adb reboot then it stuck on boot in a loop. But, when I do adb shell and then reboot, it works fine. I searched over the internet and understand that both ...
2
votes
1answer
1k views

Differences between fastboot erase and fastboot format

I have an asus zenfone 2 laser with radio problem:it doesn't take the line.I want to format modem partition to see if the problem could be solved.I jave a doubt:what is the difference between fastboot ...
1
vote
1answer
1k views

execute ussd from shell-script

Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb): service call phone 2 s16 '*100#' ...
0
votes
1answer
2k views

Change critical settings with ADB without root

I am new to Android "internals". I am looking for a way to change some settings on my device, just by using ADB, with debug mode enabled, without having root on my phone (warranty issues taken ...
0
votes
1answer
2k views

Pushing to TWRP, adb shows “adb: error: connect failed: no devices/emulators found”

When I try to push my rom to /sdcard/ with TWRP, I get adb push myRom.zip /sdcard/ * daemon not running. starting it now on port 5037 * * daemon started successfully * adb: error: connect failed: no ...
0
votes
0answers
13 views

Accidentally mklabel'ed the entire disk [duplicate]

So I recently got an old Nexus Tablet for an incredible low price and wanted to use it for Kali Nethunter. The problem was, that the /system partition is too small. So I used adb to transfer parted ...
3
votes
3answers
3k views

Is this the right way to use dd for a full backup?

Sadly my device (sm-g3185) isn't supported by any of the CWM or NANDbackup so I am trying to do a backup manually. I found this thread which tells me to open one terminal (I'm on Arch Linux) and run: ...
0
votes
2answers
1k 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
1answer
947 views

Setting up of multiple tablets from out the box

I have the task of setting up 50+ tablets (Binatone Homesurf 744, Yes cheap & cheerful!), which all need the same App installed and same wireless settings entered but require different ...
0
votes
0answers
12 views

XML Config File to force wi-fi switch always on

I have and android running 5.1.1 for some reason it keeps shutting off the wi-fi, switch just goes to off. Can i push a config to it to force it permanently on?
0
votes
1answer
798 views

Cannot mount /system rewritable

I have rooted my phone and changed /system/etc/hosts file to block Facebook(just for test). However, since I did it, I am not able to edit the hosts file again. As a result, I cannot visit Facebook ...