USB Settings - Huawei Mate 20 Pro Questions & Answers

I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.

bilottag said:
I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.
Click to expand...
Click to collapse
Strange, I *know* that mine 'used to' stay at whatever setting it was left at before. I just tried it now, and it still stays on whatever it was last set to, BUT... It automatically toggles the 'allow debugging over USB' to OFF every time I plug my phone into my computer. Now I know it didn't do this before, I wonder if it has something to do with 'always trust this connection' being set? Also, it really seems like this stuff is behaving just a wee bit different since I unlocked my bootloader. Hmm, could it be they have set a flag where USB debugging always turns off when the device is connected to something, IF the bootloader is unlocked?

bilottag said:
I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.
Click to expand...
Click to collapse
I can confirm that this happens on mine too, really annoying, but I think this is not something a lot of people are facing, as there are literally NO other references to this that I can find. The reason why I think this is a very specific issue is that I recently got a Mate 20 X, which is essentially the same phone, and noticed that when I plug in the USB to a PC, I get a dialog pop up at the bottom of the screen asking if I want to transfer photos, files or to charge only. I NEVER saw this on the Mate 20 Pro, but that might be because I messed something up. I did do a lot of fiddling over ADB when the phone was new (mostly disabling apps) and giving permissions to apps like lightning launcher and System UI tuner and I'm wondering if this what has caused the issue.
Obviously even before I did this, I necessarily must have connected to the thing via USB, but strangely, I don't remember seeing this dialog... Having to go into developer mode to change this setting can't be how it's set up normally, as then basically no-one will be able to get connected via MTP (I suspect everyone on XDA knows about this setting, but suspect none of the average Joes even knows the option exists).
So the question is, what did we do wrong and how do we get this diaglog back because I have found that Developer mode is not accessible for other Users set up on the phone so I can't access the phone at all via USB now when the other user is using it...
I'm hoping we can work together to find out what we did wrong!
PS: I find like kaibosh99 that the USB debugging also toggles back to off. I am not rooted or bootloader unlocked

After a lot of faffing and looking into it some more, I don't get the pop-up dialog but have discovered that it is in the notification menu where it shows
USB icon . Charging via USB
Expanding that notification and tapping on it, gives the option to choose file transfer and a load of other stuff. It's a pity that a pop-up dialog doesn't open like on the Mate 20 X, you can see what I mean here
https://uk.community.huawei.com/mat...tried-usb-debugging-and-all-that-already-6786
Much easier than having to go into the notification menu!

Related

[Q] remove pop-up when USB plugged in

My best efforts at searching for a previous thread on this subject have failed me, so either I've come up with a new question or my search-fu is weak.
Whenever I plug my Vibrant into my PC to charge it (ie, every night) it pops up a screen over whatever I'm doing asking what I want to do. Overwhelmingly, what I want to do is nothing, but that's not an option. I so rarely want to do the Media Player or Samsung Kies options that it's no problem having to go to settings to enable them. I can always mount my phone as a flash drive from the notification bar. In other words, all the pop up screen does is annoy me. Is there a way to disable it, and basically set "do nothing" as the default action to take when I plug my phone into my PC?
Oh, I'm running TW's Bionix-V 1.3.1, but I couldn't find a way to do what I want to do in stock Froyo when I was using that.
Setting>applications>Development and tick USB debugging.
Alex9090 said:
Setting>applications>Development and tick USB debugging.
Click to expand...
Click to collapse
Wow, I feel stupid. For some reason I thought that USB debugging disabled my ability to actually mount my phone as a flash drive. Well, 2 flash drives. It's not quite ideal (I'm not entirely happy with leaving USB debugging on all the time), but it's certainly less annoying than the stupid pop up screen, and I'm pretty sure my discomfort is not particularly rational.
Thanks!
If you don't want to turn on the usb debugging, then there's a usb setting under wireless and network where you can choose one of the settings you want.
Alex9090 said:
If you don't want to turn on the usb debugging, then there's a usb setting under wireless and network where you can choose one of the settings you want.
Click to expand...
Click to collapse
Regrettably, the choice I want - "do nothing" - is not an option from that menu. Personal idiosyncrasy, I guess. I also turn off autoplay for my optical drives on my computer. USB debugging seems to do the trick the way I want, though.

Conecting the sgs ii to a pc it's a bit of a hassle

What kind of connection "type" does the sgs ii uses for connecting to a pc? sometimes my pc wont even recognize it, i have even tried hooking it up on some of my friends pcs but most of the times on the device it says "mtp" but i cant access through my pc i can even eject it using windows
If you just plug it in and it says MTP, you need the phone's drivers in order to use it.
but theres a much faster way, Just go to settings > apps > development and activate usb debugging.
this way, whenever you plug the phone, it shows up on the phone "USb plugged in"
then you press it, and you hit "load",
then you'll see your phone as a flash drive...and trasfer rate is at maximum
thats the best way, plus you dont need any drivers for doing it
eranyanay said:
If you just plug it in and it says MTP, you need the phone's drivers in order to use it.
but theres a much faster way, Just go to settings > apps > development and activate usb debugging.
this way, whenever you plug the phone, it shows up on the phone "USb plugged in"
then you press it, and you hit "load",
then you'll see your phone as a flash drive...and trasfer rate is at maximum
thats the best way, plus you dont need any drivers for doing it
Click to expand...
Click to collapse
mtp is kinda sucky as far as i can tell, trasnfers are slower :/ , i did what you said: but i get "conect to usb storage" instead of load , works great tough

Nexus 9 with no USB setup? Very confused.

