weihuoya / citra

A Nintendo 3DS Emulator
https://citra-emu.org
GNU General Public License v2.0
2k stars 188 forks source link

Ability to Change the Citra Folder directory other than default location in Android data folder #866

Closed genkiuo closed 7 months ago

genkiuo commented 8 months ago

I guess nobody pointed this out but Android 13 and up just messed up the ability for users to access and move/copy/edit files inside the Android data and obb folders without using some exploit or rooting the device (on Google's premise of preventing piracy and data security) and those exploits are being patched by Google through updates and newer smartphone models or phones from other brands don't have tools/roms yet to safely root the device.

As for Citra MMJ, this includes the Game Save files. I play from PC version but bought a new phone that can run Citra MMJ well. Official Citra Android puts the game folder outside the Android data folder, but Citra MMJ puts it in the worst location possible. And due to that, I can't continue my progress in my phone. Please fix. Thanks!

Takumin0w0 commented 8 months ago

If you want to edit data file on your android phone you need to uninstall update for the (file) app.

Screenshot_2023-11-08-15-01-03-941_com.miui.securitycenter.jpg

In this image I already uninstalled the update for this app

Here's an example:

IMG_20231108_150732.jpg

I'm currently using a phone that is operating on MIUI so your device might need a different method. I also helped my younger brother regarding to this problem his phone's operating system is XOS. It took little bit of time to find the option to uninstall an app's update on his phone.but you still need to use 3rd party file manager like ZArchiver and X-plore.

genkiuo commented 8 months ago

I'm currently using a phone that is operating on MIUI so your device might need a different method. I also helped my younger brother regarding to this problem his phone's operating system is XOS. It took little bit of time to find the option to uninstall an app's update on his phone.but you still need to use 3rd party file manager like ZArchiver and X-plore.

I am also using XOS (It's V13.0). Can you show how you did it with your bro's phone? Thanks!

Also when I copy the save files, the error shows "File Operation is not supported". Any idea why? There's also only "Disable" option for the File app, and no Uninstall option.

Takumin0w0 commented 8 months ago

I'm currently using a phone that is operating on MIUI so your device might need a different method. I also helped my younger brother regarding to this problem his phone's operating system is XOS. It took little bit of time to find the option to uninstall an app's update on his phone.but you still need to use 3rd party file manager like ZArchiver and X-plore.

I am also using XOS (It's V13.0). Can you show how you did it with your bro's phone? Thanks!

Also when I copy the save files, the error shows "File Operation is not supported". Any idea why? There's also only "Disable" option for the File app, and no Uninstall option.

What version is your android. Mine is android 13. If it's android 10 to 12 it seems impossible to edit data file. I've tried everything on those versions nothing seems to work.

genkiuo commented 8 months ago

I'm currently using a phone that is operating on MIUI so your device might need a different method. I also helped my younger brother regarding to this problem his phone's operating system is XOS. It took little bit of time to find the option to uninstall an app's update on his phone.but you still need to use 3rd party file manager like ZArchiver and X-plore.

I am also using XOS (It's V13.0). Can you show how you did it with your bro's phone? Thanks! Also when I copy the save files, the error shows "File Operation is not supported". Any idea why? There's also only "Disable" option for the File app, and no Uninstall option.

What version is your android. Mine is android 13. If it's android 10 to 12 it seems impossible to edit data file. I've tried everything on those versions nothing seems to work.

I think it's the opposite. Android 13 and later is where Android data/obb files can't be accessed at all without special file managers apps like you mentioned, Zarchiver, etc.. and rooting. The title of this issue is what is this all about. Android 13 is my phone OS which XOS based its firmware on.

I got a similar phone, a lower spec phone (which runs Citra poorly), and it's Android 12 and I can pretty much copy the save files without ease.

I feel like I'm just repeating myself. Sorry but you didn't solve my problem at all. Thanks though.

EDIT: I figured it out. This also works for Android 11 up to present. I just downloaded X-plore app. Then, created a new save, closed the game. Then, I opened X-plore, open at the configuration settings and set the Root access to "Superuser+mount writable" And copy to clipboard the save file and pasted it in the user folder and it overwrites the save file. It wouldn't work without using Overwrite fuction.