New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
RegnierD
Old
(Last edited by RegnierD; 12th June 2012 at 11:48 PM.)
#1  
RegnierD's Avatar
Recognized Contributor - OP
Thanks Meter 375
Posts: 1,531
Join Date: Sep 2010
Location: Worthington, OH
Default [Mod-Deprecated] Map Recent Apps Soft Key to Menu

Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.

Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)

Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_SWITCH) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.

Disclaimer: This means you will lose the ability to access the recent apps menu. I never really use it much, but I know some people do. So if you really need that, hold off until I update with a flashable zip (or the proper files to push if we don't have a recovery out already).

As soon as I figure out how to remove the on screen button, I'll give a real update and freshen up the OP. This will be my first public mod, so try to cut me a little slack, and keep in mind I'm not really a dev, I'm just trying to help out and expand my knowledge a little. Who knows, maybe I'll keep picking up on things and put out a theme, and maybe even a rom of my own eventually!

Thanks to the following who have helped me or whose tools I have used!
OMJ - For the base 1.13.651.1 deodexed rom. (I was using the kitchen wrong, because I am n00b)
sk806 - For pointing me to the right apktool and baksmali versions, as well as guiding me through the process when I effed up.
TeamWin for the awesome recovery (and, of course, toastcfh, who is a BOSS!)
The devs of Root Explorer, because that app does EVERYTHING! You can edit keyboard layouts on the fly and reboot to apply!
And whoever is going to help me write my first updater-script so this can be flashable when it's done!

Sent from my EVO using Tapatalk 2
Having problems with root/S-Off on your DInc2? Visit my help thread here!

Device: Samsung Galasy S IV
ROM: Stock (Odexed)
Kernel: Agat's MDL
Recovery: TWRP 2.5.0.1
Baseband/Firmware: MDL
Device History:
HTC Droid Incredible -> Samsung Fascinate -> LG Revolution -> HTC Droid Incredible 2 -> HTC Evo 3D -> HTC Evo 4G LTE -> Samsung Galasy S III -> Samsung Galaxy SIV
The Following 27 Users Say Thank You to RegnierD For This Useful Post: [ Click to Expand ]
 
-Cupper-
Old
#2  
-Cupper-'s Avatar
Senior Member
Thanks Meter 626
Posts: 2,391
Join Date: Mar 2010
Location: Grapevine, Texas

 
DONATE TO ME
Quote:
Originally Posted by RegnierD View Post
Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.

Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)

Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_VIEW) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.

As soon as I figure out how to remove the on screen button, I'll update this.
Sent from my EVO using Tapatalk 2
Thanks!! How do we get to recent apps now though?

Sent from my EVO using Tapatalk 2
Phone: Htc One
Rom: Viper
Kernel: Stock
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
My website IfixitiPhones
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish.
 
RegnierD
Old
(Last edited by RegnierD; 25th May 2012 at 03:17 AM.)
#3  
RegnierD's Avatar
Recognized Contributor - OP
Thanks Meter 375
Posts: 1,531
Join Date: Sep 2010
Location: Worthington, OH
Quote:
Originally Posted by alainater View Post
Thanks!! How do we get to recent apps now though?

Sent from my EVO using Tapatalk 2
Until I figure out the environment to properly decompile the jars and apks, there is no way to do that. Probably should have mentioned that. Haha. Until I can crack open the android.policy.jar, you'll have to use the app icon from the drawer/homescreen.

If you want to revert, delete the modded one and remove .bak from the original that RE backed up for you.

Sent from my EVO using Tapatalk 2
Having problems with root/S-Off on your DInc2? Visit my help thread here!

Device: Samsung Galasy S IV
ROM: Stock (Odexed)
Kernel: Agat's MDL
Recovery: TWRP 2.5.0.1
Baseband/Firmware: MDL
Device History:
HTC Droid Incredible -> Samsung Fascinate -> LG Revolution -> HTC Droid Incredible 2 -> HTC Evo 3D -> HTC Evo 4G LTE -> Samsung Galasy S III -> Samsung Galaxy SIV
 
-Cupper-
Old
#4  
-Cupper-'s Avatar
Senior Member
Thanks Meter 626
Posts: 2,391
Join Date: Mar 2010
Location: Grapevine, Texas

 
DONATE TO ME
Quote:
Originally Posted by RegnierD View Post
Until I figure out the environment to properly decompile the jars and apks, there is no way to do that. Probably should have mentioned that. Haha. Until I can crack open the android.policy.jar, you'll have to use the app icon from the drawer/homescreen.

If you want to revert, delete the modded one and remove .bak from the original that RE backed up for you.

Sent from my EVO using Tapatalk 2
Haha ok sounds good

