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 | Rate Thread | Display Modes |
#1
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
From Windows, how can we run a DOS command on the Android filesystem?
http://www.bild.me/bild.php?file=9648761dir.jpg For example: How can we run a Windows command-line "dir" from Windows on Android?* Setup: 1. The Android phone is set to "MTP" 2. I plug the Android phone into Windows via USB for r/w access to Windows 3. This creates a clickable r/w connection for my Android phone on Windows 4. I can easily see, copy, read, & write all the files from Windows: o This PC\lgstylo3plus\Internal storage\ o This PC\lgstylo3plus\SD card\ 5. But how do I open the command line from Windows, on Android to run: dir /s/a/l/on/b This PC\lgstylo3plus\Internal storage\0data\apk\* The reason I ask is simply to create accurate text Android app inventories. I want an editable list containing these four items per line: a. Common name b. Installation URL c. Unique name d. Sub version I can create that information in a text file, using a set of workarounds. Windows Workarounds: A: On Windows, I can copy the "apk" directory from Android to Windows. Once it's on Windows, I can easily run a Windows command on the files. dir /s/a/l/on/b C:\data\backup\lgstylo\phone\apk\*.apk applog.txt Android Workarounds: A. I can send all installed app names & URLs to an editable file using: [My Apps] https://play.google.com/store/apps/d...tudios.applist B. I can view all the installed app names & versions on the screen using: [Applications Info] https://play.google.com/store/apps/d...plicationsinfo C. I can create a directory of installed APKs & their subversions using: [App Backup & Restore] https://play.google.com/store/apps/d...sage.appbackup D. On Android, I can open up any terminal emulator to run the "ls" command: [Terminal Emulator] https://play.google.com/store/apps/d...al.androidterm ls -l /sdcard/0data/apk/*.apk applog.txt *But how, from Windows, can we run that DOS dir command on the Android filesystem?* http://www.bild.me/bild.php?file=9648761dir.jpg |
Ads |
#2
|
|||
|
|||
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:
I want an editable list containing these four items per line: a. Common name b. Installation URL c. Unique name d. Sub version I can create that information in a text file, using a set of workarounds. The alternative solution to the Windows experience required to answer the original question ... Would be if someone experienced on Android knows of a free Android utility that creates an editable file containing an ad-hoc inventory of all installed programs. The editable inventory file would only need to contain: a. Common name (optional) b. Installation URL (optional) c. Unique name (mandatory) d. Sub version (mandatory) |
#3
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Thu, 11 Oct 2018 19:48:20 -0000 (UTC), Arlen Holder wrote:
The editable inventory file would only need to contain: a. Common name (optional) b. Installation URL (optional) c. Unique name (mandatory) d. Sub version (mandatory) I just tested by dualbooting to Ubuntu where the command line works fine on the Android filesystem from Linux - but not from Windows (for some reason): http://www.bild.me/bild.php?file=6181360dir01.jpg So the technical question for Android/Windows experts is simply: http://www.bild.me/bild.php?file=9648761dir.jpg A: How to get an editable app/version inventory using a free Android app o Text file containing the installed app unique name + subversion or B. How to get the Windows DOS commands to work on an Android filesystem\ o dir /s/a/l/on/b This PC\lgstylo3plus\Internal storage\0data\apk\* |
#4
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
Arlen,
How can we run a Windows command-line "dir" from Windows on Android?* Simple answer ? Find yourself a program which talks to the Android API on one side, and accepts the word "DIR" as a command on the console side. Good luck with that. Another easy way, but would take some effort on your behalf: you could also take those "Android Workarounds" steps and put them into a batchfile (or other kind of script language) and name it DIR.BAT (or similar). -or- You could learn how op use the Andriod API (in whatever programming language you like, scriptable or compilable) and write it yourself. As for those "Installation URL", "Unique name", "Sub version" ? How do you *now* get them ? Probably not from those copied APKs. But maybe that info is stored *inside* those APKs, and you only need to extract it from there. The same here. See if you can find yourself a programming language that can peer into those files to extract what you want/need. Regards, Rudy Wieser P.s. I would suggest you do not spend too much time on the first option. Your request is too "niche", and the chance that such a program actually exists is low. *Especially* one which will also display that extra info you mentioned. |
#5
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
Arlen Holder wrote:
[...] *But how, from Windows, can we run that DOS dir command on the Android filesystem?* http://www.bild.me/bild.php?file=9648761dir.jpg The only solution I know, is to use the FTPUSE [1] command on the Windows system, to 'map'. the Android filesystem to a Network Drive. An alternative is to use a SMB-*server* on the Android side, but as you know, that requires a rooted Android device (because the SMB port number can not be changed on the Windows side). [1] At the time, you posted about FTPUSE, so I'm sure you know what it is and where to find it. :-) |
#6
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Fri, 12 Oct 2018 08:11:26 +0200, R.Wieser wrote:
As for those "Installation URL", "Unique name", "Sub version" ? How do you *now* get them ? Probably not from those copied APKs. But maybe that info is stored *inside* those APKs, and you only need to extract it from there. The same here. See if you can find yourself a programming language that can peer into those files to extract what you want/need. Hi Rudy, My hope is that there is someone on this ng who knows more than I do. By that, my hope is that someone _already_ has solved this issue, Rudy. If there is an _experienced_ person here who already has run a DOS command on the Android filesystem connected via USB using a method that is easier than the method outlined below - _that_ is what I wish to learn about. If they don't have a ready-made solution to the question in the subject line, Rudy, then they probably can't help since I already have a workaround, as I already explained, Rudy. Moving forward, I just ran an experiment by factory resetting my Android phone (which I generally do roughly about monthly anyway), in order to distinguish which apps are considered "system apps" & which are considered "carrier-installed apps". This helps us all distinguish those two varieties from the third type of app, which is a "user installed" app as shown below by running the APK backup program three times, using three different destination settings: /sdcard1/data1/software/system_apk (which contained 487 APKs) /sdcard1/data1/software/carrier_apk (which contained 28 APKs) /sdcard1/data1/software/user_apk (which contains 159 APKs) That's roughly 500 pre-installed APKs plus about 150 user APKs per device. Once I have those files on Android, my workaround to obtaining a unique editable list is to copy those APKs to Windows so that I can run: dir /s/a/l/on/b apk_inventory.txt It would just be nice to find someone on this newsgroup who knows more than I do who has _already_ solved the problem of running a DOS command on the Android filesystem, that is _easier_ to do than to copy the files over to Windows and then run that DOS command on them. To obtain _that expert knowledge_, is the reason for this thread. |
#7
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Fri, 12 Oct 2018 16:04:50 +0200, FredW wrote:
Please don't feed the troll. Did you notice how many non-related newsgroups were included. This isn't a thread for ignorant children like FredW proved himself to be. This is a thread for intelligent adults - who want the same thing everyone wants, which is a way to mount the Android filesystem on Windows without having to be root on that Android filesystem (just like we do on Linux already). *My feeling is that if Linux can mount Android for rw, why can't Windows?* Frank Slootweg is correct that the goal would be to mount the Android file system read write as a drive on Windows so that the DOS commands could run. Everyone would benefit when we figure out how to do this expert task. Unfortunately, we'll never move forward if ignorant children like Frank W just proved himself to be waste everyone's time by posting their ignorant child-like drivel on this thread. It's clear Frank W. has _nothing_ of value to add. All Frank W can do is prove he is not only a child, but that he's an ignorant child who has not grown up past the fourth-grade level yet. It's just as clear that Frank W. will _never_ advance our knowledge. He can't. Every post from him proves how childish he is. Moving forward with the remaining expert adults on this newsgroup... I doubt anyone knows more than I do on this specific problem set since I've been dealing with Android management via the desktop for years - but Frank Slootweg does know far more than I do on his "ftpfuse" & "smb" suggestions. Both could work, if we can get them to work on a non-rooted Nougat device. Bearing in mind that Ubuntu 18.04 natively has no problem whatsoever running commands on the Android filesystem, I'm _sure_ that those who are experts at Windows can figure out what needs to be done to get Windows to do what Linux already does naturally. http://www.bild.me/bild.php?file=6181360dir01.jpg In addition, perhaps an "adb" expert can advise whether the adb shell can mount the Android filesystem on Windows so that DOS commands will run on that mounted Android file system? It's clear that only an expert can progress our capabilities here. As Frank Slootweg correctly surmised, I am no expert in either FTPFuse or in SMB (at least not on Windows or Android I'm not, although I am reasonably well aquainted with at Samba SMB on Linux), perhaps something Android-specific, like adb running on Windows, might work? adb shell su mount -o rw,remount /system But adb may require a rooted Android system as a pre-condition of success: https://android.stackexchange.com/questions/89501/windows-mount-android-file-system#89525 In fact, as Frank Slootweg noted, even though Linux clearly doesn't require the Android file system to be rooted, it _may_ be that Windows requires it: https://www.guidingtech.com/16174/mount-android-windows-root-file-system-access/ I tend not to give up when I know that Linux can do it without rooting the Android phone, so I feel, strongly, that Windows _must_ be able to mount the Android file system without needing root. But how? This implies that Android phones with the "MSC/MTP switch" can do it: https://superuser.com/questions/1157661/how-to-mount-an-android-smartphone-as-a-drive-in-windows While I'm no stranger to testing things out and moving our tribal knowledge forward in huge leaps and bounds, I'm out of my expertise level with all these potential solutions (ftpfuse, adb, webdav, smb, etc.). Hence that's why I ask for _experts_ (not children like Frank W proved himself to be) to help advise how we can mount an Android file system on Windows just like Linux already does. |
#8
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Fri, 12 Oct 2018 16:21:06 -0000 (UTC), Arlen Holder wrote:
Unfortunately, we'll never move forward if ignorant children like Frank W just proved himself to be waste everyone's time by posting their ignorant child-like drivel on this thread. It's clear Frank W. has _nothing_ of value to add. Minor typo ... since I confront cowardly bullies who not only add zero value, and who _can't_ add any value - but who will _never_ be able to have the adult conversation it takes to move our knowledge level forward. It's *FredW" (not Frank W) who acted like a whiny cowardly child. Alienating cowardly children like FredW is my goal - so that they go away. Cowardly ignorant children like FredW can _never_ advance our knowledge. From: FredW Moving forward with adults, I commend Frank Slootweg for his technical suggestions which may help us, finally, to achieve what everyone wants, which is the ability to mount the Android filesystem on Windows (which already works for Linux - so it's possible). It's possible - but nobody yet on this ng knows how (which I'm confident we can figure out together - which advances our knowledge greatly). |
#9
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
Arlen,
My hope is that there is someone on this ng who knows more than I do. You mean, like where to download that program ? Have you already googled for it yourself ? By that, my hope is that someone _already_ has solved this issue, Rudy. As I said, that might be possible, but as its a niche something don't get your hopes up for it. *Especially* not whith the requirements you mentioned. If they don't have a ready-made solution to the question in the subject line, Rudy, then they probably can't help I suggest you take that (not being to help you by offering you an URL to the product) as a given. It would just be nice to find someone on this newsgroup who knows more than I do The problem is that pretty-much *all* your questions are like that. No indication to what you did yourself to find an answer. Just a summing up of what you have on your screen and than some requirements. To obtain _that expert knowledge_, is the reason for this thread. How do you think those people gained *their* knowledge ? Have you ever thought about that ? Also, if you think that just knowing where to get/download that program is "expert knowledge" you do not put your goals high, do you ? I mean, if that product exists commercially just a run-of-the-mill store clerk would possibly know it. If its some (semi) hobby project I could imagine a person randomly browsing GitHub also could. All I see is someone who has ideas, and than thinks he should, instead of googeling his ass of for a couple of hours (or days), use these newsgroups as his personal knowledge database. And that breeds resentment. Currently *I* resent you. I don't think you are aware of it (how could you), but when you asked for that geoPDF stuff I was actually researching the subject to see if something could be whipped up - until I realized that that (reasearching) was exactly what *you* should have been doing - and giving no indication that you ever tried. You where *that* close of having taken advantage of me. :-( So, sit your ass infront of your 'puter, search for something, *anything* that could be helpfull in completing your current task AND POST THE RESULTS (URLs will do nicely). As long as you're not coming up with stuff which could possible lead the way to your sought solution I have no other choice than to conclude that you refuse to put any effort into it yourself (and thus that you are simply trying to leech us for all we are worth) And that is exerbated by the fact that you did ask a two-part question for which I didn't even need 30 seconds to google both of its answers. That simply proves that, at that time, you did not even *try* to find the answer yourself. TL;DR: Show us what you yourself did to find a solution to your own problem(s). Up until that moment at least I will not (even try to) help you, and will keep warning others of your "putting effort into something is good, as long as its not mine" approach. Regards, Rudy Wieser |
#10
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Fri, 12 Oct 2018 18:39:45 +0200, R.Wieser wrote:
Have you already googled for it yourself ? Rudy, Jesus Christ Rudy Wieser. *I'm sick of utter morons like you prove to be every time you post.* This isn't my first rodeo with worthless children like you Rudy Wieser. The day you actually add adult _value_ to any thread, would be a big deal. Worse, the day you stop saying stupid things is a day we rejoice. HINT: I provided tons of links - you moron. It's tough dealing with utter morons like you Rudy Wieser. All you do is _prove_ you own the brain of a small child. You're _worthless_ Rudy. But worse than worthless, is I have to spend energy squashing you like I would squash vermin on the kitchen floor. Go away Rudy. You're a child Rudy. You have no value to adults. Rudy. *You prove your posts are worthless _every_ single time you post, Rudy.* Grow up Rudy. If you post again, please _try_ to post like an adult would. HINT: That means you have to add on-topic technical value. Saying "Google" is not on-topic technical value. It's what you childish morons say because you have no value. |
#11
|
|||
|
|||
From Windows, how can we open a command line on the Androidfilesystem?
On Fri, 12 Oct 2018 18:39:45 +0200, R.Wieser wrote:
Arlen wrote: My hope is that there is someone on this ng who knows more than I do. That would be everyone else... All I see is someone who has ideas, and than thinks he should, instead of googeling his ass of for a couple of hours (or days), use these newsgroups as his personal knowledge database. And that breeds resentment. Currently *I* resent you. Rudy, time to exercise your Mark One Eyeball and just ignore and skip over everything the morphing idiot posts. It's easy to do, eh? I doubt if anyone else is reading his posts. |
#12
|
|||
|
|||
From Windows, how can we open a command line on the Androidfilesystem?
On 12/10/2018 20:23, Sam Hill wrote:
Rudy, time to exercise your Mark One Eyeball and just ignore and skip over everything the morphing idiot posts. It's easy to do, eh? I doubt if anyone else is reading his posts. Any you are wasting time responding to the idiot who is part of the same sex ring operating on these newsgroups looking for young boys. We don't receive, let alone read, any of the posts from idiots who are still responding to the members of the sex ring run by Arlene H Holder. Arlene has a very large following and people like you keep responding to him or his followers and make our life difficult to decide who to kill-file and who not. My position is that anybody responding that idiot or his followers goes on to my kill-file. You have been added to my kill-file until after 3 months when I review the list again to decide who doesn't deserve to be on it. Good bye. -- With over 950 million devices now running Windows 10, customer satisfaction is higher than any previous version of windows. |
#13
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
On Fri, 12 Oct 2018 18:39:45 +0200, "R.Wieser"
wrote: Arlen, My hope is that there is someone on this ng who knows more than I do. You mean, like where to download that program ? Have you already googled for it yourself ? By that, my hope is that someone _already_ has solved this issue, Rudy. As I said, that might be possible, but as its a niche something don't get your hopes up for it. *Especially* not whith the requirements you mentioned. If they don't have a ready-made solution to the question in the subject line, Rudy, then they probably can't help I suggest you take that (not being to help you by offering you an URL to the product) as a given. It would just be nice to find someone on this newsgroup who knows more than I do The problem is that pretty-much *all* your questions are like that. No indication to what you did yourself to find an answer. Just a summing up of what you have on your screen and than some requirements. To obtain _that expert knowledge_, is the reason for this thread. How do you think those people gained *their* knowledge ? Have you ever thought about that ? Also, if you think that just knowing where to get/download that program is "expert knowledge" you do not put your goals high, do you ? I mean, if that product exists commercially just a run-of-the-mill store clerk would possibly know it. If its some (semi) hobby project I could imagine a person randomly browsing GitHub also could. All I see is someone who has ideas, and than thinks he should, instead of googeling his ass of for a couple of hours (or days), use these newsgroups as his personal knowledge database. And that breeds resentment. Currently *I* resent you. I don't think you are aware of it (how could you), but when you asked for that geoPDF stuff I was actually researching the subject to see if something could be whipped up - until I realized that that (reasearching) was exactly what *you* should have been doing - and giving no indication that you ever tried. You where *that* close of having taken advantage of me. :-( So, sit your ass infront of your 'puter, search for something, *anything* that could be helpfull in completing your current task AND POST THE RESULTS (URLs will do nicely). As long as you're not coming up with stuff which could possible lead the way to your sought solution I have no other choice than to conclude that you refuse to put any effort into it yourself (and thus that you are simply trying to leech us for all we are worth) And that is exerbated by the fact that you did ask a two-part question for which I didn't even need 30 seconds to google both of its answers. That simply proves that, at that time, you did not even *try* to find the answer yourself. TL;DR: Show us what you yourself did to find a solution to your own problem(s). Up until that moment at least I will not (even try to) help you, and will keep warning others of your "putting effort into something is good, as long as its not mine" approach. All of that was very well said. I've simply given up on him, as I suspect most have. |
#14
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
Arlen,
This isn't my first rodeo with worthless children like you Rudy Wieser. It sure isn't your first rodeo. But you keep making the same mistake(s) over-and-over again, as if your learn really *nothing* from our encounters. You do not like to be told something, so you still go for the messenger instead of the message. Old hat actually, and rather predictable - having seen you do that and experienced it myself several times. And you *again* evaded a straight answer. Did you google for yourself ? We still do not know. But for the moment I take the above response to be meaning a "No". The day you actually add adult _value_ to any thread I'm sorry, this is a children-friendly place. We certainly do not appriciate adult content being posted here. :-) HINT: I provided tons of links - you moron. Yes, you did. Your initial message in this thread is full of them. All to *screenshots*. NONE of them to material you googled, and which could possibly be part of/leading to the solution you are looking for. Nothing. Zip. Nada. But worse than worthless, is I have to spend energy squashing you like I would squash vermin on the kitchen floor. You're not really good squashing vermin are you (which you probably never have done in the first place) ? At least, you seem to have a hard time trying to squash me. Than again, its rather possible you have not started yet, so apologies. Could you warn me when you start ? Otherwise I might fully miss it. :-) And I wish you would spend some more time at solving your own problems, or *at least* doing some preliminary work in that regard AND POSTING IT, instead of (talking about) making some threatening movements towards some poor rodent. Go away Rudy. You're a child Rudy. You have no value to adults. Rudy. No, no, and how would you know ? Also, not a smart statement: I need only one adult to be valuable for and your whole claim is void. Care to try again ? *You prove your posts are worthless _every_ single time you post, Rudy.* Absolutily. I mean, if someone with 10.000 tutorials on his name - every working day for 37 years straight - says it than it must be true, innit ? If you post again, please _try_ to post like an adult would. Lol. Says the one who lashed out like a little kid at most every person he doesn't like. HINT: That means you have to add on-topic technical value. No, that is what you *want* to be posted, as that would benefit *you* the most. Kiddo, you're so transparent that at times it feels you are not even really there. :-) Saying "Google" is not on-topic technical value. Besides the problem that I didn't (not in the way you are trying to make is sound - context and all that), how is refusing to put effort into finding possible solutions to your own problems "on topic" ? Not in any of the newsgroups you are postng your needfull "give-and-explain me *everything*" threads in, thats for sure. It's what you childish morons say because you have no value. Kiddo, I said it befo as long as you refuse to show that you have put effort into finding possible solutions to your own problems I'm considering you a leech. And the funny thing is, each-and-every time you try to have a go at me you are showing your possible victims to stay away from you. In that regard you are in a so-called lose, lose situation :-) Regards, Rudy Wieser |
#15
|
|||
|
|||
From Windows, how can we open a command line on the Android filesystem?
Sam,
Rudy, time to exercise your Mark One Eyeball and just ignore and skip over everything the morphing idiot posts. I do for most of his stuff. But once-in-a-while (when he opens a new thread) I happen to see the initial message. And than I sometimes can't help myself and try to give some hints-and-pointers, because I want to see even him progress. But alas, when he's hungry he stil resorts to begging for fish instead of trying to learn how to fish himself. :-( It's easy to do, eh? I doubt if anyone else is reading his posts. His next victims will ... Regards, Rudy Wieser |
Thread Tools | |
Display Modes | Rate This Thread |
|
|