yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] StuttgartKiwi:
I'm running CM13 with SELinux set to enforcing, and like others here, I also found that SambaDroid won't work for me - although it did work perfectly well when I was running CM12 with SELinux set to enforcing. Seems to be caused by Marshmellow.

However, there is another app in the Play Store called Servers Ultimate which has a Samba server built in, and it works perfectly fine on my phone. I don't have to change SELinux or anything like that - it just works.

You have to also install the addon Pack B to get the Samba Server functionality. Then you run the one called "SMB Native Server".

Anyway, I wonder if [MENTION=3530620]berserker_devel[/MENTION] can use that app to figure out how to get SambaDroid to work on Marshmellow with SELinux set to enforcing? I really hope so! If the other app can do it, I'm sure SambaDroid can too.
[Android Apps and Games] libove:
It's good to know that there's an alternative SMB server, but Servers Ultimate has so much functionality in it that I'd be very uncomfortable installing it. Just too many probable security holes, opportunities for configuration security errors, etc.

Still hoping that SambaDroid can be made to work on CM13.
[Android Apps and Games] StuttgartKiwi:
How would Servers Ultimate be any different to SambaDroid in that regard? With Servers Ultimate, it only runs the servers that you activate. They don't run by default. So if you only activate the SMB server, that's all that it runs. Its SMB server shouldn't have any different level of functionality or security risks than SambaDroid.

In any case, I'm not posting about Servers Ultimate to entice people away from SambaDroid, but rather to show that it's possible, somehow, to get an SMB server to run on Marshmallow with SELinux set to enforcing. :)
[Android Apps and Games] TimeTurn:
Ultimate Servers is something to take a look at as long as SambaDroid has that issue. Thanks :) Unfortunately no success accessing my Nexus 6P from Windows. Set an username and password, but Windows can't access it.
[Android Apps and Games] libove:
The concern is a general one. The more stuff that we install, the more probable that some kind of hole will be present which could be leveraged. Even if we don't enable/configure certain things, the code is still there. Sadly, this is not just theory, this is the path through which a number of security vulnerabilities over the years have presented themselves.

So I prefer to not install a mass of stuff just to solve what I hope is a temporary problem with just one function.
[Android Apps and Games] NeuesS5:
can anyone help berserker sambadroid get under marshmellow to operate? I also like to pay again for a monetary PROPRO
[Android Apps and Games] ripko:
I'm using Sambadroid with Tasker. Starting Sambadroid with the START intent works fine but I can't stop it sending the STOP intent. I tried to run the stop task manually from tasker but after that the Sambadroid Icon is still showing in the notification area. What am I doing wrong?

(Galaxy S3 with Android 4.3)
[Android Apps and Games] RazzMcTazz:
Does SambaDroid work on Android 6.0.1? I can't get it to work on my rooted Sprint Galaxy S5 (with Android 6.0.1). I've gone into the options to set it up but when I start it, it tries to start, but then says "Status: stopped." I get the following information in the Service tab.

INFO:

WiFi Connection: "CorrectSSID"

Name: -

Address: -

Status: stopped
[Android Apps and Games] Bonoboo:
Yes, if disable SELinux.

Check few last pages.
[Android Apps and Games] imali_g:
Useless my device is rooted and it says that root unavailable. . . . .
[Android Apps and Games] Yadegun:
Pro version after purchase

Hi,

I have 4 devices, all rooted.

1st, Kindle Fire CM12 5.0.2

2nd, Archos 80c Xenon, Lollipop 5.0.1

3rd, Samsung Ace GT-5830i, Gingerbread 2.3.6

