VegaBobo / DSU-Sideloader

A simple app made to help users easily install GSIs via DSU's Android feature.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File manager issue

AlgoryThmOriginal opened this issue · comments

Hello! I have an issue. The vendor of my device has removed the default documentsui file manager and installed their own. As a result, when DSU sideloader starts and asks to select a temp space path, when I click on setup it crashes. Obviously it's looking for the default file manager and can't find it. I had this with issue with other apps, but they offer a choice to select an alternative file manager. I have Total Commander installed and I use that with the apps that offer the choice.

Could you please add an option, when I click on the setup button to offer me to choose which file manager I want to use?

If not could you please tell me how to manually set (perhaps in a config file) the default path?

Please help cause I'm stuck here. Thank you!

commented

It sounds like your device's custom file manager is causing issues with the DSU Sideloader. Here are a couple of suggestions to work around this problem:

1. Reinstall the Default DocumentsUI

If possible, you can try to reinstall the default DocumentsUI file manager. This can sometimes be done by installing the APK manually.

  1. Search for the DocumentsUI APK for your device's Android version.
  2. Download the APK file.
  3. Install it on your device.

This might solve the issue with DSU Sideloader looking for the default file manager.

2. Use a Different File Manager

Since you mentioned using Total Commander, you could try to set it as the default file manager temporarily. Unfortunately, not all apps allow you to choose the default file manager. However, you can try the following steps:

  1. Grant Default File Manager Permission:

    • Go to Settings > Apps > Default apps > File manager.
    • Set Total Commander as the default file manager.
  2. Use a File Manager That Allows Setting Paths Manually:

    • Some file managers might allow you to set paths manually or browse for directories.

3. Modify DSU Sideloader Configuration (If Applicable)

If DSU Sideloader has a configuration file, you might be able to set the temp space path manually. Here’s how you can check:

  1. Locate DSU Sideloader's Configuration File:

    • Use a file manager to browse the app's directory, typically located in /data/data/com.package.name/ or /sdcard/Android/data/com.package.name/.
    • Look for a configuration file, typically named something like config.json or settings.xml.
  2. Edit the Configuration File:

    • Open the file with a text editor.
    • Look for a setting related to the temp space path and modify it to the desired path.

4. Alternative Method to Install GSI

As a last resort, you can use adb and fastboot to manually install the GSI:

  1. Reboot to Fastboot Mode:

    adb reboot fastboot
  2. Flash the GSI Image:

    fastboot flash system <path-to-gsi-file>
  3. Reboot the Device:

    fastboot reboot

Contact DSU Sideloader Developer

If none of the above solutions work, consider reaching out to the DSU Sideloader developer and requesting the feature to choose a different file manager. Many developers are open to feedback and might incorporate your suggestion in future updates.

If you have any questions or need further assistance, please let me know!

Thank you for the answer! I've already tried 1, 2, 4, no luck.

  1. I tried different DocumentsUI apks for Android 10 (which is the one I have), they all crash.
  2. Can't set different default file manager in Android as far as I know, this can be done only programmatically.
  3. Fastboot on my device is disabled, although the bootloader is unlocked.

I'll try suggestion number 3 and get back to you.
How can I contact DSU developer? I didn't find any e-mail address or other contact info.

Thanks again for the suggestions.