It has been known that USB Storage functionality was removed in Android 4.4.x and subsequent version of Android.   PTP doesn't work very well on cross-platforms, not to mention it restricts files to certain media types.   MTP works in Windows and in some Linux distributions with certain tweaks. However, it is not very stable and breaks often when transferring huge files (on all of my three Android devices).  The question is to suggest some good alternatives for file transfer between Desktop and Android without compromising data transfer speed (via USB cable). It implies that no data transfer apps using hotspot/wifi should be suggested like Airdroid, WeLine, Webkey et al.    Note that the solution should work on at least all of the Android 4.x.x versions and possibly on 5.0 too. A similar question was asked  but its limited to Android 4.0.x.
29712
Since the latest versions (ICS+?) no longer have mass storage, is there any viable alternative to MTP?  The protocol seems inherently broken and the decision to regress to this format seems like a very 'iphone-esque' move (dumb things down, take away power from the users).  There seem to be numerous problems  with files not showing and it seems to me that transferring a file should be simpler than requiring a system reboot - I am unreasonably demanding that way.  I'm aware of tools like Wi-Fi file transfer but often I find myself in areas without wifi, with just my laptop, phone and a usb cable. The other day, for example, I was one a plane, which is an environment decidedly non-conducive to using a wireless system.
68743
How can I find the file system type of USB drive without using computer? Drive is attached to Android phone and I can see the files in it. I want to know if it is extFAT etc.
95945
When I connect an Android 6 phone with my pc via USB, it always connects as "USB for charging". I have to set it to "connect as camera" (PTP) manually (for ADB to work) every time.   Can I set a default option somewhere and haven't found it yet?
93771
Before going into main question, we do know that :   we can do Reverse Tethering from PC into android () And we can share current phone internet connection via Portable WiFi hotspot (or similar apps in Google Play)   Now the question is :  "Is there a way to share the reverse-tethered internet (as we known connected via usb0 interface) via "Android WiFi Hotspot?"  To make it easier, here's the schema:   Schema of my setup (click image for larger variant)  *Additional Notes :   Actually I don't give a limit which version of the Android (so if it's just compatible in higher version e.g. 4.2, it's okay for me), but I prefer it works on 2.3.x (Gingerbread) Some explanations of how to make APN (Infrastructure Mode) on Android (just like Wireless Router/[netsh wlan hostednetwork] on Windows 7/8) might be really helpful too. And also some explanations about how to masquerade (internet sharing) between two interfaces in Android. (such as ICS in Windows or Masquerade/iptables thingy in Linux-based)
63533
I have a really strange situation here. My PC works fine, at least in most cases, but there's one thing that I can't deal with. When I try to copy a file from my pendrive, everything is ok -- I got 16-19M/s , it works pretty well. But when I try to copy something to the same pendrive, my PC freezes. The mouse pointer stops moving for a sec or two, then it moves a little bit and it stops again. When something is playing, for example, in Amarok, the sound acts like a machine gun. The speed jumps from 500K/s to 15M/s, average 8M/s. This occurs only when I'm copying something to a pendrive. When the process of copying is done, everything backs to normal.   I tried everything -- other pendrive, a different USB port on front panel or those ports from back, I even changed the USB pins on motherboard (front panel), but no matter where I put my USB stick, it's always the same. I tried different filesystem -- fat32, ext4. I have no problem with the device on Windows, on my laptop. It has to be my PC or something in my system. I have no idea what to look for. I'm using Debian testing with standalone Openbox. My PC is kind of old -- Pentium D 3GHz, 1GiB of RAM, 1,5TB WD Green disk. If you have something that would help me to solve this issue, I'd be glad to hear that.  I don't know what else info I should provide, but if you need something, just ask, I'll update this post as soon as possible.  I tried to reproduce this problem on ubuntu 13.04 live cd. I mounted my encrypted partition + encrypted swap and connected my pendrive to a usb port. Next I tried to start some apps, and now I have ~820MiB in RAM and about 400MiB in SWAP. There's no problem with copying, no freezing at all, everything is as it should be. So, it looks like it's a fault of the system, but where exactly? What would cause such a weird behavior?
43616
On some sources I have read that it is impossible to use external hard drives over USB OTG. Is it really impossible? Isn't there some kind of workaround? Update: Apparently ES file explorer can see the disk but can't open it. I heard there are such issues with NTFS hard drives on Android.
84082
I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server.  I run an Ubuntu laptop as my only OS at the moment and want to be able to transfer movies to my iPad.  I currently transfer most of my files by way of the dropbox app which works well for small files but is quite slow for larger files and eats up my bandwidth.  Ideally I'd like to be able to transfer over a cable or through WiFi.  Thanks for any tips.
65969
A number of Android tablets are powered through the Micro B USB port but also provide USB Host support through the same port (e.g. Motorola Xoom 2, Acer A510/700). I need to be able to use USB Host support while charging, at the full power the device accepts (or at least sufficient power to keep the tablet from draining under modest use).  I have rigged up a system with splitter cables and a powered hub. This works on some devices (HP TouchPad, Archos) but not others (Google/Asus Nexus 7, Coby Kyros). And when it does work,  it slow charges (probably at USB 2's 500ma).  How can this problem be solved? Are there any solutions on the market that will solve my problem? I see there are some USB chips by Silego (their Battery Charger ID line) that may solve the problem, but I don't know of any cables, hubs, etc. that use it.
122874
I have a shared network drive full of files I want to access from my phone over wifi.  Is there a easy way to mount it on my phone?  I have a rooted Motorola Milestone.
40834
I use MobaXterm on my windows PC to connect to an Ubuntu 16.04 machine. I worked well until recently I found that SFTP is not working, so my MobaXterm sftp pane is disappear. To make sure that is not MobaXterm issue, I also download FileZilla to test SFTP, not working either. Also, I tried to use VSCode on my windows PC with extension &quot;Remote-SSH&quot; to connect to my Ubuntu machine, but it keeps showing this error:  I am not sure if these connection problems I mentioned above are came from after  I installed zsh on my Ubuntu machine, I installed XRDP but uninstall after.  Any help I would be very appreciate.
26560
Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module.      While this question is about the Galaxy Nexus, other Android devices as well as Windows Phones and MTP enabled media players are also supported.      For troubleshooting see .     I am having quite a bit of problems getting file-transfers working over MTP with the Galaxy Nexus. I am using Kubuntu 11.10 64-bit, and this is what I have done and the results I get:   Added rule for device in /etc/udev/rules.d/51-android.rules. The rule is the following and works for adb:  SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6860", MODE="0666", OWNER="leob" #Galaxy Nexus  Restarted udev (and computer just to make sure).   Adb works, and all methods for reading from the device via MTP seems to work (I have tried mounting with mtpfs, gmtp and using the mtp-tools package directly). When I try to write to the device however, nothing I have tried works.  As an example, running mtp-newfolder test_dir 0 0 gives the following output:  libmtp version: 1.1.0 Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. Folder creation failed. ERROR: Could not close session!   If I run mtp-folders after a failed mtp-newfolder without re-plugging the device, I get the following output:  Attempting to connect device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device mtp-folders: Successfully connected Friendly name: (NULL) Error 1: Get Storage information failed. Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get proplist of all    objects. Error 2: (Look this up in ptp.h for an explanation.) Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles. Error 2: (Look this up in ptp.h for an explanation.) LIBMTP_Get_Storage() : Resource temporarily unavailable OK.   Accompanied by the following in dmesg:  [ 1000.912082] usb 2-4: reset high speed USB device number 7 using ehci_hcd [ 1001.045877] usb 2-4: usbfs: process 3166 (mtp-folders) did not claim interface 0 before use   Does anyone have any idea about what to do?  EDIT:  I also tried the PTP mode. Again, reading works fine, but I cannot write anything to the device.
17199
I'm looking for a way for my HTC Hero (Android 2.1) so I can share the contents of my SD card and phone memory over the WiFi network like a regular Windows file share. I'd like one that does not require me to root my phone, and am willing to pay for the right app so it doesn't have to be free.  I'm thinking of using SMB server and all I've found so far are:    which requires root access.  which is a "Java implementation of the SMB/CIFS network file and printer share server for Android devices" hosted on Google Code that has no documentation and has not released any files.   Is it even technically possible to develop an SMB Server on Android that can be installed without root access?
26787
So far I have been doing projects with Arduino, RPi, ATtiny etc. But now I have project in mind where these things doesnt seem to suit. I need your help.  OK, now on the project:  I have a file on my android device (an image and a .ppt file). I want to transfer it to a SD card wirelessly (bluetooth or WiFi). I will be providing a USB port to access the data in SD card.  Now, I want to assemble/make all the electronics required around the SD card.   (Q1) Which one to choose Bluetooth or WiFi (my requirement is only short range, no internet involved) I want to know what Bluetooth module should I use (I have read that the HC06 is for SPP and I cannot transfer whole .ppt and do a FTP on that). (Q2) I don't want to use RPi or any ready made development board, I want to make my own minimum development board. Will this be possible using STM32F103 and do the Bluetooth transfer, if not which platform should I choose and how to make my own dev board?  (Q3) Is there a specific bluetooth module for FTP? Or any bluetooth module can be used for FTP.. Because when i see the modules they are specified as being Serial.  Please get me started on this. My question might be incomplete, please ask if any information required. (Please note: I had asked this question else where but I have tried to elaborate the question here, I have deleted the earlier question).
44887
My phone doesn't have enough space to store backup files so I wonder if there is a way to do Nandroid backup and restore with files stored on pc.
15025
I'd like to be able to easily transfer large files wirelessly, fast, between Android devices - preferably without requiring root.  As a secondary objetive, it wouldn't hurt if the same solution could be used, to transfer files between the Android devices and a Windows PC.   Specifically, I'm trying to exchange files between my Nexus 7 (Android 4.2.2) and Samsung Galaxy S2 (Android 4.0.4).   Bluetooth is simply too slow, so that's out of the question Transfer via the Internet is also not an option, hence so is cloud-based solutions Only Nexus 7 supports NFC, so that's out too  looked promising and very simple, but does not work on "Devices that don't have WiFi Tethering setting, such as the Nexus 7"   Wi-Fi direct ( and up) seems to be a decent lowest common denominator between my two devices, however...  Galaxys S2's native Send via Wi-Fi Direct sees the Nexus, but seems to get stuck in the "Connecting..." most times. When there finally seems to be breakthrough, I get "Waiting..." and a spinning circle. Even if it worked, it would only allow me to send from the Galaxy S2 to the Nexus 7, as a similar option os not present on the Nexus 7.  J4velin's  is no longer available in the Play Store, with the following explanation:     WiFi Direct drivers are broken on many devices, which led to users leaving negative reviews for this app. As I don't see any sense in keeping a free app published when only getting 1-star-ratings (for an issue which only your device manufacturer can fix), the app is no longer available at the Play Store.   Nick Adams'  seems flaky at best. Invations from Nexus 7 to Galaxy S2 are never received. Invitations from Galaxy S2 are mostly received, but even when accepting promptly, the peers doesn't always show as connected. When they finally do, usually after quite a long wait, I can select a file to send but it's never transferred -  "Transfer failed" it says almost immediately in the notification bar.  budius inc's  is working slightly better, but still very unreliable. I actually managed to (occasionally) send files both ways, but never when attempting connection from the Nexus 7. To send from the Nexus 7 to the Galaxy S2, I had to go through this akward manoeuvre:   Share the file on the Nexus 7 via the WiFi Shoot intent Start the Receive WiFi Shoot app on the Galaxy S2 Invite the Nexus 7 from the Galaxy S2 (never the other way around!) Accept the invitation on the Nexus 7 Press the Shoot button on the Galaxy S2   Take the whole switching back and forth between devices, and garnish with random delays or failures in any step of the process...  Is there really no easy, reliable, fast way to transfer files directly between different Android devices?  Generally, my experience with Wi-Fi Direct is all but positive...   A device often won't even see a device lying next to it Sometimes, it will see the other device, only to have it disappear from the list, before I have the chance to connect When I do have a chance, invations are not realiably received (from Galaxy S2 to Nexus 7 mostly reliable, but never worked the other way around) When invitations are received (and accepted), a partnership rarely manages to be setup ("invited" or "connecting") And even when that happens, some apps can't seem to transfer files through it...   *Sigh*  Maybe J4velin's explanation pretty much sums up the sad state of Wi-Fi Direct on Android, which otherwise seemed as the best solution to my quest?
93133
When the device is set to use MTP, neither Windows, nor ADB will detect the device when connect via USB cable. I have tried multiple cables, in multiple USB ports. I have not tried other computers yet, as this is the only one that actually has the driver installed.  Disclaimer: I am running an Unofficial CyanogenMod 12 build of Android 5.0.2  Device : LG G3 (LG-D855) Android 5.0.2  Google USB Driver: Installed USB debugging: Enabled PC: Windows 8.1 Pro Update 1 No one, except me, has reported this as an issue in the .   I have been unable to get my PC to detect the device via USB since I first installed CM12, which was around 11/10/2014.      If i change to PTP, Windows will detect the device, as will ADB. But Windows will only let me access the internal storage, and Camera folders.
57641
I was wondering is there a way to run an android websever via usb? I can find lots of wifi version of this but I would like to use this locally only while the pc is connected to the wifi and have it undetectable. eg via usb.  Does anyone know of any apps/software that this would work on?  Thanks  Paul