Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 14 prevents access to /Android/Data/* #8

Open
3 tasks done
NuVanDibe opened this issue Oct 19, 2024 · 2 comments
Open
3 tasks done

Android 14 prevents access to /Android/Data/* #8

NuVanDibe opened this issue Oct 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@NuVanDibe
Copy link

  • I have checked the known issues and searched Github to ensure this issue has not already been reported.
  • This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:

Android introduced scoped storage access a few versions ago, and as of Android 14 restricts access to all apps so that it is not possible to copy files into Android/data/. This is an issue because the current method of installing mods requires accessing Android/data/com.dishii.mm/files. There is currently a workaround which involves using the Files app in the Play Store, but this app is being sunset at some point in the future and will no longer function as a workaround.

Can you reproduce? If so please list the steps:

  • Yes, here are the steps to reproduce the bug:
  1. Be using Android 14
  2. Be not rooted
  3. Try copying files into Android/data/com.dishii.mm/files

Expected behavior:

Mods are able to be installed.

System Information:

  • OS: Android 14
  • GFX Backend: NA
  • Game Version:
  • Rom Version: NA

Additional Information:

This also currently affects https://github.com/Waterdish/Shipwright-Android

@NuVanDibe NuVanDibe added the bug Something isn't working label Oct 19, 2024
@XxBaton
Copy link

XxBaton commented Nov 15, 2024

Use the "Files" app from Google Play store and do as shown in the video. (Regular copying won't work.)
Screenshot_2024-11-15-12-32-01-026_com android vending

Screenrecorder-2024-11-15-12-33-57-535.mp4

@xfechx
Copy link

xfechx commented Dec 8, 2024

The cleaner solution is to bring save file and mod directory to a directory in home, rather than Android/data which is unaccesible (or a hassle to do so) some other apps cannot access this folder, for example dropsync, syncthing. So having a cloud save is impossible and manually moving the file is very time consuming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants