yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
I found a pretty easy way to use old OnePlus Gestures on OnePlus 5T running OxygenOS 10

No root required

1. Download this Settings Editor app

2. Open it

3. Choose "System Table"

4. Search for "op_gesture_button_side_enabled"

5. Set its value to "0"

Done! I tested it on a OnePlus 5 and it worked fine. To revert you'll have to set "1" to that property
[OnePlus 5T  Guides, News, & Discussion] cieffe54:
where download?

Does this app need to be edited? Can you be clearer?

The apk is SETEDIT. and works! Thanks!!!
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
I copied/pasted it from my OnePlus forum's thread so I forgot to insert link. Now it's fixed and thank you
[OnePlus 5T  Guides, News, & Discussion] cieffe54:
Penso diventerai un eroe!!!

I think you will become a hero!!:):):):)
[OnePlus 5T  Guides, News, & Discussion] Tierri:
Works great! Thanks man, you just saved me from one of the things I didn't liked in Android!
[OnePlus 5T  Guides, News, & Discussion] specialex:
does it survive after reboot?
[OnePlus 5T  Guides, News, & Discussion] cieffe54:
yes. It's stable
[OnePlus 5T  Guides, News, & Discussion] KDPalekar:
Wow.. Works on OnePlus 5T.

Thanks. cheers.
[OnePlus 5T  Guides, News, & Discussion] mahg:
Yeap. It works flawlesly on 5T

Thks
[OnePlus 5T  Guides, News, & Discussion] mnurolcay:
This should be enabled by default instead of Android's weird gestures .
[OnePlus 5T  Guides, News, & Discussion] r3dd0g:
Funziona perfettamente. Mille grazie :) :)
[OnePlus 5T  Guides, News, & Discussion] bussi1805:
The fact that this can be changed so easily makes me wonder why OnePlus just didn't add a switch to make this an option.

Anyway, thank you very much for saving my Android experience. I loved the classic op gesture because it works perfect even with a bulky protective case while on the other hand the new Google gesture is impossible because I can't touch the screen at the required position with my thumb.
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
Glad to see that you appreciate my discover :)
[OnePlus 5T  Guides, News, & Discussion] mnurolcay:
Did anyone realised that this setting is disabling rotation lock feature, too? The small rotation symbol appearing at the corner when you turn your phone is now gone. Hope someone find another hidden setting for this, too :)
[OnePlus 5T  Guides, News, & Discussion] DogeAlpha02:
Wow, this is such bs.

Makes me stay on the new gestures. This was one of the things that really made me want oos 10. They could have added that icon in android pie, but they were lazy, samsung had their own gestures in android 9 and they added the rotation button to theirs.
[OnePlus 5T  Guides, News, & Discussion] ibchh:
Working. THX.

Anyone else got problems with the activation of goggle assistant while swiping from bottom left or right?
[OnePlus 5T  Guides, News, & Discussion] mnurolcay:
This works for now, till OnePlus fix it. https://play.google.com/store/apps/details?id=jp.snowlife01.android.rotationlockpro
[OnePlus 5T  Guides, News, & Discussion] DogeAlpha02:
You don't need to use this app if you use the stock gestures? I mean, with stock gestures and no additional tweaking the rotate icon shows up while using the regular gesture navigation right?
[OnePlus 5T  Guides, News, & Discussion] mnurolcay:
Sure, the problem begins when you try to hide navbar and pill. Otherwise it works.
[OnePlus 5T  Guides, News, & Discussion] nguyenlucky:
This happen on AOSP rom too, when you try to hide the navigation bar indicator. Tested on crDroid latest version.

I guess this is an Android thing.
[OnePlus 5T  Guides, News, & Discussion] sshivampp:
Also change op_navigation_bar_type to 2 to match color of bottom bar with keybord color when keybord is open.

OR use below command to completely remove black bottom bar :

adb shell wm overscan 0,0,0,-75

Restore: adb shell wm overscan 0,0,0,0
[OnePlus 5T  Guides, News, & Discussion] rahatbek:
work on my 5t good. thanks a lot. can we change issues for volte on this program?
[OnePlus 5T  Guides, News, & Discussion] mauronofrio:
This works also on OnePlus 8 Pro (more or less)
[OnePlus 5T  Guides, News, & Discussion] rahatbek:
But if you change gestures setting it will be reset. Now both of (back, home, recent) and (navigation gestures) are unticked.
[OnePlus 5T  Guides, News, & Discussion] saverius93:
Innanzitutto Grazie.

La procedura, non so per quale motivo, a me non ha funzionato.

Ho attivato tutto con il comando:

adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural

Mi mandi uno screenshot esteso dell'app SetEdit?

Ripristinando tutto in default ed anche disabilitando il comando shell, quindi ritornando con la classica NAVBAR a 3 pulsanti su schermo, i pulsanti scompaiono in basso ad ogni schermata, come se stessi vedendo una foto in full screen.

Ho paura di aver modificato qualche altro valore nell'app.

Non so se sono stato chiaro.

Grazie in anticipo

EDIT. Dimenticavo: ho un OnePlus 5

Automated translation:

First of all, thank you.

The procedure, I don't know why, didn't work for me.

I activated everything with the command:

adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural

Can you send me an extended screenshot of the SetEdit app?

By restoring everything to default and also disabling the shell command, then returning with the classic 3-button NAVBAR on the screen, the buttons disappear at the bottom of each screen, as if you were seeing a photo in full screen.

I'm afraid I have changed some other value in the app.

I do not know if I was clear.

Thanks in advance

EDIT. I forgot: I have a OnePlus 5

[Moderator Note]
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
I'm italian, but I think that if we all try to speak English we may help other people with the same problem. Anyways, I don't know how to solve your problem. On my OnePlus 5 I disabled full screen gestures and 3 buttons work fine
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
I thought about expanding this guide to newer phones, but some users report critical bugs with back gesture (that is the most important thing lol)
[OnePlus 5T  Guides, News, & Discussion] nishchay25:
Cannot disable the gesture on my oneplus 5 was unable to find the variable after setting it to 0 so i added one with the same name and set the valur to 1 but still i can't disable the gestures
[OnePlus 5T  Guides, News, & Discussion] Aswin08:
Yeah works on OP7T, but Conflicts with Home gesture, recents gesture and Assist gesture!
[OnePlus 5T  Guides, News, & Discussion] Pierre02:
Inject this with ADB adb shell cmd overlay disable com.android.internal.systemui.navbar.gestural
[OnePlus 5T  Guides, News, & Discussion] dxrsam:
It's not working on my OnePlus 5T. Changing the value to 0 does nothing at all. I'm confused.

edit: typo
[OnePlus 5T  Guides, News, & Discussion] saverius93:
It was the same for me on OnePlus 5.

I set it with and adb shell command but now I cant return to stock NavBar.

If I set Stock NavBar the virtual keys disappear down and I need to swipe up to show its for 2-3 second before disappear again.

Edit: Now I use the OnePlus gestures, but they does't survive after reboot. I need every time to disable and renable on screen keys in settings.
[OnePlus 5T  Guides, News, & Discussion] tokariew:
Do you get huge empty space below keyboard? On new gesture it's there to hide keyboard and have this pill?

Any idea how to get rid of it?

Edit:

not sure if the cleanest way, but i used tasker to set wm overscan… solution based on this post https://www.reddit.com/r/Android/comments/dlad4l/psa_you_can_adjust_and_disable_the_keyboard_gap/
[OnePlus 5T  Guides, News, & Discussion] dipeshmaharjan98:
isn't there any way make it permanent

it doesn't survive boot after all
[OnePlus 5T  Guides, News, & Discussion] cieffe54:
It's permanent. The patch survived the transition from B2 to B3 to stable with dirty flash
[OnePlus 5T  Guides, News, & Discussion] rahatbek:
it's permanent until you change gesture settings. when you change setting you must do all process again.
[OnePlus 5T  Guides, News, & Discussion] cieffe54:
we fought hard to have the old gestures why should I change?:)
[OnePlus 5T  Guides, News, & Discussion] rahatbek:
maybe someone else will do it on your phone. ( just for a knowledge) :)
[OnePlus 5T  Guides, News, & Discussion] theleo2k:
You are my hero!! thanks!!!
[OnePlus 5T  Guides, News, & Discussion] Pho3nX:
Please someone using OP5 (not 5T) could attach a Gesture Menu screenshot.

I can apply by SetEdit or ADB i have any gestures or menu for select 2/3 buttons

