How to connect from Windows 7 Network to android shared folders? - Android Q&A, Help & Troubleshooting

I have been searching for a while to find a way to connect from Windows 7 Network to android shared folders. I had no success. Can anyone help?
[I tried sambadroid, but when I type the IP of the android device in Windows "Run" and hit enter it responds that "Windows cannot access \\192.168...."]

ROOT NEEDED
INSTALL THIS APP AND THEN START A SERVER
https://play.google.com/store/apps/details?id=com.funkyfresh.samba
AFTER DOING THIS YOU HAVE TO TYPE "FTP:// 'IP SHOWN ON YOUR PHONE' " in chrome on your pc
DROP A LIKE TO SUPPORT ME!!

x.ak**** said:
ROOT NEEDED
INSTALL THIS APP AND THEN START A SERVER
https://play.google.com/store/apps/details?id=com.funkyfresh.samba
AFTER DOING THIS YOU HAVE TO TYPE "FTP:// 'IP SHOWN ON YOUR PHONE' " in chrome on your pc
DROP A LIKE TO SUPPORT ME!!
Click to expand...
Click to collapse
Thank you for your reply. But, as I said, what I want is that android shared folders be accessible in Windows Network.

x.ak**** said:
ROOT NEEDED
INSTALL THIS APP AND THEN START A SERVER
https://play.google.com/store/apps/details?id=com.funkyfresh.samba
AFTER DOING THIS YOU HAVE TO TYPE "FTP:// 'IP SHOWN ON YOUR PHONE' " in chrome on your pc
DROP A LIKE TO SUPPORT ME!!
Click to expand...
Click to collapse
This app does not need Chrome or any other browser indeed. It works with Network (in Windows Explorer window).
But a problem still remains which I am going to ask you. The problem is that when I click on the device name (ANDROID) in Network, a message pops up and says that "...cannot access \\ANDROID". I am forced to open Run in Windows and type the IP of the device and hit enter. This way the IP appears in Network and I can access the device shared folder. Why clicking on ANDROID does not work?

Related

[Q] Error Connecting Tab(Open Kang 31 ROM) to PC(Ubuntu)

Hi,
i tried to connect the Tab(Open Kang 31 Rom) to a pc with Ubuntu 12.04 and i had a strange issue( i read all the posts so i selected in Setting/Storage MTP ). The pc is not able to open the Tablet Storage and this is the error msg:
"Sorry, could not display all the contents of "GT-P7510": DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
I tried to connect the tablet to a Windows plattaform and everything works fine.
Any ideas?
Thank you
Two issue :
the first which can be hard
1) look here : h**t://kobablog.wordpress.com/2011/05/25/connecting-samsung-galaxy-tab-10-1-via-adb-on-ubuntu/
the second which is easy :
You can simply acces to your tab wireless with app like WIFI File Transfer
Just like Brahim93 suggested, you can use adb, it will give you more than access to the internal storage, it will be helpful for debugging, testing and other related things.
But if you only want to access the files like in Windows, mount your tab with something like mtpfs.
Other option (if you have the proper network configuration) is using a FTP server in your tablet, like SwiFTP FTP Server.
Thank you both of you...i will try what you suggested.
Sent from my GT-P7510 using xda premium

cant make REST on Android device

hi im developing an app with eclipse and ADT, my app woks fine in the emulator, just connect via REST (post) to a localserver and execute some service.
the problem apears when I want to execute my app in my cellphone, basically it can't connect to the server, when I put the server IP etc etc...a timeout error is all I get...
android has any problem with the dns or something like that? I can't find the problem

[Q] Problem connecting my PC on ES File Explorer

Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
V4LKyR said:
Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
Click to expand...
Click to collapse
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
TheOnlyIntruder said:
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
Click to expand...
Click to collapse
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
V4LKyR said:
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
Click to expand...
Click to collapse
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
TheOnlyIntruder said:
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
Click to expand...
Click to collapse
But that's the problem, I don't wanna install a password on my Windows account on my PC.
Any advices?
Bump! I need help please.
TRY THIS JUST INPUT USERNAME AND CLICK OK
Sent from my C2105 using XDA Free mobile app
have you change your active network to Home Network?
and try go to Advanced Sharing Setting to turn off the Password Protected Sharing.
because it works for me.
Here is the solution
Hello ...
If you still need help. What you have to do is the following:
"ON WINDOWS"
1) You have to activate the smb1 protocol, which windows 10 by default has disabled (also works for windows 7 or windows 8). To activate the smb1 protocol, download this regedit file; which you will execute as administrator: [h t t p : / / v i w r i g h t . c o m / 1 8 2 7 6 8 9 9 / a c t i v a t e s m b 1 m e g a]
2) Make sure you have shared resources correctly, so you can navigate from your android device.
3) Restart the computer so that the changes are effective.
"ANDROID DEVICE"
1) Download the apk es file explorer pro Dark Version totally free for you: [ h t t p : / / v i w r i g h t . c o m / 7 0 D x ]
2) Go to the configuration section lan, then press scan. Then choose your equipment when it is presented in the scan ... it will ask for username and password. In user place the username with which you login in windows and in the password, you put the key of your username to log in windows. And ready!! That's it, you'll have access to all the resources shared on that computer. You can copy, paste, move, create, etc ... within any resource.
The key to unzip the zips is: contraseña

Wpa2 Enterprise

