yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] FadeFx:
What root app do u use? Try supersu

tapatalked from lollipopped i9300
[Android Apps and Games] acraigl:
I have SuperSU Pro. In settings I enabled the 'su during boot' option, and this time, after I rebooted, SambaDroid started right up. In practice, it still seems intermittent, but I'll keep an eye on it.

Very strange...
[Android Apps and Games] tramp20:
deleted
[Android Apps and Games] tramp20:
deleted too.
[Android Apps and Games] Emperor Works:
nice, i like it very much
[Android Apps and Games] DenisDA:
Problem big files

The good appendix, simple in control, evident on the interface. BUT!!! the problem of downloading big files, is more than 2 GB, depresses. What for restriction, in what a problem and when it is corrected?
[Android Apps and Games] x.danik:
Unable to connect

I cannot connect from windows to phone.

After entering \\ip od \\hostname windows explorer thrown error - network path not found.

Port (445) seems to be closed on device.

Ping work normaly.

No errors in LOG* in application.

Where can be a problem?

Running CM11 on HTC one X

Thanks
[Android Apps and Games] gsustech:
That was fast.. didn't even see the time passing! :)

Thanks for creating a beta version so quickly. Unfortunately it seems it still has the same problem. When trying to start the app the log is showing the error:

"ERROR: saveOptions: Cannot find a valid Wifi interface"

This error is the only one showing now in the log and it is repeated every time I try to start the sharing service using the Start option on top.

I don't know if this helps in this situation:

http://stackoverflow.com/questions/5980826/get-wifi-interface-name-on-android

Thanks a lot!

Jon.
[Android Apps and Games] andrewilley:
On the new beta, I now see the Netbios name in my Windows 7 Network.

However I still can't log on, I get a permission denied message whatever I do (with or without a password set).

Screenshots attached of what I enter, and the result.

Andre
[Android Apps and Games] erik501:
Because you access to telephone and not telephone\sdcard if you access to telephone\sdcard work well ;)
[Android Apps and Games] andrewilley:
Sorry, not sure I get you. Are you talking about the Windows device name that I'm connecting from ("DESKTOP" in this case)? If so, I was using the freeform login (i.e. the second section down of the three options in the dialogue box) which should not append any local domain details.

Or are you saying I should be trying to connect to the network address \\GALAXYTABANDRE\sdcard in the first place? (which would seem odd if the simple \\GALAXYTABANDRE format does not work, and that's the standard way to do it)

Andre
[Android Apps and Games] erik501:
Yes use \\GALAXYTABANDRE\sdcard for access, if you use \\GALAXYTABANDRE you don't have access

Better if use the ip address \sdcard from Windows to Android
[Android Apps and Games] aoaleman:
This works great! Thank you very much for your work and contribution. :)
[Android Apps and Games] swayjd:
Any chance you can give new versions a number? Just so people know when there is a new version! Thanks a lot for your work, much appreciated!
[Android Apps and Games] Chehri:
What exactly is the problem with transferring large files?
[Android Apps and Games] andrewilley:
No, still does not work using netbios name or IP address, with or without \sdcard added. They all bring up a login prompt (which is requested by the android app, as I don't get a login prompt when the app is stopped) but nothing I enter gives me acccess.

Andre
[Android Apps and Games] erik501:
For me work,at this time i don't know how to help you.

For username you use root in windows for autentication request?
[Android Apps and Games] pataclack:
Thanks a lot, it's really a great app :) Thanks for sharing with us !
[Android Apps and Games] DroidTalk:
unable to start :( didn't work for me. Jelly bean, CM10,Galaxy tab
[Android Apps and Games] berserker_devel:
Sorry for the delay!

Well now I really don't know what to do...The new beta version already make use of the code in that link (well that's 1 of my 3 methods :D), so our last options are:

I write a test application to (I hope) find out more informations of your problem.

I give you a little snippet of java code to test (with all my 3 checks, are you a developer?)

I force, in case of no "interface" found, the wlan0 as default one (very bad...)

I give the user an option to manually write one o more listening interfaces (it could be not so bad...)

I really hope to solve this problem, keep me update :)
[Android Apps and Games] berserker_devel:
Please try to insert <YOUR_IP>\root or <YOUR_NETBIOSNAME>\root in the username field ( es.: 192.168.1.100\root )

I see that your are testing the app in a DOMAIN (right?) and that could be the problem.

Fixed (in the topic title), sry!

Did you try to copy a file larger than 4gb to/from your device? Please report your results :)

Please can you attach:

Log screenshot

Useful infos :)

I'll do my best to find what's not working :good:
[Android Apps and Games] erik501:
for the sd card that uses the filesystem fat there 'limit of 2 GB?
[Android Apps and Games] chippyuk:
Can any of you clever chaps out there let me know if there is a way or how I can get Tasker to send the start stop broadcasts as I just cannot get it to work.

Thanks! :)
[Android Apps and Games] andrewilley:
Still no joy. Whatever I try, I seem to get a login prompt but nothing I try will authenticate. DESKTOP is my PC's computer name on the network (it's also in a workgroup called NEVERLAND, which I have set in SambaDroid). I've tried usernames with and without domain details, using netbios names and IP addresses for both the tablet and for the PC.

Is there any more info I can provide to help sort this out?

Andre
[Android Apps and Games] chippyuk:
Could not help but notice you said "usernames" I am sure you know the username is just "root" right? :)

Also, try to disable your firewall and check your antivirus logs to see if that is blocking it.
[Android Apps and Games] wavrunrx:
any chance you can do something about the xfer speed ? im getting ~ 1.4 MB/s !

SFTP gives me about 4 O__o
[Android Apps and Games] tramp20:
Hi berserker_devel,

Did you read my posting?

Most of the time SambaDroid does not start at boot.
[Android Apps and Games] ZorbaJor:
Destination folder access denied

I just bought the pro version when I try to access the shared folder I got Destination folder access denied.

Other time permission denied any help will be highly appreciated.

I had android Kitkat 4.4.2
[Android Apps and Games] whitedavidp:
Is your device rooted? Granted root permission? Are you trying to access an external SD card? My Samsung Note with KitKat has issues with the external SD being written to. I solved it with root and an app off Play Store called SD Fix. Perhaps that's what is going on?
[Android Apps and Games] ZorbaJor:
My device is rooted

I had install SD card fix my device is rooted

I don't know what's happened
[Android Apps and Games] whitedavidp:
And so tell us, what folder are you trying to access? Is it on the external SD card or somewhere else?
[Android Apps and Games] ZorbaJor:
The folder is located on internal storage

The folder is located on internal storage not on external SD card
[Android Apps and Games] ZorbaJor:
So it will not be solved what to do

As I read from this thread many complains from the same issue.

So why you still sell the app on Google play store.

What a shame android
[Android Apps and Games] acraigl:
After years of faithful use, I have moved on from SambaDroid to another server solution. I was growing very frustrated with the large-file limitation and it just got to a point where I could not continue to use it in a manner that matched my needs. That said, I want to thank the dev for a what I considered to be a very good program. Hope to see more from you in the future. Thanks.
[Android Apps and Games] bradwatson:
What did you move on to? I've been using SambraDroid for a while but lately have been having issues with it.
[Android Apps and Games] acraigl:
WebDAV server.

https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver&hl=en

It's been around for a while, but I always assumed that I had to use samba to map a windows drive letter. You can map a drive letter using this as a server by entering the http address with port # it displays when running in on your device. As noted on the play page, you may need to adjust a registry setting to allow access/large file size. I'm running windows 10 and it's working great (though restarts were required to get the drives to show up in explorer).

A few things I really like about this solution:

- Very lightweight app

- I don't think root is required (I wasn't prompted for su as far as I remember)

- It seems pretty fast

- Large file support up to 4GB (yay!)

- It supports intents. This allows me (using Tasker) to automatically start and stop the server based on whether I'm connected to a specific wifi. Serves as an equivalent to a wifi whitelist. That way I can be confident that it's not exposed while I'm out. Of course it's password protected too, but I have no reason to use it outside of my home and this saves me the trouble to toggling it every time.

I feel a little badly about writing about another app in this thread (was not the intent of my post) but hope this helps others if large file support is needed.
[Android Apps and Games] bradwatson:
Thanks for the info and don't feel bad. The dev has done a great job with SambaDroid, but sometimes users have different needs in an app.

Also I figured out my issue. Dumb of me but I didn't realize my Fire TV had been running on WiFi and not ethernet for the past week or so. Switched back to ethernet and all is right in the world again. I'll stick with SambaDroid for now but will keep your recommendation in mind. Thanks again!
[Android Apps and Games] 1727876:
SMB v2

