yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ccchan234:
the paid $ambadroid dunt work on my new installed mido+los14.1

frustrated and turn back to samba file sharing.

just found that post #1 have the dev version which allow manual edit of smb.conf

after that, my mido+los14.1 can SAMBA share with internal memory and external sd (ntfs).

this will be my solution.

thank for the author.

have to give a thumb down to $ambadroid 's developler, unless he got a good reason.

thx
[Android Apps and Games] ccchan234:
---------- Post added at 06:04 AM ---------- Previous post was at 06:04 AM ----------

[/COLOR]Hi All~

it work is 1 thing.

May I ask about the trust to use the program?

The "samba file sharing server" in google play and sambadroid in google play were close source but at least screen-ed by google.

How about the "dev version" of "samba file sharing server" in post #1?

Yeah I am using it and I was forced to trust it. But may I ask about the safety?

the best is:

if open source, let us get the source.

if close source, have a sign-ed signature or at least a md5 checksum.

md5 checksum cant tell much, but at least when the author found that a hacker hacked his site,

we know that we are using the original version or the hacked version. This already makes difference.

Thank you.
[Android Apps and Games] ccchan234:
for the security of the "dev" version in post #1.

I submit the file to virus total.

I just know that android .apk have signature!

Certificate Attributes

Valid From	01:17 PM 12/22/2010

Valid To	01:17 PM 05/09/2038

Serial Number	4d11fa70

Thumbprint	d363fa3992b5de3b2d9ba3433218f0e6d0b1438b

From the tools tips, it say this .apk in #1 is signed by the developer.

So... not that bad.

can trust at the moment.

but... with source code is best, with signature is 2nd.
[Android Apps and Games] jndvlp:
Thank you for your message, i would like to add some important information to this.

Your instruction are right but aren't enough to make samba filesharing work on all devices.

In fact i read that some people can't access the samba filesharing configuration menu because the three dots button isn't displayed.

I had the same issue on xiaomi mi a1, this phone has hardware button and this is the reason why samba filesharing doesn't display the configuration button.

Google's new guidelines about app development says that every application must have a software button to access configuration menu, this think has brought smartphone producer like samsung to do not implement anymore hardware button to access application's menu configuration since every application has software button for this, according to the google guidelines.

The fact is that samba filesharing doesn't respect new google's guidelines because it has not been updated for years so if you have a smartphone with hardware button samba expect that the smartphone has hardware button to accesso menu configuration too so doesn't display software button.

For this reason on smartphone that has hardware button like xiaomi mi a1 samba doesn't display software button to access configuration menu. I had the same issue on same smartphone using titanium backup.

There are 2 solution.

The first solution is to disable hardware button and enable software navbar, you have to check how to do this on your smartphone. On xiaomi mi a1 with android 7.1.2 you can do this downloading and installing from magisk modules list "mi a1 navigation bar" and rebooting your phone. After reboot hardware button are disabled and software button are enable.

This was enough to make the menu button to be displayed back on titanium backup but not enough to have back menu button on samba filesharing.

The second solution that works with samba filesharing is to install Pulsante menu (No root)

Once you installed this application allow all 4 permits it asks, once done you will see 4 green dots inside this application.

This app enable a bar on the notification area with the three dots software button that allow you to access configuration menu of the opened application.

So you have to open samba and then open Pulsante menu (No root) and use it's bar to access samba's menu configuration.

Once you used Pulsante menu (No root) you can close this application so it disapper from the notification area, you can launch it when you need it and close it when you don't.

If samba filesharing says "enabled not running" don't care about this, try anyway to access to the ip address of your smartphone and it should work.

Please let me know if this works for you too.

Thank you.
[Android Apps and Games] holmesmalone:
I installed this apk from the Play Store (Menu Button, English version). Followed the instructions, everything happened as you stated. Except, I press the 3 dot menu button and a notification appears and states: "Menu Button IME Send the key after you selected." I do not know what this means.

Three of the four menu buttons work perfectly as installed from the play store.

Any thoughts?
[Android Apps and Games] jndvlp:
Check that the configuration of menu button application looks like mine (Screenshot 4).

I get the same message when i press the the 3 RED dots button (Screenshot 1) on the bar that appear on the notification area when you open the menu button application.

