Playing music via external SD card - Google Pixel Questions & Answers

Hello. Just got the Pixel. I have an external USBC Satechi SD card reader that I would like to play music from. When I put in the SD card it does read it. I can play music.
I would like to use an app such as poweramp to read the folders on this SD card. Is this possible?
I've tried poweramp and mortplayer with no luck.
Thanks.

I don't know if @Chainfire 's StickMount app has been updated in a while. Until I started writing this I actually forgot about the app. I'll have to try it as on three different devices now, starting with Lollipop 5.1.1 or maybe it was 5.0.x, USB access seems to be harder to achieve. What workarounds I find for particular apps on one device don't necessarily work on another, and I haven't had any success on the Pixel at all yet, but going to play with StickMount if it's been updated lately and see if that solves the issue for all apps.
Edit: It should be noted that I've had zero trouble accessing USB drives from TWRP on the Pixel, therefore it's definitely only a software issue.
Edit 2: No luck. I wonder if in my case it's related to the fact I use ExFAT on my USB drives though? I'll have to test tomorrow with a spare smaller drive formatted FAT32. Both StickMount and X-Plore File Manager (the latter has a USB checkbox in it's settings that appears to work similar to StickMount but just for that app) report no recognizable partition to mount.
I don't know if Google doesn't make kernels that support Microsoft's licensed ExFAT format, although maybe another kernel might if not. I'm using the PureNexus kernel FYI, since I'm on the PureNexus ROM. I had the same trouble on stock Pixel whether rooted or not. On other devices I can usually find the USB drive listed under root/mnt/media_rw/xxxxxxxxxxxx, but not on the Pixel. I'll try to update tomorrow if I have time to test a FAT32 drive.

Update: Confirmed that my 32 GB USB 2.0 FAT32-formatted thumb drive mounted automatically with StickMount installed and configured. Likely using my file manager of choice X-plore's USB option probably would've achieved the same thing. Note that at least using StickMount (and probably would be the same with X-plore's option) that I still had to navigate to root/mnt/media_rw/xxxxxxxxxxxx in order access the drive, at least from X-plore. No idea if the behavior is different with other file managers.

Thanks I will give this a shot!

I just noticed that you must be rooted for this software. Unfortunately I am not...

Last I knew, any device that comes with a external SD card has to pay Microsoft a license fee, this is why you won't ever see a SD card on a nexus/ pixel/Google device.
Sent from my Pixel using XDA-Developers Legacy app

Related

[Q] Trouble Mounting 1TB Hard Drive

I purchased the G-Tablet because I wanted a way to download photos from my camera's memory, view them, and write them to an external hard drive. The problem I've run into is that I can't get my tablet (running TnT-Lite) to recognize my 1TB Seagate FreeAgent GoFlex drive to mount. I've done a lot of searching for answers, and my first thought was that the drive wasn't receiving enough power, but I've tried it through the docking station and a powered USB hub without any luck. I also reformatted it to Fat32 just to be sure it wasn't the drive format. Sniffer never even notices it's connected.
I'm using TnT-Lite, but am perfectly willing to try other ROMs if they have better external drive support. I'm not super familiar with linux so I haven't tried seeing if I could manually mount the drive, but if someone would be interested in telling me how to see if it's recognized and manually mount it I'm all ears.
Cheers!
Gaines Kergosien
(615) 412-9739
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
Make sure your harddrive format is supported by your kernel. Some kernels like clemsin support ntfs and other formats. I am not really sure what formats does the kernel that comes with tnt lite supports, but i recomend to check or install another kernel.
Second; make sure you connects your HDD to a power source before using it. I have not tried it myself, but i heard that the low power source of the usb port of the g tablet is not enough to supply power to the HDD.
Good luck with that, hope you find a solution to the problem.
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Pazzu510 said:
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
...
Click to expand...
Click to collapse
Yes, others have posted similar issues, albeit with different drives/ROMs and little or no followup to troubleshoot the problem and no real solution.
I believe I was very specific in mentioning during the opening post that I tried using external power (via the dock and powered USB hub) and different drive formats.
lordgodgeneral said:
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Click to expand...
Click to collapse
Thanks for the suggestion. I've tried having it plugged in via the dock and powered hub before boot, but still no dice.
The best case scenario for me is that someone here has the same drive, overcame this issue and is willing to share their solution. I'm hoping that I can at least find someone who knows enough about linux/ROMs to help me troubleshoot and figure out if this is a hardware, driver or software issue. Maybe the drive is being recognized but the partition isn't getting mounted for some reason? *shrug*
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Mantara said:
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Click to expand...
Click to collapse
Excellent suggestion. Just repartitioned it as (2) 465GB fat32 drives and copied over some test files, plugged the drive into the powered USB hub, plugged that into the G-tablet, booted...and at first I thought it didn't work. Then an hour later I look at my tablet and realize it's mounted! I can see the image file I was using to test it...except the image (png) doesn't open. I try moving it to the SDCard using iFileManager and it errors.
...so on the up side, the drive mounted. On the down side, there may still be some issues.
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Rumbleweed said:
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Click to expand...
Click to collapse
Is my opening post that difficult to read? Pretty sure I said it's a 1TB Seagate FreeAgent GoFlex.
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Moved to general.
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
thebadfrog said:
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Click to expand...
Click to collapse
It seemed to me that troubleshooting problems with ROMs not correctly mounting drives fell under development along with the ROM being used.
As for snapping at people, maybe I wasn't as appreciative of their effort as I should have been, but I felt like people were replying without even reading the opening post where I had tried hard to explain the situation in detail. It's like taking your car to a mechanic and telling him it's making a clunking sound, then receiving a call from them later saying, "Yeah, we took a look and there seems to be a clunking sound."
you try using a file explorer like root explorer?? or only sniffer?
rover442 said:
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
Click to expand...
Click to collapse
Hey rover442. I'm thrilled to have gotten it to mount and, hopefully if we work together, we can figure out how to get everything working properly. To recap, here's what I did to get it to mount:
Delete the existing partition using Windows Disk Management
Create two new partitions (under 500GB)
Format those partitions using fat32format
Plug the drive into the tablet via a powered usb hub
Reboot
Wait an undefined amount of time for it to magically mount
10roller said:
you try using a file explorer like root explorer?? or only sniffer?
Click to expand...
Click to collapse
I've tried all of them, but when it finally mounted I noticed it in Sniffer then was able to access it using iFileManager.
Ok gaines. I'll reformat the drive and partition it and see what happens. Thanks!
Gaines, I made two partitions. I put an mp3 in each partition. Loaded it into G Tab and it sees one of the partitions and the mp3. It does not see the other partition. FTR, I am not using a powered USB, just plugging straight into the G. (formatted fat 32 on the external hard drive).
Success
Ok here's what I did to make things work in FAT 32
I downloaded a partition software called EASEUS Partition master Home. It was free. I fromatted again the whole 1TB hard drive (931GB available). here are the following tests I did:
Partition 431GB successfully seen in G Tab
Partition 531GB successfully seen in G Tab
So since I broke the 500GB threshold I tried to partition 631GB and it was good. So then I just repartitioned for the whole 931GB available and it is now being seen in Sniffer and Root Explorer. So it's fine.
However, the G Tab still cannot recognize NTFS.
You need a kernel that supports ntfs. Android does not recognise ntfs natively

[Q] How do I mount my sdcard as a drive via USB?

I have a TF101 running Prime 1.1, and a sdcard inserted in it.
I wanted to mount it as a drive via USB to my laptop through a usb cable (like I do on my phone), but I can't find an option for it on Honeycomb to do so. Anyone know how to do this?
Having the same issue. Running Ubuntu 10.04. Any advice would be greatly appreciated. TIA.
Sent from my Transformer TF101 using Tapatalk
...anyone?
poorace said:
I have a TF101 running Prime 1.1, and a sdcard inserted in it.
I wanted to mount it as a drive via USB to my laptop through a usb cable (like I do on my phone), but I can't find an option for it on Honeycomb to do so. Anyone know how to do this?
Click to expand...
Click to collapse
it's already mounted, on device storage there's a folder called microSD, if that doesn't work just pop the microSD card out and pop it back in while plugged in.
poorace said:
I have a TF101 running Prime 1.1, and a sdcard inserted in it.
I wanted to mount it as a drive via USB to my laptop through a usb cable (like I do on my phone), but I can't find an option for it on Honeycomb to do so. Anyone know how to do this?
Click to expand...
Click to collapse
To be honest i do not think there is any way to do that yet
Honeycomb does not offer an easy way to include removable storage (which is why the xoom doesnt support sd cards yet officially)
Asus bypassed the Honeycomb issue and mounted the SD card to a directory (Removable Storage)
Since the built in storage is seen as the sdcard by honeycomb that is what is seen by computers
When the next version of honeycomb comes out, they should address this issue
...hopefully
For now i carry one of these bad boys on me while i'm at school (along with my gazillion flash drives )
http://www.amazon.com/elago-Mobile-...FKR8/ref=sr_1_3?ie=UTF8&qid=1304203233&sr=8-3
SlimDan22 said:
To be honest i do not think there is any way to do that yet
Honeycomb does not offer an easy way to include removable storage (which is why the xoom doesnt support sd cards yet officially)
Asus bypassed the Honeycomb issue and mounted the SD card to a directory (Removable Storage)
Since the built in storage is seen as the sdcard by honeycomb that is what is seen by computers
When the next version of honeycomb comes out, they should address this issue
...hopefully
For now i carry one of these bad boys on me while i'm at school (along with my gazillion flash drives )
http://www.amazon.com/elago-Mobile-...FKR8/ref=sr_1_3?ie=UTF8&qid=1304203233&sr=8-3
Click to expand...
Click to collapse
That explains it!
SlimDan22 said:
To be honest i do not think there is any way to do that yet
Honeycomb does not offer an easy way to include removable storage (which is why the xoom doesnt support sd cards yet officially)
Asus bypassed the Honeycomb issue and mounted the SD card to a directory (Removable Storage)
Since the built in storage is seen as the sdcard by honeycomb that is what is seen by computers
When the next version of honeycomb comes out, they should address this issue
...hopefully
For now i carry one of these bad boys on me while i'm at school (along with my gazillion flash drives )
http://www.amazon.com/elago-Mobile-...FKR8/ref=sr_1_3?ie=UTF8&qid=1304203233&sr=8-3
Click to expand...
Click to collapse
very cool item there. might pick one up myself.
Wait so are you telling me that presently there is no way to access your microSD card from your computer? (without using any extra accessories)
Oops just realized it was mounted in the storage folder**
Had to replug in my Sd card
Deusdies said:
Wait so are you telling me that presently there is no way to access your microSD card from your computer? (without using any extra accessories)
Click to expand...
Click to collapse
Seshmaru already posted the solution to this earlier in the thread.
When your Transformer is attached to a Windows PC, the SD card is mounted as a subdirectory under device storage.
Regards,
Dave
Android switched from the USB storage class to MTP from Honeycomb. In order to access MTP storage from non-Windows machines you'll need an MTP driver.
For Mac use Android Filetransfer. For Linux use MTPFS.
Details for both can be found here:
http://droidweb.com/2011/05/moving-files-onto-android-3-0-devices/
MTP sucks, you have to use Windows' default copy and paste and it doesn't give you full acess to all the files (only ones Honeycomb wants you to see), horrible system.
frosty5689 said:
...it doesn't give you full acess to all the files ...
Click to expand...
Click to collapse
Agreed. I also dislike the inconsistency between actual files and those displayed via MTP. Fortunately most readers of this forum know how to use ADB push/pull or the file explorer to move internal files to a removable USB storage device.
Watch out
I've got 3 USB 2.5" HDs. All are NTFS formatted and SATA internally with external eSATA connectors so to me similar cases. All work fine on my PCs. On the TF 2 work and these 2 have a similar case but the 3rd is not picked.
Just something to be aware of that your case can be an issue

External HDD

I just picked up a WD Passport 1TB drive, and I thought I would try connecting it to my S4 (I337M) VIA USB OTG. The GS4 recognizes that it is connected, and seems to power it just fine. But the phone is saying "blank or unsupported flie system". with no option to format. Is there a chance I can get this going? I've done some searching and have not seen much. I would like to be able to not take my PC with me for 2 months of training in Arizona in the new year. Survive on my S4 and Nexus Tablet, backing them up nightly on a portable would be perfect as its commercial flight training! Weight is an issue Hauling my laptop around seems SO 2010!
S4 or android for that matter do not support ntfs file format natively. If you are not rooted, there is an app called NEXUS MEDIA IMPORTER and it's a paid app, but it will enable you to read and copy files off from the hard drive. The only thing is that you wont be able to write to the drive.
Now if you are rooted, all you need is to search "ntfs" from the Play store and you'll find lots of apps that will enable you read and write to ntfs file format hard drives.
The other option would be to format the drive to FAT32. There are tools out there for Windows that can do this. Big drawback is that the drive does not support files larger than 4GB's. If your device is rooted installing NTFS support would be the better option.
pilatus34 said:
The other option would be to format the drive to FAT32. There are tools out there for Windows that can do this. Big drawback is that the drive does not support files larger than 4GB's. If your device is rooted installing NTFS support would be the better option.
Click to expand...
Click to collapse
OR you could format it to EXT3 or 4, and use applications in windows to mount it. I used to do this all the time to share files across my windows and linux installations.
Thanks! I'll give all that a shot. Thanks for the replies! Very appreciated!
Sent from my SGH-I337M using Tapatalk

Expanding storage

Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: does not work
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Edit: updated state of ext2
I suspect these may be problems with the app being used. To extend beyond this, it appears I may need root. The end result is if you want a volume larger than 128gb, you're going to be read-only. If you want read/write on a large volume (larger than, say, 32gb) you're going to have poor storage efficiency.
So now we wait for the hacking to get better storage support!
nimdae said:
Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: still formatting the drive, will update with results
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Click to expand...
Click to collapse
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Thanks for the info, mate.
If it reads NTFS does it means I can load my HDD via windows and just plug and play on nexus player?
Has anyone tried Towelroot
Elrondolio said:
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Click to expand...
Click to collapse
Ordered last week should in my hands on the first week of December. I have a 2T drive that would great if that works. I will hold on to my FireTv which it has been rooted using the 2T drive.
Keep in mind that if you have a bus powered hard drive, it will likely require a powered USB hub to work. I doubt the OTG port will provide enough power, but I could be wrong. I have a USB 3 drive I could test later.
Yes, if you have a NTFS formatted drive, you can put stuff on it with your computer and read it with the NP. As long as reading that something doesn't try to modify something there, it should work fine.
Note to self: Use a linux machine to format ext2. Seems these windows programs are really really slow at it.
So I'm thinking I need to re-assess the above results as I suspect ES File Explorer is to blame for things expected to work, but not working. It will not work with EXT2 and requests to use either FAT32 or NTFS.
I'll have to do more digging.
Edit: Tested several file managers and was unable to get any further. To get EXT2 I suspect it needs to be mountable somewhere in /, which is what I believe stickmount takes care of for us (I could be wrong). But this requires root.
I'm assuming that scenario would work just fine, however I can't test it to be certain.
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Anyone test this. .
Elrondolio said:
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Click to expand...
Click to collapse
I'll have to see if I can do this with ext2. vfat has the same limitations as fat32 as that is the spec it implements.
Rooted & Installed Stickmount.. still unable to access USB files
Before I was rooted, I tried exFAT, NTFS, and FAT32.. but the USB would show in ES File explorer but won't open. Now I've rooted and installed Stickmount. When I connect the USB, it mounts it ("/sdcard/UsbStorage/sda"). But I'm still not able to access it. Any suggestions or solutions if you guys have rooted your device?
EDIT: I tried again using a 32GB USB Drive (exFAT) and StickMount mounted and I was able to access its contents using ES File Explorer and it also showed up in MX Player. I was able to play HD movies through it with no problem. Working perfectly. (I had to sideload stickmount, as it can't be installed through web play store).
I'm planning to experiment with this today. I just need to get the stickmount apk transferred over as the play store lists it as incompatible. Ext2 might work best for this method as I'm not sure the stock kernel has exfat nor ntfs support and I'm biased against using fat32.
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
What filesystem did you use?
nimdae said:
What filesystem did you use?
Click to expand...
Click to collapse
I kept it simple and used a 32gig flash drive fat32
I can confirm stickmount works with fat32. I'm working out how to get ext2 or ext4 working. ext2 would be preferred for a flash drive but I've not had luck yet. I plan to try ext4, but given the fact ext2 didn't work, I don't have high hopes. I think It's an issue with permissions and I might have to futz with that to make it work.
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Elrondolio said:
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
Click to expand...
Click to collapse
I might switch to another app tomorrow, but I sent the foldermount author an email describing the problem. I feel pretty confident it is simply teething issues as it did work for a small amount of time.
Elrondolio said:
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Click to expand...
Click to collapse
I had some issues with stickmount. It works, but I wouldn't say "well". At one point it kept freezing and getting into a bad state but since reinstalling it I haven't had any further trouble. Caveat emptor.

Why can't various SSH servers see my sdcard?

Hi,
I have a stock Galaxy S7 running 6.0.1 with an SD card configured as portable storage. I tried two SSH servers (Ssh Server and SSH Server, I know the names are not very helpful) and they both work fine. However they can't access my SD card.
Is it possible to get this to work, can this never work, etc.? Various file managers can work with the SD card. I don't understand why the SSH servers don't.
The question behind this question is what's the easiest/fastest way to get a 100 gig of files onto an SD card that a phone or tablet running Marshmallow can access. Without Windows or Mac I don't know of any better way. Why, oh why didn't Android provide a normal plug and play USB interface like you normally get with most devices where you can mount all the drives and act like they're local...
If anybody has ideas on this that would be nice. If not if I can at least access my SD card from an SSH server running on the device I'll be able to pump my files over from my various systems.
Thank you.
Updated: I built the latest libmtp and stable gmtp today and it starts working great but eventually crashes in the middle of transferring a bunch of files. Oddly, it seems to die on the same file each time. I don't have time right now but later I'll check and see if I can prove whether it's after some amount of time/data/whatever or if the file is bad (unlikely). So unless somebody has a better idea how we can get good ole' 1990s USB mass storage working I'm kinda screwed atm.
midnightrider said:
Hi,
I have a stock Galaxy S7 running 6.0.1 with an SD card configured as portable storage. I tried two SSH servers (Ssh Server and SSH Server, I know the names are not very helpful) and they both work fine. However they can't access my SD card.
Is it possible to get this to work, can this never work, etc.? Various file managers can work with the SD card. I don't understand why the SSH servers don't.
The question behind this question is what's the easiest/fastest way to get a 100 gig of files onto an SD card that a phone or tablet running Marshmallow can access. Without Windows or Mac I don't know of any better way. Why, oh why didn't Android provide a normal plug and play USB interface like you normally get with most devices where you can mount all the drives and act like they're local...
If anybody has ideas on this that would be nice. If not if I can at least access my SD card from an SSH server running on the device I'll be able to pump my files over from my various systems.
Thank you.
Updated: I built the latest libmtp and stable gmtp today and it starts working great but eventually crashes in the middle of transferring a bunch of files. Oddly, it seems to die on the same file each time. I don't have time right now but later I'll check and see if I can prove whether it's after some amount of time/data/whatever or if the file is bad (unlikely). So unless somebody has a better idea how we can get good ole' 1990s USB mass storage working I'm kinda screwed atm.
Click to expand...
Click to collapse
there is a Galaxy S7 forum
http://forum.xda-developers.com/galaxy-s7
Sent from my XT1254 using XDA Labs
sd_shadow said:
there is a Galaxy S7 forum
http://forum.xda-developers.com/galaxy-s7
Sent from my XT1254 using XDA Labs
Click to expand...
Click to collapse
Thanks, but this is a generic Android Marshmallow issue as far as I know.
It appears the SD card filesystem is not world writeable. TotalCommander allows me to change it in the GUI but it doesn't actually get changed. No error or warning messages either.
edit: ok after hours of searching here and on the net this is apparently caused by design in Marshmallow. The permissions on the SD card make it not happening to directly update the card. I think, but I am not sure, there is an API for applications that want to write to the card. Some apps can certainly do it. I found a thread here where a guy figured out a solution if you are rooted. I'm sorry but I accidentally closed the tab (DOH!) and lost the link.
The choices seem to be:
1) ask the dev to fix his app to be able to write on the SD card
2) root your phone and change permissions or change the xml file to deal with it
3) use your SD card as adoptable storage. This only works if you have a really fast/expensive card otherwise your performance will suck hard and you'll be miserable. Lots of other downside to this, probably not worth it.
I have no idea if this is going to be fixed in N. I hope so because it is a huge PITA. And stupid!
I just built the linux fuse support for exfat and am downloading a bunch of doc to the sd card from linux. After I fill up the card I'll test it out and update again. Very easy build, the whole thing was less than 3 minutes. For anybody who wants to try this on a non package managed linux (I use Slackware) see here: https://github.com/relan/exfat

Categories

Resources