yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] nnila:
Just wanted to say, I started using this, then tried Sambadroid after the mention in this post. Yes its quite nicely put together but its instantly just harassing me to pay and buy the pro version and everything is locked down if you dont.

I modified the conf file for this manually and it works perfectly.

This is also a MUCH smaller application file size than that app so I am far more comfortable having it just running constantly in the background.

For anyone wanting to modify the file themselves it is found:

/data/data/com.funkyfresh.samba/files

And my custom file contents basically looks like this:

# Auto-generated by com.funkyfresh.samba

#

#

# smb.conf last written on 2014-10-01_10-54-14 app build 130413dev

#

#

# Manual edits of smb.conf are not supported.

#

#

# Sharing of non FAT based filesystems is unsupported. Do so at your own peril.

#

#

[global]

interfaces = wlan0

bind interfaces only = yes

workgroup = WORKGROUP

server string = My Phone

netbios name = XPERIAZ

remote announce = 255.255.255.255

encrypt passwords = yes

security = USER

restrict anonymous = 1

load printers = no

printcap name = /dev/null

disable spoolss = yes

deadtime = 5

delete readonly = yes

nt acl support = no

inherit permissions = yes

socket options = SO_SNDBUF=16384 SO_RCVBUF=16384

local master = no

unix extensions = yes

[Internal User Storage]

vfs objects = fake_perms

comment = Internal Storage

path = /storage/emulated/0

force user = root

read only = no

writable = yes

guest ok = no

[SD Card]

vfs objects = fake_perms

comment = Internal Storage

path = /storage/sdcard1/

force user = root

read only = no

writable = yes

guest ok = no

[root]

vfs objects = fake_perms

comment = Phone Root

path = /

force user = root

read only = yes

writable = no

guest ok = no

What I would recommend is first using the preferences to setup the user name and password you want, then just modify the single smb.conf to setup the shares you want.
[Android Apps and Games] mimidatabase:
Hello there,

Just found this app while looking for an alternative for the stock Wireless Storage of my LG G2.

Freshly flashed to CloudyG3 2.0, which is based on the LG G3s ROM, I discovered that LG removed this useful app :(

So I installed Samba Filesharing Server, first from the Play Store, but I was not able to access any setting in the app (see attached screenshot).

Then I removed it, to give a try to the version linked in the OP. Same problem with this one.

I saw in the app's comments on the Play Store that someone seems to have the same issue but on a LG G3.

Any idea?

Thanks
[Android Apps and Games] FadeFx:
Looks like it doesnt show the menu button in navbar, no idea how to solve that except by probably forcing menu button from rom side somehow.
[Android Apps and Games] mimidatabase:
Hello there,

[MENTION=2214692]darknessmessiah[/MENTION] shared his workaround in LG G2 CloudyG3 thread to allow access to the application menu:

Thanks [MENTION=2214692]darknessmessiah[/MENTION] :good:
[Android Apps and Games] kb8no:
[MENTION=3055211]nnila[/MENTION] Installed the dev app and found the cfg file. Your cfg copy was very helpful to figure out formatting of this file. I like a "share" directory so my whole drive can't be read and I got it working with name and all. This is really sweet.

I wonder what prevents exfat and ntsf from working. I have a 64G exfat extSDcard and not talking.
[Android Apps and Games] :
Works with Windows 8 and 4.4.2 device, but can the interface be improved? A little confusing if the main screen is totally blank and everything is hidden in the menu button.
[Android Apps and Games] kb8no:
Using this with Ububtu Linux 14.10 on my netbook with Samba packages along with Galaxy S3 and TW 4.4.2. S3 and all my Android devices always saw Ububtu share directory using ES file explorer. Now when I have this installed, configured, and turned on I can see the share directory on any Android device I choose from Android or Linux on my network and it all works stellar!

Agree interface could be more intuitive and configurable but finding this forum, using dev version, and playing with the config file gives me exactly what I want. It's a matter of making the time to customize the interface more vs the benefit.
[Android Apps and Games] kb8no:
Anybody know how to modify the smb.conf and been successful to allow anonymous / guest access?
[Android Apps and Games] Kodijack:
I really love this tool, thanks for continuing the development!

But i have a problem as i cannot connect to the phone by no means. Could the fact that i'm in a domain and not in a workgroup be the problem?

Samba has root and net-access.

And ideas or tips?
[Android Apps and Games] FadeFx:
Afaik the workgroup is just a parameter that windows uses to group the found smb servers. I have no idea how this works in a domain. Did you test if the device is found when in a workgroup? Because on kitkat i cant get it to work anymore as well.
[Android Apps and Games] Droid X Elvis:
Can't get what to work? Google announced Android 4.4 KitKat on September 3, 2013. That seems like a long time to live with a broken app :confused:
[Android Apps and Games] FadeFx:
I was wrong actually, it just selected a wrong mountpoint for internal sdcard... my bad...
[Android Apps and Games] FadeFx:
Btw, i can confirm samba working well on lollipop... ;)
[Android Apps and Games] mattgyver83:
Start Service on boot (wired)

