Questions tagged [usb-debugging]
A USB connection mode on Android devices which allows a USB connected computer to directly interact with the device.
443
questions
2
votes
0
answers
88
views
No USB debugging on Lenovo Tab 7 Essential
My Lenovo Tab 7 Essential (TB-73041, Android 7) doesn't have the USB debugging option.
Can anyone help me?
0
votes
0
answers
31
views
How to tell if an app is calling a system function and debug it
Super noob here for android. I have a dice app and I don't trust it! I want to see what is generating the numbers that it gives (1 through 6 each roll). To start with I was thinking I would see if it ...
0
votes
0
answers
46
views
on Android 9 How do I get an audit going back some 10 days about a process that deleted some internal data
I am magiskally rooted on my Android phone running version 9 MIUI 11. In fact I moved toMIUIJust a week ago. Had This phone has a replacement of my lost AT&t phone since couple of months and ...
1
vote
0
answers
705
views
Fastboot gets stuck on waiting for device trying to access Fairphone device on Arch linux
Basically through the fastboot "API" i cannot access/see the Fairphone 3+, while theandroid debug bridge is working.
Using adb devices lets me see the device and adb reboot bootloader ...
1
vote
1
answer
2k
views
Unable to activate Developer Options on Samsung
A quote from here:
I have tried everything and am unable to activate the developer
options on my Sasmung Galaxy S7 Edge with Android 8.0. Whenever I tap
the build number repeatedly, it says that the ...
1
vote
0
answers
172
views
Authorize ADB connection from another connection
Let's say that I have access to the phone via serial port (edit: FTDI USB Serial Device converter). I want to install apk, so I need to have working adb connection. But I don't have an access to the ...
0
votes
0
answers
270
views
I tried oneplus 8 pro with ubuntu: no lsusb/adb output
I have oneplus 8 pro connected to my ubuntu 20.04 box and installed:
vendor driver
android sdk
adb/fastboot
But different USB cables show no output in
lsusb
adb devices
fastboot devices
I have ...
1
vote
0
answers
395
views
Huawei Media Pad T5 AGS-W19, usb tethering missing, please help!
As per manual, there is usb tethering under settings. Followed exact instructions, but the option of "usb tethering" doesn't exist even when searched. The only option is "USB" ...
2
votes
0
answers
565
views
How to "allow USB debugging" without being able to click OK on dialog?
I have a Galaxy S8 Edge with a broken touchscreen, and I'm trying to recover files by remote controlling it. I can see only the top half of the screen and there is touch sensitivity in only the bottom ...
3
votes
0
answers
4k
views
How to keep adb TCPIP on after a reboot?
I am using android 9 (lineage os 16.0)
Is there anyway of retaining the TCPIP on status after a reboot?
It's annoying to continuously reconnecting it to pc than moving it to charger.
I am aware that ...
2
votes
0
answers
98
views
Charging/USB Notification Not Appearing on LG X Charge
For the past month I have been trying to connect my phone to my Ubuntu Linux with little luck- for context, I used to run Linux Mint and managed to get things to work just fine. However, I switched ...
1
vote
1
answer
737
views
Can't authorise android lenovo tablet in USB debugging mode
I have Lenovo YOGA Tablet 2 830LC X86.
Rescue and Smart Assistant tool is a software to work with this tablet.
When i activate USB-Debugging in tablet i face the error below in Rescue and Smart ...
1
vote
0
answers
3k
views
How to enable USB debugging from TWRP recovery
I have a android device with dead screen. I have installed TWRP recovery for adb interactions while in recovery. I have lineage os 16.0 (Android 9) on my device. I want to access the device screen via ...
3
votes
0
answers
2k
views
Enabling debugging with broken screen and usb keyboard (Google assistant working)
Is there a way to enable USB debugging with broken display - black screen and touches are not registering.
Ultimately I want to control my phone (answer phone calls, see messages, restore images, ...
4
votes
2
answers
2k
views
Faster alternative to `input`?
I'm trying to automate a task on my (non-rooted) Android phone.
While I have it "working" using input, it is quite slow due to taking ~0.7s per event. (Basically, I just need to send a bunch ...
5
votes
1
answer
1k
views
List devices/computers that have been authorized for ADB USB Debugging
I want to know which devices I have already connected to my computer with my ADB or know which computers I have connected to my phone previously. Either way works for me.
adb devices -l does not show ...
0
votes
0
answers
67
views
Access Smartphone from PC with defect screen
After I dropped my Google Pixel 3a the screen just stays black. However when I connect it to my Laptop I can see in the hardware manager that an "MPT media device" is connected.
Is there any ...
1
vote
0
answers
98
views
Can I enable USB debugging and recover data via PC from a phone with broken touch?
One of the possibilities is attaching a mouse via an OTG adapter and enable USB debug from there. Or just replace the touch screen, of course.
At the moment, I don’t have an OTG adapter and the cost ...
2
votes
0
answers
66
views
Samsung Phone write protection
I just bought a new Samsung Galaxy M11. I'm trying to transfer my files from my old phone to the new phone connected to a PC but it won't copy. I get the pop-up that says the internal storage is write ...
4
votes
0
answers
2k
views
Permanent ADB RSA-key authorization
My phone screen is broken but I managed to finally tap the allow button for ADB authorization so I can access the device via ADB.
My question:
Is there a way to do this once and never be asked again ...
0
votes
0
answers
486
views
How can I make a persist property take effect without rebooting?
I am trying to switch from mtp,adb mode to mass_storage easily, preferably with a script. I can go to two different places in settings and toggle both things there. Or I can use setprop or echo to set ...
1
vote
0
answers
497
views
What is the way to debug multiple android device ie more than number of ports in PC in parallel?
I need to connect 10 device via usb at once. Does adb detect multiple android devices connected via usb hub?
I have explored connecting via tcpip one by one using the existing ports, but the problem ...
1
vote
0
answers
792
views
How can I remove Amazon Prime Video from my Android device using the Android Debugging Bridge (ADB)?
I'm following this guide to remove bloatware on my Android device. So far I was able to remove the apps that I didn't want on my phone, but whenever I try to uninstall Amazon Prime Video using ADB I ...
1
vote
0
answers
66
views
phone is on recovery mode , usb debugging is disable and power button is not working ? how to on or format the phone (samsung j7 2016)
i have samsung j7 2016 when i take out the battery and put it back it on without pressing power button and directly takes me to the recovery and I cant select anything because my power button not ...
1
vote
2
answers
691
views
Why can't Windows detect phones, even when the USB driver is installed?
After reinstalling Windows, both two of my Samsung phones cannot be recognized by the OS. In Device Manager it shows this:
I tried to install:
Samsung USB Driver for Windows
Android Studio and SDK
...
1
vote
1
answer
3k
views
How can I enable usb debugging on a broken phone?
My android mobile is accidentally broken. And the usb debugging is set to off. If I can enable it I could use it through visor in PC. But can't do it now. :( I don't have OTG supported too. My android ...
1
vote
0
answers
95
views
Samsung s7 is on dead mode, buttons are also not working, usb debugging is also off.. Please help me to recover my phone
my phone is Samsung Galaxy S7. Suddenly while using the phone, it stuck on black screen with lights on both navigation n back button. Then after 1-2 minutes, it stuck on restart on loop mode. After ...
4
votes
1
answer
3k
views
How can I enable Android Debugging from a root shell on the phone?
I have a root shell on the phone.
However, no adb service seems running, i.e. the port 5555 is on the device not open1:
$ telnet 1.2.3.4 5555
Trying 1.2.3.4...
telnet: Unable to connect to remote host:...
1
vote
0
answers
432
views
How do I get rid of the many sticky notices about my hotspot with tethering?
I'm using a smartphone as a WiFi hotspot - and connecting a PC to it with a USB cable. As I plug the cable in, I get a first notification bubble:
USB debugging is on
Tap to turn off USB debugging
I ...
2
votes
1
answer
1k
views
How to make my Android device forget a PC?
I am running Android 10 on Realme 2 Pro.
So, I am having a lot of trouble connecting this device via USB for file transfer.
I don't know what's the problem. I have tried enabling and disabling USB ...
4
votes
1
answer
11k
views
Enable USB debugging through recovery mode and ADB sideload
This is a follow-up question to Apply update from ADB: how to use it when you are locked out of the device. Basically, I intend to somehow use this command to remove the lock screen:
adb sideload ...
0
votes
0
answers
416
views
How can I access the usb of my device from inside a Lil'Debi chroot?
I am attempting to run adb from a Lil'Debi chroot enviroment. Unfortunately, I keep getting no devices in attached device list. The enviroment created by Lil'Debi links some system folders but does ...
10
votes
0
answers
3k
views
Interact with notification action from ADB Shell
I have an Android(7) phone [also fine if you can provide a solution for Android 10] and a Linux pc. By enabling USB debugging and using the terminal of my pc, I am able to read the notifications of my ...
0
votes
0
answers
822
views
How to debug when the USB is set to "CHARGING ONLY" mode
Device: Nokia 2.2
Carrier: Airtel
Android version: 10
Root status: Never rooted
I've set a PIN lock to my phone and forgot the password.. luckily I've turned on the USB debugging mode earlier but I ...
6
votes
1
answer
2k
views
How do I verify that the USB debugging key fingerprint is correct? [duplicate]
When I try to enable USB debugging on my Android device, I am prompted with this message:
The computer's RSA key fingerprint is:
FE:35:23:34:...
I see the public key in ~/.android/adbkey.pub
How can ...
0
votes
1
answer
383
views
Debug APK with Android Studio without breakpoints [closed]
I'm trying to reverse engineer a newspaper app.
I've decompiled it with apktool v2.4.1 apktool d APK_NAMEadded to android:debuggable=true in AndroidManifest.xml and changed one boolean method's return ...
0
votes
1
answer
95
views
How do I manipulate the filesystem of my Android smartphone from PC without restrictions? Can I do it on an non-rooted phone?
I want to be able to copy/move/erase/modify files on my phone and transfer them back and forth on my Windows 10 PC. Without limitations hopefully.
My phone ( Meizu Note 8 ) is not rooted, and I'm not ...
2
votes
0
answers
145
views
Is it possible to enable USB Debugging (Install via USB) on Redmi phone without signing into Xiaomi account? [duplicate]
I am trying to debug an android app using my Redmi S2 phone (android 8.1) but there is a problem. Even though I can enable USB Debugging in developer options, I am unable to enable "Install via ...
1
vote
0
answers
38
views
Force Galaxy S8+ to authorize my hp
Sorry for the long, difficult problem. Anyways...
Hello, I recently dropped my phone in the pool. I wasn't too concerned because I was about to get a new phone anyway, but it turns out at some point ...
2
votes
1
answer
4k
views
"Now unlock your device and confirm the backup operation"...when trying to backup through abd (TWRP)
Phone: Moto C Plus
Phone OS: Android 7.0
PC OS: Windows 7
TWRP: 3.1.1
Rooted
I'm trying to backup directly to PC from TWRP recovery through adb cmd.
The cmd adb devices shows the device id and the ...
2
votes
0
answers
4k
views
Allow USB debugging for any PC without confirmation
My phone display slowly turned black for an unknown reason; Maybe moisture (SM-A320F Android8 - no root). I use scrcpy to show phone screen on my PC (and voice assistant when I don't have access to ...
0
votes
1
answer
635
views
How to connect 2 smartphones via WiFi Direct ADB to get the 1st to control applications run on the 2nd?
How to connect 2 smartphones via USB to get the 1st to control applications running on the 2nd?
I don't mean the connection to be limited to screen mirroring or off-lione file transfer only.
I need ...
1
vote
0
answers
264
views
Cant flash my firmware on my huawei p8 lite ( Model Num: ALE-UL00___Build num: ALE-UL00C00B230) Also cant find firmware avalable anywhere?
I have been at this for almost 2 days straight now, Here is the scenario: I bought a phone off of E-bay, but it has a wierd firmware on it which didnt allow me to connect to wifi, but instead had a ...
2
votes
0
answers
1k
views
How can I authorize my laptop for USB Debugging if I can't see the screen?
I use USB Debugging to control this phone because the screen is missing. Not broken, missing. The LCD and display assembly is literally gone. I simply can't see what's on the screen without USB ...
0
votes
0
answers
1k
views
Pull Text Messages from a phone with broken screen
I need the text messages from the stock texting app on my broken Galaxy Note8. The screen is damaged in a way where installing any app to transfer the data from the phone is impossible. I'm hoping the ...
1
vote
0
answers
2k
views
USB disconnects on Samsung Galaxy A51
I have Samsung Galaxy A51 (SM A515F) running latest official Android 10 and macOS 10.15 development machine.
ADB authorization is given, but sometimes (~ once per 30 minutes) it disconnects and shows ...
0
votes
0
answers
284
views
Enable USB-Debugging and delete display pattern on OnePlus One Android 6
I tried to get some data from my OPO that i screen crashed 3 years ago. I'm not able to unlock it, because i forgot the display pattern.
So the plan was to enable usb-debugging via adb in recovery ...
0
votes
0
answers
110
views
How to enable USB debugging on a wiped device?
Device name : MI A1
USB debugging is not enabled and wiped the Dalvik/Cache, Data etc.
Now the phone just bootloops to MI loading screen. Please suggest a work around.
So basically there is no OS. ...
2
votes
1
answer
798
views
Keeping ADB permissions while USB tethering
It seems that I can only get ADB permissions for my device only while in MTP or PTP mode and NOT in USB tethering mode, which is what I need.
I have done plenty of research but I stumbled upon so ...
4
votes
1
answer
680
views
Can apps use USB communications without USB debugging?
This question is from a user's perspective, but it's about whether or not developers can accomplish this.
I recently installed DroidCam to use my phone as a webcam for my computer. It works either ...