is it possible to change default connection? - Nexus 5X Q&A, Help & Troubleshooting

as the title suggests is it possible to change the default pc connection to "file transfers" maybe just some line that can be placed in a config file or a kernel tweak?
i tried a few apps that claim to do it but they dont actually change the default connection they only make it so when its connected to the pc the app realizes this and switches to file manager. but this isnt what i need. I have a 2016 GMC terrain and in order to plug the phone into the stereo's usb and play music back the phone has to be in file transfer mode from the start to work.
i know in the older version of android they had that option in the storage section in settings but in MM they removed that option...

The setting is in Developer options.
Sent from my SM-G930V using Tapatalk

darkmage1991 said:
as the title suggests is it possible to change the default pc connection to "file transfers" maybe just some line that can be placed in a config file or a kernel tweak?
i tried a few apps that claim to do it but they dont actually change the default connection they only make it so when its connected to the pc the app realizes this and switches to file manager. but this isnt what i need. I have a 2016 GMC terrain and in order to plug the phone into the stereo's usb and play music back the phone has to be in file transfer mode from the start to work.
i know in the older version of android they had that option in the storage section in settings but in MM they removed that option...
Click to expand...
Click to collapse
Do you have xposed? There is a module for this. Not sure if it works the way you want as I don't use it.

Related

[Q] "The file is too large for the destination file system" error.

Happens when I try to download files to my Defy's SDcard, such as update.zips for various roms. Via MotoPortal's stock remote file manager.
What bugs me is that I cannon see any system in it, like, one moment a big file DLs just fine, another moment its "too big", then at some point it goes fine again, and again too big... All on pretty much the same Nordic .177 ROM.
Any idea what's happening and how to fix that?
100% not SDcard problem itself: just removed it from a phone, put into card reader and wrote on all the files I wanted.
They then were read on Defy without problems.
The moto portal is very fishy in my case. Everytime I saw a few different folders, and sometimes I saw none at all. I no longer use it now. For transfer of big files I set usb connection to mass storage. For small files I just transfer via wifi.
Speaking of "usb mass storage" mode, I only found the setting to do so deep in the MediaShare app. Is it also acessible somewhere else?
ArcanisX said:
Speaking of "usb mass storage" mode, I only found the setting to do so deep in the MediaShare app. Is it also acessible somewhere else?
Click to expand...
Click to collapse
When connected with usb, tap the notification bar, tap usb connection, tap mass storage. Some switch widgets can switch on/off usb mass storage with a single tap.

[Q] I Can't access MicroSD through the PC

Hi. I'm new to the forums and android. Sorry if this is not the correct place to post this.
When I connect my phone to the PC via USB I only see a few folders and none of the media files in the phone. I've tried accessing through Media Link and Windows Explorer and nothing.
Weird thing is that I see some folders and photos, like the photos taken with the RetroCamera Application.
I have been able to access my files before, it just suddenly stopped working.
Any ideas?
Try using different USB [if already did]
Go to your Hardware devices, change the MTP devices drivers to USB drivers manually [update them choose them manually from list]
Hopefully you'll get it working again
First,you should make sure that your MicroSD's file system is OK.
hpzf89 said:
First,you should make sure that your MicroSD's file system is OK.
Click to expand...
Click to collapse
How do you do that?
VanDerFlaxen said:
How do you do that?
Click to expand...
Click to collapse
Can you access the files with your phone's file browser?if you can do that,the sd card might be OK,then you can check the OS.But if you can't,you may have to format the sd card.
this is normal if USB mode is set to windows media sync, its some kind of security feature I think.
you have 2 options:
1. attempt to access via the moto web phone portal as above, you need to set the USB mode to 'motorola phone portal'. but this I find is a bit hit and miss, you can manually connect using this address:
http://192.168.16.2:8080/webfolder
this can be entered into start -> run, in windows explorer, or mapped directly as a network drive
2. go into USB options and change the mode to 'USB mass storage' this will mount the SD card as a proper removable drive and show all the files properly. This option may not be available depending on what firmware is loaded onto the phone though!
to change USB mode swipe the status/menu bar at the top of the phone down, and tap 'USB connection'
hpzf89 said:
Can you access the files with your phone's file browser?if you can do that,the sd card might be OK,then you can check the OS.But if you can't,you may have to format the sd card.
Click to expand...
Click to collapse
Yes, I can access the files through the phone browser.
rubjonny said:
this is normal if USB mode is set to windows media sync, its some kind of security feature I think.
you have 2 options:
1. attempt to access via the moto web phone portal as above, you need to set the USB mode to 'motorola phone portal'. but this I find is a bit hit and miss, you can manually connect using this address:
this can be entered into start -> run, in windows explorer, or mapped directly as a network drive
2. go into USB options and change the mode to 'USB mass storage' this will mount the SD card as a proper removable drive and show all the files properly. This option may not be available depending on what firmware is loaded onto the phone though!
to change USB mode swipe the status/menu bar at the top of the phone down, and tap 'USB connection'
Click to expand...
Click to collapse
I've used the moto web portal and I was able to access my files, however, it draggs when moving files. Also, the phone was in USB Mass Storage mode the whole time.
Today I connected my phone to my laptop at the office and even though the Motorola Media Link did not pick up my media files, I was able to access them through Windows Explorer. So I'm leaning towards a driver issue with my home PC.
ah ok, maybe the drivers haven't fully installed, check in the device manager to see of you can spot anything. you could also try changing the usb mode to a different setting then back again, see if that kicks the pc into installing the correct drivers
I re-installed the drivers, but still no go.
What surprises me the most is that I can't access or even see some of the folders in my SD Card. The Motorola Media Link recognizes that there is something in the card, but can't tell what it is.
Googling for days, I found this, but I don't know how to do it or even it is related to my problem:
"Finally i solve the problem. And everything in my ext sd card is back. Problem is emmc folder (means external sd card in cyanogenmod 7) not permitted for write and read.
I use QtADB Terminal for editing the directorys permition.
Step 1: type "su"
Step 2: go to root directory. If you type "ls" and can you see "emmc" you are right position.
Step 3: "chmod 777 emmc" or "$chmod 777 emmc" (for write and read permitted.)
Step 4: Reboot the phone and everythings are back in External Sd Card in EMMC
And Windows detect 2 Storage Drive now. One of 6GB Internal Sd Card, One of 8GB External Sd Card. And i can use my Music player Power AMP.
Everythings perfect for me now. Cyanogen is great ROM but this permision problem should bu fixed. Because i spend three day for solve this problem."

[Q] Nexus not showing up in windows

Hello all. I have recently installed CM 10.2. My device will not show up in Windows when running CM rom. When i run stock rooted it shows up. Any ideas? I have usb debugging checked, all drivers installed.
bynarie said:
Hello all. I have recently installed CM 10.2. My device will not show up in Windows when running CM rom. When i run stock rooted it shows up. Any ideas? I have usb debugging checked, all drivers installed.
Click to expand...
Click to collapse
Go to settings then storage n then USB connection and make sure mtp is checked
thanks
Hnk1 said:
Go to settings then storage n then USB connection and make sure mtp is checked
Click to expand...
Click to collapse
Thanks a lot. Worked perfectly
Hnk1 said:
Go to settings then storage n then USB connection and make sure mtp is checked
Click to expand...
Click to collapse
So what is the trick if this has been ticked the whole time but still won't show up? I've glot CM 10.2, MTP is checked, when plugged in the laptop it shows up at the bottom on the task bar & then when I right click it says Nexus 7.
My device shows up under devices & printers, but not under computer when clicking the start menu on the PC & clicking computer. My HDD, DVD drive & SD card all show up, but no N7 so I can't transfer files.
Am I missing something else?
quickstang said:
So what is the trick if this has been ticked the whole time but still won't show up? I've glot CM 10.2, MTP is checked, when plugged in the laptop it shows up at the bottom on the task bar & then when I right click it says Nexus 7.
My device shows up under devices & printers, but not under computer when clicking the start menu on the PC & clicking computer. My HDD, DVD drive & SD card all show up, but no N7 so I can't transfer files.
Am I missing something else?
Click to expand...
Click to collapse
Please elaborate a bit. What I understood is :
Nexus 7 doesnot show up like an SD card etc but as a mobile device yet you can not transfer stuff ?
It doesnot show up like a drive. For me, on Windows 7, it shows up like a mobile device in other devices with the name "Nexus 7". If i click it , I get into the internal memory. You can not rename folders or transfer files within Nexus(as it is used by the Nexus itself so it can not be changed). However, try copy a file from PC to your nexus. Does that work? If yes, that is perfectly normal. Use a file explorer like ES file explorer to rename and transfer files within Nexus. But Es file explorer has some bugs with JB 4.3 esp with extracting a rar file.
If this doesnot solve it, I remember there was also some settings for it. I can not remember though as I havenot used the latest CM 10.2.
Hnk1 said:
Please elaborate a bit. What I understood is :
Nexus 7 doesnot show up like an SD card etc but as a mobile device yet you can not transfer stuff ?
It doesnot show up like a drive. For me, on Windows 7, it shows up like a mobile device in other devices with the name "Nexus 7". If i click it , I get into the internal memory. You can not rename folders or transfer files within Nexus(as it is used by the Nexus itself so it can not be changed). However, try copy a file from PC to your nexus. Does that work? If yes, that is perfectly normal. Use a file explorer like ES file explorer to rename and transfer files within Nexus. But Es file explorer has some bugs with JB 4.3 esp with extracting a rar file.
If this doesnot solve it, I remember there was also some settings for it. I can not remember though as I havenot used the latest CM 10.2.
Click to expand...
Click to collapse
So the first picture is of devices. You can see the N7 is shown, but clicking it only takes me to the info about the device. No way to transfer stuff. Right clicking gives me eject, troubleshoot, properties.
The second is the windows section where it shows the HDD, etc. No N7. I was expecting it to show up to be able to transfer files from computer to the device as in a mass storage device. I did this with the last one where I could see everything on the device.
I have a 600mb file I want to transfer to the tablet & was expecting to just copy it over.
quickstang said:
So the first picture is of devices. You can see the N7 is shown, but clicking it only takes me to the info about the device. No way to transfer stuff. Right clicking gives me eject, troubleshoot, properties.
The second is the windows section where it shows the HDD, etc. No N7. I was expecting it to show up to be able to transfer files from computer to the device as in a mass storage device. I did this with the last one where I could see everything on the device.
I have a 600mb file I want to transfer to the tablet & was expecting to just copy it over.
Click to expand...
Click to collapse
I am attaching my pictures how I see my nexus when it is connected. You do not see Nexus 7 if it is not connected properly or not enabled from Nexus settings.
Does your device charge when you connect to the PC ?
Does your device connect in USB debugging mode ?
Further, go into device manager in My computers and see if there are any question marks on any device? Make sure your device is connected at that time.
Try to connect it to different port or without USB hub if you are using as sometimes, devices do not show up.
Moreover, try to connect your device to the PC and then tick on MTP and then change few options like connect via different methods and see if any usb connection is seen ?
Also, close all other mobile softwares in the background and taskbar (Kies, Sony PC companion, LG, Nokia PC suit) and then try connecting it.
They are many a times culprits. Even try uninstalling their drivers and programmes.
IF USB DEBBUGGING WORKS AND CHARGING, DRIVERS ARE PERFECTLY INSTALLED IN THE PC
YOUR PROBLEM SEEMS TO ME FROM NEXUS SETTINGS.
IT SIMPLY COULD BE A BUG AS CM is still nightly
I hope this helps
quickstang said:
So the first picture is of devices. You can see the N7 is shown, but clicking it only takes me to the info about the device. No way to transfer stuff. Right clicking gives me eject, troubleshoot, properties.
The second is the windows section where it shows the HDD, etc. No N7. I was expecting it to show up to be able to transfer files from computer to the device as in a mass storage device. I did this with the last one where I could see everything on the device.
I have a 600mb file I want to transfer to the tablet & was expecting to just copy it over.
Click to expand...
Click to collapse
Hnk1 said:
I am attaching my pictures how I see my nexus when it is connected. You do not see Nexus 7 if it is not connected properly or not enabled from Nexus settings.
Does your device charge when you connect to the PC ?
Does your device connect in USB debugging mode ?
Further, go into device manager in My computers and see if there are any question marks on any device? Make sure your device is connected at that time.
Try to connect it to different port or without USB hub if you are using as sometimes, devices do not show up.
Moreover, try to connect your device to the PC and then tick on MTP and then change few options like connect via different methods and see if any usb connection is seen ?
Also, close all other mobile softwares in the background and taskbar (Kies, Sony PC companion, LG, Nokia PC suit) and then try connecting it.
They are many a times culprits. Even try uninstalling their drivers and programmes.
IF USB DEBBUGGING WORKS AND CHARGING, DRIVERS ARE PERFECTLY INSTALLED IN THE PC
YOUR PROBLEM SEEMS TO ME FROM NEXUS SETTINGS.
IT SIMPLY COULD BE A BUG AS CM is still nightly
I hope this helps
Click to expand...
Click to collapse
Also I found this thread. I am sure this will help
http://forum.xda-developers.com/showthread.php?p=44262098
Hnk1 said:
Also I found this thread. I am sure this will help
http://forum.xda-developers.com/showthread.php?p=44262098
Click to expand...
Click to collapse
May be a CM bug. I just connected my Galaxy Nexus running 4.2.2 AOKP & I just transferred files from my phone to computer.
The N7 is connected, charging, debugging works, etc. So i'll keep waiting to see what the deal is with each new CM install.
I do appreciate all of the suggestions. Should have tested it on CleanRom before flashing CM to see if it was working then.
I am having the same problem with cleanrom

Need urgent help in moving a file from N7 [Superbeam Question]

I downloaded a huge file on my N7 2013 last night (8GB) only to realize I can't use Mass Storage Mode on this tablet.
I'm running CyanogenMod 10.2.0-RC1-flo on my tablet.
I purchased Superbeam to try and transfer the file to my S4 so that I can then transfer it to my computer and burn the ISO to a DL CD. I can't get it to work with Superbeam. I've enabled Android Beam & NFC on both devices. I choose the file and on my S4 I pair it by scanning the code. It doesn't work.
Any other way to do this?
Figured it out. Went into the Storage options, click on the menu button and choose USB Connection. Enabled the check box and it worked.

usb charging will not turn off ??

I'm trying to transfer some photos from my note 7 to a usb stick and it keeps triping back to usb charging??
I have...
in developer options
usb debugging "on"
networking
usb configuration
MTP selected
when I plug the stick in I pull down the notification page when I tap "supplying power via usb"
I try to select "Transferring media files" ( MTP) for 2 seconds in engages then automatically switches back to "Supplying power via usb " ??? I can't transfer anything ???
any ideas on this one ??
skyeking69 said:
I'm trying to transfer some photos from my note 7 to a usb stick and it keeps triping back to usb charging??
I have...
in developer options
usb debugging "on"
networking
usb configuration
MTP selected
when I plug the stick in I pull down the notification page when I tap "supplying power via usb"
I try to select "Transferring media files" ( MTP) for 2 seconds in engages then automatically switches back to "Supplying power via usb " ??? I can't transfer anything ???
any ideas on this one ??
Click to expand...
Click to collapse
Your usb stick is not a computer, it does not need to read your phone with MTP protocol.
The phone should provide power to the USB stick, exactly as it is saying, so that your phone can read the contents of the USB stick.
Get a File Manager like FX to transfer items to and from your USB stick.
I have the same problem. It always says usb charging and I could not transfer pictures to my usb using the usb-c/usb adaptor. I tried using file manager app but I get confused with all these asking permissions and I end up unable to transfer anything. I never had this problem with my S7 edge before. I tried connecting the phone directly to the mac using android file transfer but could not connect. I would really appreciate if someone can give us a more detailed steps on how.
edsol said:
I have the same problem. It always says usb charging and I could not transfer pictures to my usb using the usb-c/usb adaptor. I tried using file manager app but I get confused with all these asking permissions and I end up unable to transfer anything. I never had this problem with my S7 edge before. I tried connecting the phone directly to the mac using android file transfer but could not connect. I would really appreciate if someone can give us a more detailed steps on how.
Click to expand...
Click to collapse
jcadduono said:
Your usb stick is not a computer, it does not need to read your phone with MTP protocol.
The phone should provide power to the USB stick, exactly as it is saying, so that your phone can read the contents of the USB stick.
Get a File Manager like FX to transfer items to and from your USB stick.
Click to expand...
Click to collapse
I tried that I have ES file explorer like "edsol" said it won't mount the stick because it's in charging mode
I tried several time to switch it off of charging mode but always flips back after a few seconds.
if "edsol" has the same problem then I guess it's not just my phone........there must be a fix for this??
I had the same situation, and I had to format the USB stick in "exFAT" to be able to copy files to it. NTFS is supported only for reading, but not for writing.
So check that your USB stick is not NTFS.
FAT32 and exFAT are the same, the difference is that exFAT doesn't have the FAT32 limitations (maximum file size of 4 GB)
Goremael said:
I had the same situation, and I had to format the USB stick in "exFAT" to be able to copy files to it. NTFS is supported only for reading, but not for writing.
So check that your USB stick is not NTFS.
FAT32 and exFAT are the same, the difference is that exFAT doesn't have the FAT32 limitations (maximum file size of 4 GB)
Click to expand...
Click to collapse
Thanks...but it is exFat......I did a reformat just incase.......still a no go ??
you probably need some file manager to do what you want, Android sucks when it comes to manual file management.
Anyway I have ES file explorer loaded on my phone, so plugged in USB c to USB2 adapter, put in 32 GB FAT32 memory stick, ES file exp. open up and I transferred couple files from stick to SD, just to test it if it works. It did, but you would have to pay me a lot of money to do it on regular basis, so awkward. I just plug my phone to PC and use windows click and drag to move files around. Now I run into problem, when I was transferring my pictures, couple days ago, F???? Android lock my sd card for no reason (F????? Google is messing SD cards on phones since at least kitkat). I had to fix sd and take write protect off, but I'm sure it's Google not Samsung. Anyway, it works like a charm, just watch out for Google's broken permissions showing it's ugly head.
What File Explorer are you using? Some of them can't write to external storage because of Marshmallow permissions.
"My Files" of Samsung worked for me while "ES File Explorer" didn't work (before root)
I used ES File Explorer, I'm sorry I said wrong in my previous post, I moved couple files to phones DCIM folder, not SD, it's so awkward and I just wanted to see if it works at all, it did, I confirmed the files were moved, before deleting them. So actually I don't know if it would work on SD card, but I would never ever transfer files like that: I would use my pc laptop for direct transfer between SD and stick. So the concept I described works, but as far as permissions to particular folders go, they're so messed up and don't even want to test it again against SD. In theory it should work at least for transfer to root directory, since card is not protected, may not work for transfer to folders created by other programs due to permissions. At some point I may have to root this phone just to fix those stupid permissions, but I haven't used Marshmallow until now, so not sure how broken those permissions are here.
pete4k said:
I used ES File Explorer, I'm sorry I said wrong in my previous post, I moved couple files to phones DCIM folder, not SD, it's so awkward and I just wanted to see if it works at all, it did, I confirmed the files were moved, before deleting them. So actually I don't know if it would work on SD card, but I would never ever transfer files like that: I would use my pc laptop for direct transfer between SD and stick. So the concept I described works, but as far as permissions to particular folders go, they're so messed up and don't even want to test it again against SD. In theory it should work at least for transfer to root directory, since card is not protected, may not work for transfer to folders created by other programs due to permissions. At some point I may have to root this phone just to fix those stupid permissions, but I haven't used Marshmallow until now, so not sure how broken those permissions are here.
Click to expand...
Click to collapse
I've tried a few file programs including My Files..........but the usb stick isn't recognized because it stays in charging mode
so can't even attempt to transfer anything....this is frustrating !!

Categories

Resources