On all these devices, Sambadroid works, I've purchased the Pro version installed on the 2nd device, but despite that's written here (post #512), I don't have noticed any speed increase.

I have a 4th device, Acer Z130 (Jelly Bean 4.2.2), on which I've installed Sambadroid several days after the purchase of the pro version, and it doesn't work. At the beginning of the installation, it says something like "update to the Pro version", and stays indefinitively on the starting state with the message "Démarrage" (Starting).

Is there any solution, thanks in advance.
[Android Apps and Games] TimeTurn:
Set SuperSU to root at startup and temporary set SuperSU to grant every app root permissions without asking. After SambaDroid appeared on the root app list of SuperSU, switch back to ask mode.
[Android Apps and Games] Minotaur:
Any word on an update to get Sambadroid working under MM with SELinux enforcing?
[Android Apps and Games] TimeTurn:
Looks like [MENTION=3530620]berserker_devel[/MENTION] is playing dead here...
[Android Apps and Games] matthelm:
Anyone having issues with the service stopping on you. All 4 of my devices were working great, then about a month ago, they started wanting to shut down the service at random times. I have require WiFi on, but near as I can tell, the tablets never loose WiFi. I have it installed on both 4.x and 5.x Android.
[Android Apps and Games] TimeTurn:
Running N Dev Preview 4, I wasn't able to get the service started even with SELinux set to permissive by replacing /bin/logd.
[Android Apps and Games] TimeTurn:
Replaced SambaDroid with Ultimate Servers. It's a little more complicated to get it running, but no problems with it. Even on Android N Preview it runs perfectly with SELinux on enforced mode.
[Android Apps and Games] TeutonJon78:
Yes, I've switched over to Servers Ultimate Pro as well (already bought a license along time ago). It's still getting support and works well, even if harder to setup. Oh well. SambaDroid was good while it lasted, and hopefully the dev will resurface to update it sometime.
[Android Apps and Games] jamaroney:
I couldn't get SambaDroid to work at all. How is another computer/device expected to connect to it when there is no option to list a WORKGROUP? That's a cornerstone of Samba, and yet there was no option to set a workgroup (or even mention of workgroup). It seems as if it was designed primarily for wireless mobile devices, with virtually no thought given to wired non-mobile devices.
[Android Apps and Games] TeutonJon78:
You can set the workgroup in the settings for the app. I've done it since I bought the app. It's directly under Options > Workgroup.
[Android Apps and Games] jamaroney:
Thanks - my bad! I should have looked at the initial on-screen instructions more carefully
[Android Apps and Games] JerBearrr:
samsung galaxy alpha

kingroot

"The service is starting, please wait" forever.

Any suggestions?
[Android Apps and Games] agentmyke:
Sambadroid fails

Hello guys, i have installed the app, but when i try to start it doesnt work. Im running android lollipop. See the image.[IMG="Error on start sambadroid"]https://uploaddeimagens.com.br/imagens/unnamed-png--285[/IMG]

Error:

jni/samba-3.6.22/source3/nmbd/nmbd.c70(terminate)

Got SIGTERM:going down...

Can Someone help me? Thx :mad:
[Android Apps and Games] bobibp:
I like this app

I like this app it is very useful
[Android Apps and Games] musv:
Getting the same error. I guess, this app isn't working on Android 6 yet. Tried on an Oneplus 3.
[Android Apps and Games] mastroalex:
Hi, I'm trying Sambadroid and other similar apps, but I can't get windows 10 to access the sdcard. App runs, I can see the drive in my network, but if I double click no access. If I use ip address to open it, I can see SDCARD, but again no access. Error code 0x80070043. Any help?

EDIT: solved setting /sdcard on the app for sharing (before I chose storage) and using this address on windows: \\192.168.0.4\sdcard

Other apps still won't work, so +1 for Sambadroid.
[Android Apps and Games] acraigl:
Could be a few things. First, try this. I've seen this solution elsewhere, but this is first google result that came up:

https://lime-technology.com/forum/index.php?topic=37835.30

The other possibility is that if you're using Android Marshmallow, Google changed security for accessing the SD card to only allow it when permissions are specifically allowed per app. If the app has not been updated to support Marshmallow security, it's unlikely you'll get the prompt, and access will be denied for any app, including servers, such as SambaDroid. I had a similar problem after upgrading where my WebDav server running on my tablet no longer allowed write access to the card. I've not yet found a suitable workaround, so I'm connecting to USB for the moment.
[Android Apps and Games] TeutonJon78:
DavDrive supports the SD Card write permission in Marshmallow+.
[Android Apps and Games] deto.alff:
Not Working on my XT1033 (Marshmallow and Nougat)

Hi

I love the app but since some time ago it's not working anymore. The settings are alright, there's root and so, but the service doesn't start at all. I'll send you some screens and the log. I wish to thank you very much for developing this app. BTW i'm using the 2.1.2 version. Greetings!
[Android Apps and Games] commander-keen:
To all the guys who struggle to get Sambadroid working on Android 6.0.1 Marshmallow:

Not needed.

I've experienced the same issue after changing my phone from Z3 Compact to Z3 Compact with the same ROM and it was working before! So I knew it had to work somehow and just for the sake of it tried the following:

- uninstall Sambadroid

- reboot

- execute bold part the following:

- install Sambadroid and configure everything

- Switch SuperSU back to asking mode

THAT FIXED IT!

It is

not

necessary to enable SuperSU during boot.

You only need to set the option to grant root instead of asking for the first startup of Sambadroid.

Feel free to set SuperSU back to asking after successful setup.

Hope that helps

It seems like [MENTION=3530620]berserker_devel[/MENTION] needs to update the timing for some needed priviliges in Sambadroid.
[Android Apps and Games] libove:
[MENTION=3088947]COMMANDER_KEEN[/MENTION] That's an interesting idea. However as I'm running CyanogenMod 14.1 (Android 7.1.1) which has a built-in Root manager which doesn't have the "allow all by default" option - and CM14.1's built-in Root manager does ask for and remember Root permission for SambaDroid, I'm not sure whether this solution can work for CM14.1 :( It still does the now-too-familiar "Starting .... Stopped".

Any thoughts on whether/how to pull the same trick on CM14.1/Android 7.1.1 ?

thanks, and in any case I hope your workaround works for others,
[Android Apps and Games] mchouaibi:
I have exactly same problem running LineageOS (cm14.1.) Last line in the log is 'got SIGTERM: going down..'

---------- Post added at 01:21 AM ---------- Previous post was at 12:38 AM ----------

I also bought the app. How did you set it up? I cannot get it to work on my Oneplus 3t running LineageOS (cm14.1. 1)

Thanks
[Android Apps and Games] TimeTurn:
[MENTION=4081635]commander-keen[/MENTION]: Root is not the issue here, so this does not help anything. That does NOT work - using Marshmallow, it works if SELinux is set to permissive, but in Nougat, SambaDroid is not working, whatever you try. Deleting data before uninstalling is nonsense, since uninstalling deletes all data of the app. SambaDroid is asking for root, but it's not working.

And the sad thing is: the author does not give a sh1t about his paying customers. No update...

My Wife has a OnePlus 3T too, Server works on OxygenOS 4.0.1 and on my Nexus 6P with Android 7.1.1

You need Servers Ultimate Pro + Servers Pack B

Add "a new Server, select "SMB Native"- "SMB" does not work!

GENERAL Tab:

SERVER NAME: "Samba" (or anything else for you to identify the Server)

Tick "Use root for internal port forwarding"

BUSYBOX = Internal (should work with other settings, but I want to make sure it's using a working version)

SPECIFIC Tab:

Tick "Enable SMB"

Tick "Enable NMB"

SERVER STRING is "huawei-nexus-6p" in my case

NETBIOS NAMEis "nexus-6p" (NETBIOS NAME must be less than - was it 12 letters?)

WORKGROUP is my network's workgroup name that all computers have assigned

DEADTIME - change to a timeout value (I set this to zero)

USERS Tab:

Add a new user here that has must exist in Windows as well. Specify a password. You can skip this, but in that case, everyone has access to the server

ROOTS Tab:

Hit ADD

Specify the name of the network share in NAME field. I used "sdcard0".

Use BROWSE to add internal Memory

Add the new created user in the USERS section

Tick "Announce in browse list"

Tick "Allow delete read only files"

Tick "Allow follow symlinks" (optional)

Hit SAVE and repeat for any other share to be added, such as an external memory card. In my case, I do not have one.

ALLOWED IP Tab:

You can secify IP adresses here that do have access to the server or not (optional)

START/STOP Tab:

Nothing needed here

NOTIFICATIONS Tab:

I Added 4 events here:

Started -> Vibrate

Stopped -> Vibrate

Started -> Toast "Server started"

Stopped -> Toast "Server stopped"

Hit SAVE to save all settings

Press the PLAY Symbol next to the server name to start the server

Access the server from PC using the netbios name or IP adress. Note that you have to wait for 1-2 Minutes after starting the server.
[Android Apps and Games] commander-keen:
I got the same result initially. Unfortunately I do not know how to auto-allow the root for the first run under CM with integrated root-util. My last CM (2.3-4.x) did not suffer from that problem. Can that not be replaced by SuperSU somehow, maybe?

If root is not the issue, why did it initially not work on my phone then and by setting auto-allow in SuperSU for the first boot of SAMBAdroid it worked? It fixed the problem. I repeated it: it fixed it again.

I did not tinker with any SElinux stuff. (maybe there'S another way, but I got around this without playing with SElinux)

This is true. I just reported what I did step by step. Not claiming it is necessary to do it.

It's working if you don't need to answer the root-question but allow it to have it automatically granted without user-interaction on first run. That's why I suggested a timing problem (only guessing).

Yes, sadly to investigation. ;-(

Although I always support such apps by buying pro/giving a donation.
[Android Apps and Games] mchouaibi:
Thanks it works now
[Android Apps and Games] mkto316:
Hello, I'm new in this forum, new in root, custom roms, modding, and my english is not the best, thats the base ;)

Three weeks ago I made my first flash on my old Galaxy SII, since then I played around with several apps using root, tried several custom roms, and I'm using it for testing apps before installing on my other device, Galaxy S5. So I found Sambadroid, nice app.

At this moment I'm using Resurrection Remix 5.8.0 with Nougat 7.1.1 on my SII. And here Sambadroid works without any problems.

Last week then I flashed my S5, also with RR 5.8.0 N 7.1.1. And here Sambadroid do not work, service is stopped.

Any ideas why it works on the SII, but not on S5, although both devices run under RR 5.8.0 N 7.1.1? Did I miss something?

As I said, I'm new in this things, mayby there is an easy explanation. But I searched many sites, everywhere I found only that Sambadroid do not work with Nougat.
[Android Apps and Games] RazzMcTazz:
I tried this on my Samsung Galaxy S5 (on Android 6.0.1, rooted) but it didn't work. Thanks anyway.
[Android Apps and Games] HugoFSousa:
Hello,

I’ve bought the pro version with the hope that with it, my media box android would share a HDD what I’ve connected to the box through USB. The file explorer, kodi… they both detect it.

However, Sambadroid doesn’t… And in doing so, I can’t access that disk to copy new files from my mac…

Is there any solution so that sambadroid can detect my external disk? Is it in NTFS format. I've heard activating the explorer root in sambadroid options or just entering with the explorer in the sambadroid root and it will be asked... Any Tip?

Cheers.
[Android Apps and Games] TimeTurn:
[MENTION=4081635]commander-keen[/MENTION] unfortunately it's not working, at least on my Nexus 6P with Android 7.1.1. Even if SuperSU is set to allow everything without asking SambaDroid does fail to start the server.
[Android Apps and Games] njascgil:
I'm sorry to bring up this old post, but I found the same problem while synchronizing the TitaniumBackup storage folder to my Win7 PC. The TB folder has almost 900 files inside and resides on an adopted microSD card (Moto G2 stock Marshmallow).
[Android Apps and Games] matthelm:
What I ended up doing, was use FolderSync for data from the phone to the PC, and using SambaDroid for data from the PC to the phone. I then make sure data going to the phone is broken up into directories with low file count. The reason I didn't just use FolderSync, is it can't update datestamps on the external SDcard, and SambaDroid can.

BTW, from what I've read, this is a issue with older Samba code, not SambaDroid (SambaDroid is just the GUI for the Samba Server).
[Android Apps and Games] Tomo123:
[MENTION=3530620]berserker_devel[/MENTION] Will Sambadroid be updated to work with LOS Nougat? Seems dead in the water...
[Android Apps and Games] njascgil:
Thanks!

This is the exact same reason I use SambaDroid. It's the only file transfer app that sync date/timestamps correctly on the SDcard when (there are maybe others, but I tested a LOT of them...)

Previously I also relied on the mass storage emulation via USB connection, but in newer Android versions that was replaced by MTP, which is (at least on my phone) much slower, unreliable and less flexible...
[Android Apps and Games] cgianluca:
Problems with listing of folders with "many files"

I have some folders with "many files" on my tablet.

If I mounts the drive on my PC (windows 10 or 7) and I do

> dir

I do not see some files in the directory listing (or in the windows explores or in any other program that makes a listing)

But if limit the number of returned elements, for example using regular expressions:

> dir Acc*

then the missing files appear.

The files are there and visible, for example I can copy them just giving the full name.

They just do not appear in the listing.

If I delete some files from the folder, then the missing ones appear.

Is there some buffer size limit in the data transferred by your implementation of the samba listing commands?

Notice that if I mount a share with the same folder structure from another windows machine, everything works, so it is not a problem intrinsic to windows or Samba. It must be a problem with your implementation.

I am not sure what "many files" means.

In one folder I have about 240.

In another about 400, but with shorter names.

In another one I have more than 600, but a less deep hierarchy.

In both case I am missing only a couple of files.

So it might be related with the length of the full path name.

Also, I do not see this problem is I use Servers Ultimate (but I have other problems there :()

Thanks for the help!

Gianluca
[Android Apps and Games] kondronaute:
Not working with nougat :eek:
[Android Apps and Games] telecom2k3:
I have SambaDroid Pro and I was able to get this running, somewhat, on an Android 7.1.2 Nougat ROM, Lineage 14.1. It is not easy. Hopefully, the developer can use this information to develop appropriate fixes. (1) First, there is an error in that it cannot create the directory: /data/data/berserker.android.app.sambadroid/samba. I manually created the directory: /data/data/berserker.android.app.sambadroid. I had to CHMOD the directory to 777 so that the samba sub-directory could be created by the SambaDroid App. This directory does not persist across reboots of the phone, however. NOTE: The samba folder's owner shows blank. (2) In the Samba folder, I modified the samba.sh file and prefaced the NMBD command with "su - root" so as to run the process as root. Now, the Samba process continually shows "Starting", and does not complete the rest of the field on the status display (IP address, etc). But it DOES run and it DOES work. NOTE: In the var/lock folder there is a smbd.pid file. There is NO nmbd.pid file. That was among the next steps in the samba.sh file. Hopefully, this might provide some additional clues to the developer to tweak things accordingly to get it working again.

---------- Post added at 07:37 AM ---------- Previous post was at 07:34 AM ----------

Also note: when nmbd fails, prior to running it as root, it simply terminates with an error; nmbd.c:70.
[Android Apps and Games] ccchan234:
Hi~

i am on kenzo + los 14.1 (android 7.1).

just want to let you ppl know

the old "samba file sharing" is working for internal storage AND when you are copying file OUT of android.

i use samba becoz i use teracopy to verify the file checksum, so have to mount the android int storage as cifs in windows.

sdcard may work by edit the config file.

prob is u can read from android but not save to.

---------- Post added at 09:12 AM ---------- Previous post was at 09:10 AM ----------

sambadroid s author dont show up for a month. he/she has abandoned the software.
[Android Apps and Games] Bonoboo:
Huge thanks for your explorations.

Want to add, that for me device can be accessed only few seconds after starting.

Fixed it by replacing "stop)" for "sstop)" in samba.sh. So app now can't stop SMBD at the end of trying correct launch.
[Android Apps and Games] diegomn:
Error copying files over 2GB

Hi.

I have shared a samba folder in an android tv box, but it will not let me copy files of more than 2GB, any solution?.

Sorry if it is not well translated, use the google translate.

Thanks greetings. :good:

PD: USB memory is in NTFS
[Android Apps and Games] scouse1742:
I have exactly the same problem transfering files to the android tv box usb hdd , windows says there is not enough room on hdd but there is plenty and it shows as a network drive with free space of 235gb in windows
[Android Apps and Games] amplatfus:
restoring from 6.0.1

Hi, you gave me the idea of try mount even the SambaDroid Pro was not fully end the start process and remain with the circle near start button.

And guess what? Is working too. In my case I had a TB backup made on Android 6.0.1 and I have only restore and press start without editing file permissions or any other steps.

Thank you.
[Android Apps and Games] GoJo ^^:
I'm using the RR 7.1.2 rom. I restored my backup, fired the app.. It loads forever. Nothing in log (error on MM).. :/
[Android Apps and Games] amplatfus:
Same to me. But it mounts OK from Linux. I can write, all stuff even loads forever. So my advice is to try to ignore and just try to use it an post here if worked.
[Android Apps and Games] GoJo ^^:
Works indeed! Something's slowing down the phone and I'm wondering if it wouldn't be that thing..
[Android Apps and Games] Lord_Snake:
Please remove. Erro.
[Android Apps and Games] Lord_Snake:
There are no updates since so long and the app still uses an outdated version of SAMBA. Is this app deprecated? And if yes, is there any possibility to continue and maintain this work?

I'm sure that there are a lot of people with interest in this (I even purchase the app). In my case, I want to use my android TV Box as a NAS and get as much capabilities from it...

When I instaled on my TV box it gives error that I already bought it. I wasn't able to start the service - I'm running A7.1.2
[Android Apps and Games] GoJo ^^:
Back already.. was using RR Ron and still do, just changed build.. and samba's dead :( got sigterm something. Would you know the meaning of this and therefore, start I may be missing?
[Android Apps and Games] Lord_Snake:
I'm forced to use a sftp solution... :(
[Android Apps and Games] Dr.Ghobar:
"Enter Network Password"

This application would be great if there was not this annoying Windows obstacle: "Enter Network Password".

After starting SambaDroid 2.1.3 on android when I type \\SAMBADROID in Windows, a window pops up and asks for username and password. No matter I enter "android" as user, or I fill the correct username and password, it replies "unknown user name or bad password". pop-up repeats. look at the attachment.

Do you have any solution?