I'm running the hyperdrive rom and would like to change the menu button to the recent apps button, and the longpress home to google now like S5. I found an xposed module that does this but only for the note 3. Anyone have a solution for this?
Jaydawgx7 said:
I'm running the hyperdrive rom and would like to change the menu button to the recent apps button, and the longpress home to google now like S5. I found an xposed module that does this but only for the note 3. Anyone have a solution for this?
Click to expand...
Click to collapse
I can change the menu key to recent apps but not sure about longpress home.
Using a root File Explorer open generic.kl in system/user/keylayout with a text editor.
Go to key 139 and replace 'MENU' with 'APP_SWITCH'. Reboot and you're done.
For google now it should just be a matter of finding the appropriate key.
marxses said:
I can change the menu key to recent apps but not sure about longpress home.
Using a root File Explorer open generic.kl in system/user/keylayout with a text editor.
Go to key 139 and replace 'MENU' with 'APP_SWITCH'. Reboot and you're done.
For google now it should just be a matter of finding the appropriate key.
Click to expand...
Click to collapse
Thanks for getting me in the right direction here. However, when I alter the generic.kl file at all, both capacitive buttons quit working after a reboot. I tried replacing the altered file with a backup i made, rebooted, and they still don't work. The only way to restore function of the buttons is to reflash the rom. Any idea as to why? This seemed like an easy change.... (also tried editing the file via notepad++ on the pc with the same result)
Jaydawgx7 said:
Thanks for getting me in the right direction here. However, when I alter the generic.kl file at all, both capacitive buttons quit working after a reboot. I tried replacing the altered file with a backup i made, rebooted, and they still don't work. The only way to restore function of the buttons is to reflash the rom. Any idea as to why? This seemed like an easy change.... (also tried editing the file via notepad++ on the pc with the same result)
Click to expand...
Click to collapse
What file explorer are you using? ES explorer?
After editing and especially if you're pasting in a back up you need to make sure the files permissions are set to rw-r--r--
I personally used the text editor from Rom Tool Box Lite . Make sure there aren't any extra spaces and there should be no # in front of the key.
I just remapped and put them back to normal a few times and I'm not having any problems.
Let me know how you get on.
marxses said:
What file explorer are you using? ES explorer?
After editing and especially if you're pasting in a back up you need to make sure the files permissions are set to rw-r--r--
I personally used the text editor from Rom Tool Box Lite . Make sure there aren't any extra spaces and there should be no # in front of the key.
I just remapped and put them back to normal a few times and I'm not having any problems.
Let me know how you get on.
Click to expand...
Click to collapse
Thanks! I was using ES file Explorer... I don't know what happened amongst text editors, but the rom tool box text editor did the trick... I appreciate your time and patience. Now it's time to figure out how to change long press home to Google now... Thanks again
Jaydawgx7 said:
Thanks! I was using ES file Explorer... I don't know what happened amongst text editors, but the rom tool box text editor did the trick... I appreciate your time and patience. Now it's time to figure out how to change long press home to Google now... Thanks again
Click to expand...
Click to collapse
All good, glad you got it sorted.
Another option is home2shortcut it uses double tap instead of long press, just tried it for kicks and it works really well, quite snappy
Related
After searching I discovered this thread:
h t t p: / /forum.xda-developers.com/showthread.php?t=703539
What would need to be done to port this to the Incredible? I'd really like to be able to unlock the phone with the optical joystick (without using a 3rd party app, they don't work consistently).
Thanks for any info.
i would also love this feature in a rom if possible
We had the same idea i just started a thread on the same subject i'll delete mine if i get an answer. I believe I can get this to work I just don't know where to locate the keypad file on the incredible.
The keypad.kl file or are you talking about something else? I tried modifying the keypad.kl file but that doesn't do it.
I was talking about the keypad file i'm trying to edit it also right now.
It won't work. I was able to edit the file and get the settings to stick but my understanding is that file is for physical keyboards. I read somewhere (can't remember where) that it would need to be a kernel update to enable this setting.
well i can verify that editing the keypad file doesn't work. this was my first attempt at editing a file myself i got really excited when I found that other post about remapping the keypad because i hate using the power button. it was fun trying
Did you guys push the file over when you were in your phone or in recovery, if you did it when you are in the phone, nothing will stick.
I did it in recovery, before we even had unrevoked2 tool. I did this: renamed the original file and used cat /sdcard/incrediblec-keypad.kl > /system/usr/keylayout/incrediblec-keypad.kl to create the edited file in the correct directory. The changes stick after a reboot but hitting the joystick doesn't wake the phone.
The joystick seems to be controlled by a kernel setting, not this file.
I'd love to be able to do this, because the front buttons are much more accessible than the power button.
My change definitely took because the power button wouldn't work after I edited the file so I had to revert back to original file.
Wouldn't it be possible to have the power button work normally but also assign the wake function to the optical button as well?
Yes but it would require a kernel setting change. I have no clue how to modify kernels.
I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
in_dmand said:
I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
Click to expand...
Click to collapse
I can do that above with RE, very strange problem you have.
Try a build.prop editor, i used this in the link. It sets correct permissions after editing and so on. Use the pencil icon in the bottom right to edit.
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Hi,
Same thing for me with Root Explorer, instead I use build.prop Editor
EDIT: not fast enough :laugh:
qsec said:
I can do that above with RE, very strange problem you have.
Try a build.prop editor, i used this in the link. It sets correct permissions after editing and so on. Use the pencil icon in the bottom right to edit.
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Click to expand...
Click to collapse
I got it and tried exactly like you said, and while it does pull it up and my keyboard pulls up and I can feel the haptic feedback, no letters will be inserted in deleted...? Really weird.
Maybe it's related to my root access? TB is showing I'm rooted, but check out my superuser app when I try to update an install new binaries...
Get rid of Superuser and try SuperSu instead. Sometimes the old Superuser has issues on ROMs since ICS.
EniGmA1987 said:
Get rid of Superuser and try SuperSu instead. Sometimes the old Superuser has issues on ROMs since ICS.
Click to expand...
Click to collapse
Downloaded and installed... Removed the old one. Still not letting me edit... Looks an feels like it is but won't enter any characters. At least RE isn't giving me the "too large" error anymore
in_dmand said:
I got it and tried exactly like you said, and while it does pull it up and my keyboard pulls up and I can feel the haptic feedback, no letters will be inserted in deleted...? Really weird.
Click to expand...
Click to collapse
i had the same issue, couldn't figure out why. try replacing a commented line with the code to disable the nav bar
How do I know if it's just a commented line and not necessary to the program?
in_dmand said:
I have rooted my phone and installed cwm recovery with the loki images built in. I am trying to modify my build.prop file so I can hide my soft keys manually and use lmt pie, but when I'm using Root Explorer (after I've mounted it as r/w) and when I open it with a text editor from RE it says "This file is too I large..." and displays a truncate version. It also won't let me save any edits. What am I doing wrong?
Click to expand...
Click to collapse
i had the same issue any help?
If you are in stock android 4.4.2 dont do it
You will stuck on bootloop
If you still wand to do let copy your build.prop to pc and edit with notebat++ or some program and recopy overwrite to your phone
Sent from my LG-D802 using xda app-developers app
maxkanick said:
If you are in stock android 4.4.2 dont do it
You will stuck on bootloop
If you still wand to do let copy your build.prop to pc and edit with notebat++ or some program and recopy overwrite to your phone
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
You are right, I have tried to edit it on pc and stuck on a bootloop.
Use build.prop editor app from playstore
_____________________________________Read more write less and be smart
I cannot access the service menu. I went to efs, then carrier, and changed from OFF to ON using all caps, but still get nothing when I press *#0011# on the dialer. I'm on MJE running cleanrom 1.5. Any ideas?
Armyrj127 said:
I cannot access the service menu. I went to efs, then carrier, and changed from OFF to ON using all caps, but still get nothing when I press *#0011# on the dialer. I'm on MJE running cleanrom 1.5. Any ideas?
Click to expand...
Click to collapse
I just tried and works here. Am also on cr 1.5.
1. Did u reboot?
2. Did u go back and verify the edit to ON stuck?
♢NoteIII♢
I was having trouble too.
1.What are you using to edit the file? I recommend Root Explorer and edit it with text editor and save.
2.Once saved, close out editor and reopen file to make sure it saved it and "stuck"
3.Reboot you phone.
4.Open browser on your phone and go to forum page with the codes on it. Copy the Service Menu code to the clipboard.
5.Open dialer and press and hold in blank area to show option to paste from clipboard. If you did everything right Service Menu will popup right away.
i noticed for whatever reason on my Note on the MJE update if you direct dial the code it doesn't work for whatever reason. Copy and pasting the code is no problem.
LeftyGR said:
I just tried and works here. Am also on cr 1.5.
1. Did u reboot?
2. Did u go back and verify the edit to ON stuck?
♢NoteIII♢
Click to expand...
Click to collapse
I did reboot and the edit did stick.
gmony01 said:
I was having trouble too.
1.What are you using to edit the file? I recommend Root Explorer and edit it with text editor and save.
2.Once saved, close out editor and reopen file to make sure it saved it and "stuck"
3.Reboot you phone.
4.Open browser on your phone and go to forum page with the codes on it. Copy the Service Menu code to the clipboard.
5.Open dialer and press and hold in blank area to show option to paste from clipboard. If you did everything right Service Menu will popup right away.
i noticed for whatever reason on my Note on the MJE update if you direct dial the code it doesn't work for whatever reason. Copy and pasting the code is no problem.
Click to expand...
Click to collapse
First I used solid Explorer, then root Explorer from rom toolbox but it had already stuck. I did reboot,and checked again and it Did stick. I tried Copy and pasting but it didn't work either.
Could this be a Verizon model issue?
Beamed from my Galaxy Note 3
Hi
is there a way to change the recent app button to the old style menu button?
thanks
Simply long press the recents key to pull up the old style context menu.
Or edit half a dozen files to permanently revert to the old S4 style menu.
This has been asked and answered many time sin existing threads as a simple search would have shown.
http://www.phonearena.com/news/How-to-call-the-hidden-context-menu-button-on-the-Galaxy-S5_id55124
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
http://forum.xda-developers.com/showthread.php?t=2733811
.
fffft said:
Simply long press the recents key to pull up the old style context menu.
Or edit half a dozen files to permanently revert to the old S4 style menu.
This has been asked and answered many time sin existing threads as a simple search would have shown.
http://www.phonearena.com/news/How-to-call-the-hidden-context-menu-button-on-the-Galaxy-S5_id55124
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
http://forum.xda-developers.com/showthread.php?t=2733811
.
Click to expand...
Click to collapse
i tried the 2nd link and i can get the android.policy.jar to work.
i have to my menu button back but the app switcher binded to long press home button isnt working.
aniqpirzada said:
Hi
is there a way to change the recent app button to the old style menu button?
thanks
Click to expand...
Click to collapse
I believe you can also change the button function through root explorer, but you'll be left without recents until you make certain changes to the .jar file mentioned. Easiest way would be to flash a ROM with remapping capabilities (Alliance).
Yes. I tried to change the .jar file but after replacing it back to my system, it didnt seem to work.
aniqpirzada said:
Yes. I tried to change the .jar file but after replacing it back to my system, it didnt seem to work.
Click to expand...
Click to collapse
Week there's the other option of flashing another rom
HOW TO REMAP CAPACITIVE BUTTONS ON GALAXY S6
If you're left handed like me, then you might wanna remap your capacitive buttons if you use the back key more often than the multitask button.
You can remap many other buttons such as volume keys and the power button, just use some logic and you'll figure it out.
As we progress on, you'll realize that there are many more things you can remap other than the physical buttons.
!!!DISCLAIMER!!!
I'm not responsible if this doesn't work for you!
I'm not responsible if your capacitive buttons don't work!
!!!DISCLAIMER!!!
1. You'll need root access for this, otherwise it won't let you edit the file
2. Go to Play Store and download the app called Total Commander (you can use any other file manager that supports root, but this one worked best for me)
3. Open the app, and go to File system root
4. Go to data folder and when it asks you, grant it the permissions
5. Go back and go to the system folder, then to the usr folder and then to the keylayout folder
6. Long press on the Generic.kl file and click on Open as, then on Text and then select Totalcmd Editor
7. Now click on the magnifying glass icon without an arrow in the top right corner
8. Search for the word BACK, but select the Whole Words checkbox
9. Change it to APP_SWITCH (make sure it's capitalized!)
10. Search again for the word MENU and change it to BACK (there may be two MENU words in the file so search twice)
11. Search for the word APP_SWITCH and change it to BACK
12. Click on the Floppy disk icon on the top of the window and then click OK
13. Exit and close the application
14. Reboot your device and enjoy!
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Change both MENU words to BACK.
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Oh, and I see that you may be using CM, I'm not, so I'm not pretty sure if the files are same. I used stock ROM on my Galaxy S6, but I'm pretty sure any other ROM would work, as long as you have the S4 or S5 or S6 or even S7 and the latest version.