Change USB default mode - Sprint HTC One (M8)

When I'm using usb to pc it usually means I want to run some ADB commands. Annoying part is my phone (and my old EVO LTE) default to HTC Sync Manager and not "Disk Drive". HTC sync manger doesn't work with ADB for me. So I always have to switch it to Disk Drive. Anyone know of a way to make Disk Drive the default. I understand with Disk Drive I don't see my internal storage. I can switch to the other mode when I need to access the internal storage.
Thanks for any input!

Related

Storage card disappears after connecting to PC?

Hi,
Recently got my t-mobile version of the diamond2, the Compact V.
I was used to the diamond, which flawlessly functioned as an external disk whenever i connected it to my pc.
When i connect the diamond2 to my pc, i can choose the option 'connect as external disk drive'. From my pc, i see it but cannot access the files (it looks empty). After disconnecting the cable, on the phone the internal storage card is gone... When connected with activesync, i can browse my storage card in my pc explorer. But also; after disconnecting the cable, the storage card is gone !
Only option is to turn my phone off and on, then my storage card magically exists again... How can i solve this? I still have the original T-mobile ROM (1.39.114.2 NLD)
same problem ! The diamond 1 same problem with the internal storage
I wouldn't say it's a problem. It's most probably a protection mechanism to prevent the card from being written from 2 sources.
Then again.. you could call it a limitation from HTC (or maybe microsoft)
It happend only if you choose Disk Drive. If you choose Active Sync, you can access it
This is a completly normal behaviour, and as far as I know, other phones do it this way too (Nokia's for example).
This limitation is not directly related to Microsoft or HTC.
The filesystem can not be 'mounted' to two systems at the same time.
For this reason, the phone will 'eject' the storage and act as a cardreader for the memorycard.
The reason you can access your Storage Card using ActiveSync has a reason. When you are using ActiveSync, the files are send to the phone and the phones writes it to the storage card. This has it's advantages and it's disadvantage.
Advantages:
- Memorycard will always be available for your phone
Disadvantages:
- You need ActiveSync installed on your PC
- Copying files through ActiveSync goes much slower..
The diskdrive option is much faster, cause your pc is directly writing to your memorycard and does not need a driver/software to work.

[Q] Optimus 2x on mac os X

I recently got the new LG Optimus 2X and im having some real headache over it..
The thing is that it refuses to mount its sdcard on my macbook (10.6.6).
I tryed pretty much everything short of injecting valium, but it simply will not comply.
So could anyone please help me before my hair turns gray and falls off?
It pops up on win xp, both on a pc and in a vmware xp system on the mac, so i assume that its not using the default mass storage system anymore, some google searches hints that its using a semi-proprietary system similar to some mp3- and media-players.
So far ive been using my old phone as SD card adapter, and i also have a wifi network (rarely used, using mobile internet on a usb dongle) for ftp transfers.
But that aint enough, i need to be able to transfer audio/video files aswell as games/apps and backups to/from my phone in a easier fasion than adb push or ftp.
i really like the phone but im concidering returning it and buy a mac compatible phone instead.. but there are no other tegra phones available atm...
Does it use MTP? If so, check out http://www.wentnet.com/projects/xnjb/
I have a Tegra powered tablet (Advent Vega) and my MacBook Pro sees the sd card when mounted no problem.
You could also look at a program called Syncmate. Mac client and free Android version
XNJB is a no-go.. Will not detect a device.
Googlesearch mac with optimus x2 only reveals mac address related links or sites containing the words in different topic lists.
syncmate is a internet-solution, nothing gets synced locally..
And that is simply not an option when i want to transfer +1gb files (at the best of times i reach about 150k/s, usually around 10-30k/s)
Seems to work fine on my MacBook Pro.. no problem at all!
I have some trouble with the phone not detecting the second SD card, solution for me was to uncheck "USB Debugging" while it was plugged in.
Or
Plugout
Disable USB-Debugging
Plug in
Dangerous one: (This might damage current content on your SD-Card, i take no responsability)
While Phone is live
Plug out the SD
Phone goes belly up about it
Says it might be damaged and needs to be reformated
let the phone reformat the SD-Card
Plug the phone back in the Mac
Poof SDcard once again viewable
^^ Above is not recommended, and i can not explain why it worked. also i do not know if it might damage other components of the phone. But mine looks to be just fine and the SD-Card is performing as intended.
Why it is so hard for the Computers to see the external SD is a good Question, i have had the same issues with my windows 7 PC .. USB debugging seemed to be the fix initially.
xarvox said:
I recently got the new LG Optimus 2X and im having some real headache over it..
The thing is that it refuses to mount its sdcard on my macbook (10.6.6).
I tryed pretty much everything short of injecting valium, but it simply will not comply.
So could anyone please help me before my hair turns gray and falls off?
It pops up on win xp, both on a pc and in a vmware xp system on the mac, so i assume that its not using the default mass storage system anymore, some google searches hints that its using a semi-proprietary system similar to some mp3- and media-players.
So far ive been using my old phone as SD card adapter, and i also have a wifi network (rarely used, using mobile internet on a usb dongle) for ftp transfers.
But that aint enough, i need to be able to transfer audio/video files aswell as games/apps and backups to/from my phone in a easier fasion than adb push or ftp.
i really like the phone but im concidering returning it and buy a mac compatible phone instead.. but there are no other tegra phones available atm...
Click to expand...
Click to collapse
On the Optimus 2X you need to activate yourself the USB Mass Storage mode, Go on Applications -> Settings -> SD Card & Phone Storage -> Mass storage only
Desmopro, i already tryed that.
The mass storage setting disables the adb debug tho.
My computer can see the device in system profiler, a hardware list,
And adb devices lists it aswell, but disk utility can't see any connected storage,
mounted or otherwise.
xarvox said:
Desmopro, i already tryed that.
The mass storage setting disables the adb debug tho.
My computer can see the device in system profiler, a hardware list,
And adb devices lists it aswell, but disk utility can't see any connected storage,
mounted or otherwise.
Click to expand...
Click to collapse
What version of OSX you use ?
In terminal, can you see the device (on /dev) ?
Think to reinstall a combo update, to clean up your system
If you use 10.7 beta and you are a developper or a beta tester, send a report to Apple
If you use 10.7 beta found on bittorrent, downgrade to 10.6
The Optimus 2X dont use MTP but the old mass storage method, so there is normally no problem to use OSX with
Im using 10.6.6.
Its strange, my htc hero mounts just fine, without any hazzle or inconvenience, but the optimus will not show..
I finally did find the issue tho, as soon as i eject the external sd-card (remove it physically), the internal storage pops up without a hickup.
But as soon as i insert the sd card, the mounted card stops responding, folders wont refresh, file copy stops and the only option is to eject the media from finder.
So regardless of what i try, i cannot get the external card mounted on my mac, even tho it works fine on pc.
..ive been using my sd card from my hero from the moment i got the phone..

media transfer

using windows XP i can not get the nexus 7 to show up to transfer files. not sure if i need a MTP driver (which i cant find anywhere) or if there is something else i need to do i would hate to have to transfer media to a different PC to get what i want on there.
any ideas
From the charging notification, make sure it is in external storage mode to allow the USB PnP to recognize the device for file storage.
Mustang7302 said:
From the charging notification, make sure it is in external storage mode to allow the USB PnP to recognize the device for file storage.
Click to expand...
Click to collapse
I plug the nexus 7 into the PC via USB. N7 says Connected as Media device. but nothing shows on PC
I dont have my N7 yet, but looking at my Thunderbold ... There should be an option for Disk Drive when you open the notification that appears when plugged in by USB. When the Disk Drive option is enabled, the PC will detect the drive and treat it as an external data source.
Perhaps someone who has an N7 in hand can chime in.
Mustang7302 said:
I dont have my N7 yet, but looking at my Thunderbold ... There should be an option for Disk Drive when you open the notification that appears when plugged in by USB. When the Disk Drive option is enabled, the PC will detect the drive and treat it as an external data source.
Perhaps someone who has an N7 in hand can chime in.
Click to expand...
Click to collapse
yeah no thats not the case here all my other Android devices work fine including my Gnex running JB 4.1 still connects the same way. its just the N7 that wont show up. i can ADB to the N7 but nothing else.

USB Mass Storage Mode on htc one?

it is possible enable USB Mass Storage Mode on the new htc one??
AW: USB Mass Storage Mode on htc one?
I hope this feature is coming soon. It is annoying with only mtp mode
gesendet von dem One and only
shino82 said:
I hope this feature is coming soon. It is annoying with only mtp mode
gesendet von dem One and only
Click to expand...
Click to collapse
mmm ok and usb host? works already?
Yeah USB host has always been working (USB OTG). As for the phone's internal storage, that's only MTP at this point.
Since newer android devices store what is essentially the sdcard on the data partition its nearly impossible to mount that as mass storage
It has its benefits, like having more space for storing apps since its all one partition
Now if we get s-off you could essentially repartition the phone to have a sdcard partition but that's just too much of a pain
Sent from my HTC One X using Tapatalk 2
I've seen mass storage be made to work on the Samsung Galaxy S2, which was also MTP by default
Hopefully its as easy as it was there, where they added a line to the build.prop
I thought MTP mode was a feature that came
With jellybean .
On my
One X this mode only appeared after upgrading from ICS to jellybean and custom Rom has re enabled the facilityto mount as USB mass storage on pc
Sent from my HTC One X using xda app-developers app
Does Windows recognize the HTC One as a external drive with MTP? Is it possible to transfer files from PC<->Phone?
Just plug your phone in to the pc. You don't have to enable mass storage, the pc recognizes the built in storage on the phone and you can transfer files to and from the device.
I was going crazy myself, until I just looked under "My computer" to see the phone as a storage device!
Sent from my HTC One using xda premium
Android's been pushing developers to move to MTP only for a long time. Prior, they could use both USB Mass Storage and MTP, because the storage was on a separate partition, but now that it's all on one partition (data), you can only use MTP. This is by design for Android, HTC's just following it. Samsung, of course, rarely listens to Google.
Vincent Law said:
Android's been pushing developers to move to MTP only for a long time. Prior, they could use both USB Mass Storage and MTP, because the storage was on a separate partition, but now that it's all on one partition (data), you can only use MTP. This is by design for Android, HTC's just following it. Samsung, of course, rarely listens to Google.
Click to expand...
Click to collapse
I plugged up to my pc and put albums in the music folder and picture albums in a pictures folder. When i opne the music app, it doesnt see any music and same with gallery, cant see anything only pics i've taken with phone.
To enable mass_storage you have to disable mtp
echo 0 > /sys/devices/virtual/android_usb/android0/f_mtp/on
Your pc will then install drivers for mass storage but the filesystem isn't mounted/binded so it doesn't show you your storage. I'm working on it just for the help of it.
To get mtp back either reboot or send the same command above, but echo 1 > instead of a 0
You may have to reboot pc at this point also if you get a unrecognized device error after disconnecting/reconnecting the device. I'm pretty certain this won't work properly and is fairly useless as well but interesting none the less
MTP is a pain when you are trying to manipulate several files at once. For example, NameEXIF will not work for renaming my pictures.
Vincent Law said:
Android's been pushing developers to move to MTP only for a long time. Prior, they could use both USB Mass Storage and MTP, because the storage was on a separate partition, but now that it's all on one partition (data), you can only use MTP. This is by design for Android, HTC's just following it. Samsung, of course, rarely listens to Google.
Click to expand...
Click to collapse
Samsung uses MTP for both internal and external storage... That's how it works on my S3 and Note 2. There are apps that will enable Mass Storage mode on only the external storage via a script, but that's third-party and not built into the OS.
You can't enable it on internal storage on any device because the purpose of MTP storage is to allow storage to be mounted both on the phone (by Android) and your computer at the same time. That's why only the external storage on Samsung devices can be mounted as Mass Storage (by an app); the external storage doesn't contain anything that needs to be constantly accessed in order for Android to run. However, since the HTC One only has internal storage, it can't use mass storage mode since you'd have to unmount the internal storage to access it from your computer.
tl;dr: No, for technical reasons.
No Mass Storage Mode = No Data Xfer Automation on HTC One?
Product F(RED) said:
Samsung uses MTP for both internal and external storage... That's how it works on my S3 and Note 2. There are apps that will enable Mass Storage mode on only the external storage via a script, but that's third-party and not built into the OS.
You can't enable it on internal storage on any device because the purpose of MTP storage is to allow storage to be mounted both on the phone (by Android) and your computer at the same time. That's why only the external storage on Samsung devices can be mounted as Mass Storage (by an app); the external storage doesn't contain anything that needs to be constantly accessed in order for Android to run. However, since the HTC One only has internal storage, it can't use mass storage mode since you'd have to unmount the internal storage to access it from your computer.
tl;dr: No, for technical reasons.
Click to expand...
Click to collapse
Here is my issue: It's great that the HTC One support MTP for Interactive "drag and drop" of info off of the One... however I control this from my own .bat script. On my previous HTC (Rezound) I could mount both the Internal and SDCard storage as Mass storage (ie.. F: and G: drives) and then let my script pull off the data I want (which goes beyond photo's and videos to include .WAV files and other data I may have created on the phone that day). Is there a way to automate this transfer from a .bat file using MTP? If not, how do I get my "mass storage mode" back on my HTC One? I am rooted, so there must be a way to do this... I can't be bothered with HTC's Sync Manager since its extremely limited and not designed to go after .wav files or anything custom.
Thank You !
Mamboking4U said:
Is there a way to automate this transfer from a .bat file using MTP?
Click to expand...
Click to collapse
You could use adb push/pull in your scripts instead of using MTP.
I hate what they doing. I always used file manager like TotalCommander to operate on multiple files.
Now htc one s is not visible in total commander. Simple drag and drop is pain in my ass. Wasting of time for me.
If i have to operate in that way, i prefer to back to the state before update. :/
This sucks, and I thought my HTC one is miles ahead than my iPhone 5 thinking I can connect it to any computer and simply drag and drop files
casperr said:
This sucks, and I thought my HTC one is miles ahead than my iPhone 5 thinking I can connect it to any computer and simply drag and drop files
Click to expand...
Click to collapse
Uhhh, you can do that. If you're on a Mac (which for some retarded reason don't support MTP out of the box), download the Android File Transfer utility. MTP is slower the mass storage mode but it allows the internal storage to be accessed by the phone and computer at the same time.
Sent from my Galaxy Note 2
Thats on Mac but I was hoping i can just plug my android to any phone and it will act as a mass storage without installing any software
---------- Post added at 08:37 PM ---------- Previous post was at 08:37 PM ----------
Sorry I meant plug it to any computer