EDIT : Found, you must select "Boutons > Navigation bar" and Gesture working perfectly, even after a reboot, but gesture bar disappear after each reboot on OP5, only OP5+ ;)
[OnePlus 5T  Guides, News, & Discussion] waldokhalid:
Could you please explain exactly what you did?
[OnePlus 5T  Guides, News, & Discussion] nadiration:
And to hide that annoying space below the keyboard use 'Fullscreen gestures Q' magisk module
[OnePlus 5T  Guides, News, & Discussion] Pho3nX:
Can you explain exactly what you want understand ?
[OnePlus 5T  Guides, News, & Discussion] akri1337:
"new/old gestures" are working for my op8p BUT.. is there a way to disable google assistant to pop up everytime i swipe left corner?

i have it disabled but it always keeps poping up to activate it again

would be awesome!!!

thanks
[OnePlus 5T  Guides, News, & Discussion] Pho3nX:
[MENTION=10585347]waldokhalid[/MENTION] & others users confused

For OP5 :

1/ SetEdit : System Table > "op_gesture_button_side_enabled" put values 1 to 0 (zero number, not O the letter)

2/ Settings > Button & Gestures

3/ Active "On-Screen navigation Bar (you can see the pill bar appear on bottom)

4/ In Google Keyboard you can have a bar pill (big and not useful), install on Magisk Store "Fullscreen Gestures (Q)"

5/ Reboot System

6/ In Google Keyboard, pill bar has disappear

7/ Use OnePlus gestures now :

Back: Swipe up from the bottom left/right side

Home: Swipe up from the bottom (center)

Recent apps: Swipe up and hold from the bottom (center)

if Gestures don't work by SetEdit (i had the problem), you can use ABD Command

1/ Active Developer tools menu

2/ In Developper tools active "Debug USB"

3/ Run CMD in administrator on your computer, and in your folder contain adb, enter this command:

adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural

4/On your phone screen a message will appair asking permissions/granted acces ADB, accept

5/ If command is validate, you will back on your root adb folder name

6/ Go on Settings > Button & Gestures

7/ Active "On-Screen navigation Bar (you can see the pill bar appear on bottom)

8/ Use OnePlus gestures now :

Back: Swipe up from the bottom left/right side

Home: Swipe up from the bottom (center)

Recent apps: Swipe up and hold from the bottom (center)
[OnePlus 5T  Guides, News, & Discussion] waldokhalid:
Thank you very much.
[OnePlus 5T  Guides, News, & Discussion] CarlosBattousai:
I had this happen to me after google's Keyboard update, the fix is really simple.

Go into setting buttons & gestures tap on "Navigation gestures" and turn it back on. You'll be back to the annoying swipe from the side to go back interface. Just go back back to the setedit app and repeat the OP's steps. Your done. You can swipe up from the corner to go back without any issues.
[OnePlus 5T  Guides, News, & Discussion] akri1337:
doesnt work for me

i did another workaround found here on the forums with tasker

set tasker as your assisten main app and turn off notification from tasker... working now without google popping up, just the light shows on the corner when you swipe :)
[OnePlus 5T  Guides, News, & Discussion] shadowofdeth:
Nice find!
[OnePlus 5T  Guides, News, & Discussion] MarcTremonti:
old gestures are way better. tyvm!

Edit: SetEdit needs to stay installed in order or thia to work? After i unstalled google gestures came back after reboot
[OnePlus 5T  Guides, News, & Discussion] gorjee:
not working bro
[OnePlus 5T  Guides, News, & Discussion] LegendarySoftware:
Thank you!

The swipe from side to go back in Android 10's gestures made side drawer menus unusable.
[OnePlus 5T  Guides, News, & Discussion] TrusterX:
Thanks for that one. I'm glad to get my old gestures back. There is no need for an app. Just do it through ADB:

adb shell settings put System op_gesture_button_side_enabled 0
[OnePlus 5T  Guides, News, & Discussion] sakurakiks:
I did this and the back gesture is working but not the home or recent (swipe from middle). Where did I go wrong?

edit* using the stock gestures, only the back gestures on the sides works.

After trying this fix, the gesture itself reverted to the old style but still only the back gesture works.

For both of these, swiping up from middle has no effect.

Changed to navigation buttons, and only home and back buttons work, still cannot access Recent apps. Tapping on the Recent 'square' icon does nothing. Have tried swapping the button order, restarted phone twice, wiped system cache. Have scoured the internet for other options and really dont want to factory reset! All I want is for all three buttons/gestures to work!