So, I have received a hand-me-down Nexus 9, and I start in on my usual cleanup and setup routine, only to find something very weird- my computer utterly does not notice its existence when I plug in the USB, and the USB settings are missing from their usual spot in the Storage and USB section of settings.
I eventually found the control for USB type in the Developer settings (maybe it moves when you activate those?), but the computer still doesn't know anything's connected.
Things I have confirmed:
Tablet charges fine.
The cord works for file transfer with another device (a Kindle that happened to be around)
I can change to different USB connection types- none of them work.
The computer is COMPLETELY unaware of the tablet- no mysterious entries popping up to indicate missing drivers, nothing.
WTF? I can't do most of the other steps I usually do without at least a little bit of access so I can root the thing and put in a decent recovery. Has anyone else seen something like this? Was there a fix?
Firefairy said:
So, I have received a hand-me-down Nexus 9, and I start in on my usual cleanup and setup routine, only to find something very weird- my computer utterly does not notice its existence when I plug in the USB, and the USB settings are missing from their usual spot in the Storage and USB section of settings.
I eventually found the control for USB type in the Developer settings (maybe it moves when you activate those?), but the computer still doesn't know anything's connected.
Things I have confirmed:
Tablet charges fine.
The cord works for file transfer with another device (a Kindle that happened to be around)
I can change to different USB connection types- none of them work.
The computer is COMPLETELY unaware of the tablet- no mysterious entries popping up to indicate missing drivers, nothing.
WTF? I can't do most of the other steps I usually do without at least a little bit of access so I can root the thing and put in a decent recovery. Has anyone else seen something like this? Was there a fix?
Click to expand...
Click to collapse
Try a different cable.
Boot into bootloader and see if computer sees device there
When you plug your tablet to computer a notification pops up on Nexus 9 (Charging only). Click on it and you will be able to select different connection mode.
If changing that notification mentioned in Post #3 doesn't work, updated the USB drivers in the computer Device Manager while the Nexus 9 is connected.
I had a similar issue with a Nexus 9 I bought on Swappa. I had to wiggle the usb cable, but in my situation the "data" portion of the usb port on the tablet was faulty/damaged (PTP/MTG/OTG failed). It was able to charge without issues, and by wiggling it windows would detect it but fail "usb device malfunctioned".. I ended up returning it to seller.
I've had this happen at times (only owner of my device). If you did what maelfilk suggested and no go, you either have a power-only cable (similar to what clockcycle posted) or you need to go through process of upgrading driver on PC; or, if that doesn't work, delete everything related to android USB drivers on PC. Then, let them (each device) repopulate.
Nexus 9

USB connecting as "for charging" only...how to change this?

Hello all
I have had a Swift X for a week. So far so good...for the most part.
My usage habits are such that I frequently take photo's for my job and download them to my PC.
When I plug in with USB my PC recognises this and opens with a window "This PC > Swift 2 X" ... but I cannot access the internal drive...
...I then always have to go to the phone....tap "USB for charging; Touch for more options"...and then select "File Transfers"
...then at my PC a pop up appears with "Internal Memory" accessible.
Is there a way to shortcut this and make it a permanent setting?...I've tried but can't find the relevant option anywhere in the settings.
Thanks!
You can try unlocking the developer options in your device, then inside that menu, find the Networking / Select USB Configuration parameter and set it to MTP (Media Transfer Protocol), although I think the value is ignored and overwritten by something else.
linuxct said:
You can try unlocking the developer options in your device, then inside that menu, find the Networking / Select USB Configuration parameter and set it to MTP (Media Transfer Protocol), although I think the value is ignored and overwritten by something else.
Click to expand...
Click to collapse
Hi...thanks for taking the time...yeah I've done that already...and in Developer Options it states "Select USB Configuration; MTP"....but it doesn't make a difference to my (& I assume every Swift owners) problem.
Yeah it resets itself every time. ?
My first post. This might be relevant. I have found that with my Swift 2+ I connect to the laptop with a usb cable but the laptop doesn't properly recognise the mobile filing system. It just shows an icon labelled with the phone's name but clicking on that gives an empty window.
Note that this happens on both Windows 10 and Ubuntu so I would assume that it is a problem with the mobile rather than the laptop's operating system.
Hint from another topic: A work around can be to have a cloud app on your phone, Dropbox frinstance. Copy the photo to that give time for it to upload and then use the downloaded file in the Dropbox application on your PC. I have tected this in the opposite direction, transferring music from PC to the phone. The disadvantage is that it is slow.
Nick
Hey, as far as I can tell, this is standard Android behaviour since a few releases. You simply have to select MTP every time.
Probably for security reasons.

Enabling USB debugging with pitch black, broken screen

Hey.
Short description: My Oneplus 3's LCD was destroyed to atoms. I'm trying to use Vysor to control the phone through my computer. I actually have USB debugging already enabled from developer options, but that is not enough, as the computer's MAC address needs to be "allowed" for debugging through a prompt that appears on my phone's notifications. Any idea how to do this?
A bit longer description of how I know that the MAC needs to be allowed through a prompt: The LCD broke during two days. First I saw partially what's on the screen, so I was able to enable USB debugging and install Vysor. It worked for these two days, but once a day I needed to allow my computer's MAC for USB debugging through the notifications of my Oneplus 3. Now I cannot do it anymore, as the screen has gone pitch black. Also, ADB says that the phone is offline / it cannot be debugged at the moment. I wish I knew the exact location of the prompt so I could just allow it, since the touch screen still works... There must be another way.
If the touchscreen still works you could just try to hit the button blindly, it's not like missing would be an issue, right?
I tried hitting the prompt blindly, but it's either not there or I already opened it and pressed "decline" which made it go away. :/

Categories

Resources