[ iPhone x Gestures ] [ Root or Magisk ]

jorgeepelos

Senior Member
Feb 11, 2015
607
98
48
hi, any way to disable the swipe to back only from screen sides? its a nightmare when im navigatin or seeing photos much times get back and i dont wanna get back
only want disable the swipe right and left to back
 

gabe13

Senior Member
Sep 11, 2012
197
90
58
will it work for mi max 2?
I've just installed it on Mi Max 2 Mi-Globe Rom and it works... kind of.

The gestures work flawless but the power menu does not exist anymore (if I hold the power button it just soft reboots instatly) and the hardware keys does not seem to want to be disabled.

I've installed the mod via magisk and cheked the build. prop and the text line was not there, I put the line at the end of the file and rebooted and the hw keys are still functioning.

I do not know if this if from the fact that I'm using a mi max 2 or if it is from the software (Mi-globe 8.3.22 beta based)
 

Vinu.Sr

Member
Apr 7, 2018
10
0
0
Chennai
Note : Works only with latest miui developer roms.

Hey guys,
This guide is to learn how to enbale iPhone X gestures on supported Mi Phones.

Requirements - Either root or Magisk

Method 1 ( Requires root access ) :9
go to your build.prop file located at /system/build.prop and edit the following code

Code:
[B]qemu.hw.mainkeys=1[/B]
change it to this
Code:
[B]qemu.hw.mainkeys=0[/B]
Hello Gents,
my question may be stupid one..but just asking you that, i've added above code into build.prop on my Lineage OS 14.1 , the screen keys on Bottom of the screen becomes visible and works fine. but i didn't the "Full Screen Display" in the Lineage settings. i knew only from there i can change the Swipe option from Display's border. i works well on my miui9.5 official ROM..but Lineage its not yet..will you make it possible in future mods for Lineage OS?

btw: the zip cant install from twrp. let me try Masigk and update how it goes.

Thanks Again, Vinu
 

reversegear

Senior Member
Jul 17, 2011
2,279
1,607
193
Note : Works only with latest miui developer roms.
my question may be stupid one..but just asking you that, i've added above code into build.prop on my Lineage OS 14.1 , the screen keys on Bottom of the screen becomes visible and works fine. but i didn't the "Full Screen Display" in the Lineage settings. i knew only from there i can change the Swipe option from Display's border. i works well on my miui9.5 official ROM..but Lineage its not yet..will you make it possible in future mods for Lineage OS?

btw: the zip cant install from twrp. let me try Masigk and update how it goes.

Thanks Again, Vinu

Hi, Vinu. i believe you did not see the words highlighted in red colour.

so this full screen display wont work in LOS based roms.


even for miui roms it was implemented from stable 9.5 releases.


the zip works only with magisk
without magisk it is of no use. :)
 
  • Like
Reactions: Vinu.Sr

cobben

Senior Member
Nov 13, 2016
319
87
28
Does not work on Mi Max1 Prime (helium) running Xiaomi.eu 8.5.24, MIUI 9.6 android 7.0.

Any ideas??


Does work well on Mi Note 2 global version running Xiaomi.eu 8.6.21 MIUI 10 Android 8.0.

The hardware buttons still work normally also.
That is a feature, not a bug.:cyclops:
 

matevz89

Member
Mar 5, 2009
6
1
0
Hi everyone,

I just updated my MI Max 2 to the latest MIUI 10 beta (8.7.12). After editing the 'build.prop' file by adding the 'qemu.hw.mainkeys=0' string at the end of the text file, full-screen gestures work only partly. In fact, swiping from either the left or right side activates the 'back gesture'. However, the gestures "home" and "recent" do not work anymore. On top of that, when I press the demo function for these two in the 'full-screen' menu, the Settings app crashes. Anyone else having the same issue?
 
  • Like
Reactions: reversegear

reversegear

Senior Member
Jul 17, 2011
2,279
1,607
193
Hi everyone,

I just updated my MI Max 2 to the latest MIUI 10 beta (8.7.12). After editing the 'build.prop' file by adding the 'qemu.hw.mainkeys=0' string at the end of the text file, full-screen gestures work only partly. In fact, swiping from either the left or right side activates the 'back gesture'. However, the gestures "home" and "recent" do not work anymore. On top of that, when I press the demo function for these two in the 'full-screen' menu, the Settings app crashes. Anyone else having the same issue?
Having same issue hope future updates will solve this issue


Edit: recents gesture works in launcher only :(
 
Last edited:

kojiez

Member
Jan 9, 2012
15
3
23
Perak
Hi everyone,

I just updated my MI Max 2 to the latest MIUI 10 beta (8.7.12). After editing the 'build.prop' file by adding the 'qemu.hw.mainkeys=0' string at the end of the text file, full-screen gestures work only partly. In fact, swiping from either the left or right side activates the 'back gesture'. However, the gestures "home" and "recent" do not work anymore. On top of that, when I press the demo function for these two in the 'full-screen' menu, the Settings app crashes. Anyone else having the same issue?
Same here..hope this problem solve at next update
 

Tuyenvanlshb

Member
Apr 27, 2017
13
1
3
Help me

Note : Works only with latest miui developer roms.

Hey guys,
This guide is to learn how to enbale iPhone X gestures on supported Mi Phones.

Requirements - Either root or Magisk

Method 1 ( Requires root access ) :

go to your build.prop file located at /system/build.prop and edit the following code

Code:
[B]qemu.hw.mainkeys=1[/B]
change it to this
Code:
[B]qemu.hw.mainkeys=0[/B]
If the code doesn't exist in your build.prop then add the required line ( qemu.hw.mainkeys=0 ) at the bottom of build.prop
Now reboot the device and go to settings. You will see new option ''Full Screen Display''. This is the option where you can enable the iPhone X Gestures on supported Mi Phones.

Method 2 ( Root not required but requires Magisk ) :

Download the attached magisk module and flash in either twrp recovery or via Magisk app itself and reboot the device. You will see new option ''Full Screen Display'' in settings. This is the option where you can enable the iPhone X Gestures on supported Mi Phones.

Hit Thanls if you like my work.
this file has flash for huawei honor emui 8 is not
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone