New MIUI V6 - How to restore original button functions, as in V5?!


s01o

Members
May 1, 2012
121
40
V6 Left settings button, and central Home button not work properly! :(
Left "Menu button" open recent apps ??!?! WTF? - and central "Home button" is empty function!? :(

V6 original file in: /system/usr/keylayout/atmel-maxtouch.kl


Code:
# Copyright (c) 2012, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#    * Redistributions of source code must retain the above copyright
#      notice, this list of conditions and the following disclaimer.
#    * Redistributions in binary form must reproduce the above
#      copyright notice, this list of conditions and the following
#      disclaimer in the documentation and/or other materials provided
#      with the distribution.
#    * Neither the name of The Linux Foundation nor the names of its
#      contributors may be used to endorse or promote products derived
#      from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN

key 139    MENU    VIRTUAL
key 102    HOME    VIRTUAL
key 158    BACK    VIRTUAL

V5 original file in: /system/usr/keylayout/atmel-maxtouch.kl

Code:
# Copyright (c) 2012, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#    * Redistributions of source code must retain the above copyright
#      notice, this list of conditions and the following disclaimer.
#    * Redistributions in binary form must reproduce the above
#      copyright notice, this list of conditions and the following
#      disclaimer in the documentation and/or other materials provided
#      with the distribution.
#    * Neither the name of The Linux Foundation nor the names of its
#      contributors may be used to endorse or promote products derived
#      from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN

key 139    MENU    VIRTUAL
key 102    HOME    VIRTUAL
key 158    BACK    VIRTUAL
2nd file are the same, but their functions are not! :(


 
Last edited:
Looks like they changed the menu function in the system, not just the key mapping. They really should add some option to access to menu, because there are many apps that don't include the 3 dots menu in their interface.
 
Looks like they changed the menu function in the system, not just the key mapping. They really should add some option to access to menu, because there are many apps that don't include the 3 dots menu in their interface.
...exactly! This greatly annoys me! :(
 
This is new for v6. You won't change that. Home button still works and goes to home after push.

Wysłane z MI4 W
 
It's their choice, but changing it in the system instead of in atmel-maxtouch.kl (like they did in the Mi-Pad) leaves no option to the user. The good thing about Android is that you can do whatever you want, there's always a way, but here they are limiting us on purpose. Look like iOS... OK, act like them... not so much. Seems a bad decision to me and i'm going to switch to AOSP as soon as I can.
 
It's their choice, but changing it in the system instead of in atmel-maxtouch.kl (like they did in the Mi-Pad) leaves no option to the user. The good thing about Android is that you can do whatever you want, there's always a way, but here they are limiting us on purpose. Look like iOS... OK, act like them... not so much. Seems a bad decision to me and i'm going to switch to AOSP as soon as I can.
Aosp? Then you probably know that Google was first in remapping menu button. Not MIUI.

I don't get it. You didn't loose anything. You can still access menu by long press menu button. Change is just in priority. Single press opens recent apps - which is better choice. Then long press to menu.

Wysłane z MI4 W
 
  • Like
Reactions: smudger
Aosp? Then you probably know that Google was first in remapping menu button. Not MIUI.

I don't get it. You didn't loose anything. You can still access menu by long press menu button. Change is just in priority. Single press opens recent apps - which is better choice. Then long press to menu.

Wysłane z MI4 W
Yeah, I know it's google decision, but i'm pissed off because I can't change it back in Miui v6. I'm pretty sure that with an AOSP rom there'll be a way to do it, editing the keylayout, for example. But here, I can't do anything about it.

I rarely use recents apps function and for me it was perfect the way it was. My point is, it was simple to make an option and let the user to choose whatever he prefers.
 
...

You can still access menu by long press menu button. Change is just in priority. Single press opens recent apps - which is better choice. Then long press to menu.

Wysłane z MI4 W

Thanks for pointing this out! I was lost withiut this long-press recentapp button to get settings lol

:=)