Tutorial to run any Windows command directly on Android over either USB or Wi-Fi

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
Tutorial to run any Windows command directly on Android over either USB or Wi-Fi

When you plug an Android 4.3+ device set up as MTP into Windows over USB,
you can't run Windows commands _directly_ on the Android filesystem (yet).
 <http://www.bild.me/bild.php?file=9648761dir.jpg

The goal is for everyone to be able to run any Windows command on the  
entire Android filesystem, over USB (because it's fast, secure, & easy) &
over WiFi (because it works over the local network).

I've gone in the past couple of days about as far as I can go.
What we need from experts here is your added value to go further.

To that end, I summarize below where my knowledge falls off the cliff.
If you know more than I do, please improve these suggestions below.

*Goal: Run any Windows command directly on the Android filesystem.*
==========================================
*These worked perfectly in my tests (Android 7.0, Windows 10)*
==========================================
1. MTP over USB: (*MTPDrive*)
   <http://www.bild.me/bild.php?file=1853998dir02.jpg
o Android set to MTP + MTPDrive payware on Windows
o Mount the Android filesystem as a drive letter on Windows
o MTPDrive freeware is limited to 30 files transferred per session
  <http://www.bild.me/bild.php?file=8315262dir03.jpg
Tested with:
 MTPDrive <http://mtpdrive.com/download.html

2. MTP over USB: (*Linux*)
   <http://www.bild.me/bild.php?file=6181360dir01.jpg
o Android set to MTP + dual-boot Ubuntu with Windows
o There are no limits whatsoever as to what you can do
Tested with:
 Ubuntu 18.04 <https://www.ubuntu.com/download/desktop

3. WebDAV over WiFi: (*net use*)
  <http://www.bild.me/bild.php?file=8605173dir05.jpg
o WebDAV freeware server on Android + "net use" on Windows
o Mount the Android filesystem as a drive letter on Windows
o There are no limits whatsoever as to what you can do
Tested with:
 <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver

4. FTP over WiFi: (*DirectNetDrive*)
   <http://www.bild.me/bild.php?file=4731516dir011.jpg
   <http://www.bild.me/bild.php?file=6340420dir012.jpg
o FTP freeware server on Android + DnD freeware on Windows
o Mount the Android filesystem as a drive letter using DnD freeware
o There are no limits whatsoever as to what you can do
Tested with:
 DirectNetDrive <http://www.directnet-drive.net/

5. FTP over WiFi: (*NetDrive 1.3.2.0*)
   <http://www.bild.me/bild.php?file=1383190dir014.jpg
o FTP freeware server on Android + (older) NetDrive freeware on Windows
o Mount the Android filesystem as a drive letter using NetDrive freeware
o There are no limits whatsoever as to what you can do
Tested with:
 NetDrive 1.3.2.0 <https://filehippo.com/download_netdrive/12615/

==========================================
*These worked to run commands - but we don't have a mounting solution.*
==========================================
6. MTP over USB: (*libMTP*, libusbK, libiconv)
   <http://www.bild.me/bild.php?file=4656598libtmp01.jpg
o Plug in Android to USB + libMTP commands on Windows
o Can see and manipulate every file on the Android filesystem
o But it can't yet mount the Android filesystem as a drive letter
Tested with:
 LibMTP <https://sourceforge.net/projects/libmtp/
 LibusbK <https://sourceforge.net/projects/libusb-win32/
 LibiConv <http://gnuwin32.sourceforge.net/packages/libiconv.htm>

==========================================
*These failed miserably in my tests - but they may work for others.*
==========================================
7. FTP over WiFi: (*net use*)
 <http://www.bild.me/bild.php?file=8734999ftpshare02.jpg
o FTP server freeware on Android + "net use" on Windows
o Mount the Android filesystem as a drive letter on Windows
o I can't figure out the doublebackslash syntax to make it work!
Tested with:
 <https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver

8. FTP over WiFi: (*FTPuse*)
   <http://www.bild.me/bild.php?file=7687244dir06.jpg
   <http://www.bild.me/bild.php?file=7075400dir07.jpg
   <http://www.bild.me/bild.php?file=3316456dir08.jpg
   <http://www.bild.me/bild.php?file=7355568dir09.jpg
   <http://www.bild.me/bild.php?file=4223201dir010.jpg
o FTP server freeware on Android + FTPuse freeware on Windows
o Mount the Android filesystem as a drive letter using FTPuse freeware
o There are no limits whatsoever as to what you can do
Tested with:
 FTPUse <https://www.ferrobackup.com/download/FtpUseInst.exe

9. FTP over WiFi: (*SFTPNetDrive*)
   <http://www.bild.me/bild.php?file=2809525dir013.jpg
o FTP server freeware on Android + SFTPNetDrive freeware on Windows
o Mount the Android filesystem as a drive letter using SFTPNetDrive
o There are no limits whatsoever as to what you can do
Tested with:
 SFTP Net Drive <https://www.nsoftware.com/sftp/netdrive/

10. SMB over WiFi: (*net use*)
o SMB server freeware on Android + native Windows "net use"
o Main problem is Android needs to be rooted to use TCP port 445
o Second problem is finding Android SMB server non-root freeware
Tested with:
 <https://play.google.com/store/apps/details?id=com.icecoldapps.sambaserver

==========================================
*These were not tested because they are trialware solutions.*
==========================================
11. FTP or WebDAV over WiFi: (*WebDrive*)
o FTP/WebDAV freeware server on Android + WebDrive trialware on Windows
o Mount the Android filesystem as a drive letter using WebDrive trialware
o The trialware is limited to 10 days
Not tested:
 WebDrive <https://webdrive.com/download/

12. FTP over WiFi: (*NetDrive*)
o FTP freeware server on Android + (current) NetDrive trialware on Windows
o Mount the Android filesystem as a drive letter using NetDrive trialware
o There are no limits whatsoever as to what you can do
Not tested:
 NetDrive 3.6.571 <http://netdrive.net/
==========================================
In summary, we need your added value to get past where I am above.
a. Specifically - do you know the syntax for FTP "net use" mounts?
b. Do you know of an Android nonroot SMB server that works with Windows?
c. And most importantly, do you know of MTPdrive alternative freeware?

Above is where I fall off the cliff on trying to help everyone run any
Windows command directly on any Android 4.3+ filesystem over USB or WiFi.

As always, the goal is a universal solution for everyone.
If you can add value, please pitch in to improve our capabilities.
--  
We are always far stronger together than any of us are all alone.

Re: Tutorial to run any Windows command directly on Android over either USB or Wi-Fi
On 10/21/2018 2:39 PM, Arlen Holder wrote: nothing worth repeating



And the award goes to the biggest dumbass for posting a  
computer/smartphone related topic in a home repair group. I'd rather  
tolerate the idiotic political bullshit than this.

Thanks for proving you're still a moron.

Site Timeline