@devvv4ever , yes, I had to infer the calid (which is a long hex number) from the web UI.
But it didn’t work.
Davx5 don't aquire Read Task permission => error on task sync
-
I’ve the same issue.
Redmi note 7 (lavender) fresh install from yesterday of xiaomi.eu latest miui11 rom (20.1.16).
On the previous version of the rom I had no issue. -
-
Same problem here, trying to fix it, since several days and nothing worked, hope Xiaomi is going to fix this bug quickly.
Ive written a support ticket to Xiaomi via the internal option for feedback in the settings.
Maybe you also should do that, that it gets a higher priority. -
-
@jmoegele Done !
-
Same problem here, Mi9 running xiaomi.eu ROM. Also send bug report to Xiaomi.
-
https://xiaomi.eu/community/threads/issue-with-permission-read_tasks.54872/
I reported the issue in the board of Xiaomi.eu
-
i don’t really know if it’s a miui problem or an android 10 problem…
anyway, if you have root access to the phone, you can do the following via adb or terminal and it starts working as expected:
pm grant at.bitfire.davdroid org.dmfs.permission.READ_TASKS
pm grant at.bitfire.davdroid org.dmfs.permission.WRITE_TASKSi say i’m not sure about “miui’s fault” simply because on other xiaomi phones i’ve got, with android9 or less, everything works smootly (also with latest miui 11 beta)… this makes me assume that’s somewhat related to Q or the way davx/opentasks register their permissions…
i don’t have another phone with Q w/out miui, so i can’t test if elsewhere is working -
@paultt
That worked for davx and opentasks.
Do you know the command for acalendar?
I still have an issue seeing my tasks there
-
Hi,
same problem with
Oneplus 8 pro
Oxygen OS 10.5.8.IN11BA
logfile says:
requires org.dmfs.permission.READ_TASKS, or grantUriPermissionM.
-
Does it maybe work with DAVx5 3.1? The permissions have been reworked there. There’s also app settings / Permissions now.
-
@rfc2822 app here is 2.6.3.1, is there a link to 3.1?
Edit: found it from f-droid.
3.1. working fine, issue solved!
Good Job! -
i had the same problem with a samsung S4 (GT i9515) running lineage OS (lineage-17.1-20200926-nightly-jfvelte-signed) and the latest davx5 from F-Droid (v. 3.3.2-ose).
the slider to set the
Task
rights was set togranted
. The debug info showed theREAD_TASK
asdenied
.the problem appeared after a fresh install. still i tried to uninstall both OpenTasks and davx5 and change the install order, since i remember that this used to be a solution, did not work f or me though.
i had to use adb as described by @paultt
here is some additional information for others who want to use adb and don’t know how to use it (like me):
first install adb for your system, open a command prompt and then type
user@pcname:~$ adb devices
on your phone, allow your computer to access the phone via adb, then open an adb shell and send the command to set the permissions, like so
user@pcname:~$ adb -d shell phonename:/ $ pm grant at.bitfire.davdroid org.dmfs.permission.READ_TASKS phonename:/ $ pm grant at.bitfire.davdroid org.dmfs.permission.WRITE_TASKS phonename:/ $ exit
i hope this helps.
-
Was it not possible to give the tasks permission in Android settings / Apps / DAVx5? (Where the button below the slider directs to)
-
@rfc2822
yes, it was, but still the debug info of davx5 showed that READ_TASKS wasdenied
.i am just now setting up a similar samsung s4 phone (GT i9505) and will report back soon about my findings.
-
@ribi85 Thanks!
-
i get the same error for the GT i9505. here is an excerpt of the debug-info.txt:
Permissions: - READ_CONTACTS: granted - WRITE_CONTACTS: granted - READ_CALENDAR: granted - WRITE_CALENDAR: granted - READ_TASKS: denied - WRITE_TASKS: granted - READ_TASKS: denied - WRITE_TASKS: denied - ACCESS_COARSE_LOCATION: denied
a bit weird is that READ_TASKS and WRITE_TASKS occurs twice. but i saw the same in the GT-i9515 phone.
after setting the permission via adb only the first occurrance of READ_TASK is additionally set to
granted
:Permissions: - READ_CONTACTS: granted - WRITE_CONTACTS: granted - READ_CALENDAR: granted - WRITE_CALENDAR: granted - READ_TASKS: granted - WRITE_TASKS: granted - READ_TASKS: denied - WRITE_TASKS: denied - ACCESS_COARSE_LOCATION: denied
-
@ribi85 said in Davx5 don't aquire Read Task permission => error on task sync:
a bit weird is that READ_TASKS and WRITE_TASKS occurs twice. but i saw the same in the GT-i9515 phone.
One time for OpenTasks, one time for tasks.org. I have changed it so that in future versions, you’ll see the full permission ID when it doesn’t start with
android.permission
. -
@ribi85 said in Davx5 don't aquire Read Task permission => error on task sync:
- READ_TASKS: granted
- WRITE_TASKS: granted
- READ_TASKS: denied
- WRITE_TASKS: denied
Ah… as said above, those are the OpenTasks and tasks.org permissions. In the Android permissions activity, those are both shown as Tasks permission. Is it possible that you have chosen the wrong one (as they cannot be distinguished)?
-
Same here on an Huawei P20pro: