VegaBobo / DSU-Sideloader

A simple app made to help users easily install GSIs via DSU's Android feature.
Apache License 2.0
1.47k stars 113 forks source link

[See this a Suggestion] Improvements to not make the installation fail on devices with very less storage #191

Open Skorpion96 opened 3 months ago

Skorpion96 commented 3 months ago

I may have a suggestion: for devices with less storage and no external sd (i have 32GB but 17 only free) could be added an option during installation before it ends (actually files should be deleted after system is processed, this is what i do) to delete xz,zip or img files to not make it fail, also after it ends at this point the workspace folder could be deleted as well. For now i'm mounting the external sd on a folder on the internal storage as i'm using a port with it bugged or deleting the files manually as fast as i can but such feature would be really helpful.

To mount the external sd this is what i do, from MiXplorer or any file manager, not from terminals or it will be valid only for that specific terminal session: /data/local/tmp/dsu.sh

The script needs to be chmod 777 && chown root:root

the content is the following:

!bin/sh

su -c --bind /dev/block/mmcblk1p1 /sdcard/Download

but honestly having DSU deleting temp files in time wouldn't be bad, or making it see the / (?) you'll see what to do. I hope to not annoy you with this

Skorpion96 commented 3 months ago

@aadi450 Don't know why you made an AI response... Anyway.... The dev can see issues so if he wants can add features to dsu if he likes, about the script ai is just doing assumptions, it's code will probably be incorrect. About the feature req, it's what I did. I also don't get this ai response, I mean I can use ai perfectly....

aadi450 commented 3 months ago

I understand, response has been deleted.