I get the same message and then apper a request to select the default keyboard (Screenshot 2), to let this application works you should select menu button application (Menu button IME) as default keyboard, then you can select back the gboard, but until you need digit instruction on menu button application you need to select it as default keyboard.

Once menu button is selected as default keyboard the 3 dots button on the bar on the notification area became GREY (Screenshot 3), now it should works.

If you get only the message and not the request to select the default keyboard this could appen because you're running oreo, i checked this on android 7.1.2.

You can try manually select the default keyboard and check if it works.

If it doesn't i think that oreo could be the reason and i think that you should wait menu button application to be updated to work with oreo too or you can look for another application that performs the same and works with oreo too.

Let me know if it works.
[Android Apps and Games] krzych:
I need help running Samba Filesharing - I did set selinux to permissive, but still no clue what's going on - no visible samba server from my windows pc. Although, when I do type samba share into my total commander android apk, it works like it would only set up service on local network interface...

Any clues?
[Android Apps and Games] holmesmalone:
The keyboard selection was the step I missed. I had to hunt for that option. Now it works. Thank you.
[Android Apps and Games] jndvlp:
Try typing the \\local ip address of your phone

Try to check the network configuration of your modem router.

Your phone and your pc must be connected to the same network.
[Android Apps and Games] krzych:
Yes, I tried typing local IP (local as my local [home] network address, not localhost), I'm sure router routes everything fine and I'm on the same network. And I'm sure as hell, that the packets do not get in or out the phone by samba ports.

EDIT:

In logcat only repeating error I see is:

04-11 00:00:45.684 8799-8799/? I/unkyfresh.samba: type=1400 audit(0.0:3696): avc: denied { open } for uid=10204 path="/data/data/com.funkyfresh.samba/files/var/locks/smbd.pid" dev="mmcblk0p48" ino=61559 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=1

But as we can see, permissive is = 1, so it should be allowed anyways...

EDIT2:

Ok, I've got to the smbd logfile, it shows that the connection was initially established, but died:

[2018/04/10 22:06:13, 1] lib/util_unistr.c:load_case_tables(67)

creating lame upcase table

[2018/04/10 22:06:13, 1] lib/util_unistr.c:load_case_tables(82)

creating lame lowcase table

[2018/04/10 22:06:13, 0] smbd/server.c:main(806)

smbd version 3.0.20a started.

Copyright Andrew Tridgell and the Samba Team 1992-2004

[2018/04/10 22:06:31, 0] lib/util_sock.c:read_data(526)

read_data: read failure for 4 bytes to client 192.168.1.10. Error = Connection reset by peer

[2018/04/10 22:06:31, 0] lib/util_sock.c:read_data(526)

read_data: read failure for 4 bytes to client 192.168.1.10. Error = Connection reset by peer

[2018/04/10 22:06:31, 0] lib/util_sock.c:read_data(526)

read_data: read failure for 4 bytes to client 192.168.1.10. Error = Connection reset by peer

Any clues?
[Android Apps and Games] jndvlp:
What phone are you using?

Are you using windows or other operating system?

Is your router a standing router or a portable router, which works with a sim?

Did you try connecting your phone and your pc to another network a try to check if samba works?
[Android Apps and Games] krzych:
1. XT1580 (in signature)

2. Windows 10 Home

3. Asus AC66U working with 1GB LAN wired and 5Ghz or 2.4Ghz WiFi, no SIM

4. Daily, works
[Android Apps and Games] jndvlp:
If you use samba on other network is samba unusable the same way?

Inside samba setting, on wakelock section, do you have the first and the last option ticked?

Do you have installed on your phone some firewall application or applications that handles network access?
[Android Apps and Games] krzych:
1. yes

2. yes

3. yes, but samba is unblocked everywhere, tried also with firewall disabled
[Android Apps and Games] jndvlp:
I would try to completly disable all application that could be cause of the this, eventually i would uninstall these application an thene and try samba.

If your firewall is afwall inside the settings there is an option to let incoming connection for samba.

Try to check.
[Android Apps and Games] krzych:
No, it's not afwall. And I did say that I did test it without firewall. iptables -F also. Wrong direction.

About "apps that can cause this" - if I knew which apps can cause this, I would not ask for help. And I suspect that none of the other apps cause this, but samba file sharing itself causes this, but I'm not sure.
[Android Apps and Games] jndvlp:
Sometimes happened to me that flushing all iptable rules did not work and i had to reboot the system, on pc.

In your case i would proced like this.

Completly uninstall firewall, not disable it, uninstall it.

Reboot your phone, then flush all iptable rules.

Reboot your phone and then try if samba works.

Let me know.
[Android Apps and Games] krzych:
I already did all above. Nothing changed.
[Android Apps and Games] Dr.Ghobar:
"unknown user name or bad password"

In Netwok (on Windows 7), when I click on ANDROID (which is the name which Samba gives to android device), a window pops up and asks for username and password. No matter I enter Samba username and password, or I fill the Windows username and password, it replies "unknown user name or bad password". Pop-up repeats. look at the attachment for a picture of it.

(my phone is Galaxy Ace GT-S5830, rooted.)
[Android Apps and Games] svbarbosa:
I hope no one will be upset with my post, specially the OP.

But since there is no update for Samba Filesharing since 2014, I feel obligated to share my discovery.

Yesterday I found an alternative app in play store:

LAN drive - SAMBA Server

.

In preliminary tests it works well and seems faster than Samba Filesharing. But be aware that the free version has a speed limit. To use LAN drive at full speed you have to pay.

The app has been released on January 25, 2018. There are constant updates and the dev seems active and responsive.

I made this discovery because there was no way Samba Filesharing would work in my Moto Z2 Play. Due to the nightmare of using MTP I started searching for alternatives. I found LAN drive and it worked like a charm.

When creating your accounts and shares, my advice is first create all your shares and then add users. If you follow the app suggested sequence you will end up with your custom shares not accessible from your PC.

If you use file synchronization software be aware that LAN drive has a bug. Files written to the phone do not get the time stamp updated to the source file time stamp. I will report this to the dev and hope it gets fixed soon.
[Android Apps and Games] poppyto:
Hello svbarbosa, I'm the LAN drive developer.

I will fix the issues of users rights and wrong timestamp on monday.

I would like to tell other users LAN drive is a non intrusive app (it doesn't install anything in the system apps and it only work when you started it, security is a big thing these days).

If anybody have a feedback, feel free to test LAN drive and feedback me ;)
[Android Apps and Games] svbarbosa:
[MENTION=1902945]poppyto[/MENTION], welcome to XDA!

Glad to confirm you are really active and responsive. ;)

I have also seen your answer to my email and will get on it soon. Some family errands to run first. :p

Take your time to fix the issues. We have been waiting for so long to have samba support that we can sure handle waiting some more time to have your fixes.

And please do start the LAN Drive app thread. I am a long time user of Samba Filesharing and despite it seems to be dead in terms of new development, somehow I feel weird talking about a replacement app here. :o

I had problems with Samba Filesharing not working in my Moto Z2 Play, it is my first phone where Samba Filesharing would not work. Shares do not appear on my PC.

I did some research and foung a great replacement app. Check it out in my previous post

#235

.
[Android Apps and Games] Dr.Ghobar:
Can you make LAN drive compatible with android 2.3 too?

Or

Can you give me another version of it which is compatible with android 2.3?
[Android Apps and Games] poppyto:
Unfortunately, Xamarin Forms needs at least Android 4.0.3, and I can't make it better :/
[Android Apps and Games] tramp20:
I was happy to found your app, but nothing works (I have paid in the meantime):

1. I cannot make a new user

2. I cannot change sharings etc.

3. I cannot change device name and so on.

your app does not accept any input :(

Until now I am using Samba FileServer or SambaDroid

You could make a own XDA thread here if your app really works.

Sony Z1c stock rom 5.1.1 rooted
[Android Apps and Games] svbarbosa:
Hello tramp20,

I will open a support thread for LAN drive. I am not the developer, just a user of the app willing to help.

LAN drive is working fine in three of my phones.

In the meantime please let us know your phone model, Android version / rom, kernel if not stock and from which device/PC you are trying to access the phone.
[Android Apps and Games] tramp20:
1.

I wrote this two times: Sony Z1c stock rom 5.1.1 rooted

As I cannot change the settings I cannot get a connection to my Win10 PC.

As I wrote too I have no problems with Samba File Server or SambaDroid.

2. On a very old LG P970 (Android 4.x) I can change the settings of this app but I don't see this phone in my network because Lan Server catches a wrong IP address (perhaps mobile and not WLAN).

This app is in my eyes only alpha quality until now.
[Android Apps and Games] svbarbosa:
My bad. I am having a tough work period and missed the last line in your post. :p

For now, in your Sony, please uninstall and reinstall from Play Store. This will wipe data for LAN Drive make sure you have the latest update.

Then create one user and one share. It should work.

Turn of mobile data in settings and check if you can see it from your PC.
[Android Apps and Games] tramp20:
Hi,

since Lan Drive v1.3 I can configure this app now:)

But there are problems of course:

1. During deep sleep of my device I have wakelocks the whole time (battery is discharging badly), See attached screenshot.

2. If I de-install the app and make a fresh new installation all shares are visible and I have access (not always). But after a short time or after stopping and restarting this app my device is no longer visible. I tested this on two smartphones several times. That is terrible.

Wishes.

A possibility to save and restore the settings on the (external) sdcard.

2. If I tap on the back key the should NOT stop the smb server.

If the smb server is running the transfer rate is very good compared to the old samba file server
[Android Apps and Games] ccchan234:
Hi~

seems I found a solution from the problem that NEITHER any author would like to update their apps.

----------copy

Hey all.

I JUST found that indeed we can use webdav (the app I use is webdav server).

no need to root.

It can share out /sdcard (your internal SD) and also ext-sd.

And you can mount them as a drive in windows.

For me, thru this I can use teracopy to verify the copy/paste to and from PC.

This non-root solution COMPLETELY eliminated the need for ROOT + outdated app from sambadroid/samba file sharing.

hope it helps.

----------copy

pls see https://xdaforums.com/showpost.php?p=76506134&postcount=703

---------- Post added at 02:55 PM ---------- Previous post was at 02:52 PM ----------

but from cryptomator, i heard that the default webdav client from windows can only handle largest 4GB file.

so... if u have files > 4GB, u have to dig in.
[Android Apps and Games] tag68:
Sounds nice. But does it preserve timestamp? This is the main advantage of Samba filesharing over any other server I know (ftp, samba or whatever protocol): it does keep the timestamps of the files if you copy to your Android device, as it is supposed to be with any copy/move operation.

Disclaimer: My standard method nowadays is to use Total Commander for Android to access any ftp or Samba server. I currently never copy to the device using Samba filesharing, and didn't run it on my current device by now, because there was no need to do so.
[Android Apps and Games] poppyto:
I opened a new thread dedicated to LAN drive here :

[APP][4.0.3+][Root] LAN drive - Samba Filesharing Server SMB1 and SMB2

Feel free to post here ;)
[Android Apps and Games] svbarbosa:
Well done. You beat me! Could not find the time to start the thread as I offered. :o

Truth is I'm having an unusually tough period at work.

Fortunately it is almost over and I will be able to help LAN drive development again real soon.
[Android Apps and Games] majestics:
Does anyone know how I can share multiple folders in the smb.conf?, It was set to main device folder and I edited the smb.conf file to share my external SD which works but I want to share both paths.
[Android Apps and Games] tag68:
Samba/smb.conf is not Android specific. Search for man pages and configuration hints for desktop OSes outside the Android world, you will find.
[Android Apps and Games] tramp20:
# Generated by SambaDroid

[global]

interfaces = wlan0

bind interfaces only = yes

workgroup = WORKGROUP

server string = SambaDroid

netbios name = Sony-Z2c

remote announce = 255.255.255.255

encrypt passwords = yes

load printers = no

printcap name = /dev/null

disable spoolss = yes

deadtime = 5

delete readonly = yes

nt acl support = no

inherit permissions = yes

local master = no

unix extensions = yes

security = user

guest account = nobody

map to guest = Bad User

socket options = TCP_NODELAY IPTOS_LOWDELAY

read raw = no

write raw = yes

max xmit = 131072

[sdcard1]

path = /storage/sdcard1

read only = no

writable = yes

guest ok = no

force user = root

map readonly = permissions

[root]

path = /

read only = no

writable = yes

guest ok = no

force user = root

map readonly = permissions

[sdcard0]

comment = Android /storage/emulated/0

path = /storage/sdcard0

read only = no

writable = yes

guest ok = no

force user = root

map readonly = permissions

This works only with this version of SambaDroid 130413dev and you have to check "Don't rewrite smb.conf' in the settings.
[Android Apps and Games] shouffrey:
Yesterday I installed "Samba Filesharing" on a Galaxy S7 stock Nougat. I have been used to Long Pressing the menu key (recent) on everything but the one awful 5.1 device which does give me 3 dots, but this didn't work on the S7 because of Multi Window. I got the crazy idea to long press the Back Key & voila, a menu. Probably won't work for everybody, but maybe help somebody.

P.S. All devices on my network I access shares through this app have static IP address. I'm running "Samba Filesharing" on literally every Android I have that's rooted. I am able to access the shares from windows using the IP address in the UNC rather than NetBios name, sometimes that's unreliable. IE: \\g930u\sdcard \\192.168.0.93\sdcard
[Android Apps and Games] aluzjunior:
Tried to use on my TVBox, but got a black screen and select "add", both Google Play and Dev versions
[Android Apps and Games] adroman7:
Problem with autostart after reboot if using Ethernet

Hello,

there is a problem with autostart after reboot if using Ethernet connection.

You have to always manually start the service, it's really harsh. :eek:

Is it possible to somehow force the app to launch after reboot and use Ethernet connection? :confused:
[Android Apps and Games] Dr.Ghobar:
Hello

SMB clients apps on android devices either cannot find the this server (Samba Filesharing) at all or cannot open it. (Windows can find and open it.)

Can you please help me to overcome this problem?
[Android Apps and Games] FadeFx:
Ntfs shares do work, but is not officially supported and you need to share them manually by editing smb.conf
[Android Apps and Games] Viper_21:
Is there any chance you can update the UI so that the Enable/Disable buttons are in the main screen and not tucked away in the menu?

Would also be great to be able to create an Android shortcut to the app in toggled enable/disable state without having to open the app's UI?.

Thanks for continuing to support this app. ☺
[Android Apps and Games] andrewilley:
Just tap the Samba logo.

But yes, it would be more user-friendly with labelled buttons.

Andre
[Android Apps and Games] Daemontl:
New member

Hi,

Can someone tell Me smb.conf path?

I know that its newbie question, but yesterday i had my 1st experience with own android device (minix neo x8, android kitkat). I already get root on it, now trying to configure samba, ssh, and torrent :)

I never used used android devises before, only IOS, so зlease accept my apologies for dumb questions, this one is not last, I'm sure :)

Thanks for help
[Android Apps and Games] triathlete66:
data/data/com.funkyfresh.samba/files.l/smb.conf
[Android Apps and Games] Daemontl:
Ok, I have another problem. I found and edit smb.conf but when i start samba, application overwrite conf file :|

smb.conf file says that

any solution? what I'm doing wrong?
[Android Apps and Games] Nash123:
You need the dev-version from first post.
[Android Apps and Games] drizzle1:
Hi

First of all, thanks for this great app!

It works well if i manually change the path of [sdcard] in smb.conf. However, this file is overwritten every time i restart the samba server so it is annoying to have to edit it every time. Any solution for this?

The second shared folder works fine because the path is the right one in the smb.conf

I am using the 130413 dev version from OP.

EDIT: Solved, i have found the option to not overwrite smb.conf

Thanks a lot
[Android Apps and Games] andreasy:
Thanks for making this work again after long time. However i rushed into getting excited too fast.

the app installed fine from play store on my Galaxy S4 4.2.2 but i get very frequent crashes too often especially when the server is being used. I noticed however that the operation is not affected during the fc. Only the icon disappears but i can still copy to and from the share.

Any help on this?
[Android Apps and Games] gsearle5:
White list overridden by media mount event

I noticed that when I am not on a whitelisted network, file sharing will start up anyway if there is a media-mount event on my device, such as if I hit the "Mount SD Card" button in the Android Storage Settings.
[Android Apps and Games] Napalm Candy:
Hi.

Can you add some help to work with os x? Thanks
[Android Apps and Games] urra901109:
anyone managed to get the "error changing password file" sorted out.. or is it hardcoded that only the developer can make change to it?

moto G stock 4.4.3