How to Modify data in Android subdirectory
by peterg17 from LinuxQuestions.org on (#6ND4J)
An App I use on a Samsung mobile phone has changed its data file location from a top level directory in the "Internal Storage" location (seeing with mtp) to a subdirectory under Android/data/ (in the "Internal Storage" location). I need to be able to modify data in this subdirectory and copy config files there. This Android location appears to be a special filesystem but I am unsure of the details.
I used to run an ssh server app and log in under ssh and see this Internal Storage location and modify data accordingly. However this ssh server app fails to see or be able to modify anything in the Android/data location.
When I attach a usb-c cable and press the "allow data access" popup on the phone, I can read data from a linux computer in the Android/data location. However I cannot modify any files anywhere in this "Internal Storage" location using this mtp mount.
So my problem is, how can I modify data on my phone using mtp or with a special app perhaps? Can I configure android to allow data modification?
I used to run an ssh server app and log in under ssh and see this Internal Storage location and modify data accordingly. However this ssh server app fails to see or be able to modify anything in the Android/data location.
When I attach a usb-c cable and press the "allow data access" popup on the phone, I can read data from a linux computer in the Android/data location. However I cannot modify any files anywhere in this "Internal Storage" location using this mtp mount.
So my problem is, how can I modify data on my phone using mtp or with a special app perhaps? Can I configure android to allow data modification?