Skip to content

Volume Down turns screen off after unlock when Power double press is mapped with Shizuku Expert Mode #2183

Description

@gunther82

Have you checked if an issue already exists for this bug?

  • Nobody else has reported this bug before

Have you tried restarting your device?

  • I have tried restarting my device and that did not help

What happened that you did not expect?

I created a trigger with double press of Power button to launch Google Wallet app with Do Not Remap option enabled. The app opens correctly but there is a side effect.

Problem:
After every unlock the first single press of Volume Down turns the screen off as if it were the Power button.
After that, Volume Down works normally until the next unlock.

What I tested:

  • Changed trigger from scan code 116 to key code 26: no change
  • Changed double press duration from 300 ms to 200 ms: no change
  • Changed the app assigned to double press Power: no change
  • Key Mapper log shows Volume Down is correctly detected as KEY_VOLUMEDOWN (keyCode=25, scanCode=114)
  • Power is correctly detected as KEY_POWER

Additional note:
If the option “Do Not Remap” is not enabled, the first press of the Power button after the wrong lock by Volume Down button is "lost", nothing happens.
And also the system shortcuts Power + Volume Down for screenshot and Power + Volume Up for boot menu are broken.

What did you expect to happen?

Expected behavior:

  • Volume Down should never act like Power

Possible cause:
This looks like an issue with key interception or event pass-through in Shizuku Expert Mode on OriginOS 6 when the Power button is used as a trigger.

What would the developer need to do to reproduce the bug?

Setup:

  • Shizuku enabled
  • Expert Mode enabled
  • Double press Power mapped to launch Google Wallet with Do Not Remap option enabled
  • Same issue also happens if I assign a different app, so it is not Wallet-specific

App version

4.1.0 251

Android version

16

Device model and manufacturer

Vivo x300 global with originOS 6

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions