[MOD][19-05-2012]Change KeyLayout So Buttons Can Act Differently![DISCONTINUED] - HTC One V

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/shubhamchamariaKEYMOD-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!

very helpful, thank you

tuylongdon said:
very helpful, thank you
Click to expand...
Click to collapse
Report if it worked...
Sent from my HTC One V using XDA

Did not work ..

neither for me, cannot save changes. when i reopen file,original numbers are there. anyway i will flash suprimo v2.1 rom

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

Updated with flashable zip!

I clicked thanks before i try it

Can we reverse it to default??
Sent from my HTC One V using xda premium

handryg555 said:
Can we reverse it to default??
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
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

I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............

saket_oo said:
I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............
Click to expand...
Click to collapse
The third key becomes the menu key. The third key is the multitask key.
Sent from my HTC One V using XDA

Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.

nawoa said:
Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.
Click to expand...
Click to collapse
Try modaco rom...the full mod is integrated...
Sent from my HTC One V using XDA

i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?

michael.the.don said:
i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?
Click to expand...
Click to collapse
Because its more convenient to users who had android phones on 2.x versions...
Sent from my HTC One V using XDA

Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks

japodude said:
Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks
Click to expand...
Click to collapse
Flash SuPrimo Rom v4.1 ...it has both mods included working perfectly!

How do I get this to work ? Been trying to change the app switch button into menu or settings button

its an very old mod dude.. as far as i remember it works nly little
Sent from my One V

Related

OK Button Remapping...

I know this has been asked many times about remapping of ok button on front of hermes .....i also have reassigned the ok button to close instead of minimize using ae button plus 2.52 but long press function of ae on OK button doesnt work....
i want that when i long press the OK button spb pocket plus menu opens whereas when i press OK button it closes the running application.
Thx in advance
i really luv this community.
Hey max, when did you get a hermes? What happened to your magician?
I've been away for quite a while and missed a bit.
V
vijay555 said:
Hey max, when did you get a hermes? What happened to your magician?
I've been away for quite a while and missed a bit.
V
Click to expand...
Click to collapse
got it after my xams as birthday gift....sold magician quite a time ago.now running black 4 and the ok button is really irritating me .....plz help
There are a number of threads about remapping the ok button. However, I've not seen any about the press and hold.
AE Button Plus is the best app I know/knew of for remapping. If it doesn't work, it doesn't work I'm afraid. Speak to the author of the app specifically to see if it's a known issue.
V
try handy switcher v3.0, it works for me
Dear Vijay555,
glad to see you somewhere in hermes forum, about ok button mapping, i know you already give us VJOkButt. your tools is my choice.
is it possible to write a tini app that simulate the click at the top corner x button so it does close running app via HTC-xbutton, and we safe to close everything phone,activesync..? or this is useless?
thanks Vijay
VJOkButt already has a mode to emulate clicking the top right close button I think -
http://www.vijay555.com/?Releases:VJOkButt
-justclick
simply click the existing ok button (for compatibility with other task managers)
Click to expand...
Click to collapse
VJOkButt has code built in to not close various important apps that would crash the system. But closing things like the phone is possible,
-phclose
will force the phone to close, not minimise, to save extra memory (but will cause minor incompatibility with dialing from contacts - reload with VJTogglePhone or launching cprog.exe)
Click to expand...
Click to collapse
let me know if you need something else.
V
hello
i waana have mutiple functions from ok button like if i press it
once-.....app 1 runs
twice........app 2 runs
thrice.......app3 runs
long press.....app4 runs
i want to have this functionality.help anybody
max414 said:
i waana have mutiple functions from ok button like if i press it
once-.....app 1 runs
twice........app 2 runs
thrice.......app3 runs
long press.....app4 runs
i want to have this functionality.help anybody
Click to expand...
Click to collapse
Don't know if this is you're looking for, but here you have one great and free software to try...
http://forum.xda-developers.com/showthread.php?t=306794
ey, and it's here at XDA what a chance...
Regards.
hi all,
i know a japanese software PQZII can remapping the hw ok button with close app,it has many other amazing functions about the hw button,too
hope that it can give u a hand
Wished i could do that with ae button plus...as i really like the app.
Have you tried PQz max?
V
vijay555 said:
Have you tried PQz max?
V
Click to expand...
Click to collapse
I tried it when i had a magician didnt like it and afterwards installed ae buttons but i can give it a try if it solves my problem

Back Button App for physical keyboard

There's a search button and menu button but no back button on the physical keyboard. Somebody should make a mini app that acts as a back button, so we could assign 1 of our 3 keys to the app and have that functionability.
I live in very cold weather and between my fingers getting so cold the buttons wont recognize my press or wearing gloves and having to remove them to hit one of the buttons, this could be a useful app for people (me).
Also a home button app could work as well for them.
What do ya think?
Sent from my T-Mobile G2 using XDA App
+1 for this idea. I wear gloves constantly outside...
I too would like to have a physical back button. +2 to this idea! I couldn't find any easy solution to this on my own, but it would be great to have a back button mapped to the second or third quick key.
Sent from my T-Mobile G2 using XDA App
erm..might sound stupid but does the backspace key not do this already (when not in a text field).
The backspace/delete key does not do this.
I was referred to this post by fellow XDA user nomadism. He writes:
nomadism said:
"user1" "user2" "user3" are the three QuickKeys, starting from the left
Click to expand...
Click to collapse
I set it to "user3", so there won't be any accidents pressing the key.
Sent from my T-Mobile G2 using Tapatalk Pro
Cyanogenmod 6.1.0 stable + ClockworkMod 2.5.1.3 + sonnysekhon's Gingerbread theme
Well with the stock rom and a temp root, it acts like it works but then never does..says I need to reboot to take effect but when I do it doesn't work, am I doing it wrong? I had to use the first version cause the second version of the app would crash on me
collins521 said:
Well with the stock rom and a temp root, it acts like it works but then never does..says I need to reboot to take effect but when I do it doesn't work, am I doing it wrong? I had to use the first version cause the second version of the app would crash on me
Click to expand...
Click to collapse
Pretty sure you need full root / S-Off for this as the /system/usr/ files it overwrites would get reset to stock every time you reboot with temproot.
Well, yeah, it needs root. As the thread says "for full rooted devices. (NAND unlocked. Full, permanent write access to the system dir is needed)".
I'm sure you can't do this without root.
Use your nose to press the soft key, it's usually warmer than your fingers. Also convenient if your hands are full.
Guess this could help:
http://forum.xda-developers.com/showthread.php?t=850464
They got some gloves I think from isotoner, called smart touch, made specifically for touch screen phones. You should check it out.
Sent from my T-Mobile G2 using XDA App
g4rb4g3 said:
Guess this could help:
http://forum.xda-developers.com/showthread.php?t=850464
Click to expand...
Click to collapse
Thats exactly what I use. I also used this program to set "@"to DPAD_LEFT and "www" to DPAD_RIGHT. It works as an up and down button. Like a mini replacement for the trackpad. I figured if ur fingers were too cold to reach the back button, you might could use some help witht that trackpad too ; )

[Q] How to take a screenshot on HTC Desire HD

Hi, I recently found an album in my gallery with 4 screenshots of my homepage. I must've took them without noticing. So I would like to know how I did that. My HTC Desire HD is running on 2.3.5 with htc sense 3.0. It is also NOT rooted and I did not flash any roms. So if anyone could tell me the shortcut to take a screenshot, I'd appreciate it very much! THANKS IN ADVANCE!
thought this wouldnt be possible without root or special apps("No Root Screenshot it")...
on my rooted phone i just press "power-button+home soft-key" to make a screen shot.
oh. that's cool. Did you use an app for that? Because I have a rooted htc incredible s and I usually need to long press my search button and choose ( screen grabber ( an app from market ) ) and it'll take a screenshot..
There are many apps available in the market to do this, and in some rom's it is included (MIUI for example).
No Root ScreenShot Is The Only App That Can Take ScreenShots without Root
AYKJ said:
Hi, I recently found an album in my gallery with 4 screenshots of my homepage. I must've took them without noticing. So I would like to know how I did that. My HTC Desire HD is running on 2.3.5 with htc sense 3.0. It is also NOT rooted and I did not flash any roms. So if anyone could tell me the shortcut to take a screenshot, I'd appreciate it very much! THANKS IN ADVANCE!
Click to expand...
Click to collapse
It is a new feature on the new DHD stock ROM with sense 3.0. DHD owners can now take scrrenshots by holding the power button and the home key at teh same time.
On the ICS beta roms floating around for Desire HD, you can just hold the power + volume down key and a screenshot will be taken.
When i try to press the power button and home button at same time..it does not take a screenshot.....am i missing something here..
BTW..i have coredriod rom installed..
chaturvedi007 said:
When i try to press the power button and home button at same time..it does not take a screenshot.....am i missing something here..
BTW..i have coredriod rom installed..
Click to expand...
Click to collapse
Ask in coredroid thread.
Sent from my Desire HD using XDA App
Well I found the solution...nothing to do with rom,just press the power key and before the power menu pops up press the home key....just posted to help others..
Sent from my MZ601 using Tapatalk
I use Screecast Video Recorder. It records video and you can also take screenshots by long-pressing the search button.
It does exactly what it says.
There is a free (demo) version if you don't want to pay for it.
However you need to be rooted for this one.
I hope this is what you're looking for..
(Question: is it against the rules to post android market links on xda?)
mr_makulit said:
It is a new feature on the new DHD stock ROM with sense 3.0. DHD owners can now take scrrenshots by holding the power button and the home key at teh same time.
Click to expand...
Click to collapse
whoa... had ARHD 6.3.1 for about a month now and I never knew you can take screenshots just by doing that
I use the Screecast Demo to generate a video record, but it was taken with a short duration, Can you help me to increase the duration of my Demo?
thanks dada!!!
dada means in persian brother!!!
Love the screen capture feature ,,, I use it alot ..
BUT I wish you could turn off the camera snap sound, as it looks suspicious if you're making a screen capture in public, like on the train, people will think you're taking photo's of them
Anyone kno how to turn off the sound ?
I think it still comes up even with media/phone volume muted

[App] NOT-VERY-INTERESTING Bar

