home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.internet.wireless      Fun with wireless Internet access      55,960 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,048 of 55,960   
   Andy Burnelli to Andy Burnelli   
   Re: Tutorial: Working examples using Win   
   18 May 22 15:15:38   
   
   XPost: alt.comp.os.windows-10, comp.mobile.android   
   From: spam@nospam.com   
      
   Andy Burnelli wrote:   
      
   > C:\> adb shell pm list packages   
   >       That should list all the packages installed on your Android phone.   
   >   
   >  C:\> adb shell pm list packages | findStr /i "facebook"   
   >       That should list all the packages with that string in their name.   
   >   
   >  C:\> adb shell dumpsys package com.facebook.appmanager   
   >       This should list an app's components, activities & services, etc.   
   >   
   >  C:\> adb shell pm list permissions | FindStr facebook   
   >       This should list all permissions granted for that particular app.   
   >   
   >  C:\> adb shell pm revoke com.facebook.appmanager android.perm   
   ssion.READ_EXTERNAL_STORAGE   
   >       This should revoke the stated permissions from that app.   
   >   
   >  C:\> adb shell pm grant com.facebook.appmanager android.permi   
   sion.READ_EXTERNAL_STORAGE   
   >       This should grant the stated permissions to that app.   
      
   Has anyone here used WebDav to mount Android onto Windows as a drive over   
   Wi-Fi?   
   If so, can _you_ see your Android external sdcard from Windows over Wi-Fi?   
      
   I can't.   
   I can see _everything_ else (including the root filesystem!) but not the sd   
   card.   
   (Note I'm not rooted but that shouldn't matter to see the sd card, should it?)   
      
   Today attempted these permission-addition commands because the Windows   
   mount of the Android file system doesn't access the external sdcard over Wi-Fi.   
    C:\> net use Z: \\192.168.0.2@8080\DavWWWRoot   
      
   I also tried adding a login/password of (foo/bar) but that didn't matter.   
    C:\> net use Z: \\192.168.0.2@8080\DavWWWRoot /USER:foo bar   
      
   And I tried specifying the root directory:   
    C:\> net use Z: \\192.168.0.2@8080\storage\emulated\0 /USER:foo bar   
    C:\> net use Z: \\192.168.0.2@8080\storage\0000-0001 /USER:foo bar   
      
   At least not when using this free WebDav server on Android to mount Android as   
   a   
   drive letter onto Windows over Wi-Fi using that Windows "net use" command.   
    *WebDAV Server* by The Olive Tree   
       
      
   The problem I'm having with Android 12 connecting to Windows is that I can   
   set the WebDav server root to anything I want to in the WebDav server GUI:   
     Mount Android over Wi-Fi   
      
   But from Windows I can see everything on Android (including the root file   
   system) except what is on the external sdcard (even though, on Android,   
   I can easily see what's on the external sdcard).   
      
   Using this adb tutorial to check if permissions are the problem, I run:   
    C:\> adb shell pm list packages | findstr "webdav"   
         package:com.zq.webdav.app_free <== this is ad free but more complex   
         package:com.theolivetree.webdavserver <== this is the one I'm using   
      
   To list its permissions I can run this but it didn't find any permissions.   
    C:\> adb shell pm list permissions | FindStr "com.theolivetree.webdavserver"   
      
   This "might" grant it permission to read external storage:   
    C:\> adb shell pm grant com.theolivetree.webdavserver android.p   
   rmission.READ_EXTERNAL_STORAGE   
      
   But, unfortunately, even though I can see the Android root file system   
   from Windows (with Android being a drive letter), I can't see the external   
   sdcard for some reason.   
      
   What's odd is I can see literally everything _except_ the external sdcard   
   from Windows with Android mounted as a drive letter over Wi-Fi.   
      
   Has anyone here used WebDav to mount Android onto Windows as a drive over   
   Wi-Fi?   
   If so, can _you_ see your Android external sdcard from Windows over Wi-Fi?   
      
   In summary, the situation is thus for mounting Android to Windows over Wi-Fi:   
   a. I'm not rooted (and yet I can see the root file system) as a drive letter.   
   b. The WebDav server _says_ it will mount Android over Wi-Fi as a drive letter.   
   c. But _only_ the external sdcard will not show up in that Windows mount.   
      
   Why?   
   What's the solution?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca