[APP][2.1+] Droid NAS - SMB server for Android - Android Apps and Games

Droid NAS allows you to share folders over a Wi-Fi network, making your Android device visible as a Bonjour computer in the Finder on your Mac. Turn your phone or tablet into a wireless flash drive with a single tap!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Different profiles can be used to quickly choose which folders to share. Assign your home or office Wi-Fi networks to profiles and Droid NAS will auto-select profiles on start.
Supported systems:
- Mac OS X.
- Android: apps like ES File Explorer, Solid Explorer, GTVBox Video Player.
- Windows is NOT supported because it can't connect to SMB servers via a non-standard port.
- Linux most probably also won't work.
Recent changes:
- Added password protection.

The irony... You made a server with a Windows protocol (more or less) that don't work on Windows. xD
But what's the advantage of this over a FTP server (I'm not a Network guy)
Sent from my HTC One S using xda premium

Thanks to Bonjour protocol, Android device will appears automatically in Finder and you can work with it like you work with a flash drive. E.g. you can edit a documents directly on the device.
I've seen another SMB server on this XDA, but you need a root access to use the default port. Big question to ROM developers - can Android be modified to allow ports numbers < 1000 for apps like this?

Very nice....I transfered a 14 MB file faster than I could have went and found my USB cable. KUDDOS!!! Thanks for this app.

Will try it with total commander or sth. other on windows. Thank you any way it can be much easier to access the files of galaxy nexus since it has no mass storage mode.

- Windows is NOT supported because it can't connect to SMB servers via a non-standard port.
So why dont u use the standard port?

Mardon said:
So why dont u use the standard port?
Click to expand...
Click to collapse
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.

It could be great a version for rooted device ¡¡¡ then these users ( I`m one of thems) could enjoy enterely of this app with windows pc`s Is it so difficult to add up an option for these rooted devices? Maybe requesting some help to developer could solve this issue.
Anyway , thanks for so many efforts go on with your great app.

DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
Why not smb compilation for android with root rights and gui backend?
Cheers

please SMB for windows!!!!!

DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
Yeah, this is correct. I am assuming you have written this entirely in Java or using something like JLAN? If so, without changes to the Android framework it is not possible without elevating to root (via su) and running processes from the command line (as root). I tried the JLAN route and it works for non-standard ports but without running the application as the root user (not feasible atm) you can't bind ports below 1024.

"custom shares" Not from what I see!
DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
I fully disagree with the ability to point to other folders NOT on the SD Card. I have an SATA drive on my Android that can't even be seen by this app. I can see and use via FTP but would love to see this app bring in sharing of ALL folders linked within the unit.

When will it be possible to share ALL folders on a device? I have a ton of data on both an SATA drive and a connected USB drive. Neither can this app see.

Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?

"Connection Failed" in finder
So this is admittedly a pretty vague issue. Until now i've been able to use the app DroidNas to transfer files with my Macbook. Randomly today, when I go to my device (Verizon HTC one) in Finder, it tells me "Connection Failed" almost immediately. They're both on the same wifi network, and as far as a I can tell I haven't changed any settings that would affect the network connectivity of my phone. I tried using a clean hosts file, in case maybe adaway was causing the problem, but no dice.
Anyone have any idea what the problem is / any troubleshooting ideas?

murtaza217 said:
So this is admittedly a pretty vague issue. Until now i've been able to use the app DroidNas to transfer files with my Macbook. Randomly today, when I go to my device (Verizon HTC one) in Finder, it tells me "Connection Failed" almost immediately. They're both on the same wifi network, and as far as a I can tell I haven't changed any settings that would affect the network connectivity of my phone. I tried using a clean hosts file, in case maybe adaway was causing the problem, but no dice.
Anyone have any idea what the problem is / any troubleshooting ideas?
Click to expand...
Click to collapse
I have the same problem still unable to fix it... too bad it was a Great app...

lbrenes said:
I have the same problem still unable to fix it... too bad it was a Great app...
Click to expand...
Click to collapse
It may be the problem with OSX Mavericks. The workaround is described in the last update:
What's New
OS X Mavericks workaround:
Press Cmd+K in Finder and enter IP address AND share:
smb://IP_ADDRESSort/Share
for example:
smb://192.168.1.2:7777/SD Card
Click to expand...
Click to collapse

leleobhz said:
Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?
Click to expand...
Click to collapse
This.

leleobhz said:
Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?
Click to expand...
Click to collapse
Same here. Then it is accessible by any client.
And does it work under Kitkat ?

Help... I installed this on my android tv box. My transfer speeds is around 2-3MB/s tops. In the same network, if I was to transfer between a mac and another mac, I get 5-10MB/s at least. Also, constantly, almost when the file is finished transferring, I get an error saying something like the file cannot be read and written.
Which android box should I get next to solve this issue? I need one that I can connect a 2TB hard disk to.
Also, what's the best workaround for 10.9 machines? SMB 2 seems to break functionality. I've tried using AFP/CDIF to no success.
Thanks!

Related

[APP] ADB filesystem plugin for Total Commander

EDIT: Aleq has posted updated versions here: http://forum.xda-developers.com/showpost.php?p=23937844&postcount=36
Checked whether a project for creating a WinCE like plugin for total commander already exist, but couldn't find one, so here it is.
Disclaimer: This plugin is still in it's infancy, therefore it might crash you, your PC or your phone. It might not even start. But it'll improve.
1. What's this?
This is a filesystem plugin for total commander that let's you browse and modify the contents of your phone while using total commander
2. Why?
Although there are some android file managers out there, none of them I've found integrates into total commander. And if you've already using tcmd as a general file manager you usually don't want to open up a new program just to access your filesystem.
3. How?
The plugin uses the "adb shell" interface to communicate with the phone. It issues simple linux commands, parses the results and shows them to you in tcmd.
4. What's needed?
Total commander on your PC, busybox on your phone (root is not needed, but it will be used if available), and USB debugging turned on as well. Next download the plugin, open it in total commander and let it install.
5. Download location?
Download the latest version from here: http://github.com/sztupy/adbfsplugin/downloads
6. Supported features?
- directory listing
- copying from/to phone (very slow)
- copying/moving/renaming inside the phone
- creating and deleting directories
7. Whats needed?
- Better error handling
- Command line interface
- Attribute changing
- APK management
- etc.
8. Common pitfalls/limitations/etc.
- If the plugin can't start the adb server, wait a bit, then try it again
- The plugin won't ask you whether you want to overwrite a file or not, it will overwrite it
- Uploading and downloading files is very-very slow
- The plugin starts by trying to use su. If it can't get permission to use su (for example you pressed deny on the superuser page), it will run as a normal user.
Licence: GPLv3 (with the added exception that allows you to use the plugin with total commander... duh) and CC-BY-SA
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reserved for later use
- deleted -
Excellent. I will follow the development of this plugin closely. For now I can't use it. I get an error when trying to browse the phone.
Code:
<0005 - stat failed>
EDIT: I am on a HTC Hero running CyanogenMOD 6.
Thanks for this... I have been using total commander for a few years now and I love it. I also use it to open up apk files and change images within them if I need too. I have made a lot of changes to my framework-res and com.htc.resources png files by simply using total commander. So great job on this
Perfect, thank you. Must needed tool for total commander and android users.
this is fine.
-it doesn't play nice with older busybox versions, there is an app (called Busybox) on the market that tries to install/update busybox, it is a great help
-symbolic links are not playing nice
other ways this is amazing
very nice idea
It would be nice if the plugin would use my already installed adb server instead of starting it's own (maybe in the future outdated) version.
Symbolink links and more compatibility with busybox < 1.17.1 is coming soon. I'm also working on linking this with adb putty, so running commands from the command line should work too.
I have installed the plugin, and have my phone connected in debug mode, but how do I access it now? I confirmed that adb shell is able to connect, but in Total Commander I see no way to access my phone. (The drive letters that are usually used for access while mounted don't work.)
I have experience with Total Commander, I have used adb shell, but I can't really figure this thing out...
jjwa said:
I have installed the plugin, and have my phone connected in debug mode, but how do I access it now? I confirmed that adb shell is able to connect, but in Total Commander I see no way to access my phone. (The drive letters that are usually used for access while mounted don't work.)
I have experience with Total Commander, I have used adb shell, but I can't really figure this thing out...
Click to expand...
Click to collapse
filesystem plugins ccan be found at the network neighborhood
sztupy said:
filesystem plugins ccan be found at the network neighborhood
Click to expand...
Click to collapse
Oh wow, that is not a place I would look for my USB-connected phone .
But it works now, thanks .
Edit:
it is indeed very slow. A shame, because that means it's actually not a practical way to regularly put music and videos on my phone and download my photos off of it. Is there a chance the low speed can be fixed?
Also, there are several applications that allow you to use ADB wirelessly, could you support that in this plugin? Would be a very nice feature!
I believe they all use 'adb connect IP-addressort' on the computer's side to connect to it, so that does not sound very difficult to me.
Thanks for your work so far, initiatives like these are very appreciated
Nice app. Thanks!
Thanks for this. I prefer Directory Opus but I will use Total Commander just for this plugin. Thank you!!!
jjwa said:
Oh wow, that is not a place I would look for my USB-connected phone .
But it works now, thanks .
Edit:
it is indeed very slow. A shame, because that means it's actually not a practical way to regularly put music and videos on my phone and download my photos off of it. Is there a chance the low speed can be fixed?
Also, there are several applications that allow you to use ADB wirelessly, could you support that in this plugin? Would be a very nice feature!
I believe they all use 'adb connect IP-addressort' on the computer's side to connect to it, so that does not sound very difficult to me.
Thanks for your work so far, initiatives like these are very appreciated
Click to expand...
Click to collapse
The speed issue is on the todo list, but it will be never as fast as the native usb connection. (the same was true with the WinCE/activesync plugin too)
Win XP / TC 7.55a
Installation OK, but no registered name "Android" available in TC's network neighborhood. (even though TC plugins manager reports successful registration).
Thanks
WOW great job....that plugin is awesome!
Support for ADB WiFi would be great!
tristan202 said:
Excellent. I will follow the development of this plugin closely. For now I can't use it. I get an error when trying to browse the phone.
Code:
<0005 - stat failed>
EDIT: I am on a HTC Hero running CyanogenMOD 6.
Click to expand...
Click to collapse
Same here, running CyanogenMOD 6 on a HTC HD2.
It shows my root, but doesn't show anything besides the SD card as a folder, so I can't browse to any system path.
Sent from my xtrSENSE Eris using XDA App
rschalie said:
Same here, running CyanogenMOD 6 on a HTC HD2.
Click to expand...
Click to collapse
Does cyanogenmod's busybox support the "stat" command?

[APP+CONFIG] Run Any Windows x86/x64 Program (eg. Run Full Office 2010 on TF)

What this will and wont do...
Will...
1. Allow you to run any x86/x64 Windows software from any Android device using the RemoteApp function of Remote RDP.
2. You can use the trackpad and right click of the transformer so most if not all functionality of the native windows app will be available to you.
3. You can create a shortcut for the app directly on you homescreen.
Will not
1. run the program natively in Android
2. run locally (ie you need a network connection)
3. grant you super powers
Requirements:
1. Remote RDP Paid version by Yongtao Wang (~$10) https://market.android.com/details?id=org.toremote.serversmanager
2. Windows 2003 Server or above machine as RDP Host (If anyone knows how to enable "Run Program on Startup" from the desktop versions of Windows RDP Hosts Let us know. Im actually using Windows Server 2008 for my setup)
3. Slight working knowlege of RDP (I will keep everything as extensive as possible and have screenshots all over but you might need to know a bit of whats going on)
--The average setup will must likely be a Win2008 VM running on your daily desktop dedicated to just this. If you need help just post your question, I monitor this thread regularly and update OP to clarify this more and more.
Instructions:
1. Download and install Remote RDP from Android Market. (Link above)
2. On your Windows Server, enable remote desktop connection. (Note your IP address)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2.5 Make sure to install the app on the windows server by going to "Control Panel>Install Application on Terminal Server"
2.7 Then Go to "Administrative Tools>TS RemoteApp Manager" Should look like this
2.9 Note the full path with file name for the app (you will need this later)
3. On TF run Remote RDP and select menu>add
4. Fill in the following
-Host: IP address of windows machine noted earlier
-User/Password/Domain: Optional...this will prompt you when you run the app or if you dont care about security or you have total control then put it there (be aware of risks though...)
-Color: leave alone for now not important
-Screen button: press it and select 1280x750 This resolution works best for TF because of the Android Bar that persists throughout.
-Program: fill in the path to the program excecutable in the box here that you noted from your windows machine... I know I didnt mention earlier. Ill edit again later.
-Name: use this to name what you want your shortcut to be named on your homescreen (not shown on screenshot)
My example
5. Hit back button
6. Select your app to test it (Ill add more test steps when I edit again...ie you should test if RDP is working before filling in program etc. This is just first draft to get the faster people up and running noawz!)
7. If your app runs good...back out of it using HC back button. BTW, this is full Excel on Android! with usage of TF Trackpad and right click...
7.5 Save to TF Storage (in the options if you notice that there was a check box for "SD Card" it actually mounts your internal storage to the Remote Server and allows you to save to it!
8. Longpress your app and select "Home screen shortcut".
More Info to come...please comment on your experience with this. I will answer troubleshooting questions too.
Thanks to...
- Azhad for his Thread earlier today "RDP Terminal service client, with FULL trackpad and external mouse support" http://forum.xda-developers.com/showthread.php?t=1136359
- Yongtao Wang for his mastery of RDP...Check out his other work. I think they have a full working secure HTML 5 RDP Client.
Reserved for more info.
Just looking for confirmation.
This is different from logmein and splashtop in that once you connect you are creating a shortcut on the TF desktop to a specific program on the Windows machine. And once setup, when you click on the shortcut it auto starts RDP and opens the windows app only in the RDP window on the TF so you are virtually using the program from windows as opposed to controlling the entire windows desktop from within RDP?
i wonder if this could be used to say play videos from the host computer. Or maybe netflix.
While PhoneMyPC is slightly more expensive I think it's quite a bit better than your method above. It's a bit more versatile and I get a faster response time with it (over wifi) than RDP on my TF.
Each to their own though ofc.
proplayer44 said:
Just looking for confirmation.
This is different from logmein and splashtop in that once you connect you are creating a shortcut on the TF desktop to a specific program on the Windows machine. And once setup, when you click on the shortcut it auto starts RDP and opens the windows app only in the RDP window on the TF so you are virtually using the program from windows as opposed to controlling the entire windows desktop from within RDP?
Click to expand...
Click to collapse
Yes. This is virtually using the program from windows from within your TF. Basically you are running an x86/64 app from a personal cloud!
Side note: I was testing and googling to get it to run programs residing on an xp machine and couldnt get it to work and couldnt googforce my way through it. If anyone finds a way to "Run application on startup" from an RDP session with an XP host please share. I will update OP with the info. (Guess its Windows Server 2003 and up for now)
JMQUINT00 said:
i wonder if this could be used to say play videos from the host computer. Or maybe netflix.
Click to expand...
Click to collapse
Yes. Give it a try. You will need to set colors and have it be local network. Dont know RDP performance for video over WAN but guessing it will suffer due to overhead. Also over LAN may not be optimum. You may want to just convert or use some type of VLC streaming or something like that. I dont know how to do that but someone might post a link later if they know.
stuntdouble said:
While PhoneMyPC is slightly more expensive I think it's quite a bit better than your method above. It's a bit more versatile and I get a faster response time with it (over wifi) than RDP on my TF.
Each to their own though ofc.
Click to expand...
Click to collapse
Does this open just a windows program alone with no desktop and allow use of trackpad and rightclick? If not then you dont understand the purpose of this thread (no disrespect). I currently use Logmein and WYSE Pocket Cloud for the functionality you speak of "Plain old connection" to remote PC, but what this thread is about primarily is the usage of an x86/64 app from windows on Android in a simulated fashion that makes it virtually seemless as and Android app. Try it out, you will see the difference. Use Word or excel as an example.
nothing happened. tried windows 7 and server 2008, it would remote in and do nothing. tried to open IE, couldnt get it any way I tried.
daweiteh said:
Does this open just a windows program alone with no desktop and allow use of trackpad and rightclick? If not then you dont understand the purpose of this thread (no disrespect). I currently use Logmein and WYSE Pocket Cloud for the functionality you speak of "Plain old connection" to remote PC, but what this thread is about primarily is the usage of an x86/64 app from windows on Android in a simulated fashion that makes it virtually seemless as and Android app. Try it out, you will see the difference. Use Word or excel as an example.
Click to expand...
Click to collapse
Yes you can do via their 'execute actions' which lets you run any command line code. I've not tried to run anything at startup using this though. It lets you use usb mice, the trackpad, etc. I'm not sure if every piece of software can be run so it feels seemless or not but it's probably possible with it.
dude2k5 said:
nothing happened. tried windows 7 and server 2008, it would remote in and do nothing. tried to open IE, couldnt get it any way I tried.
Click to expand...
Click to collapse
I will update OP with more info on the windows side of it. Dont know if 7 will work but 2008 is great. (meant to rhyme)
When you save, where do the files save to?
newtybar said:
When you save, where do the files save to?
Click to expand...
Click to collapse
See OP at step 7.5
I just added this because you asked a very good question and even I didnt know until checking it out. This is getting better and better...
Only Windows Server 2003/2008 will let you launch individual apps, normal version don't have Terminal Server and remote apps. Those who want such functionality should consider running Windows Server 2008 with VMware Workstation or VirtualBox.
RemoteApp Manager was the key. Worked once I got that. Thanks a lot for the screenshots. So awesome!
edit: also, found this but I couldnt get it to work with my desktop. I have yet to try a fresh install though. I will try at work next week. http://geekswithblogs.net/twickers/archive/2009/12/18/137048.aspx
Might be a stupid question, guys:
Has anyone tried this over 3G? If so, how does it perform?
Through using SplashtopHD, my Transformer is becoming my work machine (as i connect to my desktop at home)... this works well, although the lack of proper mouse support can be frustrating.
If this works over 3G, it even sounds like the right-click on the keyboard dock / touchpad would work...
Can someone confirm this will work in windows 7 pro?
Trevor_g said:
Might be a stupid question, guys:
Has anyone tried this over 3G? If so, how does it perform?
Through using SplashtopHD, my Transformer is becoming my work machine (as i connect to my desktop at home)... this works well, although the lack of proper mouse support can be frustrating.
If this works over 3G, it even sounds like the right-click on the keyboard dock / touchpad would work...
Click to expand...
Click to collapse
This works over 3G just set colors accordingly if you have bandwidth issues. This works better than Splashtop.
Curtisbeef said:
Can someone confirm this will work in windows 7 pro?
Click to expand...
Click to collapse
RDP inherently works on win7pro just like XP. The solution for running just the app without the desktop will only work with the server versions AFIK.
daweiteh said:
RDP inherently works on win7pro just like XP. The solution for running just the app without the desktop will only work with the server versions AFIK.
Click to expand...
Click to collapse
Will running just the app work on Windows 7 Ultimate? Thats not considered a server version is it?
Id really love to see a way to do this without running a old operating system...
Curtisbeef said:
Will running just the app work on Windows 7 Ultimate? Thats not considered a server version is it?
Id really love to see a way to do this without running a old operating system...
Click to expand...
Click to collapse
You can use windows 7 ultimate for rdp but the remote app functionality is part of terminal services in the server os. Win 2008R2 is the Server version of Win 7. It is the latest server edition and came out with 7.

[SOLVED] AdHoc Wifi on G3. WORKING! Simplified TUT with Images

PLEASE DO NOT MENTION HERE THAT CONNECTIFY, VIRTUAL ACCESS POINT OR ANY OTHER SOFTWARE SAYING THEY ALLOW THIS TOO.
BECAUSE THESE SOFTWARES DO NOT SUPPORT ALL WIFI ADAPTERS AND NEED SPECIFIC OSes IN ORDER TO OPERATE. THIS IS FOR THOSE WHO CAN'T USE OTHER SOFTWARES SUCH AS THOSE MENTIONED ABOVE
*********************************************************
Share your Internet & Transfer files wirelessly with Encryption Support [ROOT ACCESS REQUIRED]
This mod does NOT remove any functionality of the original WiFi.
It only improves over it.
So saying, if this can be implemented by custom Rom devs in their releases/updates, that would be nice
Some would wonder why create or modify something which perfectly works on their home Wifi Network. Well, I would say, you wont ALWAYS be in the vicinity of your home network, would you? And when you are in a place where there are only wired means of internet access and no Wireless Access Points, what do you do? Ofcourse, you may be able to connect your laptop to the wired LAN in that area.
And share this wired internet to other wireless devices through its Wifi adapter with the exception of your Android Phone. Why? Because, Android DOES NOT support adhoc wireless networks.
OK. Lets get down to business and get this working. Just follow the steps and you will be just fine. To avoid any complications, please first try with exact settings.
****************************************************************
Download the modded wpa_supplicant file
Flash the mod via CWM.
If CWM is not on your phone, please try the following:
Extract contents of "wpa_supplicant.zip". From the extracted files/folders, find wpa_supplicant (FILE) and copy it to SDCard.
On Phone, with Root Explorer, copy "wpa_supplicant" file to /system/bin and replace original file
(Note that Root Explorer have to be in RW mode. Toggle the top right button to switch between RW & RO)
*PLEASE BACK UP YOUR ORIGINAL "/system/bin/wpa_supplicant" just in case...*
You are now done with modding part. Only proper settings remain.
****************************************************************
On Your Computer (Windows XP, for other OSes, please see links below)
1) Start>Control Panel>Network Connections
2) Right Click "Wireless Network Connection"
3) Select Properties
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4) Select Internet Protocol (TCP/IP)>Properties
5) Set details as in picture and press OK
6) You will be back to Wireless Network Connection properties. Select the Wireless Networks TAB
7) Press Add button
8) Set details as in picture and press OK (ofcourse, Network key may differ)
9) Press OK
Note: Restart Whenever Needed
****************************************************************
On Your Galaxy 3 (Phone-side configuration will be same regarless of which OS/platform you use)
1) Menu>Settings>Wireless and network>Wi-Fi settings
2) Menu>Advanced
3) Check Use static IP and Set details as in picture
4) Menu>Save
5) Turn on Wi-Fi
6) Now You can see the network we have created on the computer
7) Press on it and select Connect.
8) Voila!!! We have connection to an Ad-Hoc network. No router!!!
****************************************************************
SHARE Internet Connection:
Start>Control Panel>Network Connections
Right Click the connection which have internet access and select
Properties>Advanced
Under Internet Connection Sharing, check Allow other network users to connect through this computer's Internet connection
To do file manipulation on Phone's SDCard, download:
SwiFTP FTP Server for Android
FileZilla Client for Windows
Others such as SAMBA may also work. Just try it!
*Manipulation on PC side is much more convenient than on the Phone
****************************************************************
If things don't work, you can try the following:
Ensure "The key is provided for automatically" is unchecked.
Ensure "This is a computer-to-computer network" is checked.
Ensure Wifi is turned on on both devices
Disable encryption
Disable firewall.
****************************************************************
Would appreciate if anybody can help with a full detailed working TUT with screenshots on OSes other than listed below
TUTORIALS for other OSes:
Windows Vista by neo1691
Windows 7 by brjshshrma
Credits
Mariusz Nowak
blackplatypus
szym
neo1691
brjshshrma
Works on:
Windows XP (SP2 and SP3), Vista, Seven, all Linux family, Mac and any other which supports ad-hoc connections
IF I HAVEN'T JUSTIFIED IN GIVING ANYONE THE CREDIT THEY DESERVE, PLEASE FEEL FREE AND DROP ME A MESSAGE
PLEASE BACK UP YOUR ORIGINAL "wpa_supplicant" just in case...
Super mate.
awesome!! if it works i am gonna rock!! i had been trying this since ages..!!
quick question!! doe it works on vista?? or ubuntu required???
neo1691 said:
awesome!! if it works i am gonna rock!! i had been trying this since ages..!!
quick question!! doe it works on vista?? or ubuntu required???
Click to expand...
Click to collapse
Sorry, forgot to mention.
Windows xp
But I'm sure vista or seven will work too
Congratulations!
Its Worthed all pain you took
This is a pure development!!!!!!!!! Thanks mate!!! Vl test and revert!!!!!!!
How to use it? I just installd it via cwm.. But how to make it work?
Any help?
Sent from my GT-I5800 using Tapatalk
ranadip.bswas said:
How to use it? I just installd it via cwm.. But how to make it work?
Any help?
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
You have to configure both the Devices to have manual(computer)/static(android) IP settings. Just the normal procedure for creating ad-hoc networks by following the steps.
jinxskore said:
You have to configure both the Devices to have manual(computer)/static(android) IP settings. Just the normal procedure for creating ad-hoc networks by following the steps.
Click to expand...
Click to collapse
How to configure android ip settings?
rohit3221 said:
How to configure android ip settings?
Click to expand...
Click to collapse
Goto Settings>Wireless and network>Wi-Fi settings>Press Menu Key>Advanced>Use static IP.
Srry for my noob-ism but can anyone explain what this do?for what is it?
Sent from my GT-I5800 using XDA App
i use usb modem for internet.. how to use it?? it s not sharing d internet..
ranadip.bswas said:
i use usb modem for internet.. how to use it?? it s not sharing d internet..
Click to expand...
Click to collapse
I have usb modem too. And internet works on mine
Try running network setup wizard again.
Or manually set/enable Internet Sharing on the properties of your usb modem.
Or have a look at this
http://support.microsoft.com/kb/306126
ghiurtuv said:
Srry for my noob-ism but can anyone explain what this do?for what is it?
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
The main objective here is, simply put, use wifi to transfer file between computer n your phone instead of usb/bluetooth WITHOUT THE NEWS OF A ROUTER
Also, reverse wifi tether aka use your computer's internet (laptop with wifi n no router is available) from phone.
I have done everything and both my system(ubuntu 11.04) and android(kyrillos v6.1) got connected.
but, how to share file and others stuffs???
and what all I can do with it and how ???
vipinkane10 said:
I have done everything and both my system(ubuntu 11.04) and android(kyrillos v6.1) got connected.
but, how to share file and others stuffs???
and what all I can do with it and how ???
Click to expand...
Click to collapse
Hey! Congrats! You have done very well!!
You have done 90% of the work.
Okay...
To share files, you need to give the computer a service from your phone.
You have to run some kind of server on the phone. FTP????
Well, I prefer SMB (Samba). So, I use "Samba File Sharing", freely available in market. Does the job for file transfer or manipulation from the computer side.
Inorder to have internet running on your phone through computer, you need two things:
1. Wireless Card (The through which you have connected your phone to computer)
2. A modem or a LAN card or any other interface which connects you to the INTERNET.
I dont know about Ubuntu but Im sure the logic is the same.
You have to configure your modem/connection of internet to SHARE with other devices connected to your computer (in this case, number 2). This is called Internet Connection Sharing in Windows.
Hope you got the point.
Im sorry I couldnt be more helpful.
Hey thank you vary much......
It helped me very much...........
I think you should work on making a good tutorial OS wise.. I can help for vista
neo1691 said:
I think you should work on making a good tutorial OS wise.. I can help for vista
Click to expand...
Click to collapse
Oh Yes! Sure!!
hey only 2 ques for u man ..
im using 3g usb device(like a pendrive)-tata photon plus to connect my laptop to internet ..so will this work as an internet connection sharing to my amdroid phone ????
and how to find laptop's ip address ??
Sent from my GT-I5800 using XDA App