Sent from my EVO using Tapatalk 2
Phone: Htc One
Rom: Viper
Kernel: Stock
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
My website IfixitiPhones
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish.
 
regaw_leinad
Old
#5  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 3310
Posts: 3,517
Join Date: Jan 2010
Location: Seattle, WA
Hope this helps you in your journey

http://forum.xda-developers.com/show....php?t=1511730
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
The Following User Says Thank You to regaw_leinad For This Useful Post: [ Click to Expand ]
 
RegnierD
Old
#6  
RegnierD's Avatar
Recognized Contributor - OP
Thanks Meter 375
Posts: 1,531
Join Date: Sep 2010
Location: Worthington, OH
Quote:
Originally Posted by regaw_leinad View Post
Hope this helps you in your journey

http://forum.xda-developers.com/show....php?t=1511730
I'VE BEEN LOOKING ALL OVER FOR THAT! As soon as I hear back from a dev regarding the softkey and long pressing, I'll get a zip up here! This is my first public mod, so bear with me.

Sent from my EVO using Tapatalk 2
Having problems with root/S-Off on your DInc2? Visit my help thread here!

Device: Samsung Galasy S IV
ROM: Stock (Odexed)
Kernel: Agat's MDL
Recovery: TWRP 2.5.0.1
Baseband/Firmware: MDL
Device History:
HTC Droid Incredible -> Samsung Fascinate -> LG Revolution -> HTC Droid Incredible 2 -> HTC Evo 3D -> HTC Evo 4G LTE -> Samsung Galasy S III -> Samsung Galaxy SIV
 
jcwxguy
Old
(Last edited by jcwxguy; 25th May 2012 at 03:42 AM.)
#7  
Senior Member
Thanks Meter 186
Posts: 327
Join Date: Mar 2011
Quote:
Originally Posted by RegnierD View Post
Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.

Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)

Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_VIEW) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.

As soon as I figure out how to remove the on screen button, I'll give a real update and freshen up the OP.

Sent from my EVO using Tapatalk 2
mine doesnt say APP_VIEW (says APP_SWITCH)

edit: still worked
 
94tbird
Old
#8  
Senior Member
Thanks Meter 138
Posts: 772
Join Date: Jun 2007
Quote:
Originally Posted by jcwxguy View Post
mine doesnt say APP_VIEW
mine did
 
jirafabo
Old
#9  
jirafabo's Avatar
Senior Member
Thanks Meter 61
Posts: 711
Join Date: Dec 2007
Location: Orlando
I'll be checking back in on this progress. The lack of a menu button, and the resulting 15% of screen wasted on a soft menu button, is by far the biggest problem with this phone. It really is pathetic to play a full screen game and have that silly soft menu button at the bottom.

I would prefer the multitask button to be a menu, and long-press home become multitask like on previous phones.
The Following User Says Thank You to jirafabo For This Useful Post: [ Click to Expand ]
 
RegnierD
Old
(Last edited by RegnierD; 25th May 2012 at 04:19 AM.)
#10  
RegnierD's Avatar
Recognized Contributor - OP
Thanks Meter 375
Posts: 1,531
Join Date: Sep 2010
Location: Worthington, OH
Quote:
Originally Posted by jcwxguy View Post
mine doesnt say APP_VIEW (says APP_SWITCH)

edit: still worked
Thank you, I fixed the OP.



Quote:
Originally Posted by jirafabo View Post
I'll be checking back in on this progress. The lack of a menu button, and the resulting 15% of screen wasted on a soft menu button, is by far the biggest problem with this phone. It really is pathetic to play a full screen game and have that silly soft menu button at the bottom.

I would prefer the multitask button to be a menu, and long-press home become multitask like on previous phones.
Once I've got it all together, I'll post several versions of the mod. I know, personally, I'm going to have mone set as such:

Back (Leave long press empty)
Home (Menu)
Multitasking (Search)

On a somewhat off topic note, I'm happy to be getting more and more into Android. It's exciting. I've made it a personal goal to try and be really active in this community. I've learned a lot through reading, so it's time to apply some of it and pay things forward a little.

Sent from my EVO using Tapatalk 2
Having problems with root/S-Off on your DInc2? Visit my help thread here!

Device: Samsung Galasy S IV
ROM: Stock (Odexed)
Kernel: Agat's MDL
Recovery: TWRP 2.5.0.1
Baseband/Firmware: MDL
Device History:
HTC Droid Incredible -> Samsung Fascinate -> LG Revolution -> HTC Droid Incredible 2 -> HTC Evo 3D -> HTC Evo 4G LTE -> Samsung Galasy S III -> Samsung Galaxy SIV

The Following 7 Users Say Thank You to RegnierD For This Useful Post: [ Click to Expand ]