Nice to see in the changelog that SambaDroid 2.0.0 has Samba updated to version 3.6.22. So, should it work with Windows SMB v2? Does someone have them working together well?

In my Windows 10 PowerShell "Get-SmbConnection" says that "Dialect=1.5".

And when I disable SMB v1 on the Windows SMB client (support.microsoft.com/en-us/kb/2696547) it stops seeing SambaDroid's shares...

Would be great, cause v1 is old and claimed to be slower.
[Android Apps and Games] mmasco:
Does not start/work in Tethering mode

Disabling "Require WiFi" option does not give any reaction.

Your other similar app (WebDroid) works in Tethering mode without any problems.
[Android Apps and Games] floring2502:
SambaDroid 2.1.2 hangs on start

I paid for it, even if I have this problem.

On my Huawei Ascend P6 with Android 4.4.2, SambaDroid app version 2.1.2 will start samba but with some issues:

- shares are accessible but the app hangs undefinitely until reported as unresponsive and therefore I close it (20 min of waiting don't make it responsive)

- after closing the app, samba shares stay available (therefore samba processes running); but when I reopen the app, samba is reported as stopped (although it's still running)

- when touching the "Start" button, for a moment samba is reported as running, with netbios name and all, but the app restarts it and hangs again

- the only way to stop samba is either rebooting the phone, or using terminal emulator (in root mode) with the samba.sh shell script; both ways a bit inconvenient, since they take a lot of time.

Thanks for reading,

Florin
[Android Apps and Games] SomeGuy4:
It appears that it doesn't work on Android 6.0.1. Can someone else confirm?
[Android Apps and Games] Minotaur:
Sambradroid was working fine on stock Galaxy S5 5.0, however won't launch on startup on CM12.1

Any ideas?
[Android Apps and Games] xdadevnube:
try binding wlan0 interface
[Android Apps and Games] Minotaur:
Thanks. I went in to add it, and looked around a bit more, turns out that my wifi access point wasn't enabled in the whitelist - more specifically, the 2.4GHz AP was, but the 5GHz AP was not.

Ticked it and it's all working now.

Thanks.
[Android Apps and Games] Bonoboo:
Yes, very waiting for update.
[Android Apps and Games] InfinityApp:
Can't Access Sd Card :confused:
[Android Apps and Games] floring2502:
Coming back after a while; the problem was solved immediately after I replaced Kingroot with SuperSU. Not sure why, cause samba is behaving the same way, log messages didn't change.

Florin
[Android Apps and Games] Kjaups:
Can't write bigger files than 4GB. As soon it hits 4GB, it stops tranferring and asks what to do next.
[Android Apps and Games] RADiuMOz:
I was about to ask about >4GB file support as well - when I view a file which is >4GB (through Windows, connected to my Android device - media player) it incorrectly shows a 4+GB file as only about 380MB. I haven't yet purchased SambaDroid as I wanted to test it works fully, first.

Sorry - I've just seen that some people have reported (in the app reviews) that the file sizes are incorrectly reported (I'm using Windows 10) - not sure whether this is due to no >4GB file support, or something else?
[Android Apps and Games] klau1:
Thanks for making this great app!

When using this app on a Phone in WiFi HotSpot mode, I noticed it doesn't show IP Address of the WiFi Hotspot, instead it shows the cellular network's IP Address which is rather useless when accessing directly on devices connected to the Hotspot.

Can this behavior be changed to show both IP Addresses?

I noticed Samba Filesharing app does this properly.

Thanks for making this great app I plan to buy this once this is improved.
[Android Apps and Games] klau1:
Another problem found, I repeatedly tried copying a 1.3GB file from Windows but it simply hangs while on the Android side, an unreadable file of the correct name and size is generated.

I'm going to request a refund, i like the interface since it has the user and share options, but it's just not stable enough.

Samba Fileshare has no multi-user or share options (you have to edit a file) but it does work.
[Android Apps and Games] bradwatson:
Has anyone had success using this on a Nexus Player? Using an air mouse I can't press any of the buttons like the menu button to configure it. I click it, but it just makes a noise and does nothing. Works great on my Amazon Fire TV.
[Android Apps and Games] Bonoboo:
[MENTION=3530620]berserker_devel[/MENTION]

Regarding Marshmallow, where sharing won't start.

I and few other users in thread faced this problem.

I discovered, that at least on CyanogenMod 13 problem in "enforcing" SELinux.

If switch it off ("permissive") all works fine.

Here what in audit log:

For info: here our sepolicy
[Android Apps and Games] berserker_devel:
Thanks for reporting :good:
[Android Apps and Games] Bonoboo:
Thank you for attention.

Forgot to say.

With SuperSU installed and when in it's settings enabled "Mount namespace separation" (by default) sharing starts with big delay.

But at least starts.

Logcat attached.

When option off it starts immediately.

Here more info.
[Android Apps and Games] SomeGuy4:
Confirmed that this works with Nexus 6P stock Android 6.0.1 build MMB29M

I used SELinuxModeChanger from here -> http://xdaforums.com/showthread.php?t=2524485
[Android Apps and Games] usafle:
Well that answers my question as to why I can't get this to start working on my Nexus 6. Hopefully the DEV finds a way around the SEL enforcing / permissive thing. I'm not going to go implement switching. All the other apps that used to require permissive have now been fixed to work with enforcing SEL, FYI
[Android Apps and Games] hikku13:
I'm trying to connect SambaDroid through Total Commander/Double Commander, but it fails to connect if the shared folders need authenticated users. Whenever it asks the credential, even the username and password is correct, it just fails soon after. But through Windows Explorer, it works fine. It seems the protocol used in SambaDroid somehow is not compatible with non-Explorer program (whether its newer or something). I also try to connect to shared folders (shared from Ubuntu) in my Windows machine (using virtualbox/vmware) it works fine using Total Commander/Double Commander.
[Android Apps and Games] Neo3D:
Not working for me on 6.0 :(

I'm going to go back to Funky Fresh Samba: http://xdaforums.com/shield-tv/general/samba-network-file-sharing-nvidia-t3321522
[Android Apps and Games] Minotaur:
It works if selinux is set to permissive. Tested on CM13 klteduos
[Android Apps and Games] gpharos:
Verified it does not work on the Rooted Nvidia Shield TV after the most recent Marshmallow 6.0 update from 5.1.
[Android Apps and Games] TeutonJon78:
Not working on CM13 on Nexus 4. Starts and then stops immediately. SELinux is set to Enforcing.
[Android Apps and Games] bradwatson:
Install SELinuxModeChanger and set permissions to passive and it will work.
[Android Apps and Games] matthelm:
Anyone having an issue with backup/sync type programs not seeing some of the files on large (400+ files), flat directories? I just started using this this weekend, and on multiple devices and multiple OS's and multiple backup programs, the next time I sync, it shows a few files missing. These files are there, and it shows the same files missing on all devices. On directories with lots of files, but broken into many sub-directories, it sees them all just fine.
[Android Apps and Games] matthelm:
OK, played with it a bit longer tonight, and it only seems to be reading directory listing that is causing issues. As I said above, I have 3 different devices, 3 different OS versions. Note, I am using Windows 10, and I have no older Windows machines, so there is a slim chance it's Windows reading the directory/related. BTW, I have a CRC program, and have those directories in the file, and it's saying all files are there, and match the original. I can even run the check over the net, and it says all the files are there and fine, even the ones not showing in the directory! I also zip the directory on the phone, copied the zip over to the PC, and all files are there.

Any suggestions on checking this further to confirm app bug or Windows issue??? (I'm currently at 95% sure it's the app, but also know Windows 10 (post 1511), has some HUGE network issues.)
[Android Apps and Games] fimadev:
MacOS connectivity issue

I installed this server on my rooted GoogleTV box and I am able to share my drive and it's visible and writable from my MacOS computer on the same network. When I try to copy large files, after a minute or two, the file transfer interrupts with a "-50" error. Both computers are on LAN network.

Any idea what could be causing this instability?

Thanks!
[Android Apps and Games] gpharos:
Thank you, sideload the app and installed with permissions set and I now have full access to my shield TV console back. It's a wonderful thing to copy and edit files/programs from a pc over the network.
[Android Apps and Games] dluciani:
Goodmorning everyone,

I purchased the program after it is installed on a smartv Android.

After repeated trials have failed to 'mount' an existing folder in the network named '\\ readyshare \ USBNetgear' I must say I'm not familiar linux it the right syntax to perform the operation with samba and the dialog box. There being a guide, I ask you kindly help to fully use the Sambadroid program and be able to access the network from windows android SmarTV system.

Aim used 'mount -t cifs //192.168.0.1/USBNetgear -o /mnt/sdcard/Nas'

Waiting for your, I extend cordial greetings.
[Android Apps and Games] libove:
We cannot suggest disabling security

The challenge that various apps are facing now that Android has moved to SELinux enforcing by default must not be faced by suggesting that users reduce the overall security level of their devices, above all not for projects which require rooted devices where other security mechanisms such as SELinux are even more important.

Good security, or to put it another way, doing security well, is a pain. (I've been in the security space for twenty years, and before that I did a decade of programming, systems and networks, so I speak from the same war wounds. And it was probably easier way back then...).

But we still have to do it.

Perhaps there is a member of our community who is - or knows - an SELinux wizard and can propose the SELinux profile that our excellent Berserker_devel could add to Samba Droid and make this problem go away?

thanks.
[Android Apps and Games] [DAO]:
I cannot start service, pls help
[Android Apps and Games] TimeTurn:
Hmmm, let's take a deep look into the crystal ball to figure out, what Android Version you have, what device... :fingers-crossed: if you read the part of setting SELinux to permissive on MM...
[Android Apps and Games] NeuesS5:
:thumbup::thumbup::thumbup:

thanks
[Android Apps and Games] TimeTurn:
I noticed, that SambaDroid is quiet slow on my Nexus 6P with Android 6.0.1 after getting it started by setting SELinux (the app can be downloaded with F-Droid, the linked version here did not recognize root) to permissive. The transfer rate was much higher on my previous Sony Xperia Z Ultra with android 5.1.1.

EDIT: Surprisingly, it run's much faster now... strange.
[Android Apps and Games] NeuesS5:
I found the following, which further help?

Code:

02-10 09:49:44.651 9425 10376 E SambaDroid: /data/data/berserker.android.apps.sambadroid/samba/var/locks/smbd.pid: open failed: EACCES (Permission denied) 02-10 09:49:44.642 10376 10376 W Thread-2107: type=1400 audit(0.0:7360): avc: denied { open } for path="/data/data/berserker.android.apps.sambadroid/samba/var/locks/smbd.pid" dev="mmcblk0p31" ino=1110079 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
[Android Apps and Games] [DAO]:
Sorry forgot to mention: LG Nexus 5x, PureNexus based on 6.0.1

The application starts but cannot start service itself. It saying that I should go and run it thru the menu, but I can't find it in a menu.
[Android Apps and Games] Zeustik:
Connect only Linux?
[Android Apps and Games] DerBusisVoll:
I only can second your suggestion, unfortunately I'm not able to help myself.

I have two i9100 and one i9300 from my kids now on cm13, and would love to be able to use sambadroid again.
[Android Apps and Games] TeutonJon78:
I don't think the problem is just SELinux policies. I have it working fine on 5.1.1 devices in both Enforcing (CM12.1) and Permissive (an AOSP-type build). I think the problem is with 6.0.x and Enforcing.
[Android Apps and Games] TimeTurn:
I just want to inform you, that SELinuxModeChanger is not usable anymore on Android N developer preview. After switching to permissive, the device (Nexus 6P in my case) instantly reboots to safe mode!

So using that would be no final solution! Google warns on that SELinuxModeChanger and suggests to instantly uninstall it. Of course they're right.
[Android Apps and Games] TimeTurn:
Install SELinuxModeChanger from F-Droid or this forum, set permissions to permissive and tap on start in SambaDroid.

Note that setting SELinux to permissive would influence system security, so be sure you do not install apps from unknown sources or third party app stores afterwards.

Like I wrote before, this trick won't work any longer on Android N developer preview (probably on the final as well) since manipulating SELinux would instantly reboot the device to safe mode. I tested it with my Nexus 6P yesterday.
[Android Apps and Games] libove:
Please forgive me if this is ignorant - I assume that the full Samba package for full Linux must have full SELinux support to run in enforcing mode on a modern Linux server platform.

Could the SELinux configuration file for full Samba from e.g. a current generation CentOS Server help in making SELinunx enforcing mode on Android happy again with SambaDroid?