Phone Screen Sharing App working on non-Samsung PC

Hi all,
SHORT INTRO
After work a lot during this afternoon to get the exe file for my pc, I found that the Side Sync is checking the Bios records, so if you don´t have a real Samsung ATIV PC, the file doesnt work (even if installed). Anyway I have also downloaded the Phone Screen Sharing file which contains the necessary for all the process for Side Sync (copy/paste files from/to PC, full control with PC and KB, send emails, receive notificacions on screen, see videos, etc.)
REQUERIMENTS
- A Win8 PC (Some reported that Win7 is also working)
- A Samsung Galaxy Device
INSTALLING
Please follow the next guidelines to have all working:
1. Download the enclosed file and install it in your Win8 PC (so far Desktop and Laptop are working fine).
2. In the Samsung App web site, search for "Phone Screen Sharing" app and then install in your Galaxy Smartphone.
3. Run the Side Sync Phone Screen Sharing app on your smartphone.
4. Agree to the terms and conditions for the app on your smartphone.
5. NOTE (Some Galaxy devices would require a restart operation in the smartphone)
6. GENERAL RECOMMENDATION Connect the Smartphone using an original USB cable, and don´t use any USB multiport - this might generate some delay on the response of the device for some HD videos)
7. Enable USB debuggin mode on the Advanced/Developer options on your Smarthphone.
7. Start the Phone Screen Sharing installed on step 1 on your Win8 PC.
9. Probably the program will ask for updates, let it do the update. At the end of the update a screen with a mobile appearance will show on your PC.
10. Then click "Next" on the Phone-window on your WIn8 PC
11. Voila... if all is OK, then you will have the screen connected and you can use your mouse, keyboard and copy files from/to your Galaxy device.
Hope this guideline help you to have this amazing app working in you Galaxy Device.
Please don´t forget to contribute some pennies to my paypal account if this help to you... ([email protected]). Thanks!
Phone Screen Sharing apk
Can someone share the apk for the "Phone Screen Sharing" app from the Samsung app store. My Galaxy SII (I9100) is not on the official devices but it should technically work if the apk is available right?
so, is it can show your phone's screen on your desktop screen now?
or just enable mouse/keyboard functioning on the phone screen?
Thank you for the info. It worked on my Note2 and Toshiba laptop except file sharing. Whenever I tried to transfer file from Note 2 using "share via" option and then SideSync, it says "First, conntect device to a PC".
Please help. Even I can't drag and drop from PC to phone and nothing happens and similarly from phone to PC using mouse.
Hi,
The installation language seems Korean or Chinese, any way to change the language? I don't know what to do with the chain_install.exe/ini file
i can read chinese, if you printscreen i can help
Phone screen sharing
Phone-sharing checks for updates and calls for my email address, but does not accept it .... and do not go further.
How do I skip updates?
thanks
No go on Windows 7 64 bit & Note 2.
csmartly said:
Thank you for the info. It worked on my Note2 and Toshiba laptop except file sharing. Whenever I tried to transfer file from Note 2 using "share via" option and then SideSync, it says "First, conntect device to a PC".
Please help. Even I can't drag and drop from PC to phone and nothing happens and similarly from phone to PC using mouse.
Click to expand...
Click to collapse
Would you mind sharing the apk?
TIA
Working...thanks a lot.
zkyevolved said:
No go on Windows 7 64 bit & Note 2.
Click to expand...
Click to collapse
same
danilos2k said:
same
Click to expand...
Click to collapse
Same...installed the phone sharing program...shows a sidesync folder in my samsung directory on my laptop (which is a Series 7) but its an empty folder
danilos2k said:
same
Click to expand...
Click to collapse
Me too. No work win 7 and s3
ardicli2000 said:
Would you mind sharing the apk?
TIA
Click to expand...
Click to collapse
here it is.. you need to install both, SideSync and Screen sharing. APKs for both are attached.
for those who are having problem with windows 7, first you should install USB drivers and then install Phone Screen Sharing exe. Connect your phone, DO NOT START PHONE SCREEN SHARING TILL WINDOWS INSTALL ALL THE DRIVERS.
Now open the Phone Screen sharing and also start the same on phone. Try connecting 2-3 times.
This method worked on my windows7 & 8 both. However file transferring from phone to PC still a problem.
csmartly said:
here it is.. you need to install both, SideSync and Screen sharing. APKs for both are attached.
for those who are having problem with windows 7, first you should install USB drivers and then install Phone Screen Sharing exe. Connect your phone, DO NOT START PHONE SCREEN SHARING TILL WINDOWS INSTALL ALL THE DRIVERS.
Now open the Phone Screen sharing and also start the same on phone. Try connecting 2-3 times.
This method worked on my windows7 & 8 both. However file transferring from phone to PC still a problem.
Click to expand...
Click to collapse
Thank you very much for the files and info.
MTP or USB mode matters?
Edit: I does not. It is fantastic
The Phone screen sharing works for my Note 2 and Surface Pro.
I can't get the Side Sync to work though... What do I need to do on the PC to get Side Sync working?
Thanks,
Rich
Up and running on AOKP vzw GNex with 64 bit Windows 7.
THIS IS FANTASTIC. Thank you.
richlum said:
I can't get the Side Sync to work though... What do I need to do on the PC to get Side Sync working?
Click to expand...
Click to collapse
I don't believe you can.
I installed it (had to suspend the installer at the exact midway point before it unrolled back the files) and started it and like others see, it says "This computer's model or operating system is not supported by Side Sync".
So I ran it through Process Monitor and it seems likely that it's checking for specific codecs (as evidenced by its access of WindowsCodecs.dll, DWrite.dll, etc. right before it does) that would exist on a Samsung PC. Others suggested that it's checking BIOS, but I'm not sure that's really the case.
I've attached a Process Monitor dump. If anyone wants to analyze it and try to figure out what codecs its looking for (or even if I'm on the right track), great -- I'd love to see this working, but I kind of have a feeling that it's not going to be a quick and easy workaround to get Side Sync running.
(Edit: I'm also attaching the MSInst verbose/debug log in case someone wants to work on why the installer itself fails.)
(Edit: If you need the Side Sync files as they're installed without using the MSI installer, here you go: SideSync_filesonly_1.0.2.12.zip)
Works great in my Galaxy S3 and windows 7 x86, thank you, enyone know where can i found more skins?
check
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the screen share work perfect in my galaxy s3 and win 7 professional, x64 :laugh:

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction:
LAN drive is an easy SAMBA Server for Android (iOS & WM10) devices.
Access all your phone files - InternalStorage,SDCard,ExternalHDD - in read/write remotely with common softwares :
MAC OS Finder
Windows File Explorer
ES Explorer
VLC
Kodi
Any SMB client capable app
You just have to be on the same network (WiFi) to make it work.
There are 3 default network sharings activated :
'LANdrive' : storage bound with the app (deleted when you clear cache of the app)
'Root' : "/" access
'InternalStorage' :
'SDCard'|'HDD': Any other external storage automatically detected
You can create your custom sharings too (bound to the app or select one with file picker)
The app is free with an InApp purchase for unlocking the bandwidth (0.5 MB/s in trial) and remove ads, otherwise all is functionnal.
We released it first at the end of January 2018 and are looking for feedback and help in making LAN drive the best it can be.
Presentation Video:
Works without ROOT:
Read the tutorial inside the app (works on Windows / MAC / Linux)
Features:
Copy/paste/rename files and folders on your device with MAC OS Finder, Windows File Explorer, Android ES Explorer, etc.
Access the 'external' storage (Photos and Videos included) in your device as a network shared folder.
Access the Root folder and all directories including SD Cards or external HDDs as network shared folders
View your multimedia files with embedded mediaplayer (or external app).
Your device name appears automatically in MAC OS Finder, Windows File Explorer, Android ES Explorer, VLC, Kodi etc.
Manage your device name (NetBios) and Workgroup name.
3 authentication types : Anonymous with popup confirmation, Anonymous and Users with custom rights
Manage users and create your own shared folders with credentials.
View users connected and disconnect them.
Unlimited connections (several users can access your sharings at the same time)
5 languages : English, Spanish, French, German, Italian.
Launched as a service in the background : Access your SMB server while using other apps
Optionally start the app after boot device completed
Protocols SMB1 (CIFS) and SMB2 protocol (enable/disable via settings)
How Does It Work?
LAN drive uses its own SMB1 & SMB2 implementation with an efficient way to announce itself on clients (your phone appears automatically in other software, even in Windows 10 File Explorer).
You can choose 3 ways to authenticate :
Popup confirmation (default)
Anonymous
Create users with custom rights
Even if it requires root access, LAN drive is non intrusive (not installed in app systems), nothing will stay in the system after uninstall it.
Known issues
App startup time could be very slow (could take 10 seconds depending the devices).
It's not something we can improve at the moment (framework loading Xamarin.Forms)
App Size : 26MB. We can't make it better, again Xamarin.Forms have some mandatory DLL to load to work
Use cases:
Some users don't know the powerfull use of SMB server, here some use cases:
Backup files, like you do with an USB key, but without the USB cable, and with security credentials.
Watch your movies/photos on your TV with Kodi (or VLC) streaming directly from your Phone.
Use a Backup utility from MAC or PC to create a scheduled task which backup|synchronize your movies/photos every days.
Developers|Hackers could browse Root "/" and edit/delete/copy/paste any files without using adb shell
Who Are We?
Webrox is a little french company of 2 persons, we build apps since 2011, check the Webrox store page here.
We made LAN drive to have a very easy multiplatform SMB Server.
How To Download:
Google Play Download
XDA:DevDB Information
LAN drive, App for all devices (see above for details)
Contributors
poppyto
Version Information
Status: Stable
Current Stable Version: 1.4
Stable Release Date: 2018-05-14
Created 2018-05-15
Last Updated 2018-11-19
Glad to see you here! :good::good:
@poppyto
Thank you for opening a own thread.
You could transfer the old postings from Samba File Server to this new thread.
You're welcome
Here are the previous messages from the original thread
svbarbosa said:
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.
Click to expand...
Click to collapse
poppyto said:
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
Click to expand...
Click to collapse
svbarbosa said:
@poppyto, 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.
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.
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.
Click to expand...
Click to collapse
Dr.Ghobar said:
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?
Click to expand...
Click to collapse
poppyto said:
Unfortunately, Xamarin Forms needs at least Android 4.0.3, and I can't make it better :/
Click to expand...
Click to collapse
tramp20 said:
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
Click to expand...
Click to collapse
svbarbosa said:
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.
Click to expand...
Click to collapse
tramp20 said:
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.
Click to expand...
Click to collapse
svbarbosa said:
My bad. I am having a tough work period and missed the last line in your post.
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.
Click to expand...
Click to collapse
tramp20 said:
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
Click to expand...
Click to collapse
svbarbosa said:
Well done. You beat me! Could not find the time to start the thread as I offered.
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.
Click to expand...
Click to collapse
@poppyto,
please remember my postings:
1. During deep sleep of my devices I have wakelocks the whole time (battery is discharging badly). See screenshot.
2. A possibility to save and restore the settings on the (external) sdcard.
3. If I tap on the back key this should NOT stop the smb server.
Thank you for your work.
tramp20 said:
@poppyto,
please remember my postings:
1. During deep sleep of my devices I have wakelocks the whole time (battery is discharging badly). See screenshot.
2. A possibility to save and restore the settings on the (external) sdcard.
3. If I tap on the back key this should NOT stop the smb server.
Thank you for your work.
Click to expand...
Click to collapse
1. It looks "normal" in Service mode because the app continues to advertise so it uses battery.
If you don't need the run as Service feature, you could deactive it in the settings (but the app will not work in background after that, only in foreground)
2. Ok cool, I will add it
3. Yep specially in service mode ok, I'll fix it
poppyto said:
1. It looks "normal" in Service mode because the app continues to advertise so it uses battery.
Click to expand...
Click to collapse
No, that is not normal: during 14h 59m your app has during 98.6% of this time wakelocks. The battery drops normally during night from 100 to 95% but with your running discharges to ~70%.
As you can see other apps in my screenshot they have all >0.2 %.
Your app should detect this unused time during night (deep sleep) and when WLAN is off, there is no need to permanent check.
BetterBatteryStats is a perfect app to detect things.
And thank you to solve the other two points.
You will have a lot of work for this app (fine tuning)
tramp20 said:
No, that is not normal: during 14h 59m your app has during 98.6% of this time wakelocks. The battery drops normally during night from 100 to 95% but with your running discharges to ~70%.
As you can see other apps in my screenshot they have all >0.2 %.
Your app should detect this unused time during night (deep sleep) and when WLAN is off, there is no need to permanent check.
BetterBatteryStats is a perfect app to detect things.
And thank you to solve the other two points.
You will have a lot of work for this app (fine tuning)
Click to expand...
Click to collapse
Ok, I just sent an update,
So, based on your comment about the battery drain:
I add an auto stop after inactivity time (no connection on the server) you can change it in the settings (default:30min), I hope it will resolve your battery issue let me know !
Here the new changelog for 1.5 (will be available in 15 minutes I guess) :
New feature : Auto Stop server after inactivity time (change the duration in the settings, default : 30mn)
New feature : Backup and restore your settings on an external file
New behavior : Doesn't stop the server when button back on the homepage
poppyto said:
New feature : Auto Stop server after inactivity time (change the duration in the settings, default : 30mn)
New feature : Backup and restore your settings on an external file
New behavior : Doesn't stop the server when button back on the homepage
Click to expand...
Click to collapse
Thank you, your app will become better with each update.
To 1. the server stops with no wakelocks now: good
But the server stops always, it should only stop if WLAN is off.
To 2. Backup is fine but if I select a external path (e.g. SDCard1) the app should remember this selected path if I want to restore, so I do not
have to search.
To 3. ok
Thank you.
There could be a bug with access rights to root directory.
With the build-in root share or with a own declared share I can
1. map this share in Windows but cannot access directories or
2. mapping fails with access error 5 in windows.
Mapping and access of sdcard0 and sdcard1 is always ok.
I have this behavior on two smartphones (Sony Z1c Android 5.1.1 stock rom, rooted of course)
With Samba File Server and SambaDroid no problem.
tramp20 said:
Thank you, your app will become better with each update.
To 1. the server stops with no wakelocks now: good
But the server stops always, it should only stop if WLAN is off.
To 2. Backup is fine but if I select a external path (e.g. SDCard1) the app should remember this selected path if I want to restore, so I do not
have to search.
To 3. ok
Thank you.
Click to expand...
Click to collapse
1. Ok I will add an option for that too
2. Mmmm why not ok
tramp20 said:
There could be a bug with access rights to root directory.
With the build-in root share or with a own declared share I can
1. map this share in Windows but cannot access directories or
2. mapping fails with access error 5 in windows.
Mapping and access of sdcard0 and sdcard1 is always ok.
I have this behavior on two smartphones (Sony Z1c Android 5.1.1 stock rom, rooted of course)
With Samba File Server and SambaDroid no problem.
Click to expand...
Click to collapse
So only "Root" / shows access denied in Windows ?
Maybe there's something wrong with Android < 6.0 (I use 6.0 and more)
Could I contact you directly to solve the case ? (I will need some actions to do)
Stephane
poppyto said:
So only "Root" / shows access denied in Windows ?
Maybe there's something wrong with Android < 6.0 (I use 6.0 and more)
Could I contact you directly to solve the case ? (I will need some actions to do)
Click to expand...
Click to collapse
There are sometimes difficulties to access the other shares too on my two identical Z1c.
Today I found 6 active connections to my PC even if none are really mapped (PC was new started, see screenshot).
To the wakelocks: stopping the server is NO solution as the samba server is not started again when WLAN comes back.
Perhaps you can find here on XDA how to handle wacklocks correct.
As you can see in the second screenshot LD permanently sends wakelocks (98.6% of the running time of the server), compare this with the other running apps. I cannot help I am no programmer.
Your app seems to have one permanent wakelock (count:0 time 98,6%), all other apps have some counts and a very little used time. So your app prevents Android to go to deep sleep.
Of course you can connect me direct with perhaps a PM (XDA-profile).
Good luck.
tramp20 said:
There are sometimes difficulties to access the other shares too on my two identical Z1c.
Today I found 6 active connections to my PC even if none are really mapped (PC was new started, see screenshot).
Click to expand...
Click to collapse
You may mapped "Z:" drives ? Or a backup utility ? I need more information to investigate if there's a bug.
tramp20 said:
To the wakelocks: stopping the server is NO solution as the samba server is not started again when WLAN comes back.
Perhaps you can find here on XDA how to handle wacklocks correct.
As you can see in the second screenshot LD permanently sends wakelocks (98.6% of the running time of the server), compare this with the other running apps. I cannot help I am no programmer.
Your app seems to have one permanent wakelock (count:0 time 98,6%), all other apps have some counts and a very little used time. So your app prevents Android to go to deep sleep.
Click to expand...
Click to collapse
Other apps don't wavelock because they don't need it.
Without wavelock, LAN drive can't work (TCP connections are dropped) when the screen goes off and people want to use it when the scren goes off, the first option to stop the server when there's no more connections since a duration is a good option.
The good way should be to capture the "Deep Sleep" event, but it's impossible with the WaveLock on.
I will think about it this week if I can find a better solution
poppyto said:
You may mapped "Z:" drives ? Or a backup utility ? I need more information to investigate if there's a bug.
Click to expand...
Click to collapse
I mapped 3 shares with
net use u: \\Sony-Z2c\sdcard0
net use v: \\Sony-Z2c\sdcard1
net use x: \\Sony-Z2c\root
As the last share does not allow access to me (only with your app) I tried several times to read a directory.
On your app main screen i saw some messages that LD has connected to my PC and displayed every time a new connection. After 6 I stopped the server.
poppyto said:
Other apps don't wavelock because they don't need it.
I will think about it this week if I can find a better solution
Click to expand...
Click to collapse
You could try this with the Samba File Server app how wakelocks should look.
And with BetterBatteryStats (https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) you see the result after some time in summary-partial wakelocks.
I tried this again with samba file server, waited ~20 mins in deep sleep and no single wakelock from this server was seen.
I don't know how this works but in my opinion Android shuts down WLAN when the screen goes off and no charging (that is my setting in Android) and then the samba server has nothing to do and it should stop his own wakelocks to save battery until WLAN starts again.
Sorry I am not a programmer.
tramp20 said:
You could try this with the Samba File Server app how wakelocks should look.
And with BetterBatteryStats (https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) you see the result after some time in summary-partial wakelocks.
I tried this again with samba file server, waited ~20 mins in deep sleep and no single wakelock from this server was seen.
I don't know how this works but in my opinion Android shuts down WLAN when the screen goes off and no charging (that is my setting in Android) and then the samba server has nothing to do and it should stop his own wakelocks to save battery until WLAN starts again.
Sorry I am not a programmer.
Click to expand...
Click to collapse
So to resume the behaviour you would like :
If server smb is started :
if WLAN off : stop wavelock
if WLAN on : start wavelock
Does it sound ok for you ?
tramp20 said:
I mapped 3 shares with
net use u: \\Sony-Z2c\sdcard0
net use v: \\Sony-Z2c\sdcard1
net use x: \\Sony-Z2c\root
As the last share does not allow access to me (only with your app) I tried several times to read a directory.
On your app main screen i saw some messages that LD has connected to my PC and displayed every time a new connection. After 6 I stopped the server.
Click to expand...
Click to collapse
Ok there's a bug with Root directories, could you track what's happen with the debug interface and send me the result :
From a computer, while LAN drive is launched go here :
http://[B]your_phone_ip[/B]:13000/debug.html?refresh=auto&refreshtime=1&orderby=desc
Then try to access Root sharefolder, the debug page should show/may something
Then save the page CTRL+S from your browser dans send it to me enclosed here
Thank you
poppyto said:
If server smb is started :
if WLAN off : stop wavelock
if WLAN on : start wavelock
Does it sound ok for you ?
Click to expand...
Click to collapse
For the beginning that sounds good
poppyto said:
Ok there's a bug with Root directories, could you track what's happen with the debug interface and send me the result
Click to expand...
Click to collapse
output from your debug interface is attached.
My file manager never ends in connecting/reading the root share. And your app has created now >7 connections to my PC.
I hope you can see something in the debug file.
This afternoon I have only ~2 hours time and tomorrow morning I am not at home.
tramp20 said:
output from your debug interface is attached.
My file manager never ends in connecting/reading the root share. And your app has created now >7 connections to my PC.
I hope you can see something in the debug file.
This afternoon I have only ~2 hours time and tomorrow morning I am not at home.
Click to expand...
Click to collapse
Thank you, I opened the debug but unfortunately it shows no issue, I'm back at work tuesday, I keep you in touch don't worry

Categories

Resources