This is a trick I found for older Android versions I thought I can share!!This works for all Android versions!
This tweak adds the soft keys to your S5 along with the hard keys fully functional!! I wanted the true AOSP feel and now I'm reaching there!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This supposedly works on any phone!
Steps:
1. Root your phone!
2. Add the following line to the bottom of your build.prop file! (/system/build.prop)
Code:
qemu.hw.mainkeys=0
3. Save and reboot!!!
See screen shot below to see my result!!! Do comment and show screenshots of your screens!!
If you want to disable your hard keys below screen, then do the following:
1.Navigate to /system/usr/keylayout
2.Open Generic.kl using any text editor
3.Find the following lines,
key 158 BACK
key 172 HOME
key 254 APP_Switch
4. Add a # symbol before these lines, like this
#key 158 BACK
#key 172 HOME
#key 254 APP_Switch
5. Save and Close, Reboot Phone
6. Tadaaaa!
Warning: Don't mess with the other lines, it may prevent your phone from switching on! or you may lose functionality!
Hit thanks if you like this!!!!
Works on att s5 active.
SM-G870 Peace
you know a way to disable the hard keys if i enable soft keys i dont want them to be enabled ??
babanasor said:
you know a way to disable the hard keys if i enable soft keys i dont want them to be enabled ??
Click to expand...
Click to collapse
I'm uploading the tweak in my first post!
I've added the key disable guide!!!
So goood
jawzf said:
I'm uploading the tweak in my first post!
Click to expand...
Click to collapse
this is sooooo goooddd thank you man now i am gone try it out :victory:
babanasor said:
this is sooooo goooddd thank you man now i am gone try it out :victory:
Click to expand...
Click to collapse
do hit thanks!!
I found it overlaps the bottom of some Samsung apps like dialer
Spacemonkie4207 said:
I found it overlaps the bottom of some Samsung apps like dialer
Click to expand...
Click to collapse
can't help it.. Thats samsung's fault..
jawzf said:
can't help it.. Thats samsung's fault..
Click to expand...
Click to collapse
Yep
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What this does is allow you to choose if you want to unlock the phone via the trackball or the menu key rather than swiping across the touchscreen. When coupled with Metalhead's trackball wake, it allows you to unlock your phone with a double tap of the trackball.
In order to use this, you must be running the latest CyanogenMod. Simply copy it to your sdcard and flash via recovery. (Backup first and no need to wipe). It has worked fine on all of the test devices so far, so there is no reason for it to not work on yours.
To enable:
1. Go to settings, Sounds and Display
2. Tick whichever options you want to use.
3. Enjoy!
Download: http://kmobs.scepterr.info/signed-trackballunlock-cm5.0.5.x.zip
All of my source is on my github (www.github.com/kmobs)
A big thanks to Metalhead (looked at a bunch of his stuff for figuring this out), ChrisSoyars, TheDudesAndroid, and of course Cyanogen. The biggest thanks of all, however, goes to the entire #teamdouche!
thanks Persian, been waiting for this
That is a fantastic addition. Would you be kind enough to make one compatible with Enom's ROM? As always thanks.
uh..
how? is this automatic? whut?
rikupw said:
how? is this automatic? whut?
Click to expand...
Click to collapse
Yea, explanation please!!
I think its broke...
will try it..
Ballin! I can't wait to try this when i get home! now I finaly have a use for my trackball
-Charlie
ciwrl said:
Yea, explanation please!!
I think its broke...
Click to expand...
Click to collapse
Settings - Sound/display. You should see the option in there
I added the explanation on how to enable it. Please give me feedback everyone
Any one try it on Desire ROM yet?
soo cool, was waiting for this treasure!!
Does this change services.jar? I don't want to break trackball notifications in succession or trackball notify.
so it automatically unlocks when we bang our phones against the walls right
Get it patented before apple sues u
Nice work though
thanks again, works brilliantly
Now for a bright spark to come up with a way to put the phone on standby mode using the trackball
Sooo cool!!-Trackball Alert still worx!
ikon8 said:
Does this change services.jar? I don't want to break trackball notifications in succession or trackball notify.
Click to expand...
Click to collapse
No. Remember, you can always look inside of the zip to see if it changes a certain file
everything working fine here... great job!
Terrific, been wanting this since I switched from my MT3G.
This works great. Doesn't mess with uv kernel or track ball alert. Thank you for this mod.
Hello all. I tried to search for it but didn't found anything.
I'm trying to remove some softkeys from a ROM for the Galaxy Note. The Galaxy Note has a hw home button and capacitive back and menu buttons. The thing is, I like tablet ROMs because they use the screen better, but all of them come with Home, Menu and Recent Apps soft buttons added. On TW modded roms you can also find a multiwindow button to launch apps in multiwindow mod (looks like a "^"). So I just want to keep this button (maybe Recent apps too, I'll decide it later). I know how to decompile apks and edit xml's. What I want to know is which apks I need to edit and which xmls in said apps I need to edit/remove entries. I already tried to edit SystemUI.apk and tw_systembar.xml (deleted the entries for Home and Back), but UI crashed on startup and never come up again. If you can point to a good tutorial, it would also be great!
Just to make it clear, this is what I want to do, from this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to this:
Thanks a lot for your help, it's much appreciated!
did you find out how to remove these buttons?
you can try editing build.prop and typing qemu.hw.mainkeys=1 But i dont know if that works on tablet roms
Sent from my U8160 using xda premium
AragornPE said:
Hello all. I tried to search for it but didn't found anything.
I'm trying to remove some softkeys from a ROM for the Galaxy Note. The Galaxy Note has a hw home button and capacitive back and menu buttons. The thing is, I like tablet ROMs because they use the screen better, but all of them come with Home, Menu and Recent Apps soft buttons added. On TW modded roms you can also find a multiwindow button to launch apps in multiwindow mod (looks like a "^"). So I just want to keep this button (maybe Recent apps too, I'll decide it later). I know how to decompile apks and edit xml's. What I want to know is which apks I need to edit and which xmls in said apps I need to edit/remove entries. I already tried to edit SystemUI.apk and tw_systembar.xml (deleted the entries for Home and Back), but UI crashed on startup and never come up again. If you can point to a good tutorial, it would also be great!
Just to make it clear, this is what I want to do, from this:
to this:
Thanks a lot for your help, it's much appreciated!
Click to expand...
Click to collapse
Any clues? I want this mod also, thank you.
I'd like to share a small modification I made for Gingerbread (2.3.x):
Xperia Z Style Keyboard 1.2
Version 1.2
- Removed boldness of key labels :good:
- Fixed FC when using german phonepad keyboard
- Removed , and . from the top row of punctuation marks (since they're already on the keyboard itself)
Click to expand...
Click to collapse
Version 1.0 - Initial Release
- Removed settings button from Keyboard main page (available on keyboard page 2) :good:
- Removed smiley button from keyboard main page (available on keyboard page 2) :good:
- Added comma and dot keys next to the space bar
- Added useful keys when keyboard changes layout situationally (e.g. when typing URLs)
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
All languages / layouts supported.
CAUTION
Since the settings button was removed, you will also lose the shortcut that quickly changes the input language. If you use multiple input languages and need that, don't install!
Click to expand...
Click to collapse
Installation
Copy downloaded Zip to SDCard and install in CWM Recovery.
Click to expand...
Click to collapse
Download
http://d-h.st/rVt
Click to expand...
Click to collapse
Credits
XtremeSilencer for his awesome Atomic GB
there is a arrow mark above the letter "A" .. press that arrow mark Twice and now can write in bold
edit : bellow the letter A
Nah, I was talking about the key labels. But I finally figured it out. :victory:
Updated to 1.2
Thread closed as per OP request.
Post this on the thread 'bout CM12 by Jo-san but now it was closed... so I think better make a independent thread.
Could sb help me with soft nav keys: I love to use virtual nav bar and I can edit build.prop to have it on, but how to deactivate (permanently, or occasionally maybe...) the original soft key below the scr!? I mean to have them no functional and no light. Is it simple to only edit sys files or else!?
In stock MIUI ROM they have made a function to do this (deactive/reactive) in the quick toggle buttons... Could that be ported to other ROMs!?
And btw once I have virtual nav bar, how to mod it (transparency, immersive mode,....) like in LG G4!?
Thanks so much!
Try Gravity Box with Xposed installed.
I think it have everything u need
You can't disable the buttons below the screen with GravityBox, as far as I know. I was only able to turn off all the functions, including the soft keys.
quasimodo03a218 said:
Post this on the thread 'bout CM12 by Jo-san but now it was closed... so I think better make a independent thread.
Could sb help me with soft nav keys: I love to use virtual nav bar and I can edit build.prop to have it on, but how to deactivate (permanently, or occasionally maybe...) the original soft key below the scr!? I mean to have them no functional and no light. Is it simple to only edit sys files or else!?
In stock MIUI ROM they have made a function to do this (deactive/reactive) in the quick toggle buttons... Could that be ported to other ROMs!?
And btw once I have virtual nav bar, how to mod it (transparency, immersive mode,....) like in LG G4!?
Thanks so much!
Click to expand...
Click to collapse
Swapped down from the top screen to access the toggles page. Here you can deactivated the navigation buttons. Then Under setting → addtional setting → button, to off the navigating button light. Hope it help.
Sent from my Redmi Note 2 using Tapatalk
Go to /system/usr/keylayout
Find Generic.kl and edit with an editor.
Put a # and a space in front of;
key 139 menu
key 158 back
key 172 home
Go to /system and open build.prop with an editor. Change;
qemu.hw.mainkeys=1 to qemu.hw.mainkeys=0
Dont forget to make backups first.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dedebekri said:
Go to /system/usr/keylayout
Find Generic.kl and edit with an editor.
Put a # and a space in front of;
key 139 menu
key 158 back
key 172 home
Go to /system and open build.prop with an editor. Change;
qemu.hw.mainkeys=1 to qemu.hw.mainkeys=0
Dont forget to make backups first.
View attachment 3572895
View attachment 3572896
Click to expand...
Click to collapse
Great guide! Thanks man!!!
How can I properly customize my power off menu for my (rooted) device, running an Android 9 ROM?
So far I've tried these:
Button customization appsNone of them work for the Power button.
Some XPosed Modules?Found some stuff like NeoPowerMenu, but none of those work.
TaskerFound this trick on Reddit, using Tasker.
Basically, it's waiting for the stock power menu to show, hide it, then replace with your own.
This process is really GLITCHY, as the stock power menu is still shown for a few moments, then hidden.
Replace Power button with something else! (current, working method)I've edited /system/usr/keylayout/generic.kl, making the POWER key become the VOLUME_MUTE key (which does not exist on my phone anyway).
Then, I use traditional button customizers to launch my own app on VOLUME_MUTE key long press, and simulate the POWER key on VOLUME_MUTE key short press.
However, there are a few drawbacks:
- POWER key does not work when screen off. I must wake my phone using other keys such as the HOME hard key.
- As the POWER key is simulated through an app, the response is slow. I have to wait a second before the screen actually turns off.
Hack to launch script from hardware keys? (not working)Followed this guide to disable the power button's normal function.
Then I followed this guide to launch a script using the power button.
The script fails to launch, even after pressing on that button.
So, I'm asking whether there are:- Any API or library (possibly Root or Xposed, preferably available on Xamarin), that helps me to replace the power off menu.
- Any patch to SystemUI.apk that might help me replace the menu.
- Any open source power menu replacing applications that are currently working.
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple tweaks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
trungnt2910 said:
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple
trungnt2910 said:
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple tweaksView attachment 5322721
Click to expand...
Click to collapse
Click to expand...
Click to collapse
What tweeks you made brother?
I wanna add reboot to recovery to power menu without any app or module, can you please help me
razs.originals said:
What tweeks you made brother?
I wanna add reboot to recovery to power menu without any app or module, can you please help me
Click to expand...
Click to collapse
have u found a way yet !