Hi I can't connect to the Wlan Network at our university, which is using wpa2 enterprise.
When I click on the network nothing happens. On askubuntu I found something, but I don't know in which file on my phone I have to put the text in.
http://askubuntu.com/questions/586300/creating-a-wpa2-enterprise-connection-on-ubuntu-touch
Yes, WPA2 Enterprise isn't supported by the GUI yet.
The file you need to save that to needs to be called
Code:
/etc/NetworkManager/system-connections/<your network's id>
Replace <your network's id> (including the brackets) with the ID of your Wifi network. In the example it would be "eduroam".
(Please note that you need to save the file as root, i.e. using sudo.)
I tried it yesterday with the file, but it didn't worked. But I am not sure if the file is correct for our network.
I followed this guide http://www.danbishop.org/2015/02/21...ther-802-1x-wireless-network-to-ubuntu-phone/ and now I get a connection. Only username and password have to be changed.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Sorry if this is a semi-hijack, but this seems the most relevant place for my question. I can't get access to my uni's wi-fi either (aquaris ubuntu edition phone), and I was wondering if anyone knows if the functionality for wpa2 is going to be added in the near future? I don't have ubuntu on a desktop atm and I don't want to have to install it just to tinker with my phone, which also seems a little bit daunting to me, worried I will explode my phone or something.
I don't know when they bring wpa2 enterprise support via gui, but I think it is a must have feature. You don't need ubuntu to get it working. I can upload the file I used, you just have to change 2 lines. You can use putty to put the file in the right location.
jonny-boy said:
I don't know when they bring wpa2 enterprise support via gui, but I think it is a must have feature. You don't need ubuntu to get it working. I can upload the file I used, you just have to change 2 lines. You can use putty to put the file in the right location.
Click to expand...
Click to collapse
That'd be great, although I've no idea what I'm doing with this sort of thing, would it be possible for you to explain it to me in idiot terms? I'm not familiar with putty or this kind of exercise
1. Activate Developer Mode on your phone
You can activated the Mode under Device info, developer mode
(But you have to set a password for your phone before, if I am not mistaken)
2. Connect your Phone via usb to your computer
3. Download adb for windows: http://forum.xda-developers.com/showthread.php?p=48915118
The installer asks some questions, I answered all questions with yes.
4. I attached a File. Just change username and password.
Then remove the file extension (remove the .txt)
You have to activate show file extensions in the windows explorer, to remove the file extension
5. Move the File on your phone e.g. in the download directory via usb
6. Run the windows command line tool (I use Super+R and then just run "cmd")
7. Run "adb shell" in the cmd
(When it says: "error: closed", you have to unlock your phone)
It should say something like "[email protected]" now.
8. Move the file from the Download-Folder to the Network-Manager-Folder:
"sudo cp Downloads/eduroam /etc/NetworkManager/system-connections/"
Password should be your phone unlock password
9. Now go into the Networkmanager directory:
cd /etc/NetworkManager/system-connections/
10. Run the following commands to set the right permissions for the file:
"sudo chown root eduroam"
"sudo chgrp root eduroam"
"sudo chmod 600 eduroam"
11. Reboot your Phone
For me this worked. My English is not that good, so just ask, if you have questions.
jonny-boy said:
1. Activate Developer Mode on your phone
You can activated the Mode under Device info, developer mode
(But you have to set a password for your phone before, if I am not mistaken)
2. Connect your Phone via usb to your computer
3. Download adb for windows: http://forum.xda-developers.com/showthread.php?p=48915118
The installer asks some questions, I answered all questions with yes.
4. I attached a File. Just change username and password.
Then remove the file extension (remove the .txt)
You have to activate show file extensions in the windows explorer, to remove the file extension
5. Move the File on your phone e.g. in the download directory via usb
6. Run the windows command line tool (I use Super+R and then just run "cmd")
7. Run "adb shell" in the cmd
(When it says: "error: closed", you have to unlock your phone)
It should say something like "[email protected]" now.
8. Move the file from the Download-Folder to the Network-Manager-Folder:
"sudo cp Downloads/eduroam /etc/NetworkManager/system-connections/"
Password should be your phone unlock password
9. Now go into the Networkmanager directory:
cd /etc/NetworkManager/system-connections/
10. Run the following commands to set the right permissions for the file:
"sudo chown root eduroam"
"sudo chgrp root eduroam"
"sudo chmod 600 eduroam"
11. Reboot your Phone
For me this worked. My English is not that good, so just ask, if you have questions.
Click to expand...
Click to collapse
So far I can't get the adb shell to recognise the phone is there, it just keeps saying "error: device not found" so I'm kinda stumped right now
I got this error the first time, too. I just reinstalled adb, while the phone was plugged to my computer and unlocked and answered the driver question with yes, then some driver were installed.
jonny-boy said:
I got this error the first time, too. I just reinstalled adb, while the phone was plugged to my computer and unlocked and answered the driver question with yes, then some driver were installed.
Click to expand...
Click to collapse
Did that, still says Error: device not found =/
Garatolla said:
Did that, still says Error: device not found =/
Click to expand...
Click to collapse
Tried it on my friend's linux pc as well and it still says error device not found, guess I'm just going to have to wait for them to officially add in wpa2 functionality. Welp, back to my old phone for a while then, thanks for the help jonny-boy
@garatola Do you have the phone unlocked and the screen turned on when trying to connect? That's one requirement on Ubuntu.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
nikwen said:
@garatola Do you have the phone unlocked and the screen turned on when trying to connect? That's one requirement on Ubuntu.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Click to expand...
Click to collapse
Yup, I managed to find out about that before I first started trying to figure out how to fix this unfortunate situation
Does anyone know if or when there will be wpa2 functionality on this os? Or where I might ask? I need it for accessing my uni wifi stuff, and if it's going to be a while, I'll just shelf the phone and forget about it as a phone without internet access is pretty much just a paperweight for me. Thanks again for the help given so far everyone
Garatolla said:
Does anyone know if or when there will be wpa2 functionality on this os? Or where I might ask? I need it for accessing my uni wifi stuff, and if it's going to be a while, I'll just shelf the phone and forget about it as a phone without internet access is pretty much just a paperweight for me. Thanks again for the help given so far everyone
Click to expand...
Click to collapse
According to the corresponding launchpad issue, a fix has just been made available. However, it will probably take a month until it is in the stable builds.
If adb still doesn't work for you and the issue is that important to you, you can always also try following the guide using the terminal app on the device itself. Will take some time to type the commands in but it should work.
nikwen said:
According to the corresponding launchpad issue, a fix has just been made available. However, it will probably take a month until it is in the stable builds.
If adb still doesn't work for you and the issue is that important to you, you can always also try following the guide using the terminal app on the device itself. Will take some time to type the commands in but it should work.
Click to expand...
Click to collapse
I don't have access to a linux pc, and for some reason ubuntu wouldn't install for a dual boot when I tried that either. I also didn't see an app that would let me use the terminal on my phone - I've not had much luck with this lol. However, for some reason the adb stuff randomly started working on my friends linux pc and he friend managed to fix something up for me today, so all is well, for now at least :s (I also noticed the terminal app on the ubuntu store once I finally did get the net working.)
In the end, my friend used this http://www.danbishop.org/2015/02/21...ther-802-1x-wireless-network-to-ubuntu-phone/ to get it working, although the first time he tried adb wouldn't recognise my phone, and we don't know how it was righted, so sorry I can't pass on more info to people who might have the same problem =/
Thanks for all the replies again
Garatolla said:
I don't have access to a linux pc, and for some reason ubuntu wouldn't install for a dual boot when I tried that either. I also didn't see an app that would let me use the terminal on my phone - I've not had much luck with this lol. However, for some reason the adb stuff randomly started working on my friends linux pc and he friend managed to fix something up for me today, so all is well, for now at least :s (I also noticed the terminal app on the ubuntu store once I finally did get the net working.)
In the end, my friend used this http://www.danbishop.org/2015/02/21...ther-802-1x-wireless-network-to-ubuntu-phone/ to get it working, although the first time he tried adb wouldn't recognise my phone, and we don't know how it was righted, so sorry I can't pass on more info to people who might have the same problem =/
Thanks for all the replies again
Click to expand...
Click to collapse
Great that it finally worked.

How to remote control android which is connected to same wifi without internet

I want to control my android device loaded with lineageos 8.1 remotely from my laptop from the browser. I have tried airdroid, but i am not able to use the remote control feature when i am offline, it only works over the internet, is there any fix for this? also please suggest any alternatives. I have root access using magisk.
motolora 1656565 said:
I want to control my android device loaded with lineageos 8.1 remotely from my laptop from the browser. I have tried airdroid, but i am not able to use the remote control feature when i am offline, it only works over the internet, is there any fix for this? also please suggest any alternatives. I have root access using magisk.
Click to expand...
Click to collapse
Definitely want to be using scrcpy. It uses adb as it's connection method. So if you can wifi adb to your devices you can remote control it.
If you need sound, it gets slightly more cumbersome. But sndcpy works well in tangent.
Astoras said:
So if you can wifi adb to your devices you can remote control it.
Click to expand...
Click to collapse
Please guide me how can I do this. I have enabled TCP/ip mode in developer menu.
motolora 1656565 said:
Please guide me how can I do this. I have enabled TCP/ip mode in developer menu.
Click to expand...
Click to collapse
Some phones have an option in Developer settings. It normally explicitly says wifi adb. If you don't have the option, you'll need a root app or elevated terminal to activate it.
The app is faster to use if in a normal context.
Find on on the playstore. Just search wifi adb.
Then on your computers terminal, which has adb installed properly, type "adb connect {your phone's ip address}"
Once it successfully prompts and you accept the connection on your phone you are ready to use scrcpy.
You can find tutorials on how to install both adb and scrcpy.
But the most user friendly, if on widows, is to first install a repository called Choco. Again, look up how to do so.
Then, simply type these commends in an administrative PowerShell:
choco install adb -y
choco install scrcpy -y
If all of this seems overly complicated. It is a one time setup. And all of these tools are excellent to have in the future if you are into Android and software.
After these steps are completed, rember you first have to establish an adb connection and then type scrcpy into your terminal.
Ok, Thanks a lot!!!!
motolora 1656565 said:
Ok, Thanks a lot!!!!
Click to expand...
Click to collapse
- Download scrcpy.zip
- Unzip to the dir of your choice
- On your phone: Developer settings --> Enable USB Debugging
- Connect with a cable
- Run scrcpy-noconsole.vbs
Should work (also for android 12)
If you want to use this over IP, let us know
biontx said:
- Download scrcpy.zip
- Unzip to the dir of your choice
- On your phone: Developer settings --> Enable USB Debugging
- Connect with a cable
- Run scrcpy-noconsole.vbs
Should work (also for android 12)
If you want to use this over IP, let us know
Click to expand...
Click to collapse
Oeps, the previous scrcpy.zip contains convctctytdl.exe ... you won't need this:
This is used to convert all youtube files (movie, list, etc...) to mp3
You can delete this file
This is the windows x64 version
You don't need internet as your phone is connected with a cable
Thank you everyone for your help!!!
Scrcpy is successfully installed and is working fine!!!
I took help from this forum and the official GitHub repo https://github.com/Genymobile/scrcpy
Thanks everyone
i have another request, please help!
capture mobile display as a "live video file"

Categories

Resources