Copying Files to a Linux Computer? - Moto X Q&A

For many years I've used ssh/sfp daemon to scp files to my Linux machine. But about a years ago that stopped working. I set up the daemon, start it and it seems to start fine, but it presents no port 22 on the phone's wifi IP. I know because I can't SSH to it and nmap finds no ports open.
Is there any way to pull files from the XT1053 besides connecting with USB and adb pull?

Can't you setup MTP so it is like removable storage?
Sent from my Nexus 6

I don't follow. How would I do that?

You dont want to use a USB cable? You can use Airdroid or KDE Connect (you don't need KDE for this to work). However Its been years since I've had issues transferring files to and from Linux with a USB cable.

I don't mind using the USB cable, although I'd rather use wifi. I just need some way of moving files.
Airdroid and KDE Connect aren't available in CentOS 7.1. I'll look into them further, but I'd also like to know more about this "MTP" mode.

Change the transfer protocol from MTP to PTP, it's usually under the storage menu in a sub menu there. NIX based systems support that and you should be able to see all types of files, not just photos.
If that doesn't work for some reason, the you can use WiFi file Explorer, which works quite well.

I have no issues with USB in Ubuntu14.04, U12.04 had some issues with MTP libraries, but now all sorted out.
Myself I never tried SSHing, but interesting thought. Certainly worth a try.

What about samba? ES file manager can browse samba shares

Related

(How To) USB Tether - File Included

OK, so if you've been wondering how to use that nifty USB Tethering features, look no further.
I searched around a bit and couldn't find a solution. Somehow, the answer landed right where you'd expect.....Google. Don't ask how I couldn't find it, but I couldn't.
Anyway, this is to save anyone else who's had trouble finding it the hassle.
====================================
==========HOW TO USB TETHER=========
====================================
Windows XP contains the drivers you need to take advantage of USB tethering, but you must install a configuration file before connecting your phone to your Windows XP computer, to instruct Windows XP how to configure itself to use those drivers.
1. Download the following configuration file (tetherxp.inf) to your Windows XP computer. Typically, you can right click on the link and choose "Save As". (If your browser appends .html to the file name, you will need to edit the name to remove the .html extension.)
2. Use the USB cable that came with your phone to connect your phone to your computer.
3. On the Android phone, press Home, press Menu, and touch Settings to open the Settings application.
4. Touch Wireless & networks > Tethering & portable hotspot.
5. Check USB tethering.
6. When Windows XP’s New Hardware Wizard opens, select No, not at this time and click Next.
7. Select Install from a list or specific location and click Next.
8. Click Browse to browse to the directory where you installed the configuration file you downloaded in Step 1 and click Next. Windows XP uses the configuration file to configure itself to support USB tethering with the Android phone.
9. When Windows XP finishes installing the software for Android USB Ethernet/RNDIS, click Finish.
You can now use the new Windows XP local area network connection provided by your phone via USB tethering. For more information about configuring networks in Windows XP, see the documentation that comes with Windows.
Source: Android Devices: Tethering and Portable HotSpot
USB Tethering emulates USB network card for the computer, and requires RNDIS drivers, if I remember correctly - also the reason why it can't be used on Macs.
Jack_R1 said:
USB Tethering emulates USB network card for the computer, and requires RNDIS drivers, if I remember correctly - also the reason why it can't be used on Macs.
Click to expand...
Click to collapse
I appreciate your response but...that doesn't explain much. I know it emulate USB network card but I'm not sure what I need to download? I'm assuming someone has used USB Tethering before so they must know what is required.
For anyone wondering how to do it, I found the solution. I'll update the OP to reflect that.
Thanks.
Thanks uoY_redruM.
This made it so easy, found this page after 5 minutes of googling.
Wonder why i didn't start searching on here for an answer...

[Q] Streak 7-USB driver for vista/XP Help

Hey Folks, I am a noob and stuck. I just got wifey the Dell Streak 7 on black friday special and being that its running Honeycomb, there is no USB driver. I called "Dell" which was a joke and after talking to several people I was told that the drivers wont be out there for several weeks.. (WTF).. I have gone through most of the forums for info but stuck.
I have a laptop running Vista, and my work computer that is running XP and need direction as too what I need to download to get the show on the road. I just want a way for me to access the tablet or SDcard through the USB cord.
I keep seeing references to ADB, and laslow site but those posts are referencing to those running Windows 7, or am I wrong. Any and all help for this lost noob would be gr8.
guyver08 said:
Hey Folks, I am a noob and stuck. I just got wifey the Dell Streak 7 on black friday special and being that its running Honeycomb, there is no USB driver. I called "Dell" which was a joke and after talking to several people I was told that the drivers wont be out there for several weeks.. (WTF).. I have gone through most of the forums for info but stuck.
I have a laptop running Vista, and my work computer that is running XP and need direction as too what I need to download to get the show on the road. I just want a way for me to access the tablet or SDcard through the USB cord.
I keep seeing references to ADB, and laslow site but those posts are referencing to those running Windows 7, or am I wrong. Any and all help for this lost noob would be gr8.
Click to expand...
Click to collapse
Ok if you bought it new with Honeycomb on it then you bought the wifi version I assume. Anyway, all Honeycomb devices switched protocols, they are no longer USB Mass Storage devices, they are recognized and media players, so you should see a Portable Media Devide under My Computer if you have the latest version of Windows Media Player on your laptop...
OK, THAT being said, in my personal opinion it's the worst decision Google could've ever made. SO what I do is install a little app called Samba File Sharing, which allows you to connect to the 7 as a network device and have access to it's SD contents just like any other device connect to your computer.
Hope this helps. You have to set up a few parameters like network name and workgroup and such but it only takes about 1 minute and well worth the trouble
cdzo72 said:
Ok if you bought it new with Honeycomb on it then you bought the wifi version I assume. Anyway, all Honeycomb devices switched protocols, they are no longer USB Mass Storage devices, they are recognized and media players, so you should see a Portable Media Devide under My Computer if you have the latest version of Windows Media Player on your laptop...
OK, THAT being said, in my personal opinion it's the worst decision Google could've ever made. SO what I do is install a little app called Samba File Sharing, which allows you to connect to the 7 as a network device and have access to it's SD contents just like any other device connect to your computer.
Hope this helps. You have to set up a few parameters like network name and workgroup and such but it only takes about 1 minute and well worth the trouble
Click to expand...
Click to collapse
Thank you for that tip.
Some devices require MTP, the s7 in this case isnt one of them. The s10 is though.
It's up to the rom maker to decide which one to use to use either MTP or USBMSD, depending on how the internal memory is organized.
Regardless MTP allows you to simultaniously access the device on a pc while using it on the device itself. With USBMSD you can only use it on one or the other.
The S10 has /sdcard as a symlink to /data/media, so you simply cant mount it or you'd unmount the entire /data partition (which would be very bad). The galaxy nexus is the same way, hence it requiring MTP mode.
The S7 has /sdcard as a seperate partition, I'm guessing mainly for the ability to simultaniously access it.
Fastboot+ADB.zip has every driver for every dell device.

Transfer Files From Mac to ATT Tab

Hey guys, sorry again if this has been asked before,
How do I transfer a file from my Mac to the ATT Tab?
There seems to be no USB option on the Tab and the Tab wont mount on my desktop.
Kies don't support Mac file transfer.
Thanks
I use WiFi File Explorer PRO. Seems to be much faster than USB and it should work on your mac.
or use airdroid.
i forgot how to use usb when i used airdroid.
Honeycomb, on this tablet, doesn't use USB mass storage because there is no SD card. It uses MTP storage. It is functional but has some issues. Just use the USB charging cable from your charger and connect the tablet to the computer. make sure usb debugging is turn off unless you want to attempt to use abd to push the files.
You can get wifi file explorer, a free app that will attempt to connect the tablet to the computer via wifi.
Another option is a file sharing service like dropbox or sugarsync
http://db.tt/1v0BC1VS
these let you upload files to a cloud server. Then install them to any device with internet access. The starting point is 2GB but you can't expand that. If you want to go the route of dropbox, that link will give us both a little extra space
Thanks, I found that WiFi Pro app and it works fine.
I also just bought the G-Tab 7.7 so will be returning the 8.9 anyway.
http://www.android.com/filetransfer/

[Q] usb connecting options for android 2

when i connected my p990 with android 4, PC does not need installed driver
how can i have this options on android 2 too?
in fact, i want to see my phone storage on PC without install drivers
hamedd2000 said:
when i connected my p990 with android 4, PC does not need installed driver
how can i have this options on android 2 too?
in fact, i want to see my phone storage on PC without install drivers
Click to expand...
Click to collapse
I actually have the same problem where my O2X, whether running stock, CM7, or CM10, is not recognized by one of my computers and it drives me crazy.
My desktop PC, work laptop, and even the infotainment system in my car (Ford Sync) all recognize the USB mass storage mode on my phone, in both CM7 and CM10. The desktop and work laptop also recognize the MTP mode on CM10.
However, my personal travel laptop absolutely refuses to recognize my O2X on any OS - the drivers refuse to install and all I can is charge the phone from the USB port. I've tried all three ports and they don't work, though they work with other phones using the same USB cable I use on my O2X. Really weird.
My solution for the time being - if I'm using my personal laptop and I need to transfer data, I use Bluetooth (if I don't have wifi available), or I dropbox/email it. Crude and inconvenient but no choice.
I've tried downloading all kinds of programs like PDAnet and so on, but it seems like the O2X just doesn't want to cooperate with my personal laptop.
It's not just my personal laptop that has a problem - the infotainment system in my dad's car also has trouble recognizing the USB mode on my phone and 75% of the time it shwos an error trying to read it.
I'm fairly certain it's LG's fault though - given how USB charging tends to BSOD it. My personal laptop has no trouble auto-installing drivers for pretty much everything else that's intended to plug-and-play into windows.
edit: I just realized, you have no problems with 4.0 but you have problems with 2.2/2.3? That's weird. Perhaps you might want to install adb drivers via the android SDK?
no one can help us!

[Q] Issues with USB data connection on Linux

After a while, Debian Jessie will just stop recognizing my phone. It will come up with and "MTP inaccessible" error and refuse to mount my phone. It still charges, but it doesn't allow me to transfer data to and from the phone. Any ideas on what could be causing this?
Alex Smith-Fanning said:
After a while, Debian Jessie will just stop recognizing my phone. It will come up with and "MTP inaccessible" error and refuse to mount my phone. It still charges, but it doesn't allow me to transfer data to and from the phone. Any ideas on what could be causing this?
Click to expand...
Click to collapse
I'm running Ubuntu 14.04, and using MTP mode I can't see the device at all. All I can do is set the device mode to 'camera mode' (the alternative to MTP, I can't recollect its name). I usually copy my files through my smb server at home.

Categories

Resources