Related
Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
The PTT might be hard wired to the PTT hardware needed for ATT's push to talk, kinda silly really I don't see why they still push this I've yet to meet anyone on ATT who uses this feature, maybe one day ill run into a cunstruction worker who knows.
TazMan1688 said:
Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
Click to expand...
Click to collapse
I'd love to see a solution to this too. I tried the Tilt registry hacks that let you re-map the PTT button but all that did was disable the button completely. (Which is still an improvement because at least now I don't have the PTT message come up every time I accidentally hit that button...)
Black93300ZX said:
CONFIRMED, this is how to keep that annoying PTT message from coming up on American Touch Pro's (Fuze maybe? whatever).
Keep in mind, you can't individually map this button with this method, that may come later.
Step 1: Registry editor, remove HKLM/Services/PTT
Step 2: Create a key in HKLM/Software/Microsoft/Shell/Keys called "40C2"
Step 3: Create a string within that key, titled Name with the value being "Button 6" or whatever
Step 4: Soft reset.
From this point on you can remove 40C2, but your PTT button will simply perform with a press what your send button performs with a hold (which can be remapped easily... Settings/Buttons/Button1(Hold)).
Click to expand...
Click to collapse
10 chars..
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
TazMan1688 said:
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
Click to expand...
Click to collapse
Um that is the easiest way right now.
And it does as B). Just change what Button 1 (Hold) to whatever you want and that's what your PTT button will act as.
Alright, its Button 1...awesome. Now lets see if I can find that setting ;-)
In settings/personal/buttons
...there is only an option for button 5, and button 5(hold). 1-4 do not show up there. How would I go about editing button 1's action?
Thanks alot
I found a program called AE BUTTON PLUS, it allows you to map any hardware button on the device. The PTT button is not listed by default so you need to "add button" it will then ask you to press the hardware button you would like to map, after that it shows up on the list and you can map it... I have found that adjusting long press setting causes issues, but tap and double tap work fine. I have tap disabled since I always hit the key by accident, double tap is Torch. Working fine so far. I believe you can even map individual keys on the keyboard in the same way.
I tried to use AE Button Plus(registered it), and had no luck creating an action for the PTT button. So I followed the registry ediit intructions, again..with no avail.
My PTT is disabled, which as previously stated, is better than nothing.
I would like to clarify two things. Does 40C6, and 40C7 relate to PTT on all devices, or is this a phone by phone basis? 40C6 could be PTT on a tilt, but the touch may be 33D4. Noobish question, but I'm not sure how this stuff works.
Also you said its "Button 1". Again, does this refer to hardware button # 1. Or is this just a random name we give it so we know which one to edit in the buttons menu?
So if I use 40c6, and 40c7 for "Button 1", and "Button 1(hold)"...it should work?
...I also used Button 6 & Button 6 hold as in the Tilt instructions. Same function.
I appreciate the assistance gang!
any1 have any luck?
If you want to remap the PTT button using a cab file (instead of manually doing reg tweaks) just look here: http://www.fuzemobility.com/ptt-remapping-revisited-application/
pretty simple but read the 'update' at the end
Before I start, I apologise if this has already been answered elsewhere, as I've spent about five hours trawling through threads looking, in vain, for a solution.
I have bought a new Fuze but the PTT button causes a problem with the aluminium case I bought for it. The problem is that the case is for a Touch Pro and the latch is right where the PTT button is (meaning the button is permanently depressed when the case is closed). It cannot be remapped in Settings/Buttons.
All I want to do is to be able to disable the button completely, or failing that make it an 'OK/Close' button. I have got rid of the PTT link but would greatly, greatly appreciate if someone could tell me what commands should be written in "short_PTT.lnk" and "long_PTT.lnk" to be able to do this. I've tried just leaving both blank but then the PTT button brings up an error message when pressed about not being able to find the shortcut.
Is there a way to achieve either of these solely using the registry, and without using third-party software?
Thanks for your time.
Here's full instructions on remapping your PTT button: http://www.fuzemobility.com/?p=598
To just disable it so it does nothing follow the steps at the beginning:
Using a registry editor delete HKLM\Services\PTT.
Next delete HKCU\Software\HTC\PTT.
Navigate back to the Windows directory and rename PTT to PTT2
Now create a new folder called PTT and set the properties as System and Read Only
If you follow all of those instructions and want to map it to close use this app and map it: http://www.fuzemobility.com/?p=1249
Problem fixed
You're a great person, bugsykoosh. I had done the first part you suggested, but the second link - and use of a tiny program called Zap It - fixed it perfectly.
Thank you heaps.
Okay so what is the joke why does this work for EVERYONE, except me. I mean seriously. I followed the steps but nothing. I press the button and I get nothing at all except the noise that indicates the keypress was succesfull WHAT GIVES.
bugsykoosh said:
To just disable it so it does nothing follow the steps at the beginning:
Using a registry editor delete HKLM\Services\PTT.
Next delete HKCU\Software\HTC\PTT.
Navigate back to the Windows directory and rename PTT to PTT2
Now create a new folder called PTT and set the properties as System and Read Only
Click to expand...
Click to collapse
This is overkill. You don't need to mess around with the PTT directory. If you just stop the PTT service from running, nothing will look in the PTT directory and its contents don't matter.
Just change HKLM\Services\PTT\Dll to an empty string and soft reset. The button will be completely inert. You can then remap it using AEBP or the short_PTT/long_PTT shortcuts, if you choose, or just leave it inactive.
Today
WMM,
If you change as you suggested, it looks like the long and short still work. I've remapped and did all the steps, but it looks like yours may be a little easier/cleaner. I'm curious, and I've looked extensively to no answer, but if I want the short press to just send my Fuze back to "Today" (in TF3D), is there a way to do that? If I press Start the first option is Today and this does exactly what I want. There's no shortcut that I can locate anywhere (and I'm sure it's my ignorance/technical inability) and the next step is to make a copy of that shortcut and name it short_PTT which I can handle. Any suggestions?
So, it isn't possible to map the PTT button from the Settings - Buttons screen? Looks like the method linked to above, with the short_PTT and long_PTT shortcuts, won't allow me to map the PTT buttons to work as the left and right softkeys.
As far as I know (which isn't very far, sometimes), the only way to get the PTT button to execute "Home" or the left/right soft keys is to use AE Button Plus. There may be applications that do those things that you can download (I know there are for things like toggling wifi and bluetooth, killing the current application, etc.) -- these are really tiny utility applications that are specifically intended for mapping to a button -- but I don't know of ones that do those particular things. (AEBP is able to do all those things, as well as giving you four mappable events -- single, double, triple, and long press).
okay seriously here do the links need to have special settings or anything. I mean what attributes should they have. Nothing works!
For the life of me, I can't remap my PTT button.
On a short press, it activates the voice command system.
On a long press, it activates the camera.
This seems to be from flashing NATF's ROM.
Following instructions above, I have no HKLM\Services\PTT or HKCU\Software\HTC\PTT in my registry editor.
I did the short and long_PTT/link and PTT folder in Windows. The links work there, but doesn't change what happens when the button is pushed.
I have AEButton Plus, but can't get it to add the PTT as a button.
Any suggestions where I can find in the registry what is making my PTT button act as it is? I'd rather have it do nothing than what it is doing now.
Thanks,
Chris
txemsdoc said:
On a short press, it activates the voice command system.
On a long press, it activates the camera.
This seems to be from flashing NATF's ROM.
Following instructions above, I have no HKLM\Services\PTT or HKCU\Software\HTC\PTT in my registry editor.
I did the short and long_PTT/link and PTT folder in Windows.
Click to expand...
Click to collapse
Yes, I believe NATF did not add the PTT stuff from AT&T into his ROM; the instructions above are for the stock AT&T ROM. You'll have to ask NATF how to remap the PTT button using his ROM.
jro2020 said:
okay seriously here do the links need to have special settings or anything. I mean what attributes should they have. Nothing works!
Click to expand...
Click to collapse
I'm not sure what you're talking about here. As I mentioned in my last posting just above this one, this probably only works in a ROM that supports PTT, like the stock AT&T ROM; if you're running something that doesn't support PTT, it would be a real surprise if "short_PTT" and "long_PTT" meant anything special, no? Assuming you are running the stock AT&T ROM, here's a step-by-step procedure for creating the short_PTT link to point to the Camera application using the built-in File Explorer.
1) Open File Explorer. If the drop-down box at the upper left says anything other than "My Device," tap the small down-arrow next to the label and then tap on "My Device."
2) Tap on "Windows" and wait a few seconds for the folder contents to appear.
3) Scroll down until you see "Camera" (the one that's 794K). Tap and hold that until the pop-up menu appears and then tap on "Copy".
4) Tap on "Menu" in the lower right, then "Edit", then "Paste Shortcut".
5) Scroll to the very bottom of the folder contents and you'll see "Shortcut to Camera" that was created. (The name may be truncated, depending on the size of the font and the screen orientation. Mine says, "Shortcut to Ca..." in portrait orientation. In any event, it will be the last thing in the folder contents.) Tap and hold on that until the pop-up menu appears and then tap "Rename". Then just type "short_PTT" to overwrite the existing name and hit return.
That's all you need to do. (If the application you want to run with the PTT button is in a different folder from \Windows, navigate there, tap-hold on the application executable, and select "Copy". Then navigate to \Windows and do steps 4 and 5 exactly as above.) This works exactly the same for the "long_PTT" shortcut.
If you do exactly that, does it not work? What happens if you tap the "short_PTT" shortcut in File Explorer? Does it start the camera?
Here is a link to a cab that will allow you to remap the PTT button: http://www.fuzemobility.com/ptt-remapping-revisited-application/
Remap PTT to launch phone Speed Dial?
I have disabled PTT so that I can use the button to launch programs - I just dont know how to launch phone speed dial - Does anyone know if there is a file that will launch speed dial that I can use to link to the PTT button?
Thanks!
pdafish said:
I have disabled PTT so that I can use the button to launch programs - I just dont know how to launch phone speed dial - Does anyone know if there is a file that will launch speed dial that I can use to link to the PTT button?
Thanks!
Click to expand...
Click to collapse
if your goal is to map your PTT button to call a single person check this posting: http://www.mobilitydigest.com/forums/showthread.php?p=3635
Here is another source that gives you step by step instructions.
http://htcblogger.com/2009/06/07/ho...utton-on-your-att-fuze-htc-diamond-touch-pro/
Note that if you're using the stock Fuze ROMs, the updated ROM from HTC adds the ability to remap the PTT button without any registry hacks.
PerfAlbion said:
Note that if you're using the stock Fuze ROMs, the updated ROM from HTC adds the ability to remap the PTT button without any registry hacks.
Click to expand...
Click to collapse
Can you post instructions as to how? I tried it already and the pulldown that shows you the available apps you can pick only shows PTT.
Best regards,
JD
So I followed the registry edit method, and created a file (not a folder) called PTT and things work great .... except ... when its on Airplane mode (Phone, Bluetooth and Data set to off) and I press the button (short or long) the PTT function kick off.
Is anyone else experiencing this?
Anyway to change this behaviour?
jdomi99 said:
Can you post instructions as to how? I tried it already and the pulldown that shows you the available apps you can pick only shows PTT.
Click to expand...
Click to collapse
Something's odd with your phone, then. Mine shows the full list of apps and options. I remapped PTT to VC without an issue.
Is it possible that you've got an application that's taking over the Buttons Control Panel? On mine, I had to remember to shut off SPB Pocket Plus's control over the buttons since it doesn't work with the Touch Pro line. When I first fired up the control panel, it listed no apps until I remembered that I had Pocket Plus running and turned of that feature.
OK, I've looked around but can't find an answer. Or at least an answer that I can understand. Basically what I'm trying to do is add the ability to quit/exit an app. I've read all about the differing opinions on quitting an app versus pressing back. However, just for my own self-teaching purposes, I want to learn how to do this. I'd like to be able to long-press or double tap a key to either immediately exit an app, or bring up an alternate pop-up menu that allows you to choose an action.
I am thinking specifically in relation to the Browser. The quit option was more necessary pre-CM6 because often times, it would take forever to load the home screen after pressing "home" in order to stop using the browser. A simple exit/quit option that some apps have, usually acts much quicker. Everyone knows that if you've been browsing through a bunch of webpages, hitting the back button repeatedly is a pain in the ass. The other option is to hit menu-->windows-->then close all the open windows-->then hitting the back button once the new window pops up because browser automatically opens a new page once all open windows have been closed.
Another annoyance is not being able to quickly get to your home page. Is there a way to remap/reassign/whatever, keys so that on long-press or double-tap of say, menu, or trackball, a menu pops up which has a "exit/quit" option and a "home page" option?
Another option is to add to the menu (when you hit menu), a "quit/exit" or "homepage" option.
Any help would be appreciated.
So much for a "supporting community". Way to help each other out.
What your trying to do should be located in the /system/usr folder. It has the key information you are trying to edit.
bubonik said:
So much for a "supporting community". Way to help each other out.
What your trying to do should be located in the /system/usr folder. It has the key information you are trying to edit.
Click to expand...
Click to collapse
Yeah, most people are probably trying to figure out a way to tell me I posted in the wrong section or that I need to use the search function. Thanks for your answer but I am familiar with the /system/usr files...I don't see anything in there relating to an action that quits/exits an app. Is there a specific action that is called when someone presses menu while using an app, and the menu brings up options including quit/exit?
Really? Nobody?
The keymap files are stored in /system/usr/keylayout, open them up and have a look at the things you can assign to keys.
Pull-edit-push the correct version for your handset hardware and reboot, changes will take effect. Obviously Magics are sapphire-keypad.kl and G1s are one of the trout files. Most G1s are trout-keypad-v3.kl though you can confirm your specific hardware version with getprop.
Have a search for "keymap" and "keylayout", you'll find there's already a bit of work been done of this, for example this auto key-changer.
I appreciate the help but I guess I'm not explaining myself properly. I have looked at the files in /system/usr/. I know how to remap a key so that, say...volume down = pause music, or change the menu key to have it end a call if I wanted...I know I'm not using the correct terminology all the time but when looking at the various .kl files, there are various "actions" that can be attributed to a particular key. For instance, keys 107 & 62 = Endcall, key 158 = Back, key 10 = the number 9.
In the column next to the numerical keycode in each of the .kl files, there is an "action" that results from pressing the particular key. The action I am looking for is a "quit" and/or "exit" action to apply to a particular key. Let's say I wanted to have key 231 in the sapphire keypad, kill the app I am using. Right now, pressing key 231 = CALL button. Is there a keyevent such as Kill_app or something to that affect that I could put in place of the CALL action so that key 231 = Kill app?
Is anybody else having this issue? I am coming from Galaxy S4, where the home button is actual physical button, so there I didn't have any issues, but with OPO, when typing, many times when I try to hit spacebar, it hits the top of the Home button. Before it comes up, I do not want to use on screen buttons, I like the size of the screen and don't want it up with software buttons.
I was wondering if anyone has/could write a script to set the buttons to
(Menu)
Short press - Menu
Long Press - Recent Aps
(Home)
Short press - Nothing
Long Press - Home
(Back)
Short Press - back
Long Press - nothing
Or of there is an app that would give me a bit more control over the buttons... or something that can help with this. This is absolutely the only issue I have with the OPO otherwise I love the phone.
shiroimin said:
Is anybody else having this issue? I am coming from Galaxy S4, where the home button is actual physical button, so there I didn't have any issues, but with OPO, when typing, many times when I try to hit spacebar, it hits the top of the Home button. Before it comes up, I do not want to use on screen buttons, I like the size of the screen and don't want it up with software buttons.
I was wondering if anyone has/could write a script to set the buttons to
(Menu)
Short press - Menu
Long Press - Recent Aps
(Home)
Short press - Nothing
Long Press - Home
(Back)
Short Press - back
Long Press - nothing
Or of there is an app that would give me a bit more control over the buttons... or something that can help with this. This is absolutely the only issue I have with the OPO otherwise I love the phone.
Click to expand...
Click to collapse
Because i currently am running CM12 i can't give exact insturctions but it should be somewhere in settings -> buttons -> ? over there you should be able to give the buttons other values. It is something like menu button: recent apps switcher and if you press that you can change it to a few other things. If this doesn't fill your needs, ask a bit more around I know it is there, because i saw it once.
Watermelons said:
Because i currently am running CM12 i can't give exact insturctions but it should be somewhere in settings -> buttons -> ? over there you should be able to give the buttons other values. It is something like menu button: recent apps switcher and if you press that you can change it to a few other things. If this doesn't fill your needs, ask a bit more around I know it is there, because i saw it once.
Click to expand...
Click to collapse
Yes it is there, but the option for "Home Short Press" is not there, that is hard coded. At least on the ROM I run (LiquidSmooth)
What I need to know is this:
Which key mapping is for Short Press Home, Long Press Home and Long Press Menu. I am within /system/usr/keylayout/Generic.kl to adjust the mapping manually, but can't seem to find the correct mapping for those 3.
*EDIT*
Ok, so found the key for Home and that is 172, but that disables both the short and long press...
shiroimin said:
What I need to know is this:
Which key mapping is for Short Press Home, Long Press Home and Long Press Menu. I am within /system/usr/keylayout/Generic.kl to adjust the mapping manually, but can't seem to find the correct mapping for those 3.
*EDIT*
Ok, so found the key for Home and that is 172, but that disables both the short and long press...
Click to expand...
Click to collapse
I'm sorry but with this i can't help.
Have you also tried the official OnePlus Forums?
Watermelons said:
I'm sorry but with this i can't help.
Have you also tried the official OnePlus Forums?
Click to expand...
Click to collapse
Yeah, sadly, someone suggested to come here
If you have root try it with the Xposed Module "Xposed Additions".
holzfeli said:
If you have root try it with the Xposed Module "Xposed Additions".
Click to expand...
Click to collapse
Unfortunately can't install Xposed as it tells me that my device does not support it. Is there one specifically built for us?
I get this error :
Xposed is not (yet) compatible with Android SDK Version 21 or your processor architecture (armeabi-7va).
CANNOT LINK EXECUTABLE: could not load library "libdvm.so" needed by "/data/data/de.robv.android.xposed.installer/cache/app_process"; caused by library "libdvm.so" not found.
shiroimin said:
Unfortunately can't install Xposed as it tells me that my device does not support it. Is there one specifically built for us?
Click to expand...
Click to collapse
I can't post the link because I haven't 10 messages :crying:
You have got a private message!
holzfeli said:
I can't post the link because I haven't 10 messages :crying:
You have got a private message!
Click to expand...
Click to collapse
Thank you for the link, unfortunately still doesn't work. Same error. I think it is because the ROM I am using is LP and LP uses ART instead of Dalvik and XPosed doesn't work with that. Thank you though for the effort
shiroimin said:
Thank you for the link, unfortunately still doesn't work. Same error. I think it is because the ROM I am using is LP and LP uses ART instead of Dalvik and XPosed doesn't work with that. Thank you though for the effort
Click to expand...
Click to collapse
Yes, ART is the problem.
So I came up with a solution for this issue.
The file in question to be working with is /system/usr/keylayout/Generic.kl
Navigate to this file using a File Browser (Root Explorer is the one I use) that has access to Root and make sure you have R/W rights.
Edit the file above in a text editor > find line : "key 139 MENU" and change it to "key 139 HOME" > and then find line : "key 172 HOME" and change it to "key 172 MENU" > Reboot device for it to take effect after you save
Then, within Settings > Buttons, you can adjust (at least on the ROM I am on), the long and short press of the Menu button.
What comes out is: left button is HOME button, with short/long press actions, middle button is MENU with just long action (set short action to NONE), and right button is BACK button untouched.
This way if I am typing, and want to hit space bar, accidentally hitting the middle button will not bring me to the main screen. It will take a while to get used to it, but it does resolve my issue.
You will need a root explorer and All in One Gestures app.
Look in device/system/usr/keylayout for generic.kl
Make a backup of this file before editing.
Open it in a text editor and look for lines "Key 158 BACK" and "Key 172 HOME"
Swap BACK and HOME then save and reboot.
Then open All in One Gestures and under hardware keys tab, swap funtion of home and back again.
Somewhere along the line the wake funtion is dropped. Everything else works as normal.
I needed this feature disabled b/c wallet case would keep screen on constantly and eat battery.
I found a slightly better alternative. Your method effectively disables the key light of the BACK button.
My method is:
Edit Generic.kl. Find key with SEARCH, and comment it with a #. Then find HOME, and replace HOME with SEARCH. Go into All In One Gestures, and click on the FAB with "+". Add " Search" key, and assign it the action for Home. That's it. Same effect, but key light for BACK still works!
Both working with Note 4 too.
With first method you are loosing backlight and haptic feedback, while with second you are gaining haptic feedback on home button too.
And you need to set long press for 'google now', otherwise it won't work.
Thoth33 said:
You will need a root explorer and All in One Gestures app.
Look in device/system/usr/keylayout for generic.kl
Make a backup of this file before editing.
Open it in a text editor and look for lines "Key 158 BACK" and "Key 172 HOME"
Swap BACK and HOME then save and reboot.
Click to expand...
Click to collapse
I did a variation of this. I swapped 254 MENU with 172 HOME. That's all. No need to install Xposed or any other apps.
This works simply by editing system files without having to install other apps like Exposed.
Now, the menu button is HOME. But it won't wake the phone, because menu does nothing unless phone is already awake. HOME button is MENU, but it doesn't wake the phone.
Perfect!