Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Xiaomi Mi 6 (sagit)
- # PixelExperience ROM
- # Android Pie (CAF edition)
- # To enable on-screen navigation bar
- echo "qemu.hw.mainkeys=0" >> /system/
- # To disable hw keys
- vim /system/usr/keylayout/Generic.kl
- #key 139 MENU VIRTUAL
- #key 172 HOME VIRTUAL
- #key 158 BACK VIRTUAL
- # Regret for not working on my phone
- # And here's my own solution
- vim /vendor/usr/keylayout/synaptics_dsx.kl
- #key 139 APP_SWITCH VIRTUAL
- #key 158 BACK VIRTUAL
- key 143 WAKEUP # hold on
- vim /vendor/usr/keylayout/uinput-goodix.kl
- #key 102 HOME VIRTUAL
- # Okay, just a reboot. Yeeeees, it works!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement