mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Accessibility service: this service is malfunctioning

Open actuallymentor opened this issue 6 years ago • 44 comments

My accessibility service (android 9) keeps breaking. When I go to the enable screen android notifies me that this service is malfunctioning.

Let me know if I can supply any useful debug data.

actuallymentor avatar Sep 05 '19 08:09 actuallymentor

What type of device?

kspearrin avatar Sep 05 '19 20:09 kspearrin

Oneplus 3, Android 9 (stock).

actuallymentor avatar Sep 06 '19 07:09 actuallymentor

Also appears on my Zenfone 6 with stock Android 9. There's no icon at status bar in the presence of password box. Reabling Bitwarden in accessibility can fix this problem for a while, but the problem reappears after several minutes.

htfy96 avatar Sep 14 '19 21:09 htfy96

Reabling Bitwarden in accessibility can fix this problem for a while, but the problem reappears after several minutes.

Confirming that this is the same for me. I can re-enable but after a time (unpredictable) it breaks again.

actuallymentor avatar Sep 15 '19 10:09 actuallymentor

@actuallymentor if you're using a OnePlus device go into the battery settings, battery optimisation, click on the three dots in the top right, click advanced optimisation then disable deep optimisation. This seems to have fixed this issue for me.

ghost avatar Oct 10 '19 09:10 ghost

@vargbeaumont thanks for the tip!

if you're using a OnePlus

I am.

disable deep optimisation

Did it just now and will post back if it ends up breaking.

actuallymentor avatar Oct 10 '19 19:10 actuallymentor

I have the same problem. I tried to keep deep optimization, but select "don't optimize" next to bitwarden optimization settings (settings -> battery -> battery optimisation). Will report back if I still encounter the problem.

idavydov avatar Oct 25 '19 13:10 idavydov

Did it just now and will post back if it ends up breaking.

Confirming that even unoptimised it keeps crashing.

No other accessibility services have this issue currently.

actuallymentor avatar Oct 28 '19 13:10 actuallymentor

Did somebody find a solution for this problem? I have the same problem

SOLR4189 avatar Nov 05 '19 17:11 SOLR4189

Same issue here as well, OnePlus 3 (android 9) + battery optimization turned off

Web-E avatar Dec 18 '19 15:12 Web-E

Same issue on HUAWEI P smart Z (STK-LX1) with EMUI 9.1 (Android 9).

AtjonTV avatar Feb 22 '20 08:02 AtjonTV

Also can confirm this is happening on my Google Pixel 3 XL on the 11 Beta.

onfire4g05 avatar Jul 31 '20 03:07 onfire4g05

OnePlus 8 running Android 11 checking in, same issue.

MikeBishop avatar Feb 17 '21 16:02 MikeBishop

Pixel 4 xl, android 11, same issue here also.

quamok avatar Apr 04 '21 00:04 quamok

Hi Guys I also starting developing one Accessibility service and just trying to get kind of event and getting service is malfunctioning on oneplus 8T. Did u able to resolve the issue somehow.

Ankurjain30 avatar May 16 '21 10:05 Ankurjain30

Identical problem on Poco F3 running MIUI 12.5 (Android 12)

KaiLCU avatar Jul 21 '21 08:07 KaiLCU

Facing same issue in sending WhatsApp message using accessibility service but it crashes after 5 times working properly. Then I need to manually click 2 times back button to come back to my Original Android App after sending the message.

rohitkhullar88 avatar Aug 04 '21 18:08 rohitkhullar88

Redmi Note 9 Same message while trying to click the icon in quick settings.

maxwowpow avatar Sep 19 '21 22:09 maxwowpow

Same error on Xiaomi Mi 9T Is there any fix soon?

AM-ElZaher avatar Nov 17 '21 15:11 AM-ElZaher

Same issue MiUI12.5.5 on Mi 10T (Android 11)

SudoNova avatar Nov 24 '21 08:11 SudoNova

Same here MIUI 12.5 android 11, Poco X3 NFC

Clear app data, reinstall, reboot did not solves this problem.

IMG_20220118_192711

nri82 avatar Jan 18 '22 16:01 nri82

No go on Poco X3 Pro. Whats the deal yo?

HydroFerret avatar Mar 28 '22 09:03 HydroFerret

The same happens on Huawei P Smart 2018 with EMUI 9.1 (Android 9)

EMREOYUN avatar Jun 29 '22 18:06 EMREOYUN

Okay I found a simple solution.

Just give auto start permission and then problem solved.

Screenshot_20220630_073231

nri82 avatar Jun 30 '22 04:06 nri82

@nri82 What phone and OS version are you running? I don't see that exact interface on my Pixel 3a running Android 12 (Build SP2A.220505.006). I wonder if there's a similar permission that goes by a different name?

blakeNaccarato avatar Jun 30 '22 15:06 blakeNaccarato

@nri82 What phone and OS version are you running? I don't see that exact interface on my Pixel 3a running Android 12 (Build SP2A.220505.006). I wonder if there's a similar permission that goes by a different name?

Poco X3 NFC, android 11, MIUI 12.5. in short you need to give auto start permission but I don't know it's works or not on your situation.

nri82 avatar Jun 30 '22 16:06 nri82

Okay I found a simple solution.

Just give auto start permission and then problem solved.

@nri82 Autostart is not a thing on Huawei

EMREOYUN avatar Jul 01 '22 08:07 EMREOYUN

Okay I found a simple solution. Just give auto start permission and then problem solved.

@nri82 Autostart is not a thing on Huawei

Yes I noticed that my solution is working on Xiaomi MIUI sorry for this situation.

nri82 avatar Jul 01 '22 10:07 nri82

How about using some Automator like "Tasker" to autostart the the app, say at interval of 1 hour. That might work. I no longer face this issue as I moved form OP3 to OP8

Web-E avatar Jul 01 '22 11:07 Web-E

How about using some Automator like "Tasker" to autostart the the app, say at interval of 1 hour. That might work. I no longer face this issue as I moved form OP3 to OP8

@Web-E Huawei also does not like these "Automators" and eventually kill those as well.

EMREOYUN avatar Jul 01 '22 11:07 EMREOYUN