Oneplus 5T
[OnePlus 5T  Guides, News, & Discussion] Musawir_29:
While trying to set value as '0' via setedit app in system table in op-gesture_button_side_enabled, it is giving error as 'unexpected error' and not taking this ahead.

Can anyone please help, I feel like throwing out my OnePlus 5t
[OnePlus 5T  Guides, News, & Discussion] KLit75:
Anyone tried this on a custom rom? I'm using Derpfest.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

Features:

- TWRP boots;

- Fastboot boot is working;

- Decryption is working.

- Vibration is working.

- System, Vendor and Product partitions mount is working but you can't modify them.

- You can flash magisk and others kernels.

- You can flash ROMs.

- Format Data works.

NOT WORKING:

- ANDROID 11 support

- Backup Restore

- Fastbootd

- System and vendor image flash

Install guide (Reccomended):

Acutally seems oneplus (or directly android 10) re-introduced the recovery partition so you should only flash it in recovery partition or you can try to boot it from fastboot. For now only boot it.

To flash:

fastboot flash recovery_a twrpname.img
fastboot flash recovery_b twrpname.img

To boot:

fastboot boot twrpname.img

Tips:

If you have some problems with backup, like 255 error or something similar please check this guide: https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632

For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

Download:

TWRP 3.4.0-14 by mauronofrio

TWRP 3.4.0-2 Test by mauronofrio

TWRP 3.4.0-1 Test by mauronofrio

TWRP 3.4.0-0 Test by mauronofrio

TWRP 3.3.1-10 Test by mauronofrio

TWRP 3.3.1-10 Test Installer by mauronofrio

TWRP 3.3.1-8 Test by mauronofrio

TWRP 3.3.1-7 Test by mauronofrio

TWRP 3.3.1-4 Test by mauronofrio

TWRP 3.3.1-4 Test Installer by mauronofrio

TWRP 3.3.1-2 Test by mauronofrio

TWRP 3.3.1-1 Test by mauronofrio

TWRP 3.3.1-0 Test by mauronofrio

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:

https://github.com/mauronofrio/android_bootable_recovery

https://github.com/mauronofrio/android_device_oneplus_instantnoodle_TWRP

Kernel source: precompiled stock one

My Telegram TWRP Support Group:

https://t.me/twrp_Mauronofrio

Donations:

[IMG="Donate link"]https://s31.postimg.org/srcv48myj/paypal.png[/IMG]

Credits:

I want to say a big thanks to the tester [MENTION=5684249]Fentadroid[/MENTION]

Created 2020-05-18
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
DON'T FLASH THE TWRP, please only boot it for now
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
I tried to boot it, but it stays stuck at the fastboot mode screen. Never boots into twrp.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Jacob O Link:
I will give it a try! Thank you so much for this! <3
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
What command you used?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
Fastboot boot twrp.img

I renamed the file in my platform tools.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Have you unlocked the bootloader right?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
Of course. I'm already rooted. ?

Since it doesn't decrypt. Should I have removed my PIN first?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Fentadroid:
That is really wierd, I have no problem to boot it as well..... Tried many many times.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
I don't know what to say, [MENTION=5684249]Fentadroid[/MENTION] is able to boot it without problems, he tried also magisk flash
[OnePlus 8 / 8 Pro & 8T Cross Device Development] TheKnux:
How is this possible if no one is able to unlock their bootloader yet? ?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Why are you not able to unlock your bootloader?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
Ok, I'll try it again. Maybe it just takes really long to boot up.

---------- Post added at 02:40 PM ---------- Previous post was at 02:33 PM ----------

Sorry. Still no luck. I left it on the fastboot mode message for a long time and it never booted in twrp.

I'm on the 8 Pro. Was it tested on the 8 and 8 Pro?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Jacob O Link:
People on the t mobile varient are unable to unlock the bootloader. The international one plus 8 bought from one plus can be done easily enough.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Tested on 8 pro
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
Sorry man, i linked the wrong twrp, download it again and try again
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Gordietm:
Ok, it works. Thanks

Soon, will we be able to flash oos ota's?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
It's a testing feature, for now i blocked this function because after flashed the rom the device is not able to boot, seems that there are some problems modifying super partition.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Nekromantik:
Good to see some progress.

