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?
 
shubhamchamaria
Old
(Last edited by shubhamchamaria; 24th September 2012 at 07:37 AM.)
#1  
shubhamchamaria's Avatar
Recognized Contributor - OP
Thanks Meter 1743
Posts: 2,551
Join Date: Jan 2011
Location: Mumbai

 
DONATE TO ME
Default [MOD][19-05-2012]Change KeyLayout So Buttons Can Act Differently![DISCONTINUED]

So many people requested the feature of being able to change the uses of the three buttons provided by HTC to us.
We all were disappointed when they decided to remove the menu button.
So i have a workaround which I will show you. If you feel it is a little complicated I have included it in the latest version of SuPrimo Rom. So feel free to use that.

Requirements:
1.) Root
2.) Any root file explorer

Steps:
  • Go to the root explorer and navigate to /system/usr/keylayout/atmel-touchscreen.kl
  • Open it as a Text File.

  • Replace the text in the file with
    Code:
    key 102  HOMEkey 249  MENUkey 158  BACKkey 217  SEARCHkey 139  APP_SWITCH
  • Reboot your device and that should be it!

I have made a flashable zip...I have not tested it!
Link: http://uploading.com/files/7ed4c977/...flashable.zip/

It is only half functional....Multitask button becomes menu button but you can't use multitask
Recovery shows only single press in key test so it is tough to make it long press home..If anyone knows how to do key test of long press...please tell me!

HIT THE THANKS BUTTON IF I HELPED!
MY WORKS:

HTC Desire:
1.Runny ROM

HTC One V:
1.SuPrimo ROM
2.Blue Sense 4.1
3.MIUI.us for One V
4.HTC One V VirginMobile Root
5.De-Sense(REMOVE HTC SENSE) Tool


IF YOU LIKE MY WORK AND WOULD LIKE TO HELP ME PLEASE CONSIDER A DONATION OR VISIT MY WEBSITE(http://slandroid.com)
The Following 4 Users Say Thank You to shubhamchamaria For This Useful Post: [ Click to Expand ]
 
tuylongdon
Old
#2  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: May 2012
Location: Ho Chi Minh
very helpful, thank you
 
shubhamchamaria
Old
#3  
shubhamchamaria's Avatar
Recognized Contributor - OP
Thanks Meter 1743
Posts: 2,551
Join Date: Jan 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by tuylongdon View Post
very helpful, thank you
Report if it worked...

Sent from my HTC One V using XDA
MY WORKS:

HTC Desire:
1.Runny ROM

HTC One V:
1.SuPrimo ROM
2.Blue Sense 4.1
3.MIUI.us for One V
4.HTC One V VirginMobile Root
5.De-Sense(REMOVE HTC SENSE) Tool


IF YOU LIKE MY WORK AND WOULD LIKE TO HELP ME PLEASE CONSIDER A DONATION OR VISIT MY WEBSITE(http://slandroid.com)
 
rajat7568
Old
#4  
rajat7568's Avatar
Member
Thanks Meter 10
Posts: 67
Join Date: May 2012
Location: New Delhi
Did not work ..
 
zuba
Old
#5  
Member
Thanks Meter 3
Posts: 41
Join Date: Jan 2010
Location: Subotica
neither for me, cannot save changes. when i reopen file,original numbers are there. anyway i will flash suprimo v2.1 rom
 
shubhamchamaria
Old
(Last edited by shubhamchamaria; 19th May 2012 at 12:50 PM.)
#6  
shubhamchamaria's Avatar
Recognized Contributor - OP
Thanks Meter 1743
Posts: 2,551
Join Date: Jan 2011
Location: Mumbai

 
DONATE TO ME
Oh freak I was wrong!
We have to edit atleast 20 files !
I am adding new ver.(v2.1.1) hopefully fixed!
MY WORKS:

HTC Desire:
1.Runny ROM

HTC One V:
1.SuPrimo ROM
2.Blue Sense 4.1
3.MIUI.us for One V
4.HTC One V VirginMobile Root
5.De-Sense(REMOVE HTC SENSE) Tool


IF YOU LIKE MY WORK AND WOULD LIKE TO HELP ME PLEASE CONSIDER A DONATION OR VISIT MY WEBSITE(http://slandroid.com)
 
shubhamchamaria
Old
#7  
shubhamchamaria's Avatar
Recognized Contributor - OP
Thanks Meter 1743
Posts: 2,551
Join Date: Jan 2011
Location: Mumbai

 
DONATE TO ME
Updated with flashable zip!
MY WORKS:

HTC Desire:
1.Runny ROM

HTC One V:
1.SuPrimo ROM
2.Blue Sense 4.1
3.MIUI.us for One V
4.HTC One V VirginMobile Root
5.De-Sense(REMOVE HTC SENSE) Tool


IF YOU LIKE MY WORK AND WOULD LIKE TO HELP ME PLEASE CONSIDER A DONATION OR VISIT MY WEBSITE(http://slandroid.com)
The Following User Says Thank You to shubhamchamaria For This Useful Post: [ Click to Expand ]
 
spiderio
Old
#8  
spiderio's Avatar
Senior Member
Thanks Meter 66
Posts: 499
Join Date: Aug 2009
Location: Jakarta
I clicked thanks before i try it

HTC Sensation
4.2.2 Slimbean beta | Sultan Kernel 3.0.76 | Hardswap 256mb | Self Tweaks

Samsung Galaxy S II
Rom Samsung Stock | Kernel Speedmod

Smartfren AndroTab
Rom Spiderio Andro-XperiaZ 4.1.2 | Performance Tweak
- - - - - - - - - ~*spiderio*~ - - - - - - - - -
 
handryg555
Old
#9  
handryg555's Avatar
Senior Member
Thanks Meter 141
Posts: 722
Join Date: May 2011
Location: Mumbai
Can we reverse it to default??

Sent from my HTC One V using xda premium
 
shubhamchamaria
Old
#10  
shubhamchamaria's Avatar
Recognized Contributor - OP
Thanks Meter 1743
Posts: 2,551
Join Date: Jan 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by handryg555 View Post
Can we reverse it to default??

Sent from my HTC One V using xda premium
I don't even know if this works....I will release a undo zip once I know this works atleast...

Sent from my HTC One V using XDA
MY WORKS:

HTC Desire:
1.Runny ROM

HTC One V:
1.SuPrimo ROM
2.Blue Sense 4.1
3.MIUI.us for One V
4.HTC One V VirginMobile Root
5.De-Sense(REMOVE HTC SENSE) Tool


IF YOU LIKE MY WORK AND WOULD LIKE TO HELP ME PLEASE CONSIDER A DONATION OR VISIT MY WEBSITE(http://slandroid.com)


XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more