Why can't various SSH servers see my sdcard? - General Questions and Answers

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

Related

[Q] wifi xoom sdcard update

Anybody know when the micro sdcard will be working? It just bugs me that it dosnt. And would be nice to be able to trasfer data from my android phone.
soon..... its killing us all but at least we got one.... Thank you Motorola
silly how it wasnt released with it being active
Tick tick tick......
more threads about this please
ericman77 said:
Anybody know when the micro sdcard will be working? It just bugs me that it dosnt. And would be nice to be able to trasfer data from my android phone.
Click to expand...
Click to collapse
I'd actually like to address this head on and ask you why you cannot currently transfer data from your android phone to your XOOM?
It is currently factually correct that you cannot take a MicroSD card out of your android phone and pop it into your XOOM and read files off it, but would you consider one of a handful of other options?
1. Plug your android phone into your computer and turn on the option to access its files, usually you see the little green android and a button that says to connect... shortly after your PC should autoplay the device and you can browse its files (and the SD card). This would allow you to pull files off your android phone, temporarily store them on your PC and then following a very similar procedure put them on your XOOM. The XOOM is even easier to connect to because of its filesystem, it doesn't have to unmount the storage and you can just plug it in and the PC will pick it up as a drive and autoplay it.
2. Use a cloud service like dropbox which is very easy to sign up for and set up, and gives you 2GB of storage. Install dropbox, set it up on the android phone... put your files you want "copied" into the designated dropbox folder and after you put dropbox on your XOOM the files will be synchronized.
I could come up with a variety of alternatives depending on your degree of experience but I think two should suffice for merely moving files from device A to device B.
If you're just pissed that your SD card slot doesnt work you could just say that too
I'm kind of happy that it doesn't work, because I don't need the added expense of a 32GB MicroSD card at the moment and personally... I think you go big or go home.
cwizardtx said:
I'd actually like to address this head on and ask you why you cannot currently transfer data from your android phone to your XOOM?
It is currently factually correct that you cannot take a MicroSD card out of your android phone and pop it into your XOOM and read files off it, but would you consider one of a handful of other options?
1. Plug your android phone into your computer and turn on the option to access its files, usually you see the little green android and a button that says to connect... shortly after your PC should autoplay the device and you can browse its files (and the SD card). This would allow you to pull files off your android phone, temporarily store them on your PC and then following a very similar procedure put them on your XOOM. The XOOM is even easier to connect to because of its filesystem, it doesn't have to unmount the storage and you can just plug it in and the PC will pick it up as a drive and autoplay it.
2. Use a cloud service like dropbox which is very easy to sign up for and set up, and gives you 2GB of storage. Install dropbox, set it up on the android phone... put your files you want "copied" into the designated dropbox folder and after you put dropbox on your XOOM the files will be synchronized.
I could come up with a variety of alternatives depending on your degree of experience but I think two should suffice for merely moving files from device A to device B.
If you're just pissed that your SD card slot doesnt work you could just say that too
I'm kind of happy that it doesn't work, because I don't need the added expense of a 32GB MicroSD card at the moment and personally... I think you go big or go home.
Click to expand...
Click to collapse
+1000 cosigned
Sorry but I would like the SD card to be working since it is much easier to transfer files then using another pc. When I am at work I simply pull my sdcard and use it in other peoples phones to give them updates, videos, etc without having to download it to their device. Thats one thing I do miss with my xoom and find myself waiting until I'm back home to put files on my xoom that I dont feel like waiting to download over 3G.
Love my Xoom and SD card support I can wait for, just hope its not a long wait
As I see where your coming from with the options man, my primary purpose of for an SD card is to store movies. If I keep a few 32GB sdcards onhand I can have my entire movie collection at my fingertips. Other than that I really don't have a need for one, its more of a added luxury.. It hasn't killed me thus far not having one, just waiting patiently ;-p.. Im also interested in the capabilities of the USB hosting as far as externals are concerned and exploring those possibilities but first they need to make a dock which has an output for USB. Its ridiculous that they release a so called Multimedia Dock without a USB hookup ugghh..
a temporary solution - for those who want more space - is using PlayOn and DropBox... I like to keep everything in the cloud.
Dropbox. End of story.
I heard a rumor it would be released Tomorrow...
bwcorvus said:
Tomorrow...
Click to expand...
Click to collapse
Tomorrow what???
Sent via T-Mobile myTouch 4G powered by Android v2.2.1 using Orange SENSE by Faux
bwcorvus said:
Tomorrow...
Click to expand...
Click to collapse
It's tomorrow today... LMAO
looks to me
Looks to me like this is the issue ->
Xoom ships with 32gb internal storage. It appears to have a folder on it called /sdcard which would normally be where you mount your sdcard. Android likes to save all of your pictures, movies, downloads, etc. on your /sdcard/.
Simply put, sounds like if they had shipped it with /sdcard as the mount point for your /sdcard, your ttu (typical tard user) would be forced to buy an sdcard to do anything with the tablet other than download apps from the market. This would give a bulking 32gb partition for system apps which would be unusable by camera, downloads, etc. until whatever software update will come down the road.
I too have a metric ****ton of micro sd cards laying around, but I dont mind so much not being able to use them in the xoom, because between pogoplug and tversity, with the occasional compliment of astro with cifs (smb) plugin, I can access anything I want from it's home on my network, and dont have to worry about syncing stuff between devices.
I'd much rather use my tablet to access my stuff than to store my stuff, period. For all of you mediaphiles out there, take a look at tversity. I've been using it for years, and it will live transcode & stream your media to anywhere, meaning you dont have to carry any of it around to be able to watch it. For the $30 one-time investment of the pro version, it will transcode to your mobile devices, android or even snapple. The free version will transcode & stream to absolutely anything else.. upnp media browsers, x360, ps3, media center, xbmc, etc.
we may fix SD before Motorola does... it's iffy. We know where the problem is and how Motorola turned it off. We need board schematics to know how to route power to the controller. Otherwise its hit and miss.
leenypost said:
It's tomorrow today... LMAO
Click to expand...
Click to collapse
BRD is going to have it working today
bwcorvus said:
Its coming tomorrow...
Click to expand...
Click to collapse
Groundhog's day
bwcorvus said:
Its coming tomorrow...
Click to expand...
Click to collapse
You've been saying that everyday dude. LOL
Not happening until the weeks before the 16gb Xoom drops. Watch.
Sent via Motorola Xoom Wi-Fi only tablet powered by Android 3.0 Honeycomb using Tapatalk
what about internet
Everyone is saying use dropbox, use cloud to store files. Well remember this is Xoom Wifi, so that means if you're not home or don't have access to a hotspot then you are tost. So the idea that you can have a micro SD or even a few micro SD with all you need on it on the go sounds way more like a reasonable option then clod base or dropbox with limited storage. And with the hack to use an external storage like a wd portable hardrive is even more if an option. Imagine having access to 500 GB of data at you finger tips. Even in the cave or over the mountain with no wireless signal or wifi connection. Now that's what I call Xoom, Xoom, Xoom.

[Q] Problem with my Micro SD card

I just recently bought a Sandisk 32Gb class 10 microSD card. I got everything set up and I've been using it for a couple of days now.
Last night I just was using msn app on the phone then it just kinda kicked me off and I couldn't use the phone properly and it rebooted and said that the disk was either blank or it has files with different file allocation. ie fat 32 ntfs all that jazz.
I can not mount the card and i cannot format it again.
So scrounging around I found a SD card adapter for the computer and wacked that in the old port. It shows that it's there but it can not be opened.
I also can not view it's properties it just acts as if it's reading for ages.
Then it crashes explorer.
i tried opening it from command
it can't be opened but after opening the path for c becomes
c:\yujuju as if someone had typed it in.
i'm almost suspicious that it was a virus sent over the network through a program on my phone.
are there known viruses capable of making your micro sd cards unreadable?
if it's not a virus and it's just some kind of error on the micro sd card...
are there anyoptions for it? (has anyone made any recovery programs for SD cards you can download using forced mount methods or anything like that?)
I know i can send it back to the place of purchase but it means i have to pay for it to be sent to another state before they'll even look at it and if they don't think it's a manufacturer fault they'll charge me for it and the time spent trouble shooting. I'm a student and I can't really afford to do that
Just a quick note. I'm using cynogen 7.0.3 Desire
it is a HTC bravo. HBoot 6.93.1002
not sure if you'd need anymore detail than that..
please help :3
update// I just was looking around and I read about a website called recovery-filedotnet
and i downloaded the tool. When i try and scan the SD card the program crashes.
I used the demo version... I don't think this is going to end well. sigh.
Anyone with any knowledge that may help with out having to send it back to the company?
Hi,
Sorry, can't help you with recovering contents of your micro SD card. If you don't want to recover the SD card contents, have you tried formatting it on the PC (sorry, I couldn't tell from your posts whether you've tried that)?
There are also known to be many counterfeit micro SD cards out there. Basically, the counterfeit cards don't have the reported storage size, for example they may have 4GB instead of 32GB, so trying to write more than 4GB will result in data being overwritten (and probably trashing of file allocation tables).
I'm not saying yours is a counterfeit, but just something to be aware of.
You could check out h2testw which tests read/write performance, but also checks whether the SD card is the reported size (I think you'll need to format the SD card first, though).
Here's a link to a post I made using h2testsw on a micro SD card:
http://forum.xda-developers.com/showthread.php?t=1013030
Have you attempted to delete the partitions in disk management?
Sent from my GT-S5830 using XDA App
You cannot open the card on a computer. If you try and open the drive explorer actually crashes and you have to open explorer again using run
If you try and open the drive using command prompt. The drive refuses to open.
You can't access properties of the device either.
I bought it from scorptec. An australian computer company.
wwwdotscorptecdotcomdotau
I opened the Microsoft Management Console and opened storage and when the card is connected to the PC it goes in an endles loop of searching for drives.
This is all very strange if you ask me.
To make it perfectly clear. I can not mount or format from the device, from clockwork mod using ROM manager. I can not mount or format from a PC using the GUI or the command prompt. Using Microsoft Management Console fails.
The other weird thing is my computer was stuffed this morning. I couldn't view the details of my computers properties. The wireless keyboard couldn't be used.
The CPU and stuff was listed as unkown.
I did a system restore to an earlier date logged in to safe mode
Even though it's restored successfully it doesn't recognise that my anti virus is running. I had to enable things in msconfig and my remote access was ENABLED!
I don't know if this was related.
But I'm feeling rather depressed after all this.
I've run spyware and anti virus and nothings picked up. So EH today sucks.
But lets just focus on the SD card for now hey? ^-^
Just to be absolutely certain it's the card, go get ubuntu live cd or gparted live cd, boot from it and try and see if the card works there. Imo it's fubar but last post questions it slightly. If you cannot get any life out of it in gparted send it back.
Sent from my GT-S5830 using XDA App
take russ18uk's advice, if that doesn't work, you'll just have to giveup and reformat it.
russ18uk said:
Just to be absolutely certain it's the card, go get ubuntu live cd or gparted live cd, boot from it and try and see if the card works there. Imo it's fubar but last post questions it slightly. If you cannot get any life out of it in gparted send it back.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
are they linux operating systems? Are you asking me to try and access the
device using a different? OS?
If so I'll wait till I'm in my programming class tomorrow and just boot the linux OS and see if it works.
Maybe ask my I.T teachers for assistance. But I think I knew I wasn't going to find a solution for this. I just can't afford to pay for postage costs at the moment. I've requested a returned warranty and I'll see what they ahve to say.
Sigh what a god awful day. @shakes tiny little micro SD card and yells [email protected]
(ironically I bought a Sandisk one beause they write the standards for MicroSD cards I believe haha, shot my self in the foot I wish I bought a kingston one now.)
@side note.. is this a picture of things to come? people come to me with computer problems and as a tech when i can't work things out i'll say ever cuss word under the sun in anger? lol i hope there's no customers around when i'm working XD maybe i should go get some anger management classes
Thanks to all who posted replies. Looks like I'll be sending the card back to the company I bought it from. poop!

[Q] Mount Xoom as USB Storage

I just swapped my Samsung Galaxy Tab with a Xoom and I'm a bit miffed. I understand that the Xoom has 32GB of internal storage and does not come with an external SD card (or at least the person I bought it from kept the card).
With my SGT, when I plugged it into my Win7 64bit PC, the SD card would come up as a USB mass storage device.
Is there any way to do this with the internal storage of the Xoom? It's aggravatingly SLOW transferring files through the Personal Music Player icon that Win7 tosses in My Computer. I (as well as several other apps I use) would rather have a physical drive letter to copy to and from.
Not afraid to use a custom ROM or a modded apk or other system file. Yes, I did search and I also read the suggested topics that came up on the posting page, nothing was specifically related to the Xoom.
Yes. The Tiamat Rom, as well as the official 3.2 update activated the SD card slot in the xoom. No, the Xoom didnt ever come with a sdcard already in the slot like phones do, so you didnt get ripped off. the xoom file system is a little funny, "SDcard" is a seperate partition in the internal memory. If using Tiamat, and you have a sdcard in the sdcard slot, its labeled "external1" in the /mtn partition. When first placing an sd card in the slot, the system does take f o r e v e r, to recognize it (make sure you are also pushing the "mount sdcard" button in the storage settings menu). I generally just reboot the xoom after mounting a new card, that usually speeds up the process. When its all said and done when you plug the xoom into your pc you will get two hard drives that pop up, internal and sdcard. And heads up, you still cant put apps2sd like phones can, and you have to use root manager to move files from internal sdcard to external.
Yeah, that's the problem. At the moment, I don't have an SD card to put in it, but I was still expecting the internal storage to be mapped to a hard drive. I don't mind the Xoom showing up as a PMP but a lot of the apps I use as a developer (and some I use recreationally) need an actual drive letter I was hoping that even without an SD card mounted, that the internal storage would show up as a local disk. I've got 3.2.2 if that helps any.
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
LycaonX said:
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
Click to expand...
Click to collapse
If that's the case, you got a bad deal. Generally, the Xoom is excellent and though you can work around it, having the sdcard feels pretty essential to me. Hopefully you can get it fixed or get your other tab back.
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
LycaonX said:
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
Click to expand...
Click to collapse
Cool. Let us know when you've got it. I'm sure there will be interest for such a driver.
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
LycaonX said:
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
Click to expand...
Click to collapse
I forgot that Team Tiamat had implemented usb mass storage in an earlier verion of their Xoom kernel, but decided to remove it as it caused many complications. Look in the back pages of the Development section, for tiamat kernels and also dinomite's mass storage watcher thread. You may be able to find something you can use.

VZW GS5 Adoptable storage, how to access.

I have adoptable storage working per the S7 command line method with ADB. Now, as for how I can access it.. Since its encrypted the PC can't read it directly. Is it possible to use linux commands to create a linked folder on the phone's actual internal storage to the root of the adopted sd card? Wouldn't this cause the phone to handle the encryption work and let us have access to it? The other question is would this created link survive a reboot? I remember when I did a linked folder I had to have a script autorun on boot of the Android 3.0 tablet to recreate the link.
Nova5 said:
I have adoptable storage working per the S7 command line method with ADB. Now, as for how I can access it.. Since its encrypted the PC can't read it directly. Is it possible to use linux commands to create a linked folder on the phone's actual internal storage to the root of the adopted sd card? Wouldn't this cause the phone to handle the encryption work and let us have access to it? The other question is would this created link survive a reboot? I remember when I did a linked folder I had to have a script autorun on boot of the Android 3.0 tablet to recreate the link.
Click to expand...
Click to collapse
Since adopted storage becomes internal, it's best to think of it as you would a hard drive in your PC. You don't physically connect PCs or remove hard drives to transfer files; you networking or apps. There are a myriad ways to do this: FTP, SMB, BitTorrent Sync (my preferred way), SendAnywhere, SuperBeam, etc.
WiFi is far slower than USB3. USB3 would be my preferred method to load up music on it vs wireless methods.
Nova5 said:
WiFi is far slower than USB3. USB3 would be my preferred method to load up music on it vs wireless methods.
Click to expand...
Click to collapse
The interface is only theoretically faster. The S5 uses MTP to connect to your PC over USB, which means writes are made at the file level, not the block level. Translation: if a file has changed on the S5, your PC rewrites the entire file instead of just the changes. This makes routine USB file transfer extremely inefficient.
OTOH, using BitTorrent Sync with an 802.11ac router gives me block level write speeds of up to 16 MB/s, which is pretty good for the S5's notoriously slow SD card R/W performance. And if you have a slower router you can just let the network transfer run overnight anyway.
All fine and dandy, but not important to the answer sought. What im looking at doing is creating a symlinked "folder" that I can drop large amounts of data on, and have it sent directly to the card. Permissions are currently the issue on looking into the "private" directory on the phone for its storage. I just have to look up the command structure for the permissions changes when I get time to dig into it. Might not work depending on what protections google put in place to prevent those changes as they could compromise security.

SSH server on Android N (no root) with write access to the SD card

I want to mount all of my phone's storage read/write with ssfs, but I haven't yet found an SSH server able to do that properly. SimpleSSHD came closest, but it doesn't get write access to /storage/148C-40DE, which is my removable SD card. Also, it doesn't support setting the file attributes and date/time, which is annoying (all files I copy to the phone will have the current date/time).
It's not the protocol, because I've also tried the open source Primitive FTPD app, and it had the same problem. So back to SSH, I've tried a bunch of other free and paid apps from Play, and all had the same problem with the external SD Card, except for WiFi FTP Server, which was able to write on folders in the external SD card, but the connection kept breaking to the point of being unusable, but it did show that it's possible for a server app to offer write access to the SD card without root.
So is there a current solution to run an SSH server on Android Nougat with write access to the external SD card? The guides I've found were very old (2011).
Nothing?
I'm looking for the same thing, since I really want wireless file syncing with my microSD card, but NFS/SMB is out due to not being rooted.
This is the best one I've seen so far -- https://forum.xda-developers.com/android/apps-games/app-ssh-sftp-server-terminal-interface-t3740091 -- https://play.google.com/store/apps/details?id=net.xnano.android.sshserver
It can write to the SD card. But it does have some odd issues -- file modification times aren't kept, and mounting from windows causes an error if you have more than one root per user (workaround: I just created a user for the internal memory root and one for the SD card). But the modification time is a big problem. I haven't found any SSH server on Android that keeps modification times, where openSSH out the box does it on Linux.
In the reviews for this app someone mentioned a better app that's not on the playstore, but I couldn't find one like that.
I'm surprised no one has really gotten wireless sharing on Android working well yet (and frankly, I'm surprised it just isn't support by Android directly on the correct port numbers.

Categories

Resources