Im hoping its not that dificult to fix decryption as Chinese devs did it. But they are not very good for not uploading source otherwise TeamWin and you cold have worked with them if they got some parts working. :(
[OnePlus 8 / 8 Pro & 8T Cross Device Development] dlads:
Seeing as you know a little about twrp, why not reach out to the author of the Chinese one and get ported?

I've read that it's working so could skip a lot of the groundwork.

Edit: just seen the post above, still, worth saying hello just to see what they'd say
[OnePlus 8 / 8 Pro & 8T Cross Device Development] efex:
project_name: 19811

rf_version: 14

OP8 Pro 8/128 EU (Sold by Halebop, Sweden)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] cultofluna:
Or flash the installer on magisk
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Revenant Ghost:
So you could also flash only the installer in Magisk Manager without having to boot the recovery.img first, if the device is bootloader unlocked and rooted?

If that's the case, that makes it even simpler.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] cultofluna:
Yes...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Groover_0815:
what is the actual procedure to flash TWRP on the OP8 pro to keep TWRP as Recovery?

big THX
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
boot the twrp and from that one flash magisk
[OnePlus 8 / 8 Pro & 8T Cross Device Development] efex:
Just a little informational post. :)

I flashed twrp installer, no issues, through magisk (add as module). So far, so good. Didnt play much in twrp but it looks like a good start. Later on, I descided to factory reset my phone (due to issues not realted to twrp). So, In settings i did the factory reset, phone rebooted - right into twrp. I tried wiping data, formatting, no go. Booted into twrp whatever I did. I downloaded the stock recovery and flashed it (adb flash), wiped in there and phone is all good again. Booted into twrp (fastboot boot), flashed magisk, and all is well again.

Conclusion: If you want to reset your device, flash stock recovery first. Might be old news, but hopefully helps someone.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] cultofluna:
Just an advise for the future...

When you installing permanently twrp...

All actions that normally you're doing when you have stock recovery you have to make them on twrp...

Otherwise you will have a problem...

So in your case....

Next time that you want to make a factory reset if you have twrp installed you're doing it on twrp.. NOT on phone settings...

The same if you want to update...

You're updating through twrp...

So to resume...

PERMANENTLY installed twrp it means you have to use twrp for

factory reset or install an update...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] pyry666:
Just to be sure, is this case only on op8p? Cause i had installed twrp permanantly on my op7p and doing update in phones local update worked fine every time for me. I only had install magisk inactive slot after ota and so on..
[OnePlus 8 / 8 Pro & 8T Cross Device Development] cultofluna:
Nooo.

Op7p has nothing to do

Op8pro has a separate recovery partition

On the 7pro recovery its on boot partition..

So on 8pro if you have twrp permanently installed, DONT use local upgrade ...
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
more or less the problems are the same on oneplus 7 pro, the twrp will be overwritten all times people will flash a stock rom or just an update. Rom local update is still a good thing, but remember to flash twrp installer and magisk on inactive slot before reboot.
[OnePlus 8 / 8 Pro & 8T Cross Device Development] pyry666:
So i can use local upgrade even with permanent twrp on op8p? As long as I flash magisk to a inactive slot like before?
[OnePlus 8 / 8 Pro & 8T Cross Device Development] Some_Ghost:
You have to call TMO and kiss their ass for a permanent network unlock tell them you need it for work and travel, if that does not work try messaging them on Twitter or over Facebook. also there is a guy on here who is network unlocking TMO OnePlus devices if you look under guides news and discussion. I have used his services a few times. Then once you are network unlocked you go into fastboot get your unlock code and submit it to OnePlus on their website and in 7 days they will send you an unlock token which you flash to unlock your bootloader
[OnePlus 8 / 8 Pro & 8T Cross Device Development] efex:
Yeah I actually knew this, but I've gotten used to not having twrp so I forgot I even had it flashed.

At this moment I'm not really missing twrp anymore to be honest. The only reason I've used it for my previous devices was to debloat. But it does feel good to be in control of the device with a good recovery, so as soon as it's all good I'll probably be back on it :)
[OnePlus 8 / 8 Pro & 8T Cross Device Development] mauronofrio:
yes but you have to flash installer after or before magisk
[OnePlus 8 / 8 Pro & 8T Cross Device Development] cultofluna:
I believe that if you have permanently twrp installed and you try to update through local upgrade it wil fail and your phone probably it will boot to twrp..

But mauronofrio knows this better and he can make it more clear.