ALCATEL ONE TOUCH - Change Power button to Volume button - Alcatel OneTouch Pop C7 Guides, News, & Discussion

Hi all,
I really am no expert about anything to do with Android but I'm trying to change the power button to the volume button (power button is faulty). I was following this procedure that I found but I cannot locate this file:
Open root browser/ADB, go system/usr/keylayout. Look for file (like) mtk-kpd.kl The file name varies from device to device, but it normally ends with -kpd.kl/-keypad.kl.
I've got as far as the system/usr/keylayout file but there is nothing in there that looks like -kpd.kl/-keypad.kl
Anyone got any tips (or another way of doing this?). Advice much appreciated.

Related

Problem with home key

So far I can't post PM or message to developement board as new registered user, lets try to get answer to my problem this way
Problem and following ROM is related to Xperia GO
I downloaded, installed and started use ExtremeSecurity Stock Jelly Bean 6.2.A.1.100 European ROM http://forum.xda-developers.com/showthread.php?t=2328171. I did it as I need something to replace stock one with delays it have. I found one problem, I am unable to solve. After install and rooting I found I can't use the home key (the touch sense key under display - the one with "house"). I was trying to google and change mapping of this key and did not succeed. So I made some tests and did not move anywhere forward...
1) If I go to recovery, cwm allow me to display key numbers in some menu. Here key respond well it code as 102 (as it should)
2) If I add line like key 102 HOME WAKE to any file in /system/usr/keylayout nothing change (after editing I reboot, then put it back, so far I was not succesfull)
3) If I use any of "keypress test application" (try 3 of them) they report all keys well (back, settings, vol up/dwn power) but no report and no action for home.
There is no difference in press or long press of key. Simply no action follows.
Do you have any Idea what can be wrong?
Thanks a lot
Karel
P.S. If admins will forward it as message to munjeni or move to Developement part of forum for this ROM, please delete it here...

[guide] remap headset button to work with ultra

Hi Guys,
Sorry if this is a re post or someone else has come up with a better alternative. Hopefully then a moderator will clean this thread.
As most of us have just migrated to ultra from different models, we may have a spare headset laying round. The issue here is most of the headset is just not compatible with ultra i.e the buttons don't function as we want it to. This is a guide that may help solve that problem getting the best out of our old headset or the ones from different models
These are the steps
0.MAKE BACKUP OF SYSTEM!
1. root
2.Install THIS
3.Plug in your headset, open Key test and click any button
4.Note down scancode. In my case it was 257
5.Browse to system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl (use rootbrowser)
6.search for HEADSETHOOK
7.change the key to what ever scancode gives i.e 257 (in my case) . It should look like this
#original: key 226 HEADSETHOOK WAKE
#changed: key 257 HEADSETHOOK WAKE
8.now change the scancode number, in my case key 257 to 226 (or the key HEADSETHOOK is assigned to)
#original: key 257 VOLUME_UP WAKE
#changed: key 226 VOLUME_UP WAKE
9. Install THIS
10.Reboot
11.Configure buttons as per your wish
Hope its helpful.
good post, but probably should be in themes and apps section with the other Mods?
I am very interesting
I have generic headphone button with mic
only Play/Pause button work
(Back/Next button dont work)
I tried what you write with my Marshall Headphones and a Sony Xperia Z. I didnt find a file with the exact name, in my case I only found a file called apq8064-tabla-snd-card_Button_Jack.kl . In this file there are the headsethook command lines but when I try to save my changes, the system tells me "please select your SD Card first" but I am not able to select it then, it just ignores my selection. What can I do?
CyberSAD

recent app softkey goes crazy

in the last month, i have g925f rooted , 5.1.1, sometimes (offten!) ) recent app softkey start random and open double window, recent apps.... i try to hibernate some apk but nothing.... i try also to clear cache...but nothing. In safe mode everithng works fine. i have only the last chance to clean all my data, but i read that this don't fix the problem.
it's very annoyng when you write and random the left soft key start to work itself......
any solution?
thank U!
i made all kind of reset, but nothing change, sometime i have a "crazy" soft button that start to work like a spirit! or stop to work.
i tried also "safe mode" and a little less, but same (random) problem!
The only way, i find, before to go to assistance (or to put in the garbage!!!) is to disable the softkey.
i find this on xda:
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
http://forum.xda-developers.com/gala...t3084638/page4
put"#" before key 254 and the key stop to exist, and stop to crash my balls
if someone has a different way to fix is wellcome for me.
thanks!

Remapping / disabling volume button in *.kl files not working

Hello.
i have an HTC M8 although i think it is not a device related question.
my volume up button is damaged and the volume changes occasionally.
i want to edit the key layout files and disable the volume up button.
i followed this manual:
http://forums.androidcentral.com/lg-optimus-g-pro/284907-how-disable-side-volume-buttons.html
but each time i reset the phone the files returns to their original state and the volume up button is still enabled.
i am using es explorer with root access.
tried to mount the system folder but still no luck.
please help.
i am going crazy...

Long press home button

I have a problem with the rom, I have a list of running applications on the long press home button.
my question is how to set up a google assistant on long press home button?
I have original system files but I need to see which file to copy
I'm not interested in any programs but how to change it directly in the system
thank you in advance for your help

Categories

Resources