New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android 11 insufficient permissions #82
Comments
You are probably encountering the issue described in https://issuetracker.google.com/issues/160395361. The current solution is to install the server interface as a separate app (e.g. https://github.com/Kaljurand/K6nele-service) and set Kõnele to use that as the recognition provider. This setup is demonstrated in the video https://www.youtube.com/watch?v=VLjV8JulEow (in Estonian). It's best to use Kõnele v1.7.50 and Kõnele service v0.1.00, available on the Releases pages, although slightly earlier versions should also work. Kõnele service is currently not available on F-Droid, but as it's more-or-less a subset of Kõnele it could be submitted there as well. |
thanks for the quick reply. I can confirm that installing Release versions of the K6nele-service and K6nele resolved the permissions issues with Android 11. Specifically GrapheneOS based on Android 11. Regarding submitting K6nele-service to fdroid: It isnt a problem installing the service from the release page however I use fdroid to update my FOSS apps. Probably wont update K6nele service again till it quits working :-) I imagine as android 11 becomes mainstream this issue will become more prevalent, although I admit I didnt read the issue on google because it required a google account login. thanks again for your time and effort on this app and support. I will let you decide whether to close this issue or not, |
Glad that you managed to resolve the issue. Here is a copy of the above-mentioned bug report (https://issuetracker.google.com/issues/160395361), titled 2020-07-03. Me:
2020-07-10. Google:
2020-07-31. Me:
|
Hi, I just had the same issue when trying out the app (didn't try the workaround though). Could you mention the limitation and add a link to this issue/workaround in the F-Droid description as well when starting the app on Android 11? Adding the service app to F-Droid as well would then make sense of course. Thanks for bringing Open source / service-independent speech recognition to Android! |
Yes, there are 3 TODO-items here:
I'll look into the first two items in the coming weeks. The third item is more work. |
Probably F-Droid doesn't support the Maybe you also have to remove the description from the metadata repository so that the one from your metadata folder is used.
Maybe instead of a wizard, for the beginning a dialog with the link in case a dependency is missing (on Android 11) is all that is needed :). |
Thanks @felixwiemuth ! Regarding the description I've made an attempt to improve the situation: |
This solves the long-standing permission issue on Android 11 (#82). Solution from https://stackoverflow.com/questions/69186724/recognitionservice-call-for-recognition-service-without-record-audio-permission
Hello. my phone was just updated to android 12 and the permissions errors have returned with konele . Please advise if I should open a new issue. Thanks. OS: grapheneos with android 12 (no google play services ) I did notice there is a konele version 1.8 but it conflicted with 1.7.56. I uninstalled 1.7.56 and installed 1.8 and still had 'insufficient permissions ' Thanks so much. I enjoy running my own instance of kaldi-gstreamer-server for my text to speech needs. |
Hi @jim-perkins, the hope has been that 563b258 fixes the permission issue, and you don't need anymore a separate app (Kõnele-service) to provide a service. I've verified the fix on Android v11. It's currently been released only on the Google Play beta channel and now also as https://github.com/Kaljurand/K6nele/releases/tag/v1.8.10. Can you try this? You might have to manually (i.e. via the system UI) give the microphone permissions, because sometimes the permission dialog does not pop up (and the Kõnele mic button stays grey). I haven't tested any of this on Android v12 yet, so it would be very helpful if you let me know how it goes. I think we can continue this thread here, without opening a new issue, unless it's clear that it's v12-specific. The APK-specific comments can be also added to #93. |
Thanks so much for your reply and effort. Yes this latest version , v 1.8 , works on android 12. I uninstalled the k6nele service as it was no longer needed. I will Close this issue again with this comment. Thanks again |
Android 13 has this bug |
Hi
I am using this app v1.7.40 downloaded from fdroid with my own personal kaldi-gstreamer-server. It worked fine on android 10. with android 11 the app does not ask for any permissions. Even after manually granting permissions I get this error. Insufficient permissions.
K6nele/app/src/main/res/values/strings.xml
Line 224 in f4783aa
the device is a pixel 3xl. I tested this with the latest official google firmware and also with grapheneOS ( which does not utilize google play services )
thanks so much for this app it gives me the ability to use Speech to text without using google servers.
Let me know how I can help
The text was updated successfully, but these errors were encountered: