Skip to content
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

Disabling back gesture broken on OxygenOS 12 #25

Open
ztNFny opened this issue Oct 30, 2022 · 34 comments
Open

Disabling back gesture broken on OxygenOS 12 #25

ztNFny opened this issue Oct 30, 2022 · 34 comments

Comments

@ztNFny
Copy link

ztNFny commented Oct 30, 2022

On Oneplus 7 and 9 with Oxygen OS 12 disabling the back gesture doesn't work, neither left-only nor both.

Please let me know if you need any logs or apks.

@ztNFny ztNFny changed the title Disabling beach gesture broken on OxygenOS 12 Disabling back gesture broken on OxygenOS 12 Nov 1, 2022
@DanGLES3
Copy link
Collaborator

On Oneplus 7 and 9 with Oxygen OS 12 disabling the back gesture doesn't work, neither left-only nor both.

Please let me know if youyou need any logs or apks.

On Oneplus 7 and 9 with Oxygen OS 12 disabling the back gesture doesn't work, neither left-only nor both.

Please let me know if you need any logs or apks.

I'll see what I can do, tho I suspect this might be because OOS 12 uses a custom back gesture implementation that isn't tied to any settings

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Oct 9, 2023

On Oneplus 7 and 9 with Oxygen OS 12 disabling the back gesture doesn't work, neither left-only nor both.

Please let me know if you need any logs or apks.

Could you try again on the latest version?

@M7MDE7EGAZY
Copy link

doesn't work on realme gt 2 pro completely

@M7MDE7EGAZY
Copy link

android 14

@DanGLES3
Copy link
Collaborator

doesn't work on realme gt 2 pro completely

Can guess why, ColorOS likely doesn't use the stock Android value for back gesture sensitivity, I'll have to look into the code of ColorOS to see if I can find anything

@M7MDE7EGAZY
Copy link

if you need anything i can send it

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Dec 2, 2023

if you need anything i can send it

Systemui and framework apks would be nice

@M7MDE7EGAZY
Copy link

https://we.tl/t-g7EtJSEStO try this from latest a14 beta coloros

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Dec 7, 2023

https://we.tl/t-g7EtJSEStO try this from latest a14 beta coloros

Thank you, I'll be sure to take a look today, apologies for the delay

@M7MDE7EGAZY
Copy link

Thanks a lot

@M7MDE7EGAZY
Copy link

are those the correct ones ?

@DanGLES3
Copy link
Collaborator

are those the correct ones ?

Yes, tho it's hard to find what controls the back gesture sensitivity of ColorOS/Oxygen OS in any way that I could disable with Magisk

@M7MDE7EGAZY
Copy link

i use normal sensitivity but full screen is needed a lot the space under keyboard is irritating

@M7MDE7EGAZY
Copy link

still no hope ?

@DanGLES3
Copy link
Collaborator

still no hope ?

Still haven't found any way to disable the back gestures of Color OS, I'm still looking into it but mostly seem like they hardcoded the way the back gesture works

@M7MDE7EGAZY
Copy link

what about full screen and removing that shitty space under keyboard ?

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Dec 19, 2023

what about full screen and removing that shitty space under keyboard ?

Is that also broken on Color OS? If so I'll urgently take a look

@M7MDE7EGAZY
Copy link

yes just a sec i'll send ss

@M7MDE7EGAZY
Copy link

Screenshot_2023-12-20-01-46-35-66_6012fa4d4ddec268fc5c7112cbb265e7

@M7MDE7EGAZY
Copy link

image

@DanGLES3
Copy link
Collaborator

Screenshot_2023-12-20-01-46-35-66_6012fa4d4ddec268fc5c7112cbb265e7

This space seems to come from Gboard's own spacing feature, have you tried using something like Rboard to reduce the bottom padding of the keyboard?

@M7MDE7EGAZY
Copy link

i used this module in cos 13.1 it was removed after choosing full screen but now like that

@M7MDE7EGAZY
Copy link

M7MDE7EGAZY commented Dec 19, 2023

I'll try rboard

@M7MDE7EGAZY
Copy link

nothing worked
even changing keyboard in rom completely

@DanGLES3
Copy link
Collaborator

nothing worked even changing keyboard in rom completely

Just to be sure, you picked fullscreen and not immersive right? and no Gcam fix as well?

@M7MDE7EGAZY
Copy link

yes exactly

@M7MDE7EGAZY
Copy link

i never use gcam nor disable back gesture

@DanGLES3
Copy link
Collaborator

yes exactly

Try the following command on a terminal app and see if it does anything, found it looking at the decompiled systemui code

su -c settings put secure hide_navigationbar_enable 1

@DanGLES3
Copy link
Collaborator

i never use gcam nor disable back gesture

Also, does Color OS have its own immersive/hide gesture bar option? that might conflict with my module

@M7MDE7EGAZY
Copy link

Screenshot_2023-12-20-11-39-09-82_fc704e6b13c4fb26bf5e411f75da84f2
Screenshot_2023-12-20-11-39-02-04_fc704e6b13c4fb26bf5e411f75da84f2
Screenshot_2023-12-20-11-38-54-54_fc704e6b13c4fb26bf5e411f75da84f2

@M7MDE7EGAZY
Copy link

now after small update the command worked
su -c settings put secure hide_navigationbar_enable 1

@M7MDE7EGAZY
Copy link

but now back gesture broken & in navigation it changed to buttons if i enabled gesture the space returns

@M7MDE7EGAZY
Copy link

6e3d7a1b-9cda-465d-bc21-8c791cd8cbbf.mp4

@M7MDE7EGAZY
Copy link

Immersion can be done, but I don't know why it doesn't work if you remove the bottom. The solution of removing the bottom works on Android14QPR, but it doesn't work on Color os14. My guess is that color replaces the bottom with dimen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants