#9621 closed defect (outdated)
1.9.0 android can't add games for non-rooted android systems
Reported by: | dafioram | Owned by: | dafioram |
---|---|---|---|
Priority: | normal | Component: | Port: Android |
Version: | Keywords: | ||
Cc: | Game: |
Description
Clicking the Add Game button causes ScummVM to open in the /storage folder which I don't have root access for so the two folders it shows are /storage/emulated and /storage/self which both are empty if I try to open them. This is picture 1.
One solution is to have the default location to be were scummVM is installed (/storage/emulated/0/Android/data/org.scummvm.sdl/files) which is how a previous version of ScummVM did it, picture 2. In this way I can hit Go up to find where my games are on /storage/emulated/0/.
This was an issue for the android all,arm, and arm-7a builds.
Is there a config workaround that can be done for 1.9.0?
Attachments (2)
Change History (9)
by , 8 years ago
Attachment: | image1.png added |
---|
comment:1 by , 8 years ago
There is a work around in the forum, http://forums.scummvm.org/viewtopic.php?t=14152. It works, but I don't think every user who doesn't have a rooted android should have to go to this process (although it is simple).
I don't think this problem is just isolated to androids on N since my android on Jelly Bean also opens into the /storage folder initially.
comment:2 by , 8 years ago
Just as a note, this work around doesnt seem to work. Or at least not for me. I made a reddit thread about it last night before I found this bug tracker.
The forum post tells me to change a config file. I've changed said config file, but changing it to "browser_lastpath=/sdcard" doesn't work as the 6p (and every phone on 7 I know at the moment) doesn't have an sd card or work like that.
I then went into a file browser app and yep, file commander says the root is "/storage/emulated/0/" So my scummvm.ini file says :
browser_lastpath=/storage/emulated/0/
When I open the scummvm file browser, clicking add game, it still takes me to the "/storage" path, showing only "emulated/" and "self/" Both emulated and self are empty.
Does anyone here have any idea what to put here to get it working? Or what else to do?
comment:3 by , 8 years ago
Apparently the suggestion I had that was previously here did not work for one of the reporters, sorry.
comment:4 by , 8 years ago
Component: | Engine: SCUMM → Ports |
---|
comment:5 by , 8 years ago
Same for me. Since the upgrade to android 7, I have the same issue + the proposed workaround doesn't fix it.
I'm using v1.5.0 as it's the latest available on f-droid.
The logcat contains:
type=1400 audit(0.0:855): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
comment:6 by , 7 years ago
Owner: | set to |
---|---|
Resolution: | → outdated |
Status: | new → closed |
This appears to be fixed in the 1.9.0.1 version. See http://forums.scummvm.org/viewtopic.php?t=14364 and http://forums.scummvm.org/viewtopic.php?t=14152.
comment:7 by , 6 years ago
Component: | Ports → Port: Android |
---|
Folder start location for 1.9.0