Ylianst / MeshCentralAndroidAgent

MeshCentral Agent for Android Device
https://meshcentral.com
Apache License 2.0
37 stars 34 forks source link

Allow option for more file visibility on Android #16

Open Maxwell175 opened 2 years ago

Maxwell175 commented 2 years ago

Unfortunately on Android 11, I just have some generic Music/Videos folders rather than an actual folder hierarchy.

It would be great if you could add a custom folder to be visible from the agent. Also, possibly if root is available, show the entire hierarchy.

phorcys420 commented 2 years ago

+1 for this, it would be nice for the agent to show /storage/emulated/0 in the folders.

Note: it would also be nice to prompt the user for root on launch, and use / if the root prompt is accepted. The root library you want to use would be Shizuku because it is simply the best lib out there, + allows "advanced" users to be prompted via Sui rather than their default root manager.

I might look into this for a PR.

si458 commented 4 months ago

i have just added this support into the app if you want to build the app and give it a test! https://github.com/Ylianst/MeshCentralAndroidAgent/commit/1aca414689d81312083c62276c86e5017c802435 https://github.com/Ylianst/MeshCentralAndroidAgent/commit/6719f15bd1e3ef992efad728fcf5868307efd6d5 https://github.com/Ylianst/MeshCentralAndroidAgent/commit/b666de47c29c07a9fb85c6e4e001109b27d8663b https://github.com/Ylianst/MeshCentralAndroidAgent/commit/4286f3fef4a8fccc603716f39c68e1f36916cee6 https://github.com/Ylianst/MeshCentralAndroidAgent/commit/2f6616daf65255cb1eac8a860b520a72dc651e6a