4 ms·
But Android is using the Linux kernel. Surely they get along already.
by shozan 13y ago
But Android is using the Linux kernel. Surely they get along already.
- slacka 13y agoIf you had RTFA, you'd know that by "get along" the author really meant, share/synchronize data between your Android device and PC. TL;DR Before Android 3.0, you could just plug your device in and use USB Mass Storage. After Android 3.0, to share data with your Linux PC, you have to install MTP protocol or use a cloud storage service like dropbox. http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-andro...
- ambrop7 13y agoAndoroid 4.1 supports USB mass storage, at least on the devices I've used. I think it does have to be enabled in the settings though.
- jmhain 13y agoAndroid 4.x supports it, but I think the phone hardware has to also support it somehow. As far as I know there is no way to get a galaxy nexus or a nexus 7 into usb mass storage mode.
- archangel_one 13y agoMass storage doesn't work on a device like the Galaxy Nexus that emulates the "SD card" on its internal storage, because it requires making the blocks of the underlying device available to the host OS. IMO it's worth it to avoid that awful old chestnut where you'd run out of internal space with heaps left on the card, but unfortunately MTP isn't quite as convenient :(
- ianburrell 13y agoThe issue is that new devices don't have filesystems that can be exported over USB mass storage. Instead of having a small data partition and big FAT32 external storage partition, they have a single bigger data partition with a media storage directory. The data partition is ext4, so can't be mounted by most operating systems. It is also shared between apps, app data, and media storage so it can't be exported while in use.
- jlgreco 13y agoThat using multiple computers that you own together in a coherent manner without needing weird 3rd party software and services is still an issue for regular people is one of the things that tells me that we are not living in the best possible world of tech. I don't really see any reason why some of the higher level concepts from Plan 9 that solved this problem should not have take off by now. Alas that is not the case.
- dman 13y agoI wasnt aware of this android 'feature' since I am still stuck on android 2.3 on my Verizon Droid Charge. Interestingly I always pointed out the fact that you could just plug in an android device as a usb mass storage as the example of how google gets it. Not looking forward to my phone upgrade now. Also I dont know if it was a broken implementation but using MTP on the Creative Zii devkit was an exercise in frustration.
- VLM 13y agoA summary of the article is pre-android phones assumed you use windows on the desktop therefore the only way to move files onto the phone was some clunky buggy proprietary (but I repeat myself...). So use dropbox on the phone and linux desktop (yes) or something called "box" that is just like dropbox but has a different name or google drive on the phone and drive in the browser. Article also talked about a bunch of different options like spideroak, and connectbot SSH (or was it sshdroid? well, either way..) Foldersync is entertaining, I played with that a year or two ago although the article only talks about some complicated webdav arrangement, it supports most any protocol. It costs money, as I recall. Finally the article explains USB connection was too complicated for the author to get it to work, although the few times I tried it, it worked fine for me. On a personal note out of 3 android devices on my desk only 1 does not have a memory card. So most of the time I just pull the card and copy stuff to it. I donno if android and memory cards no longer mix, or what. Also if we allow "cloud based" I often upload stuff to evernote and access it from android. Ditto the google play, where the author went to great effort to transfer some mp3s when he could have just uploaded them to google play music using the linux desktop client. Or I just simply download stuff on the android device from the net or a machine I control. Some things take two steps. The simplest way to upload something like a .mobi file of a pragmatic programmer magazine into the kindle reader, seems to be to stick the .mobi on dropbox and then export it to kindle from the dropbox, as I recall. The article seemed to avoid "wifi file server" (name of app, I believe) which basically runs a non-daemon ftp server and the screen spits out the URL and password for people to access. I've copied gigs of stuff using that. My biggest annoyance is not being able to force a set password / password rolls to a new one every 5 minutes or whatever, which is unholy annoying if you're doing 2 hours of work and need to reauth dozens of times.