[Q] What generally happen by switch on "USB Debugging" - Android Q&A, Help & Troubleshooting

Hey,
My question is quite simple.
What generally happens in the Android System, when i switch on or off the USB Debugging? Is there a constant in the Android System Configuration, wich is turn on or off? How can the adb attached the devices, wich are turn on USB Debugging?
Hope you understand what i mean.
Thanks!
Thomas

Usb Debugging
If you want to know what is USB debugging and what does it do... heres your answer.. USB Debugging allows the android sdk and your computer to communicate with your android device and transfer data , basically lets you control your android phone from your SDK. It is a tool for developers . It can be activated by going to settings > developer options > USB debugging.

Tschakle said:
Hope you understand what i mean.
Click to expand...
Click to collapse
Nope.

Related

[Q] Replacing "MtpApplication" with "normal" android USB storage!

Hey
Title says it?
I want to use standrard android usb storage instead of the Samsung Mpt stuff. I've tried to pull the Mtp app out but then usb storage wont work at all I've been searching everywhere for this but havent found ****
Anyone?
Thanks.
EDIT: Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?
Enable usb debugging in settings, applications, development and mtp will go away
Sent from my GT-I9100 using xda premium
veyka said:
Enable usb debugging in settings, applications, development and mtp will go away
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?
schoolsux said:
Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?
Click to expand...
Click to collapse
No clue then sorry
1- Disconnect cable from phone
2 - Disable (uncheck): Applications \ Development \ USB Debugging
3- Go to Wireless and network \ USB utilities
4- Click Connect storage to PC. A message will show up with a "Cancel" button. DO NOT CLICK IT.
5- Connect cable to phone. The little green robot will show up.
6- Click the button to enable USB mass storage.
Whats the catch?: If you only enable USB debugging, only the Extenal SD will mount. If you do this way, then Internal USB and Extenal, both, will be mounted.

[Q] XWKT7 by ketut.kumajaya

Hello- USB debugging is turning itself on(putting a check on itself in the settings) automatically as soon as I plug in the USB cord and enable USB storage.
I am using the ROM located at http://forum.xda-developers.com/showthread.php?t=1442889
Any help is appreciated, thank you!
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
madman_amit said:
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
Click to expand...
Click to collapse
The problem is I can not turn off USB debugging, this is not normal behavior. It automatically turns itself on...
Download ROM Toolbox from Market, go to root browser, build.prop Editor, click the pencil on the extreme upper right type - persist.adb.notify=0 in the end of the textbox. Should solve the problem I think..

[Q] P7500 CM10.1 but no USB Debugging in Dev Options

Note the title, i have enabled developer options by pressing the built 7 times.
However under the debugging sections, only got "Android Debugging" and "USB Debugging Notify" and there's NO "USB Debugging" options, and thus right now when i connect USB to my laptop, basically i cant access my folders in that tab.
Help please anyone? Is there any similar case for you guys?
Or only i'm the special case?
Settings > Storage > {...} at top right > USB Computer Connection > Media Device (MTP) - check box
markp99 said:
Settings > Storage > {...} at top right > USB Computer Connection > Media Device (MTP) - check box
Click to expand...
Click to collapse
Thanks, it works =)
I9100g
lucia9901 said:
Note the title, i have enabled developer options by pressing the built 7 times.
However under the debugging sections, only got "Android Debugging" anee ind "USB Debugging Notify" and there's NO "USB Debugging" options, and thus right now when i connect USB to my laptop, basically i cant access my folders in that tab.
Help please anyone? Is there any similar case for you guys?
Or only i'm the special case?
Click to expand...
Click to collapse
You can use small app"usb mass storage watcher", it will show notification when you plug your phone into pc and you can choose connection type (mass storage or mtp...)
====>it's free on Play store

Question Phone won't connect to pc via usb

My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
That's strange, either your port is damaged or you don't have drivers installed. I've heard if this happening on Windows 11, never had a problem on Linux
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
Do you have the latest USB drivers installed?
Get the Google USB Driver | Android Studio | Android Developers
The Google USB Driver is required to perform adb debugging on Windows with Google devices.
developer.android.com
The drivers are installed. My home pc is what I used to unlock/root the phone.
When I look at Show Hidden Icons -> Safely Remove Hardware and Eject Media, there is an option to remove Pixel 6. Yet it doesn't display under File Explorer or XYplorer.
If I start up my Arch (linux) vm with VMware Workstation Pro under Removeable Devices there is an entry for Google Pixel 6 with the option to Connect (Disconnect from Host). The contents can be under Arch.
Have you tried different cables & different ports? Sometimes the cable is the problem for me.
Different cables/ports had no effect.
I've got the same issue, what's weird is I can move files with ADB but can't in Windows.
If you figure anything out please hit this back up?
First make sure you have a good usb cable.
Some cables are only made for charging.
Second install the USB drivers from Google.
If you can transfer files, but can not use ADB/Fastboot, then it is a driver issue.
vandyman said:
First make sure you have a good usb cable.
Some cables are only made for charging.
Second install the USB drivers from Google.
If you can transfer files, but can not use ADB/Fastboot, then it is a driver issue.
Click to expand...
Click to collapse
Cables/drivers are good. ADB/fastboot work fine it's the transferring of file/recognision of device in windows explorer that is the issue.
thecdn said:
it's the transferring of file/recognision of device in windows explorer that is the issue.
Click to expand...
Click to collapse
Switching from charging mode to file transfer mode in the Connected devices/USB menu should give you access to Android's internal storage from Windows. USB debugging or other Dev options aren't necessary.
I had this same problem. Connecting to pc would show connection options but they were all greyed out and the phone would only charge. I couldn't find any option in the standard settings to change this.
Eventually I found 'default usb configuration' in dev options. Default was set to 'charge only'. You can sort it from there.
edit to add: although re-reading op you may have tried this already.
I solved mine by setting to PTP mode then the PC started to recognize the phone connected
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
It's the stupid Windows drivers. There is an .inf file you need to either edit or delete but I forgot which. Might be wpdmtp.inf in the windows directory, right click and install. You might have to uninstall the driver in device manager first, the one with the exclamation mark if it's there. Sorry it's been about 3 or 4 years since I have done this but it's most likely a driver issue.
Mike Tanner said:
I solved mine by setting to PTP mode then the PC started to recognize the phone connected
Click to expand...
Click to collapse
I'm checking this on my work pc. It gives me access to DCIM and Pictures folders only. Which give me something to work with at least.
thecdn said:
I'm checking this on my work pc. It gives me access to DCIM and Pictures folders only. Which give me something to work with at least.
Click to expand...
Click to collapse
I agree about drivers, that they're either corrupted or incomplete. What's going on in Windows Device Manager when the phone is in a certain state?
During normal operation I assume the general purpose driver is always visible.
Device Manager > Portable Devices > Pixel 6
In fastboot mode with USB debugging enabled, is this driver showing up?
Device Manager > Android Device > Android Bootloader Interface
While Android is running with USB debugging enabled, do you see an ADB driver (the daemon may need to be started)?
Device Manager > Android Device > Android Composite ADB Interface

Question Windows 11 Doesn't Detect My Phone

Hello guys!
Need help regarding my laptop,I recently upgraded (clean install) windows 11 from windows 10.
It doesn't detect my android phone,Samsung USB driver is installed.When i plugged in the usb,It only shows charging even when i change the usb option in my phone MTP but still nothing happen.
Need assist.
Thank You
have you tried to set media feature "on" in windows feature?
Look inside here:
How to Link Your Samsung Phone to Windows 11/10? See a Guide!
How to link your phone to Windows 11 so that you can access the contents of the phone on a PC? See a full guide to know what you should do.
www.minitool.com
xXx yYy said:
d.eyes said:
have you tried to set media feature "on" in windows feature?
Click to expand...
Click to collapse
Its Enabled.
Click to expand...
Click to collapse
xXx yYy said:
Look inside here:
How to Link Your Samsung Phone to Windows 11/10? See a Guide!
How to link your phone to Windows 11 so that you can access the contents of the phone on a PC? See a full guide to know what you should do.
www.minitool.com
Click to expand...
Click to collapse
Thanks,But its quite complicated,I just need it to direct with usb.
You can try to connect other phone, if it isn't working fastest solution is to downgrade to windows 10.
MikoSushi said:
You can try to connect other phone, if it isn't working fastest solution is to downgrade to windows 10.
Click to expand...
Click to collapse
LoL What?? No
Make sure that your Android phone is set to "Media device (MTP)" mode when connected to the computer. To do this, connect your phone to the computer via USB, then swipe down on your phone's notification panel and tap on the "USB" notification. From there, select "File transfer" or "Media device (MTP)".
Also, enable USB Debugging on Your Android Phone.
Go to Control Panel then Device manager then Portable Device wher you will find your device with exclamation ( ! ) mark. Right Click on it, update driver --- Browse my computer for driver -- Let me pick from a list --- select MTP USB Device -- Next
Probably you will be now able .....

Categories

Resources