19

So some smartphones are mounted as.. I don't even know how to call it.. a device, see the screenshot below. The problem is this is no drive, so I can't go there in cmd (can I?) and do other stuff.

(particularly now I'd like to recover some files that were lost when I cut them on the smartphone, navigated to another folder on my PC and pasted there; I encounter this bug for the second time, although failed to make it reproducible; again, Recuva doesn't recognize the device, see the second screenshot)

My question is: can I mount such device as a drive? What is this situation and why some devices are mounted as drives while others are not?

(I've tried also to enable USB-debugging mode on the smartphone, but that didn't help, although when enabled, safe ejection is required)

enter image description here

enter image description here

PS for those interested, currently I use WebDAV server app for some operations like OscarAkaElvis suggested, but for now, it has the following drawbacks:

  • drive letter mapping is to be done per WiFi network. That's a Windows problem, not sure if this can be simplified
  • namely WebDAV server doesn't work for me in the password-protected mode
  • some operations are slow: for instance, calling tree in cmd with output to a file for several tens of folders and 1.5K files tree took ~10 minutes
6

Historically Android phones did support two major protocols when presenting themselves to USB hosts: (1) Mass storage class (MSC), and (2) MTP/PTP device (media transfer protocol, with camera capabilities). The USB mode was user-selectable in the settings menu. Since the Mass Storage provides almost direct access to phone file directories (as from CMD), there were many cases of phone bricking (corruption). As a result, newer phones do not offer the MSC configuration mode, only MTP/PTP. So the answer to your question is "you can't", unless your particular Android phone does have the MSC/MTP switch.

Here is some answer from Photography stackexchange.

| improve this answer | |
  • 2
    the main reason newer versions of Android don't allow direct mounting of the SD card anymore is because when mount to Windows it must be unmounted from android first, making it impossible to use data on SD card – phuclv Jun 7 '17 at 12:24
6

If you want to have a drive with letter you should install some software. Look at this

I guess you know how to perform single copy operations on files in windows but I'll detail the process for you just in case:

After plugin it, usually it needs another interaction more to be done in phone's side. You can drop down the push events and select there to mount your phone as a drive (MTP/PTP), you can select also only to charge power on phone.

It depends of your android version. Here are a couple of images of what I'm talking about:

Android1

Android2

| improve this answer | |
  • I edited my answer to put an useful link to map a drive as a "network drive". Check it out. – OscarAkaElvis Dec 18 '16 at 3:01
  • Well, I have MTP enabled already and using PTP doesn't help much. Thanks for the link, I've seen that already, but for the recovery purpose I don't want to install anything new to the device as that will be new writing to FS which may hurt the cut files. Besides, I don't think WebDAV will allow me low-level recovery operations.. (but I will explore that possibility later) – YakovL Dec 18 '16 at 3:04
  • What is your android version? which mobile model? here is something for samsung involving software samsung kies – OscarAkaElvis Dec 18 '16 at 3:10
  • that software worked for me, thanks – Jonathan Laliberte Apr 18 '19 at 13:36
5

Install a webdav server on your 'phone. The webdav server delivers the data in a given storage partition on your phone to a specific TCP/IP address. On your Windows PC you can then open this IP Address and link a drive letter to it.

OP: https://forums.androidcentral.com/samsung-galaxy-s3/210019-how-can-i-get-drive-letter-windows.html#post2172515

It should be noted that file system options will be limited because any supported file system options must be supported by all the interacting systems.

| improve this answer | |
  • 1
    I installed WebDav Server and then ran net use * \\192.168.1.2:8080 and I can now browse my phone's root folder as drive Z:, and my phone's SD card via Z:\sdcard. – Ross Smith II Aug 4 '18 at 19:34
  • you need to add http:\\ in front of webdav server urls in windows (This PC > View menus at top > Map network drive, or any other webdav server apps, i use the app "Ultimate Servers (pro version, also has free)" with it's webdav server plugin. so on Windows map network drive from webdav server need: http:\\192.168.1.2:8080 or if using Ultimate Server http:\\192.168.1.2:8484 – washere Oct 1 '19 at 0:31
1

Use FAR Manager and install the PortaDev plugin into it. Then you'll see the storages from the phone as drives in FAR Manager, even if they still don't have drive letters.

| improve this answer | |
  • have you tested it with Android devices? Does this help to access the storage via cmd? – YakovL Nov 26 '19 at 9:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.