while other applications on my lineageos just request proper permissions for kdeconnect you have to manually mangle around or you can only upload to the internal storage and them moce with the device file-explorer wich mackes as example rsync your whole music to the external 400 GB sd-card impossible steps to enable direct write access for "kdeconnect" on the external sd-card: * adb root shell * adb shell * cp /data/system/packages.xml /scdard/packages.xml * download packages.xml * <package name="org.kde.kdeconnect_tp"..... <perms> .... <item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" /> <item name="android.permission.WRITE_EXTERNAL_STORAGE" granted="true" flags="0" /> </perms> * copy modified "packages.xml" back * adb shell * cat /sdcard/packages.xml > /data/system/packages.xml * reboot device
Officially WRITE_MEDIA_STORGAE can only be granted to system apps, i.e. not us. LineageOS has decided to patch this out, this is why it works for you. We will check if we can include it without breaking things for other users
yes, but there are other apps like "MyLocalAccount" or "Turbo FTP client" which after get directed to write to the sd-card triggerd the LineageOS dialog and have no problem without touch "/data/system/packages.xml" by hand https://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE https://stackoverflow.com/questions/43385895/proper-way-of-requesting-write-external-storage-permission
I'm also running into this issue on my Nokia 6.1 (2018), but sadly there is not a safe root option for the device yet to work around this. I am fairly sure non-system applications are able to write to external storage. The "FX File Manager" for Android is able to write to external storage (after asking permission): https://play.google.com/store/apps/details?id=nextapp.fx I don't believe FX is installed as a system application. Sadly it's not an open source example, but I think it may show that it is *possible*