Standard Disclaimer: I am in no way responsible for your device ,marriage, or social life, so don't come crying to me when something happens to one or all of them. You assume all responsibility and risk.
THIS APP IS BETA:
This is a simple app I made for the A100 semi- based off the popular HideBar app by Pieter Pareit. What this app does is allow you to use the capacitive Home Button on the device (A100) to toggle the Notification Bar on/off.
HOW TO SET UP​
Download the two files in the folder
Take the "gpio-keys.kl" file and move it to "/system/usr/keylayout" (make sure to make a backup of the old one before pasting)
Make sure permissions are set to RWXRWXRWX or at LEAST RW-R--R--
Now Install the downloaded APK like normal.
FILES CAN BE FOUND HERE
HOW TO USE​The gpio-keys file basically changes the home button to act as a search button (which this beta app uses) so to use the toggle, just LONG PRESS the search button and select the toggle. The first time it will ask for root permissions. I do recommend setting it as the default app. There is no app icon.
TO DO: This app is in beta, so I need you guys to let me know any bugs you find! Besides that I plan to bypass the need to use a search button.
THANKS TOO: dima_tr for, Pieter Pareit for his HideBar App , sanixk for his tutorial on how to remap hardware keys , crossix for his continued development on this device ,aznmode for letting us all know about HideBar originally , and Acer for a great tablet
Just in case
Sent from my Acer A100 using XDA Premium
What I get no thanks for initially posting the hidebar app? lol. Jk I dont think I was the first one to. Anyway, thanks for this. Will try it out when I get home!
aznmode said:
What I get no thanks for initially posting the hidebar app? lol. Jk I dont think I was the first one to. Anyway, thanks for this. Will try it out when I get home!
Click to expand...
Click to collapse
You actually were the first to post about it xD (at least that I saw) so definitely added your name.
Let me know how it works for you
Sent from my EVO 4G
I can't seem to get this working on my A10. I put the gpio-keys.kl file where it belongs. I installed the apk. Permissions are correct. I may be wrong but seems that the gpio-keys.kl from the download is identical to the one in my "/system/usr/keylayout"
this is the one I downloaded
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 HOME
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
this one is my backup copy from "/system/usr/keylayout"
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 HOME
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
am i missing something?
You have to change
key 102 HOME
to
key 102 SEARCH
simoneser said:
You have to change
key 102 HOME
to
key 102 SEARCH
Click to expand...
Click to collapse
Yes that is correct I thought I changed it to make it easier I apologize ill fix that.
Thanks simoneser
EDIT:I reuploaded the gpio-keys.kl file. Should work fine now, I apologize.
Sent from my EVO 4G
got it working
I like it so far. I'm going to check it out for a while. Thanks!
Good job! it works great. There is a typo in gpio-keys.kl though, an `s` is the first char.
eww245 said:
Good job! it works great. There is a typo in gpio-keys.kl though, an `s` is the first char.
Click to expand...
Click to collapse
Thanks for letting me know, I reuploaded a fixed version. =)
Hopefully in the next couple weeks ill have a version that doesn't need an extra gpio-keys file and just uses the home button, but that looks like it takes looking into the binding and not just android.intents so with a busy life don't hold me on the time frame
Thanks allot for making the app. Any known issues we should watch out for or things we should avoid doing with it enabled etc?
I did find an issue with using this. I was watching a video in Netflix with my taskbar hidden and the home button worked as a search button only. The long press would not work. I had no way to exit the program without restarting my tab. Any way to fix this? I'm sure there are other apps that would have this issue as well.
Sent from my A500 using xda premium
NoSudo said:
Thanks allot for making the app. Any known issues we should watch out for or things we should avoid doing with it enabled etc?
Click to expand...
Click to collapse
Well the only issue is that at the moment this does call for the search button so any app that doesn't have a need for it won't be able to launch the app.
As for the problem above (cant multiqoute on tapatalk) that's a weird issue , but it seems like it goes along with what I said above and their is no workaround until I make the app use the home button as a "home button"
Sent from my EVO 4G
will you continue to work on this to make it more functional?
thanks for the hard work put in it anyway
nunoruf said:
will you continue to work on this to make it more functional?
thanks for the hard work put in it anyway
Click to expand...
Click to collapse
Oh wow, I almost forgot about this (not in the A100 threads much)
But I suppose it's possible. I'm not very sure about ICS compatibility, but I'll take another look at this soon
Sent from my EVO 3D using Tapatalk 2
Yes, it would be amazing if you could find the time to update this to be ICS compatible!
Yes please make this ics compatible
Sent from my A100 using Tapatalk 2
Any progress on this purty please?
I don't have a comp right now so I can't work on this. Eventually though
Sent from my PG86100 using Tapatalk 2
yes ..
yes...
+1 for ICS compatibility !

Remapping the home button

Ive been trying to make my home button function the same as the power button. First I made a nandroid and rebooted andthen went here--> System/usr/keylayout/generic.kl and changedkey# whatever-said-home to say POWER. rebooted and it didn't work, it worked just like normal. Then I went back and changed every key that said home to power anywhere in the keylayout directories and still, it works like normal! Any advice or knowledge to help me solve this puzzle?
Thanks!
Sent from my Kangadore 64
I'm on an aokp build BTW and I tried the button remapping app as well. Stubborn button =
Sent from my Kangadore 64
Well for starters, did you reboot?
There should be a thread in one of the US variants forums that tells you about the key layouts.
Theres also an app that will give you info on what button you just pushed.
Been a while so cant remember the name and dont know if itll be compatible, but maybe someone else does and will chime in.
Sent from my SGH-T999 using xda app-developers app
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
mrtoast said:
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
Click to expand...
Click to collapse
You have to edit the sec-keys.kl file to whatever you want then reboot. Generic.kl only takes effect if sec-keys.kl isn't there. So edit sec-keys.kl then reboot and you should be golden
Sent from my Galaxy Nexus using Tapatalk 2
@OP....
Got a better idea. Download apex launcher, and download screen off and lock.....
Open apex settings, behavior settings, home button...
Have it launch screen off and lock when pressed. Your phone will now turn off when you press the home button from your home screen.
Viola
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Glad it worked!
dls5375 said:
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
Click to expand...
Click to collapse
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Glad it worked!
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
OK, I got it....just change HOME to POWER and reboot....thanks
dls5375 said:
OK, I got it....just change HOME to POWER and reboot....thanks
Click to expand...
Click to collapse
No problem. Let us know if you run into any issues!

Categories

Resources