I know the Samba Filesharing app supports auto starting the service on wifi but what about wired? I have a fireTV that is always connected via LAN cable and would like to do this, even if its something I have to setup a script in my script manager for (root access). I toyed around with starting the service manually via /data/data/com.funkyfresh.samba/files/samba-rc start and that does in fact start the service but I get an error when trying to reach the share configured in the smb.conf that was defined in the application of sdcard. Using version 130413dev.

I know im close, if someone can just tip me over the edge that would be great! Thanks!

Update: I had prematurely posted I got this working, turns out to be a conflict between /storage/emulated/0 which the app uses thats not available to root which I somewhat understand why. Obviously the app works as expected but if there is a way to achieve what im after any info would be helpful. Will keep hunting.
[Android Apps and Games] acraigl:
From the play page: Disable the require WiFi option and set as bind interface eth0

Just set the bind interface to eth0, then upon detecting the ethernet connection, start the service with an intent. I had a similar script running with Tasker at some point, but don't use ethernet anymore with my new tablet.

More info on the intents here:

http://xdaforums.com/showthread.php?t=1967690

Hope that helps. If you need more detail, let me know.
[Android Apps and Games] mattgyver83:
Thank you for that information I am clearly blind and did not come across that but it was probably staring me in the face the entire time. It's ironic you mention the service and Tasker because thats exactly where I started earlier today on this (notably with very little insight into what exactly that meant), kept getting Force Closes and the service never started and during my troubleshooting that was when I found the samba-rc script which is what took me down the path im in now. I'll revisit that original game plan and see if I can't get the service (if I am following correctly thats the com.funkyfresh.samba/.SambaFilesharingService) to begin it would make things much easier than more or less circumventing the app just to run the service.

---------- Post added at 08:27 PM ---------- Previous post was at 08:10 PM ----------

So, it just hit me, I believe that you and I are speaking about seperate applications unless I am missing something. The application I am referring to is "Samba FileSharing" and I believe the options and application you are likely referring to is SambaDroid based on the XDA link you referred me to, also the options you are referring to seem to only be in SambaDroid and not in Samba FileSharing. Am I incorrect?
[Android Apps and Games] acraigl:
Yep, my bad. I used to use SFS, but moved to SambaDroid Pro. It had the features I wanted (the above notwithstanding) and was far more stable at the time of purchase. It's good option, but definitely not the same app. Sorry about the miscue.
[Android Apps and Games] FadeFx:
use the dev version of the app, check "dont rewrite smb.conf" in settings, go to data/data/com.funkyfresh.samba/files/smb.conf and edit it manually, find the line

interfaces = wlan0

and either add eth0 or replace wlan0 by eth0 and you should be good

You could then also add or edit shares manually.

tapatalked from lollipopped i9300

You have to find out if it has to be like

interfaces = wlan0 eth0

or

interfaces = wlan0, eth0
[Android Apps and Games] FadeFx:
[MENTION=1489155]mattgyver83[/MENTION] let me know if that works for you

tapatalked from lollipopped i9300
[Android Apps and Games] FadeFx:
Try editing the smb.conf (tick "dont rewrite smb.conf" in settings) and make

comment = Android /sdcard2

path = /sdcard2

In the second share

tapatalked from lollipopped i9300
[Android Apps and Games] Lanbase:
Thanks but unforunately , that doesn´t work either.

[2015/01/06 09:59:44, 1] smbd/service.c:make_connection_snum(662)

ao721 (192.168.x.x) connect to service sdcard initially as user root (uid=0, gid=0) (pid 6035)

[2015/01/06 10:00:41, 0] smbd/service.c:make_connection(798)

ao721 (192.168.x.x) couldn't find service sdcard2

I somehow have a hunge that the missing symlink for sdcard2 in /mnt is the cullprit,

because for sdcard0 I have to connect to sdcard (without the ´0´) otherwise it will not connect.

# cd /mnt

# ls -al

drwxr-xr-x root system 2015-01-05 22:21 asec

d--------- system system 2015-01-05 22:21 emmc

drwxr-xr-x root system 2015-01-05 22:21 obb

lrwxrwxrwx root root 2015-01-05 22:21 sdcard -> /storage/sdcard0

drwx------ root root 2015-01-05 22:21 secure

lrwxrwxrwx root root 2015-01-05 22:21 usb -> /storage/usb

I might just try and make a symlink myself there and try it out, Or will I run in to problems?

Thnx
[Android Apps and Games] FadeFx:
For sure no constant issues, but if it works you have to make an init.d script to make the symlink on boot.

tapatalked from lollipopped i9300
[Android Apps and Games] Lanbase:
Hmmz, I cannot make the symlink because /mnt directory is R/O

# ls -al
drwxr-xr-x root system 2015-01-06 13:51 asec
d--------- system system 2015-01-06 13:51 emmc
drwxr-xr-x root system 2015-01-06 13:51 obb
lrwxrwxrwx root root 2015-01-06 13:51 sdcard -> /storage/sdcard0
drwx------ root root 2015-01-06 13:51 secure
lrwxrwxrwx root root 2015-01-06 13:51 usb -> /storage/usb
# ln -s /storage/ext_sd /mnt/sdcard2
link failed Read-only file system

Maybe look into how to remount /mnt ( lol ) R/W for testing purposes , but I think its is not the right way.

I have changed smd.conf again btw it is now ;

[sdcard]
vfs objects = fake_perms
comment = Android /storage/sdcard0
path = /storage/sdcard0
force user = root
read only = no
writable = yes
guest ok = no

[External SD]
vfs objects = fake_perms
comment = Android /storage/ext_sd
path = /storage/ext_sd
force user = root
read only = no
writable = yes
guest ok = no

seemed logical to me because thats the actual path to the second ext_sd on HTC.

But still I can only connect to Internal SD card , and I am without options for the moment,

I will read the development thread to see if I can find anything there.

thanks for your help so far.

Edit:

Problem solved !!!

I was using the wrong share name when making drivemappings "sdcard2" instead of "External SD"

like in the header of smb.conf for the external real card.

I figured this out when I tried to start browsing the Android2 in network environment.

RTFM Stupid ! ;) Anyway , all good now !!
[Android Apps and Games] FadeFx:
Good to know it works for you as well...

tapatalked from lollipopped i9300
[Android Apps and Games] mattgyver83:
[MENTION=2446031]FadeFx[/MENTION] thanks for the suggestion sorry for the delay I just got back around to this. I have the development version and have been using the "dont overwrite" feature for a while now so I made the change you suggested, well I can still reach the share (which was never actually the issue) but it still doesn't seem to startup the service on boot for eth0 which at the end of the day is really what I am after. I was fooling around a week or so ago with just mucking with the samba-rc service manually but ultimately can't do it that way because when it does mount due to the location on the filesystem I think androids SELinux/multi-user model get in the way (or its just me - which is likely) due to some oddities of /storage/emulated/0 and emulated/legacy available to applications on device but not when exploring as root via adb or via scripts. Couldn't quite nail that down.

I know nothing about the applications code or even androids limitations when it comes to onboot activities nor do I think this is necessarily a "to die for" feature but I think it would be awesome if there were a way to override the default boot device in the application. Maybe that could be done either via a list of availble or just by assuming the first in the interfaces config which keeps it out of the way for the obvious majority who run this on tablets/phones and other mobile devices. Great app, outside of that minor thing it works perfect and obviously I am just trying to shim something in with what I already have and know, and I think that feature could be a great value add. Thanks again and if you have any other suggestions I'd be glad to try them out!
[Android Apps and Games] FadeFx:
So starting the service with an init.d script didnt work for you either? Thats strange indeed and i have no idea how to solve that either. Unfortunately jimmychingala seems to be a highly busy guy and drops in here once a year or two, but i think he could solve your problem with ease.

tapatalked from lollipopped i9300
[Android Apps and Games] FadeFx:
Sorry, to be clear again, you tried to run a script after boot, not in an init.d script, through scriptmanager, tasker, llama or whatever is able to, that contains

su

/data/data/com.funkyfresh.samba/files/samba-rc start

and you run into troubles that shares are not accessible in the same way as if you start it from the app manually?

tapatalked from lollipopped i9300
[Android Apps and Games] mattgyver83:
Essentially yes but there is a minor caveat. I was running the script through an an adb shell on the device in the script to work around another problem so my actual command was more like "adb -s emulator-5554 shell "su -c blahblah". The service starts however the share configured at /storage/emulated/0 cannot be found as that location is not available to the system when inside an adb shell. Its clunky but it was the only way I was able to get the script to work. I honestly have no idea why that location is available to working applications but not when your digging around inside of ADB I suspect its something made up on the fly for an applciation for security purposes and never actually exists and in order for the share to share out my SDCard its got to point to that specific location nothing else works.

If I get some cycles today I'm gonna just straight Barney the script to double check but I'm pretty certain I got the same "no such file or directory" when testing it that way.
[Android Apps and Games] FadeFx:
Probably i am just stupid, but i dont get that adb stuff, you want to start the service on the device from your pc, or what?

tapatalked from lollipopped i9300
[Android Apps and Games] alegend1979:
Since I run the smb server on Kitkat 4.4.4 blekota Note 4 (galaxy s3 i9300) - Samba doesnt recognize my external sd anymore....

I already applied KITKAT SD fix but not chance....

What could be the reason?
[Android Apps and Games] mattgyver83:
[MENTION=2446031]FadeFx[/MENTION], your probably following along better than you think its just what I had to do was notably a cheat at best. So when I was trying earlier to execute it as su the service was starting but the SDCard was not being shared out so I had to dig from my local PC via adb to better understand how the script was seeing things and thats when things got odd and I realized that ADB sees things differently than the applications do in terms of the sdcard location however with ADB I was actually able to start up the service and get /sdcard shared out (kinda, ill get back to that). So, as I sit there kicking myself over it I realized that the script could actually just take advantage of the adb emulator on the device itself by just executing the commands as 'adb -s emulator-5554 shell '<put command here>' ' and then the script would work exactly how I was telling it to and work that way.

So, back to the "kinda" part, thats when I recognized to my dismay that ADB and applications and android see the sdcard in different ways that are not entirely compatible with each other and thats where things get dirty, while you can share out the sdcard that way its availalbe to root only and not applications so its a no-go. The only reason I even know about that method is because its a workaround for mounting CIFS shares in android post 4.3 and I just got done setting up a script for this very same device to do so on boot. If this leaves your head spinning don't worry your not alone and thats why my inital post was really about figuring out a way to get this to boot just for eth0 because that settles all the workarounds or having to use a different application. There's a way, I am probably over complicating it but thats what I do best. Thanks for the assists.
[Android Apps and Games] FadeFx:
Hmm, never even heard of that adb-on-device hack, also i never used a ethernet device myselfs. However, i remember others had done that and it worked for them with only the smb.conf mod. What is the result if you run that samba-rc start, as i posted it, in terminal emulator?

tapatalked from lollipopped i9300
[Android Apps and Games] procobain:
verifung resurces

Hello, I used this excellent application in my previous cell and on my tablet, but now on my Motorola Moto G 2014 Android 4.4.4 it does not work,

when starting the application, the screen "verifung resurces" appears and does not go out anymore

anyone have any solution?

thank you!
[Android Apps and Games] cdzo72:
Easy... SEARCH function
[Android Apps and Games] tag68:
Since quite some time I like this app very much. But there is one major drawback: if the folder contains many files, it gets really slow. This starts when changing folders or refreshing the list of files in some Browser like Apple Finder or Windows Explorer.

But really annoying is if you copy many files like 200 photos from the DCIM folder there is a big pause after every file, and the more files there are, the longer does it wait before starting next transmission.

Is there any workaround or fix for this behavior of Samba Filesharing?
[Android Apps and Games] cdzo72:
That sounds more like a limitation on your end... phone or router... I use it all the time and my transfer speeds are 3 to 4 MB/s and refresh in big folders like Titanium backup or DCIM work better than my MTP connection with USB... ONCE again if I had to guess I'd say your router is your bottleneck
[Android Apps and Games] BlindWanderer:
I've been having a strange problem, SambaDroid seems to auto start sharing seemingly at random around 3:30 PM EST (US), not every day but occasionally. I have autostart in SambaDroid turned OFF (never turned it on). The first time this happened I put it down to me having fat fingers/pocket dialing. The second time it happened I was pretty sure it was not something I did. The third time I KNEW it was not something I did (because I had previously set SambaDroid in SuperSu to 'prompt').

