rdoeffinger/Dictionary

Problem with external Storage on LineageOS 18.1 / Android 11

Closed this issue · 8 comments

When I select the folder on the external Storage (microsdxc path: "/storage/4163-1714/Android/data/de.reimardoeffinger.quickdic/files") QuickDic doesn't download the selected dictionaries at all.
I tried on 2 devices with LineageOS 18.1. One is rooted the other one not. So I used the the root file manager "com.github.axet.filemanager" (which I installed via F-Droid) to copy the dictionaries (I first downloaded to the internal storage by selecting the path for the dictionaries to standard folder agian) from "/storage/emulated/0/Android/data/de.reimardoeffinger.quickdic/files" to "/storage/4163-1714/Android/data/de.reimardoeffinger.quickdic/files". I had to use this certain filmemanager since the file manager that comes with LineageOS doesn't shows any files or folders inside "/storage/4163-1714/Android/data". Now I selected again the SD ("/storage/4163-1714/Android/data/de.reimardoeffinger.quickdic/files") as storage folder for the dictionaries.
QuickDic unfortunately now shows that the installed dictionaries are broken.
On the other (not rooted) device I wasn't able to acess the folder on the external storage with a file manager. Since the official file manager (as every other I installed too) shows nothing at all inside "storage/'SD-Card-name'/Android/data" since it lacks root access.

Devices tested:

  • Lenovo Yoga Tab 3 Plus LTE YT-X703L (LineageOS 18.1 [rooted] {LineageOS-Version: 18.1-20210316-UNOFFICIAL-YTX703L} [unofficial Build])

  • LG V20 H990DS (LineageOS 18.1 [not rooted] {LineageOS-Version: 18.1-20210711-NIGHTLY-h990} [latest official Build])

The error message QuickDic shows after copying the dictionaries to the sd card and selecting the external storage as folder to store the dictionaries in Screenshot_20210714-235335_QuickDic
A screenshot of "/storage/4163-1714/Android/data/" from within the file manager of LineageOS on the rooted device Screenshot_20210715-001412_Dateien
A screenshot of "/storage/4163-1714/Android/data/de.reimardoeffinger.quickdic/files" from within "com.github.axet.filemanager" on the rooted device (with root permission given to the file manager)
Screenshot_20210715-004859_Datei-Manager

I have the same or a similar problem: Fairphone 3, LineageOS-microG 18.1. As Google restricted the access to the external sdcard I can no longer download die dictionaries into storage/xxxx-xxxx/Android/data/de.reimardoeffinger.quickdic. Fortunately I had a backup of those files and with the help of Total Commander I could copy them and Quickdic recognised them (the internal file explorer and MiXplorer are not able to open storage/xxxx-xxxx/Android/data or .....Android/obb only ...Android/media could be used, but this works not with Quickdic). But as there is no write allowance in this folder, I can nothing change. The map-app OsMand fortunately acceptet storage/xxxx-xxxx/Android/media/... But with Quickdic I had no chance

I am not sure you are all seeing the same issue really, but in commit abd7512 I implemented a modern directory selector that also requests the permissions needed.
However I expect it will still have some rough edges and bugs.
Anyone willing to test it? And if so, what's the best way to get it to you? Play Store, or direct download here, or something else?

Here is a zip file with the apk that has the changes.
Dictionary-issue144.zip