To enable soft keys, or onscreen buttons, on any rooted ROM based on Android 4.0 ICS or later, simply add the following to the build.prop file: "qemu.hw.mainkeys" and set the value to zero ("0"). The line will look like this in the text file: "qemu.hw.mainkeys=0". Next, reboot your device and upon start up, a row of onscreen buttons will be at the bottom of your screen. Keep in mind that this will not disable the hardware buttons or disable the backlight, please search for another tutorial for that. Also, the buttons will obviously take up screen space so some things may look a little different or be covered up. If you would like to disable the soft keys, change the value of the line to one ("1") in the build.prop file. Be sure that the hardware buttons are enabled, and then reboot.
Related
I use the softkeys sometimes on the main/normal/portrait keyboard, but I never use them when slided out - they are so tiny, and I always hit them on mistake.
Is there any way to easily disable them... ?
I use AE Button Plus, but I can't see any option in there to change these keys.
I use AEBPlus and set the Single press action to "None" and the Double press action to "Press Left/Right SoftKey" as appropriate. That way, if you accidentally hit the softkey while typing, you no longer do something stupid/annoying/disasterous like sending an incomplete email.
It means that the soft keys, when the phone is open or closed, will no longer register anything with just a single press but you soon get used to double pressing when you need to use them (or just use the on-screen softkeys).
Edit: Sorry, you said that you didn't see an option to change these keys in AEBPlus. There are options to change the Left and Right SoftKeys but these change the softkeys when the phone is closed as well as when it is open.
Hello XDA'ers,
I am wondering what the reason behind why the buttons (camera, power, green, red, etc.) in Android on HTC Vogue map to the various tasks they do? For example, the camera button is back, but why not the red button? Is this something hard set in Android and cannot be changed or did someone specifically set it up this way for a reason?
Secondly I am wondering if I create a new "keylayout file" (source.android.com/porting/keymaps_keyboard_input.html) or modify the default one in /system/usr/keylayout/qwerty.kl will I be able to change the mapping of these buttons?
Compared to the Win Mobile mapping, they button layout can take some getting used to,
but once you get used to it, it's actually a very cool layout, especially if you are right handed.
You can hold the phone in your left hand, and use your thumb to access the settings 'top button',
Use your ring-finger to always back-out or end an app
Green button for phone / initiating calls
Red button to end a call, sleep mode, or power off
I wish the d-pad had more use, but I'm always using the stylus, so barely use it.
Would love for the d-pad center key to maybe be the main power-off button.
Does_It_Matter said:
... It's actually a very cool layout.
...
I wish the d-pad had more use, but I'm always using the stylus, so barely use it.
Would love for the d-pad center key to maybe be the main power-off button.
Click to expand...
Click to collapse
I completely agree the current layout is a very cool layout indeed, but as I imagine most people on here like to tinker it may be interesting to know how to customize the button bindings.
I am not sure if its just a matter of changing the button layout file.
I looked at that qwerty.kl file in the android.tgz
It looks like its just a mapping file, and if you change the mapping, you change
buttons,
but doesn't that mean you're just re-mapping the button itself?
Not re-mapping its functionality?
I.e., if you remapped the camera button to the d-pad center, for example, then
the d-pad center would do all functions the camera button used to do,
and the camera button would do any functions the d-pad center would?
Seems like you'd actually have to change more code than just the .kl file?
i wrote this application for polaris, and with simple changes you can add the vogue setup...
Hello.
I just bought my GN,so I have now few questions about that:
- is there a way to modify phone shortcut at the bottom left corner to launch my favorite dialer?
- after rooting my phone,I am unable to use USB tethering anymore(USB tethering error).
- is there a way to remap long press menu,back,vol.up/down buttons to launch my custom app?
- is there a possibility to calibrate stylus? My is apx.2mm off the point.
Thanks for your answers.
Tomas.
All of the buttons in the tray at the bottom can be changed except the "Applications" button. To edit this, press Applications, Menu, make sure that you are in Grid View and press Edit.
I don't know the source of your USB trouble but could it be related to enabling USB Debugging for the rooting process? You can change that at Home, Menu, Settings, Applications, Development, USB Debugging.
I haven't tried it myself on the Note, but a good way to remap buttons is the ButtonRemapper app and if you want one of those remapped buttons to bring up a menu, take a look at LaunchKey.
I don't think the stylus can be calibrated because the detection technology is not supposed to allow for error. That said, the system will offset the "ink" by about 1mm up-and-left for right-handed writers and up-and-right for left-handed writers so that you can follow what you are writing. You can set your handedness by going to Home, Settings, Pen Settings, Dominant Hand.
-darren
Ad1: thanks,it helps
Ad2: USB tethering still doesn't work,even tough I disable the USB debugging. Tethering was working before I perform root.
Ad3: LaunchKey doesn't work on devices without search button
Ad4: Well,actually the pen has an offset apx.1mm higher than I touch the pen. I was considered,that some utility to correct the touch as general can solve this,if it exists.
The documentation on LaunchKey says to use ButtonRemapper to map another hardware button *as* a Search key, after which it can latch on to the long-press. That's only really important if you want a button to bring up a menu and there may be other ways to accomplish that which don't require the long press.
One other point of note regarding the "ink" offset. If you turn the Note into its landscape orientation but don't have auto-rotate turned on, you can write with the stylus but the system thinks the device is upright and as such the slight ink offset will show up in the wrong place by 90 degrees.
The moral of this is that if you are using the stylus to write while the phone is in the landscape orientation, make sure that auto-rotate is on.
-darren
Our phone has back button on the bottom right side of the phone, thus making the phone use with right hand only very unpleasant, mostly in news reading apps where back button is used often when going back to the front page.
Is there any software button simulation app where I could position the back button somewhere in the bottom middle?
jazzh said:
Our phone has back button on…………
Click to expand...
Click to collapse
by adding some line (i forgot what it was ) to build.prop, u can enable on screen keys.
something like-
<something >. hardwarekeys=0
then, in settings (settings/system i think)
u can rearrange them...
Sent from my GT-I9070 using xda app-developers app
It sounds good, I'll take a look into it. But I don't want to disable hardwarekeys, I want all hw keys and just 1 sw key (back)...
To enable and use Onscreen buttons...
@jazzh,
Yep, you can you can use on-screen buttons BUT it will take/reserve some part of your screen's display.. that's why I don't use it BUT you can give it a try..
Just download the app build.prop editor and add this line at the end of your build.prop:
Code:
qemu.hw.mainkeys=0
(make sure to keep an empty line at the end of your build.prop, otherwise you will get a bootloop)
To disable it, simply remove the line above or set the value to "1"
3 MORE THINGS:
- This is what it will look like...
- You can resize the on-screen buttons BUT that will require you to modify your framework-res.apk
- I just found out about this app.. this will allow you to enable or disable on-screen buttons easily but its made for Xperia devices, so I am not sure whether it will work or not...
jazzh said:
It sounds good, I'll take a look into it. But I don't want to disable hardwarekeys, I want all hw keys and just 1 sw key (back)...
Click to expand...
Click to collapse
i don't think it disables the hw keys. it just enables the onscreen keys.
Even better: u can use pie controls if u add that line to build.prop
Sent from my GT-I9070 using xda app-developers app
Thank you all guys!
I added the line at the bottom and rebooted and... voila, soft keys are up and running.
Now, I didin't see anywhere not in the settings>system where these buttons can be adjusted. It would be nice if there is autohide option or something. Remember, I need only back soft key to be in the bottom middle or bottom left?
Then I installed pie control app, this works too but it doesn't have the option of autohiding softkeys at the bottom.
Is there something else I could try, I just need back software button elsewhere then bottom right corner and not all the time. Can it be achieved?
Thx again for helping...
jazzh said:
Thank you all guys!
I added the line at the bottom and rebooted and... voila, soft keys are up and running.
Now, I didin't see anywhere not in the settings>system where these buttons can be adjusted. It would be nice if there is autohide option or something. Remember, I need only back soft key to be in the bottom middle or bottom left?
Then I installed pie control app, this works too but it doesn't have the option of autohiding softkeys at the bottom.
Is there something else I could try, I just need back software button elsewhere then bottom right corner and not all the time. Can it be achieved?
Thx again for helping...
Click to expand...
Click to collapse
No mate you cannot directly edit the on-screen button's configurations and functions from Settings.. you need to decompile and modify certain files in your framework-res.apk.. I guess it will be too complicated for you to do all that - so it would be better for you to not try it now and end up getting a bootloop (no offence)
The only reason why I don't use on-screen buttons is because of this only.. It takes up screen's space and there is no auto-hide option...
And which Pie Control app did you install? Give this is a try if you still haven't tried it... As far as I know, Pie controls only appear when you tap and hold on a certain part of your screen...
If you don't want to use your on-screen buttons then just remove the line from your build.prop or set its value to 1... And if you don't want your phone's capacitive buttons to light up then you can turn that off from Settings > Display > Touch key light duration and set it to "always off".. It won't disable them BUT it will not light them up..
I tried exactly the same pie control app you've posted, found it by searching.
But I also uninstalled it afterwards, pie is working fine but I can't auto hide soft keys at the bottom, so when pie is active and visible, soft keys at the bottom are also visible. Which is not what I wanted at the 1st place.
So at the end I commented the line in build.prop and reverted to the way it was before, cause A) space is more important to me, and B) soft back key is again on bottom right.
In the meantime, if someone runs into solution for simulating only back key with adjustable position... kindly let me know...
Is there a way to enable soft keys like Nexus or Moto X? I'm not looking for an app that fakes the behavior.
I have a Note 3 4.4.2 Kitkat (NC2).
edit: I found it working well, so I am updating this post.
[Enable soft menu keys]
edit "/system/build.prop", and add at the bottom:
Code:
qemu.hw.mainkeys=0
[Optional] Disable hardwired buttons.
edit "/system/usr/keylayout/Generic.kl", comment out these two lines so it looks like this:
Code:
# key 139 MENU
# key 158 BACK
After using a while, I found it works best if I keep the hardware buttons enabled too. Back key is now on both left and right side so it's easier to reach when using with one hand.
[Optional] Disable 3-dot menu button. When you enable soft-keys, there will be an additional menu shown in every app. This could waste lot of space. You should have Xposed mod installed, then look for Noverflow, and install that.
Noverflow xposed mod.
This doesn't work on Galaxy S5 Port Update 4 ROM, but works well with stock NC2 ROM.
[Optional] Once softmenu keys are added, you have less screen space. The Dialer app doesn't know how to scale, so you would have the bottom row keys chopped off a bit. You can make change the DPI settings so it'll shrink and be able to see everything.
Default screen DPI is 480. I changed it to 450.
Edit file "/system/build.prop", look for the line with "ro.sf.lcd_density=480" and edit so it looks like this:
Code:
ro.sf.lcd_density=450
[Optional] Remove AT&T wifi autoconnect.
I don't know why, but even if I uncheck autoconnect AT&T wifi, it still keeps trying. And you can't really remove the profile either.
Edit "/data/misc/wpa_supplicant.conf"
Look for ssid="attwifi", change that to something like this:
Code:
ssid="attwifi-sucks"