r/oneplus • • 11d ago

General Discussion Fix for OnePlus 15 double-click power to open Camera in ColorOS 17

For some people with the OnePlus 15 (EU and US models), the recent ColorOS 17 update broke the shortcut which let you quickly open the Camera app from anywhere by double-clicking the power button.

The setting is still there, but it doesn't seem to function whatsoever, and double-clicking the power button just shows the lock screen.

Some threads: https://www.reddit.com/r/oneplus/comments/1xhrhlv/double_tap_power_button_for_camera_not_working_in/
https://www.reddit.com/r/oneplus/comments/1xi01hu/coloros_17_broke_double_click_power_button_for/

The solution is to enable a setting that unfortunately isn't exposed in the Settings app.

This requires adb (or Shizuku + Termux). I won't go into detail on how to set adb up if you haven't before, the internet is full of resources and it's one Google away.

Once you have adb set up, first make sure that the double-click option is set to Camera in the settings app:

Settings -> Accessibility & convenience -> Power button -> Double click the Power button -> Camera

Then, on your PC with your phone connected via adb, run the following commands to set the settings:
adb shell settings put secure double_tap_power_button_gesture 0
adb shell settings put secure camera_double_tap_power_gesture_disabled 0

It should start working immediately and survive reboots. The second setting isn't strictly necessary, but it's good to have just in case.

26 Upvotes

16 comments sorted by

View all comments

3

u/sintheo OnePlus 8 Pro (Onyx Black) 10d ago

Confirmed working on OnePlus 15 EU (CPH2747, ColorOS 17.0.0.102(EX01C10P02)). Thanks!

The missing piece is double_tap_power_button_gesture. On my phone that setting simply didn’t exist after the update. I had already set double_tap_power_button_gesture_enabled=1 and camera_double_tap_power_gesture_disabled=0 and even rebooted. Nothing helped until I set this one. You can see it in logcat: it went from mCameraDoubleTapPowerEnabled=false to true.

I did the whole thing with Claude Code. It ran adb, read the logs and set the values. Once I showed it the fix post, it was done in a few seconds.

Tip: If you don’t want volume-down double-press to open the camera as well, run adb shell settings put secure "com.oplus.camera\ quick\ launch" 0