If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Thu, 11 Oct 2018 19:43:38 -0000 (UTC), Arlen Holder wrote:
From Windows, how can we run a DOS command on the Android filesystem? Thanks to the purposefully helpful posters, here is a progress report, where I apologize for the details, which are necessary to be successful, and to comprehend the scope of the problem and solution sets. Please note that I _already_ have a solution, both USB & Wifi, where the goal was & is always a general solution for everyone - not just for me. o There are many freeeware solutions over WiFi o It's modern Android MTP over USB that has the lack of freeware solutions ================================================== =========== Here's a summary of the status to date... ================================================== =========== In the Windows ng, Frank Slootweg suggested "netdrive", located he http://netdrive.net/download (trialware, so it's not a general solution) Just in case the old freeware existed, I downloaded the following versions: o NetDrive 3.6.571 http://netdrive.net/ o NetDrive 3.5.434 https://en.freedownloadmanager.org/Windows-PC/NetDrive.html o NetDrive 2.6.2 https://filehippo.com/download_netdrive/64426/ o NetDrive 2.6.16 build 962 https://www.filehorse.com/download-netdrive/30799/download/ o NetDrive 2.5.7 https://netdrive.en.lo4d.com/ o NetDrive 1.3.4 https://filehippo.com/download_netdrive/15075/ etc. I have one key question for anyone on this ng who knows Windows well, which is whether my "assumption" is accurate that we need to "mount" the Android filesystem as a "removable drive" (i.e., with a "drive letter") in order to be able to run any Windows command on that Android filesystem? I seem to be able to run DOS commands on both these types of connections: o USB + "removable drive" (to get a drive letter) http://www.bild.me/bild.php?file=1853998dir02.jpg o WiFi + "network location" + "removable drive" (to get a drive letter) http://www.bild.me/bild.php?file=6340420dir012.jpg o WiFi + "network location" + "net use" (to get a drive letter) http://www.bild.me/bild.php?file=8605173dir05.jpg Is that assumption of the intermediate "need" for a drive letter correct? If so, here's a summary of where we stand based on that assumption... (If not, please correct where I err.) The "problem" is that when you connect over USB an Android 4.3+ device (mine is a $130 64GB LG Stylo 3 Plus, running Nougat, Android 7.0) as MTP, you can't run any Windows command on the Android file system, as evidenced by this "dir" of APKs that had to be done after copying to Windows: http://www.bild.me/bild.php?file=9648761dir.jpg The best solution is to "mount" the Android filesystm as a "removable drive" (i.e., it gets a drive letter) over USB, which I can easily do with payware/crippleware, but which I'm trying to make into a general solution that _everyone_ can do. http://www.bild.me/bild.php?file=8315262dir03.jpg *For a general solution, we need bona-fide non-crippled Windows freeware.* o The goal is a _universal_ solution (which necessitates _freeware_); o which enables _any Windows command_ to run on the Android filesys; o which means (I think) it has to be "mounted" as a _removable drive_; o (or, in other words, it has to have a "drive letter" when on USB); o (although a Windows "network location" can also work when on WiFi); o which both MTPDrive (over USB) & NetDrive (over WiFi) payware seem to do Given: o USB solutions are faster & generally simpler (no Android software) MTPDrive: http://www.bild.me/bild.php?file=1853998dir02.jpg Linux: http://www.bild.me/bild.php?file=6181360dir01.jpg o WiFi solutions (which generally require a "server" running on Android). WebDav: http://www.bild.me/bild.php?file=8605173dir05.jpg FTP: http://www.bild.me/bild.php?file=7687244dir06.jpg For USB: The best solution is a freeware equivalent to the MTPDrive functionality o LibMTP freeware may work if we can figure out how to make it work, while https://sourceforge.net/projects/libmtp/files/libmtp-win32/ o MTPDrive crippleware works (crippled to 30 files per session), and, http://www.mtpdrive.com/download.html o Dual booting to Linux works (which natively uses, apparently, LibMTP). http://www.bild.me/bild.php?file=6181360dir01.jpg For WiFi: If a server must be run on Android, Windows probably handles SMB best, but: o SMB server (on Android) solutions are problematic for two reasons: (a) No known Play/F-Droid SMB server works on TCP port 445 unrooted (b) Port forwarding on Windows is required if a nonroot server is found. https://play.google.com/store/apps/details?id=com.icecoldapps.sambaserver Where these general-use servers don't require rooting or port forwarding, & where Windows "network location" & "removable drive" features are used: o WebDav https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver network location: http://www.bild.me/bild.php?file=8605173dir05.jpg o FTP https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver http://www.bild.me/bild.php?file=7075400dir07.jpg http://www.bild.me/bild.php?file=4731516dir011.jpg For WiFi FTP, these are possible universal free drive-mapping solutions: o FTPuse (freeware which I was not successful with in my recent tests) https://www.ferrobackup.com/map-ftp-as-disk.html FTP Server (free): http://www.bild.me/bild.php?file=3316456dir08.jpg The Olive Tree: http://www.bild.me/bild.php?file=7355568dir09.jpg Anonymous: http://www.bild.me/bild.php?file=4223201dir010.jpg o DirectNet (freeware which I was successful with in my tests today) http://www.directnet-drive.net/ http://www.bild.me/bild.php?file=4731516dir011.jpg http://www.bild.me/bild.php?file=6340420dir012.jpg o SFTP Net Drive (free for personal use but I was not successful today) https://www.nsoftware.com/sftp/netdrive/ (it took a bogus name & email) o NetDrive (trialware, untested because it's not a general solution) http://netdrive.net/ o Web Drive (trialware, untested because it's not a general solution) https://webdrive.com/download/ And where Linux solutions may work under some circumstances: o Dual-boot to Linux works perfectly (which uses LibMTP natively) https://groups.google.com/d/msg/alt.os.linux/oOfdMLmJ-oQ/jh_1DwTOBgAJ o Termux (contains a mini Linux command environment) https://play.google.com/store/apps/details?id=com.termux As always, this effort is for everyone - so please improve where you can! |
Thread Tools | |
Display Modes | |
|
|