File transfer and USB

I noticed that my phone is no longer recognized as a removable flash drive when connected to USB (like my all old devices). But the problem is that copying files to it takes too much time. How to remove this ****ty "Portable Device" way of recognizing my Z1 !?? I want the old "removable flash drive" way of recognizing, AT LEAST for my SD card. I don't care for the internal memory, but I don't want to see my microSD recognized as a Portable Device and I don't want to wait the whole day for transfering only one folder of music.
xplod2841 said:
I noticed that my phone is no longer recognized as a removable flash drive when connected to USB (like my all old devices). But the problem is that copying files to it takes too much time. How to remove this ****ty "Portable Device" way of recognizing my Z1 !?? I want the old "removable flash drive" way of recognizing, AT LEAST for my SD card. I don't care for the internal memory, but I don't want to see my microSD recognized as a Portable Device and I don't want to wait the whole day for transfering only one folder of music.
Click to expand...
Click to collapse
Anything change if you go to USB Connectivity > Connectivity Mode and select Mass Storege Mode? or Vice-Versa?
eclyptos said:
Anything change if you go to USB Connectivity > Connectivity Mode and select Mass Storege Mode? or Vice-Versa?
Click to expand...
Click to collapse
Thank you. Somebody told me that this can't be changed but after switching to mass storage my SD card now works normally. Unfortunately, now I can't see my internal storage. But I'll switch to MTP when I want to access my internal storage.
Sent from my Sony Xperia Z1
I've got to turn off USB debugging to see phone on laptop
Sent from my C6903 using xda app-developers app

Categories

Resources