Which leads me to conclude either some other app or service is starting up SambaDroid or there is something deviously wrong with SambaDroid. More specifically this only seems to happen while connected to a specific network which suggests to me that my phone is being attacked (via wifi or mobile networks).

As a stop gap solution I have SuperSu to prompt me when SambaDroid asks for su instead of auto-granting.

Any suggestions on how to figure out what is directing SambaDroid to start (and share)?
[Android Apps and Games] sanzo77:
Hi, I've just installed Samba Filesharing on my Samsung SM-705 (Galaxy Tab S). The app ran and I gave it root permissions using SuperSU but I'm stucked with the message Password not set on the screen. I've read in the first message that I've to access to app menu to set it, but there's no way to access any menu... any hint?

Thanks

---------- Post added at 01:43 PM ---------- Previous post was at 01:29 PM ----------

Ok, I've installed button saviour and now I've accessed app menu. Everything is working! Fantastic app ;)
[Android Apps and Games] FadeFx:
This thread is not about sambadroid by berserker, this is samba server by jimmychingala.

tapatalked from lollipopped i9300
[Android Apps and Games] BlindWanderer:
****, I'm sorry. I I'm an idiot.
[Android Apps and Games] johnnyoldcake:
Just installed this Samba Filesharing on RedMi.

Root permissions was granted by SuperSU but still going around with the toast "Password not set" and not get anything done.

Any help??

:rolleyes:
[Android Apps and Games] starbase64:
[MENTION=6386833]johnnyoldcake[/MENTION]

set password in menu and enjoy ;)
[Android Apps and Games] FadeFx:
No problem, maybe you should try using this app instead... ;)

tapatalked from lollipopped i9300
[Android Apps and Games] johnnyoldcake:
It works after setting password! Thanks!

Nice work indeed!
[Android Apps and Games] oduca:
Please delete

Please delete
[Android Apps and Games] h_onger:
Thanks for this I can share with my pc:o
[Android Apps and Games] Ethermind:
how to mount exFAT MicroSD ?

it mounts only internal storage
[Android Apps and Games] cdzo72:
Modify the configuration file with the correct path to your external card... search a little... instructions have been posted several times
[Android Apps and Games] Ethermind:
all done. all works fine.
[Android Apps and Games] bleuxeon:
SMB version

hi,

I have just installed Samba Filesharing Server, setup a user and did some transfers.

I did noticed that on Windows Server 2012 R2 (I guess this is the same on Windows 8.1) used samba dialect is "only" 1.5, while Windows can use up to 3.02.

I ask because I really don't know if its an option or not : can't Samba Filesharing Server use a more recent SMB version?
[Android Apps and Games] FadeFx:
Currently not, i am unaware why jimmychingala decided to implement a rather old version of samba binary, but i think as long as it works as intended and is no security risk to use, he wont really do any changes to that. This is mainly because he seems to be quite busy with other things and drops in here maybe every half a year or less, so this app only gets updates when some android update completely brakes funktionality.

tapatalked from lollipopped i9300
[Android Apps and Games] ketu:
Server stopping

Hi there,

First of all i would like to thank you for developing this good app.

I want to use as daily use on my Minix x8h plus android PC but i encounter some server stops after 24 h. Don't know how to see exactly when and why this happens.

My device is connected on Ethernet. Could be somehow related to the wake-locks?

Help would be really appreciated!

Thank you,
[Android Apps and Games] FadeFx:
Probably related to lease times, check your router settings.

tapatalked from lollipopped i9300
[Android Apps and Games] ketu:
No, I don't think so.

I have manual IP and the dhcp lease is way longer than a day.
[Android Apps and Games] FadeFx:
Then i am out of ideas, my mk908 has never been stable enough to know this and on my phone i have it never running that long.

tapatalked from lollipopped i9300
[Android Apps and Games] ketu:
Thank you then.

As an update, my samba server on minix x8-h plus is working fine for 48 hours now.
[Android Apps and Games] FadeFx:
Just out of the blue?

tapatalked from lollipopped i9300