Hi guys, this is a very easy guide on how to enable the 3 dot menu button in S5 ported apps and on stock touchwiz apps without xposed modules. I tested it on I9505 but should work also on I9500...
Pre-requested :
1.Java
2.Rooted phone
3.Framework-res.apk
4.Any root file explorer
How-to:
1 - Take framework-res.apk located in \system\framework\ and decompile it using apktool or apk manager
2 - Go into \res\values\bools.xml
3 - Search for:
and change it to
4 - Save file and recompile framework-res.apk
5 - Push the recompiled framework-res.apk to the device and reboot, now you should have 3 dot menu button in all s5 ported apps/stock touchwiz apps.
Now long pressing on home button won't bring up the recent apps, it will bring up google now. So now we need to remap the menu key to bring up the recent apps.
1 - Open /system/usr/keylayout/Generic.kl with root explorer and change
to
2 - Save file and reboot. Now menu key will bring up recent apps, just like S5.
Pre-requested :
1.Java
2.Rooted phone
3.Framework-res.apk
4.Any root file explorer
How-to:
1 - Take framework-res.apk located in \system\framework\ and decompile it using apktool or apk manager
2 - Go into \res\values\bools.xml
3 - Search for:
Code:
[COLOR="Blue"]<bool name="[/COLOR][COLOR="Red"]config_DisableHWKeyOptionMenu[/COLOR]"[COLOR="blue"]>false</bool>[/COLOR]
and change it to
Code:
[COLOR="Blue"]<bool name="[/COLOR][COLOR="red"]config_DisableHWKeyOptionMenu[/COLOR][COLOR="Blue"]">true</bool>[/COLOR]
4 - Save file and recompile framework-res.apk
5 - Push the recompiled framework-res.apk to the device and reboot, now you should have 3 dot menu button in all s5 ported apps/stock touchwiz apps.
Now long pressing on home button won't bring up the recent apps, it will bring up google now. So now we need to remap the menu key to bring up the recent apps.
1 - Open /system/usr/keylayout/Generic.kl with root explorer and change
Code:
[COLOR="blue"]key 139[/COLOR] [COLOR="Red"]MENU[/COLOR]
to
Code:
[COLOR="Blue"]key 139[/COLOR] [COLOR="Red"]APP_SWITCH[/COLOR]
2 - Save file and reboot. Now menu key will bring up recent apps, just like S5.
Attachments
Last edited: